diff --git a/dom.bs b/dom.bs index 491e2691..9014a5e3 100644 --- a/dom.bs +++ b/dom.bs @@ -4796,7 +4796,8 @@ and an optional document docume shadow root's mode, true, node's shadow root's serializable, node's shadow root's delegates focus, node's - shadow root's slot assignment, and + shadow root's slot assignment, node's + shadow root's reference target, and shadowRootRegistry.
  • Set copy's shadow root's declarative @@ -6348,6 +6349,7 @@ interface ShadowRoot : DocumentFragment { readonly attribute boolean clonable; readonly attribute boolean serializable; readonly attribute Element host; + attribute DOMString? referenceTarget; attribute EventHandler onslotchange; }; @@ -6385,6 +6387,9 @@ It is initially set to false.

    Shadow roots have an associated serializable (a boolean). It is initially set to false.

    +

    Shadow roots have an associated reference target +(null or a string). It is initially set to null.

    +

    Shadow roots have an associated custom element registry (null or a {{CustomElementRegistry}} object). It is initially null.

    @@ -6557,6 +6562,7 @@ dictionary ShadowRootInit { SlotAssignmentMode slotAssignment = "named"; boolean clonable = false; boolean serializable = false; + DOMString? referenceTarget = null; CustomElementRegistry customElementRegistry; }; @@ -7464,7 +7470,8 @@ are: init["{{ShadowRootInit/mode}}"], init["{{ShadowRootInit/clonable}}"], init["{{ShadowRootInit/serializable}}"], init["{{ShadowRootInit/delegatesFocus}}"], - init["{{ShadowRootInit/slotAssignment}}"], and registry. + init["{{ShadowRootInit/slotAssignment}}"], and + init["{{ShadowRootInit/referenceTarget}}"], and registry.
  • Return this's shadow root. @@ -7474,7 +7481,8 @@ are:

    To attach a shadow root, given an element element, a string mode, a boolean clonable, a boolean serializable, a boolean delegatesFocus, a string -slotAssignment, and null or a {{CustomElementRegistry}} object registry: +slotAssignment, null or a string referenceTarget, and null or a +{{CustomElementRegistry}} object registry:

    1. If element's namespace is not the HTML namespace, @@ -7548,6 +7556,8 @@ a boolean serializable, a boolean delegatesFocus, a string

    2. Set shadow's serializable to serializable. +

    3. Set shadow's reference target to referenceTarget. +

    4. Set shadow's custom element registry to registry.