Skip to content

Commit 32f5d94

Browse files
fantasaijakearchibald
authored andcommitted
[selectors-4] Update to ::slotted w3c#7474
1 parent 8625d75 commit 32f5d94

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

selectors-4/Overview.bs

+4-4
Original file line numberDiff line numberDiff line change
@@ -872,8 +872,8 @@ Internal Structure</h4>
872872

873873
<div class="example">
874874
For example, ''::first-letter + span'' and ''::first-letter em'' are invalid selectors.
875-
However, since ''::shadow'' is defined to have internal structure,
876-
''::shadow > p'' is a valid selector.
875+
However, since ''::slotted'' is defined to have internal structure,
876+
''::slotted > p'' is a valid selector.
877877
</div>
878878

879879
Note: A future specification may expand the capabilities of existing pseudo-elements,
@@ -885,7 +885,7 @@ Internal Structure</h4>
885885

886886
<div class='example'>
887887
For example,
888-
the ''::content'' pseudo-element treats elements distributed to it as its children.
888+
the ''::slotted'' pseudo-element treats elements distributed to it as its children.
889889
This means that, given the following fragment:
890890

891891
<pre>
@@ -897,7 +897,7 @@ Internal Structure</h4>
897897
&lt;/div>
898898
</pre>
899899

900-
the selectors ''div > span'' and ''div::shadow ::content > span'' select the same element via different paths.
900+
the selectors ''div > span'' and ''div::shadow ::slotted > span'' select the same element via different paths.
901901

902902
However, when rendered,
903903
the <code>&lt;span></code> element generates boxes as if it were the child of the <code>&lt;content></code> element,

0 commit comments

Comments
 (0)