Skip to content

Commit bd56761

Browse files
committed
[css-pseudo-4] Clarify that pseudo-elements are suppressed just like regular elements. w3c#625
1 parent 54c2a06 commit bd56761

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

css-pseudo-4/Overview.bs

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1144,6 +1144,10 @@ Generated Content Pseudo-elements: ''::before'' and ''::after''</h3>
11441144
the generated content of ''::before'' and '':after'' pseudo-elements
11451145
can form part of any ''::first-line'' and ''::first-letter'' pseudo-elements
11461146
applied to its <a>originating element</a>.
1147+
Also as with regular child elements,
1148+
the ''::before'' and ''::after'' pseudo-elements
1149+
are suppressed when their parent, the [=originating element=],
1150+
is [=replaced element|replaced=].
11471151

11481152
<h3 id="marker-pseudo">
11491153
List Markers: the ''::marker'' pseudo-element</h3>

0 commit comments

Comments
 (0)