[Webkit-unassigned] [Bug 90348] -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 08:58:40 PDT 2012


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





--- Comment #1 from Sanjay <sanjaylgb at yahoo.co.in>  2012-07-01 08:58:40 PST ---
(In reply to comment #0)
> 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. I can confirm this by giving Copy (Ctrl + c) followed by select all (Ctrl+A) and pasting the content in a text file. 
> <!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