@@ -850,7 +850,7 @@ Pseudo-classes</h3>
850850 which allow additional content to be inserted before or after the contents of any element.
851851 </div>
852852
853- Like <a>pseudo-classes</a>
853+ Like <a>pseudo-classes</a> ,
854854 <a>pseudo-elements</a> do not appear in or modify the document source or document tree.
855855 Accordingly, they also do not affect the interpretation of <a>structural pseudo-classes</a>
856856 or other selectors pertaining to their <a>originating element</a> or its tree.
@@ -1925,7 +1925,7 @@ ID selectors</h3>
19251925 In HTML all ID attributes are named <code> id</code> ;
19261926 XML applications may name ID attributes differently,
19271927 but the same restriction applies.
1928- Which attribute on an element is considered the “ID attribute“ is defined by the document language.
1928+ Which attribute on an element is considered the “ID attribute” is defined by the document language.
19291929
19301930 An <dfn export>ID selector</dfn> consists of a “number sign” (U+0023, <code> #</code> )
19311931 immediately followed by the ID value,
@@ -2243,7 +2243,7 @@ The Target Pseudo-class: '':target''</h3>
22432243The Target Container Pseudo-class: '':target-within''</h3>
22442244
22452245 The <dfn id='target-within-pseudo'>:target-within</dfn> pseudo-class
2246- applies to any element to which the '':target'' pseudo class applies
2246+ applies to any element to which the '':target'' pseudo- class applies
22472247 as well as to any element whose descendant in the <a>flat tree</a>
22482248 (including non-element nodes, such as text nodes)
22492249 matches the conditions for matching '':target'' .
@@ -2376,7 +2376,7 @@ The Input Focus Pseudo-class: '':focus''</h3>
23762376 For example, [[HTML]] defines a list of <a href="https://html.spec.whatwg.org/multipage/interaction.html#focusable-area">focusable areas</a> .
23772377
23782378 Document languages may define additional ways in which an element can match '':focus'' ,
2379- except that the '':focus'' pseudo class must not automatically propagate to the parent element--
2379+ except that the '':focus'' pseudo- class must not automatically propagate to the parent element--
23802380 see '':focus-within'' if matching on the parent is desired.
23812381 ('':focus'' may still apply to the parent element
23822382 if made to propagate due to other mechanisms,
@@ -2471,7 +2471,7 @@ The Focus Container Pseudo-class: '':focus-within''</h3>
24712471
24722472 The <dfn id='focus-within-pseudo'>:focus-within</dfn> pseudo-class
24732473 applies to any element (or pseudo-element)
2474- for which the '':focus'' pseudo class applies,
2474+ for which the '':focus'' pseudo- class applies,
24752475 as well as to an element (or pseudo-element)
24762476 whose descendant in the <a>flat tree</a>
24772477 (including non-element nodes, such as text nodes)
@@ -3553,7 +3553,7 @@ Calculating a selector's specificity</h2>
35533553 in its <a>selector list</a> argument.
35543554 <li>
35553555 Analogously, the specificity of an '':nth-child()'' or '':nth-last-child()'' selector
3556- is the specificity of the pseudo class itself (counting as one pseudo-class selector)
3556+ is the specificity of the pseudo- class itself (counting as one pseudo-class selector)
35573557 plus the specificity of
35583558 the most specific <a>complex selector</a>
35593559 in its <a>selector list</a> argument (if any).
0 commit comments