Skip to content

Commit 927efd7

Browse files
Revert "[css-pseudo] Extend CSSPseudoElement to all standardized non-element-backed tree-abiding pseudo-elements"
This reverts commit 0229ddc.
1 parent 0229ddc commit 927efd7

1 file changed

Lines changed: 2 additions & 11 deletions

File tree

css-pseudo-4/Overview.bs

Lines changed: 2 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1810,9 +1810,7 @@ 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 any standardized [=tree-abiding pseudo-element=]
1814-
that is not an [=element-backed pseudo-element=],
1815-
for example:
1813+
This can be one of the following values:
18161814

18171815
<dl>
18181816
<dt><code>"::before"</code>
@@ -1821,10 +1819,6 @@ Additions to the CSS Object Model</h2>
18211819
<dd>Represents the ''::after'' pseudo-element.
18221820
<dt><code>"::marker"</code>
18231821
<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.
18281822
</dl>
18291823

18301824
The <dfn attribute for=CSSPseudoElement>element</dfn> attribute is the
@@ -1887,10 +1881,7 @@ Additions to the CSS Object Model</h2>
18871881
2. If |type| is failure,
18881882
return null.
18891883

1890-
3. If |type| is an [=element-backed pseudo-element=],
1891-
return null.
1892-
1893-
4. Otherwise, return the {{CSSPseudoElement}} object
1884+
3. Otherwise, return the {{CSSPseudoElement}} object
18941885
representing the pseudo-element
18951886
that would match the selector |type|
18961887
with [=this=] as its [=originating element=].

0 commit comments

Comments
 (0)