[Webkit-unassigned] [Bug 45686] New: <body contenteditable="true"> document should always have a selection range available

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon Sep 13 10:50:26 PDT 2010


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

           Summary: <body contenteditable="true"> document should always
                    have a selection range available
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: PC
        OS/Version: All
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: HTML Editing
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: fredck at fredck.com


window.getSelection().rangeCount returns "0" (zero) for documents that have never been focused.

Other browsers (FF and Opera) return "1", having an empty range available at the very start of the <body> contents.

I'll include a simple TC to confirm it.

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