[Webkit-unassigned] [Bug 108987] New: "Select all" doesn't select anything when a contenteditable="false" element is present

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Feb 5 15:47:01 PST 2013


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

           Summary: "Select all" doesn't select anything when a
                    contenteditable="false" element is present
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: All
               URL: http://persistent.info/webkit/test-cases/contenteditab
                    le-select-all-bug.html
        OS/Version: Unspecified
            Status: NEW
          Keywords: HasReduction
          Severity: Normal
          Priority: P2
         Component: HTML Editing
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: mihaip at chromium.org


Test case at http://persistent.info/webkit/test-cases/contenteditable-select-all-bug.html 

Doing a "select all" operation (either from the keyboard or the edit menu) while the cursor is in the "content content..." paragraph does not work as expected in the first contenteditable area. Instead, the cursor is moved to the end of the area.

This appears to be triggered by the first element in the in the contenteditable="true" container being a contenteditable="false" div (the red rectangle). If that node is editable (the green rectangle version), then everything works as expected. I expect this is a bug in highestEditableRoot in htmlediting.cpp, or somewhere around there.

I can reproduce this in Safari 6.0.2 and Chrome 26.0.1386.0.

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