[Webkit-unassigned] [Bug 90348] New: -webkit-user-select:none does not work as intended with select All( Ctrl + A)

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Sun Jul 1 07:52:55 PDT 2012


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

           Summary: -webkit-user-select:none does not work as intended
                    with select All( Ctrl + A)
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: Unspecified
        OS/Version: Unspecified
            Status: UNCONFIRMED
          Severity: Normal
          Priority: P3
         Component: CSS
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: sanjaylgb at yahoo.co.in


Consider below code. The 2nd div element should not be selected, but it does get selected when i give Select All (Ctrl + A) on the browser window. 
<!DOCTYPE html>
<html>
    <head>
        <title></title>
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
    </head>
    <body>
        <div id="first">
            First
        </div>

        <div id="second"  style="-webkit-user-select:none;-moz-user-select:none">
            Second.. Cannot be selected.
        </div>

        <div id="third">
            Third
        </div>
    </body>
</html>

If you remove the third div element, the second one is not selected because there is no select-able element in DOM after the 2nd one which is not select-able

I tried to apply -moz-user-select to test in firefox where it works just fine.

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