[Webkit-unassigned] [Bug 122602] New: contentEditable deleting lists when list items are block level

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu Oct 10 08:52:00 PDT 2013


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

           Summary: contentEditable deleting lists when list items are
                    block level
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: All
               URL: http://plainmade.com
        OS/Version: All
            Status: UNCONFIRMED
          Severity: Major
          Priority: P2
         Component: HTML Editing
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: colin at plainmade.com


Created an attachment (id=213888)
 --> (https://bugs.webkit.org/attachment.cgi?id=213888&action=review)
An HTML file to reproduce bug.

When a list item within a contentEditable area is floated and/or displayed as a block level element contentEditable will remove the entire list when the Enter key is hit twice.

Steps to reproduce: 
1. Add a contentEditable area
2. Add a list (UL or OL)
3. Style the LIs to be display block or floated left (both result in same issue)
4. Load HTML in browser
5. Put cursor in the last list item of the list
6. Hit enter twice

Expected behavior: The list is discontinued and a paragraph tag or DIV is created leaving the UL intact.

Result: The entire UL disappears from DOM and a DIV with a BR appears.

Attached is an HTML file that can reproduce the issue.

-- 
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