@@ -850,7 +850,7 @@ Pseudo-classes</h3>
850
850
which allow additional content to be inserted before or after the contents of any element.
851
851
</div>
852
852
853
- Like <a>pseudo-classes</a>
853
+ Like <a>pseudo-classes</a> ,
854
854
<a>pseudo-elements</a> do not appear in or modify the document source or document tree.
855
855
Accordingly, they also do not affect the interpretation of <a>structural pseudo-classes</a>
856
856
or other selectors pertaining to their <a>originating element</a> or its tree.
@@ -1925,7 +1925,7 @@ ID selectors</h3>
1925
1925
In HTML all ID attributes are named <code> id</code> ;
1926
1926
XML applications may name ID attributes differently,
1927
1927
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.
1929
1929
1930
1930
An <dfn export>ID selector</dfn> consists of a “number sign” (U+0023, <code> #</code> )
1931
1931
immediately followed by the ID value,
@@ -2243,7 +2243,7 @@ The Target Pseudo-class: '':target''</h3>
2243
2243
The Target Container Pseudo-class: '':target-within''</h3>
2244
2244
2245
2245
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
2247
2247
as well as to any element whose descendant in the <a>flat tree</a>
2248
2248
(including non-element nodes, such as text nodes)
2249
2249
matches the conditions for matching '':target'' .
@@ -2376,7 +2376,7 @@ The Input Focus Pseudo-class: '':focus''</h3>
2376
2376
For example, [[HTML]] defines a list of <a href="https://html.spec.whatwg.org/multipage/interaction.html#focusable-area">focusable areas</a> .
2377
2377
2378
2378
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--
2380
2380
see '':focus-within'' if matching on the parent is desired.
2381
2381
('':focus'' may still apply to the parent element
2382
2382
if made to propagate due to other mechanisms,
@@ -2471,7 +2471,7 @@ The Focus Container Pseudo-class: '':focus-within''</h3>
2471
2471
2472
2472
The <dfn id='focus-within-pseudo'>:focus-within</dfn> pseudo-class
2473
2473
applies to any element (or pseudo-element)
2474
- for which the '':focus'' pseudo class applies,
2474
+ for which the '':focus'' pseudo- class applies,
2475
2475
as well as to an element (or pseudo-element)
2476
2476
whose descendant in the <a>flat tree</a>
2477
2477
(including non-element nodes, such as text nodes)
@@ -3553,7 +3553,7 @@ Calculating a selector's specificity</h2>
3553
3553
in its <a>selector list</a> argument.
3554
3554
<li>
3555
3555
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)
3557
3557
plus the specificity of
3558
3558
the most specific <a>complex selector</a>
3559
3559
in its <a>selector list</a> argument (if any).
0 commit comments