[wpt-sync] Sync PR 26482 - Update declarative Shadow DOM opt-in mechanics
Categories
(Core :: DOM: Core & HTML, task, P4)
Tracking
()
Tracking | Status | |
---|---|---|
firefox84 | --- | fixed |
People
(Reporter: wpt-sync, Unassigned)
References
()
Details
(Whiteboard: [wptsync downstream])
Attachments
(1 file)
111.22 KB,
text/plain
|
Details |
Sync web-platform-tests PR 26482 into mozilla-central (this bug is closed when the sync is complete).
PR: https://github.com/web-platform-tests/wpt/pull/26482
Details from upstream follow.
b'Mason Freed <masonfreed@chromium.org>' wrote:
Update declarative Shadow DOM opt-in mechanics
The issue thread [1] has had more discussion, after the initial draft
of declarative Shadow DOM opt-in landed [2]. This CL implements those
bits of feedback. In particular:
- There is no public allowDeclarativeShadowDom state available on
Document or DocumentFragment.- All APIs use call parameters to avoid state, with the exception
of DOMParser.- innerHTML no longer supports Declarative Shadow DOM.
- A new setInnerHTML() function allows opt-in access to DSD.
- Several of the more obscure APIs do not have an opt-in for
declarative Shadow DOM, such as XHR, createContextualFragment, and
document.write.- The sandbox flag has been removed from iframes completely. The new
plan is to use DocumentPolicy to enable declarative Shadow DOM for
iframes. For now, iframes do not support declarative Shadow DOM.- allowDeclarativeShadowDOM has become allowShadowRoot.
[1] https://github.com/whatwg/dom/issues/912#issuecomment-723188817
[2] https://chromium-review.googlesource.com/c/chromium/src/+/2513525Bug: 1042130
Change-Id: I3a2becf2a113cc8647b29077d2efea1c990d4547
Reviewed-on: https://chromium-review.googlesource.com/2530222
WPT-Export-Revision: 63d6c63f3f68d6c8ba8eebe4b0a3719423fd067f
Assignee | ||
Comment 1•4 years ago
|
||
Assignee | ||
Updated•4 years ago
|
Assignee | ||
Comment 2•4 years ago
|
||
Assignee | ||
Comment 3•4 years ago
|
||
Assignee | ||
Comment 4•4 years ago
|
||
Comment 6•4 years ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/c2ad5384273b
https://hg.mozilla.org/mozilla-central/rev/2e75cfeca7cc
Description
•