@@ -1810,7 +1810,9 @@ Additions to the CSS Object Model</h2>
18101810
18111811 The <dfn attribute for=CSSPseudoElement>type</dfn> attribute
18121812 is a string representing the type of the pseudo-element.
1813- This can be one of the following values:
1813+ This can be any standardized [=tree-abiding pseudo-element=]
1814+ that is not an [=element-backed pseudo-element=] ,
1815+ for example:
18141816
18151817 <dl>
18161818 <dt><code> "::before"</code>
@@ -1819,6 +1821,10 @@ Additions to the CSS Object Model</h2>
18191821 <dd> Represents the ''::after'' pseudo-element.
18201822 <dt><code> "::marker"</code>
18211823 <dd> Represents the ''::marker'' pseudo-element.
1824+ <dt><code> "::backdrop"</code>
1825+ <dd> Represents the ''::backdrop'' pseudo-element.
1826+ <dt><code> "::view-transition"</code>
1827+ <dd> Represents the ''::view-transition'' pseudo-element.
18221828 </dl>
18231829
18241830 The <dfn attribute for=CSSPseudoElement>element</dfn> attribute is the
@@ -1881,7 +1887,10 @@ Additions to the CSS Object Model</h2>
18811887 2. If |type| is failure,
18821888 return null.
18831889
1884- 3. Otherwise, return the {{CSSPseudoElement}} object
1890+ 3. If |type| is an [=element-backed pseudo-element=] ,
1891+ return null.
1892+
1893+ 4. Otherwise, return the {{CSSPseudoElement}} object
18851894 representing the pseudo-element
18861895 that would match the selector |type|
18871896 with [=this=] as its [=originating element=] .
0 commit comments