Closed Bug 1036817 Opened 11 years ago Closed 5 years ago

got(lost)pointercapture events should be triggered only at element

Categories

(Core :: DOM: Events, defect, P5)

defect

Tracking

()

RESOLVED INVALID

People

(Reporter: alessarik, Unassigned)

References

Details

Attachments

(3 files)

User Agent: Mozilla/5.0 (Windows NT 6.2; WOW64; rv:30.0) Gecko/20100101 Firefox/30.0 (Beta/Release) Build ID: 20140605174243 Steps to reproduce: According with current specification of pointerevents gotpointercapture and lostpointercapture event should be fired only at elements. Actual results: Window and document have descriptions in webidl, that allows them to be targeting of this events Expected results: Window should not be target of that events. Document possibly also.
Component: Untriaged → DOM: Events
Product: Firefox → Core
OS: Windows 8 → All
Hardware: x86_64 → All
Better to check what IE does. If it has ongot/lost* event handlers on Window and Document, the spec should probably be changed.
Attached image ie.png
Behavior of IE
Attached image ff.png
Behavior of FF
+ Changes: Moved got/lost pointercapture interface from GlobalEventHandlers to ElementEventHandlers
Attachment #8472157 - Flags: review?(mounir)
Attachment #8472157 - Flags: review?(jst)
Attachment #8472157 - Flags: review?(bugs)
Attachment #8472157 - Flags: feedback?(oleg.romashin)
Attachment #8472157 - Flags: feedback?(nicklebedev37)
Comment on attachment 8472157 [details] [diff] [review] gotlostpointercapture_interface_ver1.diff Please ask review only from one person, by default. (Unless your patch modified code in several modules)
Attachment #8472157 - Flags: review?(mounir)
Attachment #8472157 - Flags: review?(jst)
Comment on attachment 8472157 [details] [diff] [review] gotlostpointercapture_interface_ver1.diff (unrelated changes make reviewing always a bit harder.)
Attachment #8472157 - Flags: review?(bugs)
Attachment #8472157 - Flags: review+
Attachment #8472157 - Flags: feedback?(oleg.romashin)
Attachment #8472157 - Flags: feedback?(nicklebedev37)
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
Blocks: 822898

ongot/lostpointercapture was moved to GlobalEventHandlers in https://github.com/w3c/pointerevents/pull/158. Chrome and Safari both has ongot/lostpointercapture event handlers on Window and Document. So close this as INVALID.

Status: UNCONFIRMED → RESOLVED
Closed: 5 years ago
Resolution: --- → INVALID
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: