diff --git a/dom.bs b/dom.bs index 182f246d0..c4a2c0372 100644 --- a/dom.bs +++ b/dom.bs @@ -4504,6 +4504,7 @@ dom-Range-extractContents, dom-Range-cloneContents -->
  1. 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. @@ -5883,6 +5884,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; }; @@ -5916,6 +5918,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 @@ -5934,6 +5939,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. @@ -6066,6 +6074,7 @@ dictionary ShadowRootInit { boolean delegatesFocus = false; SlotAssignmentMode slotAssignment = "named"; boolean clonable = false; + boolean serializable = false; }; @@ -6919,6 +6928,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}}"]. @@ -6929,7 +6939,8 @@ are:

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

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

      2. Set shadow's clonable to clonable. +

      3. Set shadow's serializable to serializable. +

      4. Set element's shadow root to shadow.