Opened 16 years ago
Closed 12 years ago
#2987 closed Bug (fixed)
All fake elements get lost after drag-and-drop in Webkit
Reported by: | Garry Yao | Owned by: | |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | General | Version: | 3.0 Beta 2 |
Keywords: | Safari CantFix | Cc: |
Description
Procedures
- Open the replace by code example page in Safari;
- Select the beginning of the text line;
- Click Anchor button to open dialog, input 'anchor' in 'Anchor Name' field, close it with ok;
- Select the inserted fake element(anchor), perform drag-and-drop to the end of line.
- Actual Result : The fake element disappeared right at the drop region.
Change History (11)
comment:1 Changed 16 years ago by
comment:3 Changed 16 years ago by
Priority: | Normal → High |
---|
comment:4 Changed 16 years ago by
Safari drops attributes of <img> and <input type="image"> It seems to be a Webkit bug. TinyMCE as the same problem.
ondragstart=function(){return false} works only partially.
comment:5 Changed 16 years ago by
This is working fine in MacOS, but fails on windows, so the webkit bug is https://bugs.webkit.org/show_bug.cgi?id=16067
comment:6 Changed 16 years ago by
Keywords: | CantFix added |
---|
Yup... this looks like one of those "sit and wait" bugs for us. Hopefully WebKit gonna get fixed soon.
I'm leaving it opened for now, but "CantFix".
comment:7 Changed 16 years ago by
Priority: | High → Normal |
---|
comment:8 Changed 16 years ago by
Milestone: | CKEditor 3.0 |
---|
comment:9 Changed 16 years ago by
Version: | SVN (FCKeditor) → CKEditor 3.0 Beta 2 |
---|
comment:10 Changed 13 years ago by
Seems that ticket is almost fixed - you can move around the anchor in Safari and Chrome. The only problem is that when you switch to source you will see that Chrome 20 adds background color:
<a name="anchor" style="background-color: rgb(255, 255, 255); ">This</a>
and Safari a lot more
<a name="ffff" style="background-image: url(http://localhost/ckeditor/_source/plugins/link/images/anchor.gif); background-attachment: initial; background-origin: initial; background-clip: initial; background-color: initial; border-top-width: 1px; border-right-width: 1px; border-bottom-width: 1px; border-left-width: 1px; border-top-style: dotted; border-right-style: dotted; border-bottom-style: dotted; border-left-style: dotted; border-top-color: rgb(0, 0, 255); border-right-color: rgb(0, 0, 255); border-bottom-color: rgb(0, 0, 255); border-left-color: rgb(0, 0, 255); padding-left: 18px; cursor: auto; background-position: 0% 50%; background-repeat: no-repeat no-repeat; ">This</a>
comment:11 Changed 12 years ago by
Resolution: | → fixed |
---|---|
Status: | confirmed → closed |
I have just checked this problem in latest trunk in Safari 5.1.7 and Chrome 22 and this problem seems to be fixed.
A reduced reason is found that the fake element after drop(cloned) has lost all attributes including class.