@@ -185,7 +185,7 @@ Selectors Overview</h2>
185185 <tr>
186186 <td><code> E[foo="bar" s] </code>
187187 <td> an E element whose <code> foo</code> attribute value is
188- exactly and case-sensitively equal to <code> bar</code>
188+ exactly and [= case-sensitively=] equal to <code> bar</code>
189189 <td> [[#attribute-case]]
190190 <td> 4
191191 <tr>
@@ -934,7 +934,7 @@ Internal Structure</h4>
934934<h3 id="case-sensitive">
935935Characters and case sensitivity</h3>
936936
937- All Selectors syntax is case-insensitive within the ASCII range
937+ All Selectors syntax is [=ASCII case-insensitive=]
938938 (i.e. [a-z] and \[A-Z] are equivalent),
939939 except for the parts
940940 that are not under the control of Selectors:
@@ -1239,7 +1239,7 @@ The Relational Pseudo-class: '':has()''</h3>
12391239 ...would result matching any <code> <section></code> element
12401240 which contains anything that's not a heading element.
12411241 </div>
1242-
1242+
12431243 Supporting the '':has()'' pseudo-class is not required to conform to this specification.
12441244
12451245
@@ -1387,20 +1387,20 @@ The Defined Pseudo-class: '':defined''</h3>
13871387 The <dfn id='defined-pseudo'>:defined</dfn> <a>pseudo-class</a> matches elements
13881388 that are fully defined,
13891389 as dictated by the host language.
1390-
1390+
13911391 If the host language does not have this sort of distinction,
13921392 all elements in it match '':defined'' .
13931393
13941394 <div class="example">
13951395 In HTML, all built-in elements are always considered to be defined,
13961396 so the following example will always match:
1397-
1397+
13981398 <pre highlight=css> p:defined { ... }</pre>
1399-
1399+
14001400 [=Custom elements=] , on the other hand,
14011401 start out <em> un</em> defined,
14021402 and only become defined when <l spec=html> [=element definition|properly registered=] </l> .
1403- This means the '':defined'' pseudo-class
1403+ This means the '':defined'' pseudo-class
14041404 can be used to hide a custom element
14051405 until it has been registered:
14061406
@@ -1575,22 +1575,23 @@ Case-sensitivity</h3>
15751575 By default case-sensitivity of attribute names and values in selectors
15761576 depends on the document language.
15771577
1578- To match attribute values case-insensitively
1578+ To match attribute values [=ASCII case-insensitively=]
15791579 regardless of document language rules,
15801580 the attribute selector may include the identifier <code> i</code>
15811581 before the closing bracket (<code> ]</code> ).
15821582 When this flag is present,
15831583 UAs must match the attribute's value
1584- case-insensitively within the ASCII range.
1584+ [=ASCII case-insensitively=]
1585+ (i.e. [a-z] and \[A-Z] are considered equivalent).
15851586
15861587 Alternately, the attribute selector may include the identifier <code> s</code>
15871588 before the closing bracket (<code> ]</code> );
1588- in this case the UA must match the value case-sensitively (if possible)
1589+ in this case the UA must match the value [= case-sensitively=]
15891590 regardless of document language rules.
15901591
15911592 Like the rest of Selectors syntax,
1592- the <code> i</code> and <code> s</code> identifiers are
1593- <a href="# case-sensitive">case- insensitive</a> within the ASCII range .
1593+ the <code> i</code> and <code> s</code> identifiers themselves
1594+ are [=ASCII case-insensitive=] .
15941595
15951596 <div class="example">
15961597 The following rule will style the <code> frame</code> attribute when it
@@ -1619,8 +1620,8 @@ Case-sensitivity</h3>
16191620 a later level -->
16201621
16211622 Note: Some document models normalize case-insensitive attribute values
1622- at parse time such that case-sensitive matching is impossible.
1623- Case-sensitive matching via <code> s</code> flags is only possible
1623+ at parse time such that [= case-sensitive=] matching is impossible.
1624+ [= Case-sensitive=] matching via <code> s</code> flags is only possible
16241625 in systems that preserve the original case.
16251626
16261627<h3 id="attrnmsp">
@@ -1792,8 +1793,8 @@ Class selectors</h3>
17921793 this specification.
17931794
17941795 When matching against a document which is in <a>quirks mode</a> ,
1795- class names must be matched <a lt=" ASCII case-insensitive">ASCII case- insensitively</a> ;
1796- class selectors are otherwise case-sensitive.
1796+ class names must be matched [= ASCII case-insensitively=] ;
1797+ class selectors are otherwise [= case-sensitive=] .
17971798
17981799<h3 id="id-selectors">
17991800ID selectors</h3>
@@ -1849,8 +1850,8 @@ ID selectors</h3>
18491850 DOM3 Core, XML DTDs, and namespace-specific knowledge.
18501851
18511852 When matching against a document which is in <a>quirks mode</a> ,
1852- IDs must be matched <a lt=" ASCII case-insensitive">ASCII case- insensitively</a> ;
1853- ID selectors are otherwise case-sensitive.
1853+ IDs must be matched [= ASCII case-insensitively=] ;
1854+ ID selectors are otherwise [= case-sensitive=] .
18541855
18551856<h2 id="linguistic-pseudos">
18561857Linguistic Pseudo-classes</h2>
@@ -1921,7 +1922,7 @@ The Language Pseudo-class: '':lang()''</h3>
19211922 its <a>content language</a> , as represented in BCP 47 syntax,
19221923 matches the given <a>language range</a> in an <var> extended filtering</var>
19231924 operation per [[RFC4647]] <cite> Matching of Language Tags</cite> (section 3.3.2).
1924- The matching is performed case-insensitively within the ASCII range .
1925+ The matching is performed [=ASCII case-insensitively=] .
19251926 The <a>language range</a> does not need to be a valid language code to
19261927 perform this comparison.
19271928
0 commit comments