You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
However, I guess, this part was written at the era of Shadow DOM v0, which is now dead.
Shadow Root in Shadow DOM v1 has mode, which changes the behavior of a shadow root.
It would be better to clarify which shadow root, open or closed, <use> elements use. That is observable.
The shadow tree is open (inspectable by script), but read-only. Any attempt to directly modify the elements, attributes, and other nodes in the shadow tree must throw a NoModificationAllowedError.
That sounds closed mode to me. I think we can remove this paragraph if the spec can use Shadow DOM v1's terminology.
Closing as a duplicate of #363. I think the discussion there is definitely in favor of making the shadow tree closed, but if you have any other suggestions on cleaning up the interfaces to be more consistent with the rest of Shadow DOM, we'd appreciate your input, @hayatoito!
The spec says
<use>
element uses a shadow root.https://svgwg.org/svg2-draft/struct.html#UseShadowTree
However, I guess, this part was written at the era of Shadow DOM v0, which is now dead.
Shadow Root in Shadow DOM v1 has mode, which changes the behavior of a shadow root.
It would be better to clarify which shadow root,
open
orclosed
,<use>
elements use. That is observable.The relevant discussion in chromium is
https://chromium-review.googlesource.com/c/chromium/src/+/981817
The text was updated successfully, but these errors were encountered: