@@ -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+ [=identical to=] <code> bar</code>
189189 <td> [[#attribute-case]]
190190 <td> 4
191191 <tr>
@@ -1000,7 +1000,7 @@ Invalid Selectors and Error Handling</h3>
10001000 UAs <em> must</em> treat as <a>invalid</a>
10011001 any pseudo-classes, pseudo-elements, combinators, or other syntactic constructs
10021002 for which they have no usable level of support.
1003- See [[#conform -partial]] .
1003+ See [[#w3c -partial]] .
10041004
10051005 An <a>invalid selector</a> represents, and therefore matches, nothing.
10061006
@@ -1456,7 +1456,7 @@ Attribute presence and value selectors</h3>
14561456 (e.g., the <code> hreflang</code> attribute on the <a element>a</a> element in HTML)
14571457 as described in BCP 47 ([[BCP47]] ) or its successor.
14581458 For <code> lang</code> (or <code> xml:lang</code> ) language subcode matching,
1459- please see the '':lang'' pseudo-class.
1459+ please see the '':lang() '' pseudo-class.
14601460 </dl>
14611461
14621462 Attribute values must be <<ident-token>> s or <<string-token>> s. [[!CSS3SYN]]
@@ -1585,7 +1585,7 @@ Case-sensitivity</h3>
15851585
15861586 Alternately, the attribute selector may include the identifier <code> s</code>
15871587 before the closing bracket (<code> ]</code> );
1588- in this case the UA must match the value [=case-sensitively=]
1588+ in this case the UA must match the value with " [=identical to=] " semantics
15891589 regardless of document language rules.
15901590
15911591 Like the rest of Selectors syntax,
@@ -1618,17 +1618,16 @@ Case-sensitivity</h3>
16181618 that really seems needed at this point, this issue is deferred to
16191619 a later level -->
16201620
1621- 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
1621+ Note: Some document models normalize case-insensitive attribute values at parse time
1622+ such that checking if a string is [=identical to =] another is impossible.
1623+ Correct matching via <code> s</code> flags is only possible
16241624 in systems that preserve the original case.
16251625
16261626<h3 id="attrnmsp">
16271627Attribute selectors and namespaces</h3>
16281628
16291629 The attribute name in an attribute selector is given as a
1630- <a href="https://www.w3.org/TR/css3-namespace/#css-qnames">CSS qualified
1631- name</a> : a namespace prefix that has been previously <a href="#nsdecl">declared</a>
1630+ [=CSS qualified name=] : a namespace prefix that has been previously [=declared=]
16321631 may be prepended to the attribute name separated by the namespace
16331632 separator "vertical bar" (<code> |</code> ). In keeping with
16341633 the Namespaces in the XML recommendation, default namespaces do not
@@ -1639,8 +1638,8 @@ Attribute selectors and namespaces</h3>
16391638 attribute names without regard to the attribute's namespace.
16401639
16411640 An attribute selector with an attribute name containing a namespace
1642- prefix that has not been previously <a href="#nsdecl"> declared</a> is
1643- an <a href="#conformance"> invalid</a> selector.
1641+ prefix that has not been previously [= declared=] is
1642+ an invalid selector.
16441643
16451644 <div class="example">
16461645 CSS examples:
@@ -1793,7 +1792,7 @@ Class selectors</h3>
17931792
17941793 When matching against a document which is in <a>quirks mode</a> ,
17951794 class names must be matched [=ASCII case-insensitively=] ;
1796- class selectors are otherwise [=case-sensitive =] .
1795+ class selectors otherwise only match class names they are [=identical to =] .
17971796
17981797<h3 id="id-selectors">
17991798ID selectors</h3>
@@ -1850,7 +1849,7 @@ ID selectors</h3>
18501849
18511850 When matching against a document which is in <a>quirks mode</a> ,
18521851 IDs must be matched [=ASCII case-insensitively=] ;
1853- ID selectors are otherwise [=case-sensitive =] .
1852+ ID selectors otherwise only match IDs they are [=identical to =] .
18541853
18551854<h2 id="linguistic-pseudos">
18561855Linguistic Pseudo-classes</h2>
@@ -3319,7 +3318,7 @@ Calculating a selector's specificity</h2>
33193318 <li>
33203319 '':not(em, strong#foo)'' has
33213320 a specificity of (1,0,1)--
3322- like a tag selector ('' strong'' ) combined with an ID selector (''#foo'' )--
3321+ like a tag selector (<css> strong</css> ) combined with an ID selector (''#foo'' )--
33233322 when matched against any element.
33243323 </ul>
33253324 </div>
0 commit comments