diff --git a/css-pseudo-4/Overview.bs b/css-pseudo-4/Overview.bs index 996d4ced6af1..331854a6d17f 100644 --- a/css-pseudo-4/Overview.bs +++ b/css-pseudo-4/Overview.bs @@ -1810,7 +1810,9 @@ Additions to the CSS Object Model The type attribute is a string representing the type of the pseudo-element. - This can be one of the following values: + This can be any standardized [=tree-abiding pseudo-element=] + that is not an [=element-backed pseudo-element=], + for example:
"::before" @@ -1819,6 +1821,10 @@ Additions to the CSS Object Model
Represents the ''::after'' pseudo-element.
"::marker"
Represents the ''::marker'' pseudo-element. +
"::backdrop" +
Represents the ''::backdrop'' pseudo-element. +
"::view-transition" +
Represents the ''::view-transition'' pseudo-element.
The element attribute is the @@ -1881,7 +1887,13 @@ Additions to the CSS Object Model 2. If |type| is failure, return null. - 3. Otherwise, return the {{CSSPseudoElement}} object + 3. If |type| is an [=element-backed pseudo-element=], + return null. + + 4. If |type| is not a [=tree-abiding pseudo-element=], + return null. + + 5. Otherwise, return the {{CSSPseudoElement}} object representing the pseudo-element that would match the selector |type| with [=this=] as its [=originating element=].