File tree 1 file changed +4
-4
lines changed
1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -872,8 +872,8 @@ Internal Structure</h4>
872
872
873
873
<div class="example">
874
874
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.
877
877
</div>
878
878
879
879
Note: A future specification may expand the capabilities of existing pseudo-elements,
@@ -885,7 +885,7 @@ Internal Structure</h4>
885
885
886
886
<div class='example'>
887
887
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.
889
889
This means that, given the following fragment:
890
890
891
891
<pre>
@@ -897,7 +897,7 @@ Internal Structure</h4>
897
897
</div>
898
898
</pre>
899
899
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.
901
901
902
902
However, when rendered,
903
903
the <code> <span></code> element generates boxes as if it were the child of the <code> <content></code> element,
You can’t perform that action at this time.
0 commit comments