Skip to content

Commit e711a2f

Browse files
committed
[css-scoping] Update to talk about slots/etc instead of content/distributed. Update ::slotted() section accordingly, and add section defining how slots work. Ref DOM a lot, since it has nearly all the terms we need now.
1 parent 9617cdd commit e711a2f

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

css-scoping/Overview.bs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -351,7 +351,7 @@ Shadow Hosts in a Shadow Tree</h4>
351351
<h4 id='slots-in-shadow-tree'>
352352
Slots and Slotted Elements in a Shadow Tree</h4>
353353

354-
<a>Slots</a> must act as if they were assigned ''display: contents'' in the <a>UA style sheet</a>.
354+
<a>Slots</a> must act as if they were assigned ''display: contents'' in the <a>UA origin</a>.
355355
This must be possible to override via 'display',
356356
so they <em>do</em> generate boxes if desired.
357357

@@ -485,7 +485,7 @@ Selecting Into the Light: the '':host'', '':host()'', and '':host-context()'' ps
485485
-->
486486

487487
<h4 id='slotted-pseudo'>
488-
Selecting Shadow-Projected Content: the ''::slotted()'' pseudo-element</h4>
488+
Selecting Slot-Assigned Content: the ''::slotted()'' pseudo-element</h4>
489489

490490
The <dfn selector>::slotted()</dfn> pseudo-element
491491
represents the elements <a>assigned</a> to a <a>slot</a>.
@@ -504,7 +504,7 @@ Selecting Shadow-Projected Content: the ''::slotted()'' pseudo-element</h4>
504504
The ''::slotted()'' pseudo-element represents the elements that are:
505505

506506
* <a>assigned</a> to its <a>originating element</a>
507-
* <a lt="match a selector against an element">matched</a> by the <<compound-selector>> argument
507+
* <a lt="match a selector against an element">matched</a> by its <<compound-selector>> argument
508508

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

0 commit comments

Comments
 (0)