[Webkit-unassigned] [Bug 110005] New: "-webkit-user-select:none" is not always honored when selecting parent (or ancestor) DOM elements
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Fri Feb 15 23:40:10 PST 2013
https://bugs.webkit.org/show_bug.cgi?id=110005
Summary: "-webkit-user-select:none" is not always honored when
selecting parent (or ancestor) DOM elements
Product: WebKit
Version: 528+ (Nightly build)
Platform: All
URL: http://jsfiddle.net/yWjCG/4/
OS/Version: All
Status: UNCONFIRMED
Severity: Normal
Priority: P2
Component: CSS
AssignedTo: webkit-unassigned at lists.webkit.org
ReportedBy: csillag.kristof at gmail.com
When selecting parts of the DOM using the selection API, and then reading back the selected content (with the selection API), content that is configured as non-user-selectable (by adding user-select:none in the CSS) is sometimes included.
I have not been able to exactly pinpoint the circumstances that trigger this.
For an example, see this: http://jsfiddle.net/yWjCG/4/
In the linked test, "Test level 3" and "Test level 2" omit the non-user-selectable part of the text, as specified, but "Test level 1" includes it in the selection, which seems to be a bug.
Firefox does this right. (It omits the non-user-selectable text in all test cases.)
Detected with:
Chromium 24.0.1312.68 (Developer Build 180326) Debian 7.0
Powered by WebKit 537.17 (trunk at 132834)
--
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