Closed
Bug 1430305
Opened 7 years ago
Closed 7 years ago
Implement ShadowRoot.fullscreenElement
Categories
(Core :: DOM: Core & HTML, enhancement, P3)
Core
DOM: Core & HTML
Tracking
()
RESOLVED
FIXED
mozilla60
Tracking | Status | |
---|---|---|
firefox60 | --- | fixed |
People
(Reporter: smaug, Assigned: smaug)
References
(Blocks 1 open bug)
Details
(Keywords: dev-doc-complete)
Attachments
(2 files)
(deleted),
patch
|
mrbkap
:
review+
|
Details | Diff | Splinter Review |
(deleted),
patch
|
Details | Diff | Splinter Review |
Comment 1•7 years ago
|
||
My understanding is that we could leave it after our 1st ship, mark P3 for now. Feel free to correct me if I'm wrong.
Priority: -- → P3
Assignee | ||
Updated•7 years ago
|
Assignee: nobody → bugs
Assignee | ||
Comment 2•7 years ago
|
||
remote: View your change here:
remote: https://hg.mozilla.org/try/rev/172323f20ac940de4455b6b89d9eb6c547fea41a
remote:
remote: Follow the progress of your build on Treeherder:
remote: https://treeherder.mozilla.org/#/jobs?repo=try&revision=172323f20ac940de4455b6b89d9eb6c547fea41a
remote: recorded changegroup in replication log in 0.045s
Attachment #8947933 -
Flags: review?(mrbkap)
Comment 3•7 years ago
|
||
Comment on attachment 8947933 [details] [diff] [review]
shadowdom_fullscreen.diff
Review of attachment 8947933 [details] [diff] [review]:
-----------------------------------------------------------------
::: dom/base/nsDocument.cpp
@@ +11174,5 @@
> DispatchFullscreenError("FullscreenDeniedSubDocFullScreen");
> return false;
> }
> + //XXXsmaug Note, we don't follow the latest fullscreen spec here.
> + // This whole check could be probably removed.
Is there a bug filed for this? Looking at the spec, this should basically just become an IsInComposedDoc?
Attachment #8947933 -
Flags: review?(mrbkap) → review+
Assignee | ||
Comment 4•7 years ago
|
||
There isn't, since after discussing with xidorn, it isn't even clear whether the spec will stay the way it is now, or whether it should be reverted to follow what implementations actually do.
Assignee | ||
Comment 5•7 years ago
|
||
In other words, the spec situation is messy.
Assignee | ||
Comment 6•7 years ago
|
||
Hmm, looks like there is still some assertion to fix.
Comment 7•7 years ago
|
||
(In reply to Olli Pettay [:smaug] from comment #4)
> There isn't, since after discussing with xidorn, it isn't even clear whether
> the spec will stay the way it is now, or whether it should be reverted to
> follow what implementations actually do.
I think the editor and I have consensus that we would revert the spec back to match impls on having hierarchy restriction. It is just that he doesn't have time to do the actual edit and work on related tests lately...
Assignee | ||
Comment 8•7 years ago
|
||
Just fixing IsInUncomposedDoc -> IsInComposedDoc in an NS_ASSERTION and rebasing
Pushed by opettay@mozilla.com:
https://hg.mozilla.org/integration/mozilla-inbound/rev/0babcbf5ff1e
Implement ShadowRoot.fullscreenElement , r=mrbkap
Updated•7 years ago
|
Keywords: dev-doc-needed
Comment 10•7 years ago
|
||
bugherder |
Status: NEW → RESOLVED
Closed: 7 years ago
status-firefox60:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → mozilla60
Comment 11•7 years ago
|
||
As before, I've updated the docs to show this property as implemented on DocumentOrShadowRoot (but with the browser compat data saying it is still implemented on Document in most places):
https://developer.mozilla.org/en-US/docs/Web/API/Document
https://developer.mozilla.org/en-US/docs/Web/API/DocumentOrShadowRoot
https://developer.mozilla.org/en-US/docs/Web/API/DocumentOrShadowRoot/fullscreenElement
Keywords: dev-doc-needed → dev-doc-complete
You need to log in
before you can comment on or make changes to this bug.
Description
•