Skip to content

Commit b091b2b

Browse files
committed
[css-scoping] Allow compound-selector-list in all the pseudos, because it's useful and there's no reason not to.
1 parent 82ad89f commit b091b2b

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

css-scoping/Overview.bs

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -250,7 +250,7 @@ Selecting Into the Light: the '':host'', '':host()'', and '':host-context()'' ps
250250
The <dfn selector id="selectordef-host-function">:host()</dfn> function pseudo-class
251251
has the syntax:
252252

253-
<pre>:host( <<compound-selector>> )</pre>
253+
<pre>:host( <<compound-selector-list>> )</pre>
254254

255255
When evaluated <a>in the context of a shadow tree</a>,
256256
it matches the <a>shadow tree's</a> <a>shadow host</a>
@@ -298,12 +298,12 @@ Selecting Into the Light: the '':host'', '':host()'', and '':host-context()'' ps
298298
which matches a particular selector.
299299
Its syntax is:
300300

301-
<pre class=prod>:host-context( <<compound-selector>> )</pre>
301+
<pre class=prod>:host-context( <<compound-selector-list>> )</pre>
302302

303303
When evaluated <a>in the context of a shadow tree</a>,
304304
the '':host-context()'' pseudo-class matches the <a>shadow host</a>,
305305
if the <a>shadow host</a> or one of its <a>shadow-including ancestors</a>
306-
matches the provided <<compound-selector>>.
306+
matches the provided <<compound-selector-list>>.
307307
In any other context,
308308
it matches nothing.
309309

@@ -334,12 +334,12 @@ Selecting Slot-Assigned Content: the ''::slotted()'' pseudo-element</h4>
334334

335335
The grammar of the ''::slotted()'' pseudo-element is:
336336

337-
<pre class=prod>::slotted( <<compound-selector>> )</pre>
337+
<pre class=prod>::slotted( <<compound-selector-list>> )</pre>
338338

339339
The ''::slotted()'' pseudo-element represents the elements that are:
340340

341341
* <a lt="find flattened slotables">assigned, after flattening,</a> to the <a>slot</a> that is ''::slotted''’s originating element
342-
* <a lt="match a selector against an element">matched</a> by its <<compound-selector>> argument
342+
* <a lt="match a selector against an element">matched</a> by its <<compound-selector-list>> argument
343343

344344
<div class="example">
345345
For example, say you had a component with both children and a shadow tree,

0 commit comments

Comments
 (0)