[Webkit-unassigned] [Bug 90679] New: <details> doesn't fire selectstart
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Fri Jul 6 05:57:11 PDT 2012
https://bugs.webkit.org/show_bug.cgi?id=90679
Summary: <details> doesn't fire selectstart
Product: WebKit
Version: 528+ (Nightly build)
Platform: Unspecified
URL: http://jsfiddle.net/hgXsG/
OS/Version: Unspecified
Status: UNCONFIRMED
Severity: Normal
Priority: P2
Component: HTML Events
AssignedTo: webkit-unassigned at lists.webkit.org
ReportedBy: pimvdb at live.nl
Adding a selectstart listener to the body element that does e.preventDefault() should prevent anything from being selected. However, when the selection starts in a <details> element (or any of its descendants), the event is not fired.
Test case: http://jsfiddle.net/hgXsG/
Dragging "baz" is not possible because the selectstart event is fired correctly (it's not a descendant of a <details> element). A confirmation is also logged in the console. However, one *is* able to select "foo", "bar" and "hello", which are all in the <details> element. The event is not fired at all; nothing is logged to the console.
It does not happen on Google Chrome 20, but it does happen on Google Chrome 22.
--
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