-
Notifications
You must be signed in to change notification settings - Fork 3.1k
Closed as not planned
Closed as not planned
Copy link
Labels
needs testsMoving the issue forward requires someone to write testsMoving the issue forward requires someone to write teststopic: custom elementsRelates to custom elements (as defined in DOM and HTML)Relates to custom elements (as defined in DOM and HTML)topic: shadowRelates to shadow trees (as defined in DOM)Relates to shadow trees (as defined in DOM)
Description
What is the issue with the HTML Standard?
Calling attachShadow on a declaratively created shadowRoot does not set the values supplied in the ShadowRootInit. It appears to be expected based on the spec that you should be able to configure shadowRoot properties other than mode. All browsers currently behave consistently so this likely needs clarification in the spec.
See this reproduction.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
needs testsMoving the issue forward requires someone to write testsMoving the issue forward requires someone to write teststopic: custom elementsRelates to custom elements (as defined in DOM and HTML)Relates to custom elements (as defined in DOM and HTML)topic: shadowRelates to shadow trees (as defined in DOM)Relates to shadow trees (as defined in DOM)