Open
Bug 827709
Opened 12 years ago
Updated 2 years ago
Text selection prevents the CSS 'pointer-events' rule being applied.
Categories
(Core :: DOM: Core & HTML, defect, P5)
Tracking
()
UNCONFIRMED
People
(Reporter: eli, Unassigned)
Details
(Keywords: testcase)
Attachments
(1 file)
3.89 KB,
text/html
|
Details |
User Agent: Mozilla/5.0 (Windows NT 6.2; WOW64) AppleWebKit/537.11 (KHTML, like Gecko) Chrome/23.0.1271.97 Safari/537.11 Steps to reproduce: The attached test case clearly demonstrates the issue. The scenario: clicking and dragging an element while passing mouse events through the element by applying a pointer-events:none CSS rule. Text selection prevents the pointer-events rule being applied. This results in an incorrect value for event.target in the mousemove event. A solution is to use -moz-user-select: none; or event.preventDefault() on the click event which initiates the element drag. Chrome behaves as expected Actual results: incorrect value for event.target in the mousemove event. Expected results: correct value for event.target in the mousemove event.
jsfiddle here: http://jsfiddle.net/3ZLwh/
Attachment #699017 -
Attachment mime type: text/plain → text/html
Comment 2•6 years ago
|
||
https://bugzilla.mozilla.org/show_bug.cgi?id=1472046 Move all DOM bugs that haven’t been updated in more than 3 years and has no one currently assigned to P5. If you have questions, please contact :mdaly.
Priority: -- → P5
Updated•2 years ago
|
Severity: normal → S3
You need to log in
before you can comment on or make changes to this bug.
Description
•