diff --git a/spec/shadow/index.html b/spec/shadow/index.html index 9b6ec688..dc6e6d85 100644 --- a/spec/shadow/index.html +++ b/spec/shadow/index.html @@ -1239,72 +1239,66 @@

CSSRule Constants

-
-

The content HTML element

+
+

The content HTML element

-

The content HTML element represents a insertion point in the shadow tree.

+

The content HTML element represents a insertion point in the shadow tree.

-

If a content HTML element does not satisfy the condition of an insertion point, it must have the same rendering behavior as the HTMLUnknownElement.

+

If a content HTML element does not satisfy the condition of an insertion point, it must have the same rendering behavior as the HTMLUnknownElement.

-
-
Context
-
Where flow content is expected.
-
Content model
-
Transparent
-
Children
-
Anything as fallback content
-
Content attributes
-
Global attributes
-
-
-
select, a set of comma-separated tokens
-
- represents the matching criteria for distributing child nodes of the shadow host. Each token must be a compound selector. -
-
resetstyleinheritance, a boolean attribute
-
indicates the state of the reset-style-inheritance flag for this insertion point. If present, the value of the flag must be set to true. Otherwise, the value must be set to false.
-
-
-
DOM Interface
-
-
-interface HTMLContentElement : HTMLElement {
-    attribute DOMString select;
-    attribute boolean resetStyleInheritance;
-    NodeList getDistributedNodes();
-}
-    
-
Attributes
-
-
-
select of type DOMString
-
Must reflect the select attribute.
-
resetStyleInheritance of type boolean
-
Must reflect the resetstyleinheritance attribute.
-
-
-
-
-
Methods
-
-
getDistributedNodes
-
When invoked, it must return result of running the following steps: -
    -
  1. If the context object is a content insertion point: +
    Context
    +
    Where flow content is expected.
    + +
    Content model
    +
    Transparent
    + +
    Children
    +
    Anything as fallback content
    + +
    Content attributes
    +
    Global attributes
    +
    +
    +
    select, a set of comma-separated tokens
    +
    Represents the matching criteria for distributing child nodes of the shadow host. Each token must be a compound selector.
    + +
    resetstyleinheritance, a boolean attribute
    +
    Indicates the state of the reset-style-inheritance flag for this insertion point. If present, the value of the flag must be set to true. Otherwise, the value must be set to false.
    +
    +
    + +
    DOM Interface
    +
    +
    +
    attribute DOMString select
    +
    Must reflect the select attribute.
    + +
    attribute boolean resetStyleInheritance
    +
    Must reflect the resetstyleinheritance attribute.
    + +
    NodeList getDistributedNodes()
    +
    + When invoked, it must return result of running the following steps: +
      +
    1. + If the context object is a content insertion point:
      1. Return a static NodeList consisting of nodes in the distributed nodes of the context object.
      2. -
    2. -
    3. Otherwise: +
    +
  2. +
  3. + Otherwise:
    1. Return an empty static NodeList.
    2. -
  4. -
-
+ + + +
+
+ - - -
+

The shadow HTML element