[Webkit-unassigned] [Bug 47551] New: Can't unlink image in contenteditable div if there is not text before it

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Oct 12 12:10:06 PDT 2010


https://bugs.webkit.org/show_bug.cgi?id=47551

           Summary: Can't unlink image in contenteditable div if there is
                    not text before it
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: Macintosh Intel
        OS/Version: Mac OS X 10.6
            Status: UNCONFIRMED
          Severity: Normal
          Priority: P3
         Component: HTML Editing
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: liuming at lmws.net


Step to reproduce (Sample code attached):

1. Setup a div with contenteditable attribute.
2. Place a linked image as the div's FIRST decedent
3. And have some text as the div's SECOND decedent.
3. Setup javascript to fire up an document.execCommand('unlink'); against that linked image.


Expected result:
1. Linked image should be unlinked.

Actual result:
2. Linked image will not be unlinked.

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the webkit-unassigned mailing list