Skip to content

Commit 458d494

Browse files
committed
[css-cascade-6] :scope can match the featureless shadow host w3c#9025
1 parent 6224e53 commit 458d494

File tree

1 file changed

+12
-4
lines changed

1 file changed

+12
-4
lines changed

css-cascade-6/Overview.bs

+12-4
Original file line numberDiff line numberDiff line change
@@ -20,8 +20,10 @@ Informative Classes: ex
2020
</pre>
2121

2222
<pre class=link-defaults>
23-
spec:dom; type:dfn; text:shadow tree
24-
spec:dom; type:dfn; for:tree; text:root
23+
spec:dom; type:dfn;
24+
text:shadow tree
25+
for:tree; text:root
26+
text:shadow root; for:/
2527
spec:css-color-4; type:property; text:color
2628
spec:css-values-3; type: value; text:ex
2729
spec:css-conditional-3; type:at-rule; text:@media
@@ -303,7 +305,9 @@ Effects of ''@scope''</h4>
303305
are [=scoped style rules=].
304306

305307
* The '':scope'' selector is defined to match
306-
the ''@scope'' rule’s [=scoping root=].
308+
the ''@scope'' rule’s [=scoping root=],
309+
including the [=featureless=] [=shadow host=]
310+
when that host is the [=scoping root=].
307311
The ''&'' selector is defined to represent
308312
the selector representing the [=scoping root=]
309313
(the <<scope-start>> selector),
@@ -721,12 +725,16 @@ Changes</h2>
721725

722726
This appendix is <em>informative</em>.
723727

724-
<h3 id="changes-2022-08">
728+
<h3 id="changes-since-2023-03">
725729
Changes since the 21 March 2023 Working Draft</h3>
726730

727731
Significant changes since the
728732
<a href="https://www.w3.org/TR/2023/WD-css-cascade-6-20230321/">21 March 2023 Working Draft</a> include:
729733

734+
* The '':scope'' selector can match the [=featureless=] [=shadow host=] when
735+
that host is the [=scoping root=] element.
736+
(<a href="https://github.com/w3c/csswg-drafts/issues/9025">Issue 9025</a>)
737+
730738
* ''<<scope-start>>'' and ''<<scope-end>>'' selectors are unforgiving.
731739
(<a href="https://github.com/w3c/csswg-drafts/issues/10042">Issue 10042</a>)
732740

0 commit comments

Comments
 (0)