+ 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:
-
- - 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:
+
+ -
+ If the context object is a content insertion point:
- Return a static
NodeList
consisting of nodes in the distributed nodes of the context object.
-
- - Otherwise:
+
+
+ -
+ Otherwise:
- Return an empty static
NodeList
.
-
-
-
+
+
+
+
+
+
-
-
-
+