[Webkit-unassigned] [Bug 57289] New: "user-select none" causes selection to incorrectly escape from clicked container

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon Mar 28 17:46:33 PDT 2011


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

           Summary: "user-select none" causes selection to incorrectly
                    escape from clicked container
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: PC
        OS/Version: Mac OS X 10.5
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: HTML Editing
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: kalman at chromium.org
                CC: rniwa at webkit.org


See the test case.

It seems like putting user-select:none on containers causes the selection to escape from them.  More concretely,
 - double clicking on a user-select:none div causes the word after the div to be selected
 - triple clicking causes the the paragraph after the div

In fact, a simpler test case is just using the selection API:
 - setPosition(child1, 0) then querying the selection base returns "Foo" when presumably it... shouldn't.

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