Skip to content

Commit cec815f

Browse files
andruudAnders Hartvoll Ruud
and
Anders Hartvoll Ruud
authored
[css-scoping-1] Let :host/:host-context/::slotted take a single compound (#5673)
Co-authored-by: Anders Hartvoll Ruud <andruud@google.com>
1 parent be12291 commit cec815f

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

css-scoping-1/Overview.bs

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

262-
<pre>:host( <<compound-selector-list>> )</pre>
262+
<pre>:host( <<compound-selector>> )</pre>
263263

264264
When evaluated <a>in the context of a shadow tree</a>,
265265
it matches the <a>shadow tree's</a> <a>shadow host</a>
@@ -321,12 +321,12 @@ Selecting Into the Light: the '':host'', '':host()'', and '':host-context()'' ps
321321
which matches a particular selector.
322322
Its syntax is:
323323

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

326326
When evaluated <a>in the context of a shadow tree</a>,
327327
the '':host-context()'' pseudo-class matches the <a>shadow host</a>,
328328
if the <a>shadow host</a> or one of its <a>shadow-including ancestors</a>
329-
matches the provided <<compound-selector-list>>.
329+
matches the provided <<compound-selector>>.
330330
In any other context,
331331
it matches nothing.
332332

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

361361
The grammar of the ''::slotted()'' pseudo-element is:
362362

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

365365
The ''::slotted()'' pseudo-element represents the elements that are:
366366

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

370370
The ''::slotted()'' pseudo-element can be followed by a <a>tree-abiding pseudo-element</a>,
371371
like ''::slotted()::before'',

0 commit comments

Comments
 (0)