Closed
Bug 1375319
Opened 7 years ago
Closed 6 years ago
Dispatch fullscreen events to element first rather than dispatch to document directly
Categories
(Core :: DOM: Core & HTML, defect, P2)
Core
DOM: Core & HTML
Tracking
()
RESOLVED
FIXED
mozilla64
Tracking | Status | |
---|---|---|
firefox64 | --- | fixed |
People
(Reporter: xidorn, Assigned: xidorn)
References
(Blocks 1 open bug)
Details
(Keywords: dev-doc-complete, Whiteboard: [webcompat])
Attachments
(3 files)
WebKit/Blink currently dispatches fullscreen events to elements, which makes sense, and matches our initial proposal of Fullscreen API [1].
It was not implemented that way probably because the current Gecko approach is easier to implement.
The spec has been changed to dispatch those events to element, and fallback to document in cases at whatwg/fullscreen#90.
[1] https://wiki.mozilla.org/Gecko:FullScreenAPI#fullscreenchange_event
Updated•7 years ago
|
Priority: -- → P2
Assignee | ||
Comment 1•7 years ago
|
||
This is indeed something we want to do before we unprefix fullscreen.
Blocks: 1269276
Updated•7 years ago
|
Flags: webcompat?
Whiteboard: [webcompat]
Comment 2•7 years ago
|
||
Xidorn, are you planning to do this soonish? If not, I can probably steal it.
Flags: needinfo?(xidorn+moz)
Assignee | ||
Comment 3•7 years ago
|
||
No, I don't currently have a plan, so if you want to work on this, go ahead. Thanks!
Flags: needinfo?(xidorn+moz)
Assignee | ||
Comment 4•6 years ago
|
||
I'm going to take this as Chrome is going to ship unprefixed Fullscreen API, and I think we should try shipping that as soon as possible as well.
Assignee: nobody → xidorn+moz
Assignee | ||
Comment 5•6 years ago
|
||
Depends on D5394
Assignee | ||
Comment 6•6 years ago
|
||
Depends on D5414
Assignee | ||
Comment 7•6 years ago
|
||
Some steps in file_fullscreen-api.html are adjusted in order to test
the behavior that the event is correctly dispatched to the document
when element is disconnected.
Depends on D5415
Assignee | ||
Comment 8•6 years ago
|
||
Comment 9•6 years ago
|
||
Comment on attachment 9007749 [details]
Bug 1375319 part 1 - Make DispatchTrustedEvent able to dispatch composed event and have fullscreen events composed. r=smaug
Olli Pettay [:smaug] has approved the revision.
Attachment #9007749 -
Flags: review+
Comment 10•6 years ago
|
||
Comment on attachment 9007750 [details]
Bug 1375319 part 2 - Use a global const for element to fullscreen in file_fullscreen-api test. r=smaug
Olli Pettay [:smaug] has approved the revision.
Attachment #9007750 -
Flags: review+
Comment 11•6 years ago
|
||
Comment on attachment 9007751 [details]
Bug 1375319 part 3 - Try dispatching fullscreen events to element first rather than document. r=smaug
Olli Pettay [:smaug] has approved the revision.
Attachment #9007751 -
Flags: review+
Comment 12•6 years ago
|
||
Pushed by xquan@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/1ad49dc53686
part 1 - Make DispatchTrustedEvent able to dispatch composed event and have fullscreen events composed. r=smaug
https://hg.mozilla.org/integration/autoland/rev/8a57ee2c6b31
part 2 - Use a global const for element to fullscreen in file_fullscreen-api test. r=smaug
https://hg.mozilla.org/integration/autoland/rev/f11d81a58cde
part 3 - Try dispatching fullscreen events to element first rather than document. r=smaug
Comment 13•6 years ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/1ad49dc53686
https://hg.mozilla.org/mozilla-central/rev/8a57ee2c6b31
https://hg.mozilla.org/mozilla-central/rev/f11d81a58cde
Status: NEW → RESOLVED
Closed: 6 years ago
status-firefox64:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → mozilla64
Assignee | ||
Updated•6 years ago
|
Keywords: dev-doc-needed
Comment 14•6 years ago
|
||
Added to Firefox 64 for developers.
Keywords: dev-doc-needed → dev-doc-complete
You need to log in
before you can comment on or make changes to this bug.
Description
•