Bug 49592 - ContentEditable image drap&drop looses wrapping anchor
Summary: ContentEditable image drap&drop looses wrapping anchor
Status: NEW
Alias: None
Product: WebKit
Classification: Unclassified
Component: HTML Editing (show other bugs)
Version: 528+ (Nightly build)
Hardware: All All
: P2 Normal
Assignee: Nobody
Depends on:
Reported: 2010-11-16 05:58 PST by Tobiasz Cudnik
Modified: 2011-10-02 20:01 PDT (History)
3 users (show)

See Also:

TC page for reproduction (162 bytes, text/html)
2010-11-16 05:59 PST, Tobiasz Cudnik
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Tobiasz Cudnik 2010-11-16 05:58:09 PST
In contentEditable mode (design mode) after an image drap&drop operation, anchor wrapping such image is lost.

Reproduced in Chromium 7.0.517.44 (0), using attached TC page.

 1. Open TC page.
 2. Drag the image using the mouse to a different position that it was at the beggining.
 3. Use the inspector to see that a wrapping A element is now gone.
Comment 1 Tobiasz Cudnik 2010-11-16 05:59:08 PST
Created attachment 73987 [details]
TC page for reproduction
Comment 2 Tobiasz Cudnik 2010-11-16 06:01:02 PST
This is a follow up of the ticket on a CKEditor's issue tracker. 
Comment 3 Daniel Bates 2011-10-02 20:01:50 PDT
Confirmed that this issue also appears Mac nightly r96478.

Mac Firefox 7.0.1 and 6.0.2 preserve the anchor tag when dragging the image.