@@ -19,8 +19,8 @@ spec:dom; type:dfn;
1919 text:host
2020 text:shadow root; for:/
2121 text:root; for:tree
22- text:find slotables
23- text:find flattened slotables
22+ text:find slottables
23+ text:find flattened slottables
2424spec:html; type:element; text:style
2525spec:selectors-4; type:dfn;
2626 text: static profile
@@ -163,12 +163,14 @@ Shadow DOM and Selectors</h3>
163163Matching Selectors Against Shadow Trees</h4>
164164
165165 When a selector is matched against a <a>shadow tree</a> ,
166- the <a> selector match list</a>
166+ the selector match list
167167 is initially the <a>shadow host</a> ,
168168 followed by all children of the <a>shadow tree's</a> <a>shadow root</a>
169169 and their descendants,
170170 ordered by a pre-order traversal.
171171
172+ Issue: Rewrite this against the newer call forms of the matching algorithms.
173+
172174 Note: Remember that the <a>descendants</a> of an element
173175 are based on the <a>light tree</a> <a>children</a> of the element,
174176 which does not include the <a>shadow trees</a> of the element.
@@ -346,7 +348,7 @@ Selecting Into the Light: the '':host'', '':host()'', and '':host-context()'' ps
346348Selecting Slot-Assigned Content: the ''::slotted()'' pseudo-element</h4>
347349
348350 The <dfn selector>::slotted()</dfn> pseudo-element
349- represents the elements <a lt="find flattened slotables ">assigned, after flattening,</a> to a <a>slot</a> .
351+ represents the elements <a lt="find flattened slottables ">assigned, after flattening,</a> to a <a>slot</a> .
350352 This pseudo-element only exists on <a>slots</a> .
351353
352354 The ''::slotted()'' pseudo-element is an <em> alias</em> for other elements in the tree,
@@ -358,7 +360,7 @@ Selecting Slot-Assigned Content: the ''::slotted()'' pseudo-element</h4>
358360
359361 The ''::slotted()'' pseudo-element represents the elements that are:
360362
361- * <a lt="find flattened slotables ">assigned, after flattening,</a> to the <a>slot</a> that is ''::slotted'' ’s originating element
363+ * <a lt="find flattened slottables ">assigned, after flattening,</a> to the <a>slot</a> that is ''::slotted'' ’s originating element
362364 * <a lt="match a selector against an element">matched</a> by its <<compound-selector-list>> argument
363365
364366 The ''::slotted()'' pseudo-element can be followed by a <a>tree-abiding pseudo-element</a> ,
@@ -390,7 +392,7 @@ Selecting Slot-Assigned Content: the ''::slotted()'' pseudo-element</h4>
390392 For a stylesheet within the <a>shadow tree</a> ,
391393 a selector like ''::slotted(*)''
392394 selects ''#one'' and ''#two'' only,
393- as they're the elements <a lt="find flattened slotables ">assigned</a> to the sole <{slot}> element.
395+ as they're the elements <a lt="find flattened slottables ">assigned</a> to the sole <{slot}> element.
394396 It will <em> not</em> select ''#three''
395397 (no <code> slot</code> attribute)
396398 nor ''#four''
@@ -485,11 +487,11 @@ Flattening the DOM into an Element Tree</h3>
485487 with <var> pending node</var> as their associated parent.
486488 <dt><var> pending node</var> is a <a>slot</a>
487489 <dd>
488- <a>Find slotables </a> for <var> pending node</var> ,
490+ <a>Find slottables </a> for <var> pending node</var> ,
489491 and append them to <var> pending nodes</var> ,
490492 with <var> pending node</var> as their associated parent.
491493
492- If no <a>slotables </a> were found for <var> pending node</var> ,
494+ If no <a>slottables </a> were found for <var> pending node</var> ,
493495 instead append its <a>children</a> to <var> pending nodes</var> ,
494496 with <var> pending node</var> as their associated parent.
495497 <dt> Otherwise,
0 commit comments