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.
What is the issue with the HTML Standard?
Calling
attachShadowon a declaratively created shadowRoot does not set the values supplied in theShadowRootInit. It appears to be expected based on the spec that you should be able to configureshadowRootproperties other thanmode. All browsers currently behave consistently so this likely needs clarification in the spec.See this reproduction.