diff --git a/dom.bs b/dom.bs index 3e4c85cba..62ed2b94c 100644 --- a/dom.bs +++ b/dom.bs @@ -4506,6 +4506,7 @@ dom-Range-extractContents, dom-Range-cloneContents -->
  • Run attach a shadow root with copy, node's shadow root's mode, true, node's + shadow root's serializable, node's shadow root's delegates focus, and node's shadow root's slot assignment. @@ -5884,6 +5885,7 @@ interface ShadowRoot : DocumentFragment { readonly attribute boolean delegatesFocus; readonly attribute SlotAssignmentMode slotAssignment; readonly attribute boolean clonable; + readonly attribute boolean serializable; readonly attribute Element host; attribute EventHandler onslotchange; }; @@ -5917,6 +5919,9 @@ It is initially set to false.

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

    +

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

    +

    A shadow root's get the parent algorithm, given an event, returns null if event's composed flag is unset and shadow root is the root of event's path's first struct's @@ -5935,6 +5940,9 @@ null if event's composed flag is unset and shadow roo

    The clonable getter steps are to return this's clonable. +

    The serializable getter steps are to return +this's serializable. +

    The host getter steps are to return this's host. @@ -6067,6 +6075,7 @@ dictionary ShadowRootInit { boolean delegatesFocus = false; SlotAssignmentMode slotAssignment = "named"; boolean clonable = false; + boolean serializable = false; }; @@ -6920,6 +6929,7 @@ are:

    1. Run attach a shadow root with this, init["{{ShadowRootInit/mode}}"], init["{{ShadowRootInit/clonable}}"], + init["{{ShadowRootInit/serializable}}"], init["{{ShadowRootInit/delegatesFocus}}"], and init["{{ShadowRootInit/slotAssignment}}"]. @@ -6930,7 +6940,8 @@ are:

      To attach a shadow root, given an element element, a string mode, a boolean clonable, -a boolean delegatesFocus, and a string slotAssignment: +a boolean serializable, a boolean delegatesFocus, and a string +slotAssignment:

      1. If element's namespace is not the HTML namespace, @@ -7001,6 +7012,8 @@ a boolean delegatesFocus, and a string slotAssignment:

      2. Set shadow's clonable to clonable. +

      3. Set shadow's serializable to serializable. +

      4. Set element's shadow root to shadow.