Closed
Bug 1399740
Opened 8 years ago
Closed 8 years ago
[Pointer Event] Handle the case that invoke setPointerCapture while the page has a locked element
Categories
(Core :: DOM: Events, enhancement, P2)
Core
DOM: Events
Tracking
()
RESOLVED
FIXED
mozilla58
| Tracking | Status | |
|---|---|---|
| firefox58 | --- | fixed |
People
(Reporter: stone, Assigned: stone)
References
Details
Attachments
(1 file)
|
17.67 KB,
patch
|
smaug
:
review+
|
Details | Diff | Splinter Review |
Spec [1] says 'If this method is invoked while the page has a locked element ([PointerLock]), throw an exception with the name InvalidStateError.'
More discussions in [2].
[1] https://w3c.github.io/pointerevents/#setting-pointer-capture
[2] https://github.com/w3c/pointerevents/issues/176
| Assignee | ||
Updated•8 years ago
|
Assignee: nobody → sshih
| Assignee | ||
Comment 1•8 years ago
|
||
Spec [3] also says 'When a pointer lock ([PointerLock]) is successfully applied on an element, a user agent must run the steps as if the releasePointerCapture() method has been called if any element is set to be captured or pending to be captured.'
[3] https://w3c.github.io/pointerevents/#implicit-release-of-pointer-capture
Updated•8 years ago
|
Priority: -- → P2
| Assignee | ||
Comment 2•8 years ago
|
||
| Assignee | ||
Updated•8 years ago
|
Attachment #8914033 -
Flags: review?(bugs)
Comment 3•8 years ago
|
||
Comment 4•8 years ago
|
||
Comment 5•8 years ago
|
||
Comment on attachment 8914033 [details] [diff] [review]
Handle the case that invoke setPointerCapture while the page has a locked element
But we can still take this.
We may need to tweak the implementation once https://github.com/w3c/pointerevents/issues/220 gets resolved somehow.
Attachment #8914033 -
Flags: review?(bugs) → review+
| Assignee | ||
Comment 6•8 years ago
|
||
| Assignee | ||
Comment 7•8 years ago
|
||
Pushed by sshih@mozilla.com:
https://hg.mozilla.org/integration/mozilla-inbound/rev/fa3f9e9479ae
[Pointer Event] Handle the case that invokes setPointerCapture while the page has a locked element. r=smaug.
Comment 9•8 years ago
|
||
| bugherder | ||
Status: NEW → RESOLVED
Closed: 8 years ago
status-firefox58:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → mozilla58
You need to log in
before you can comment on or make changes to this bug.
Description
•