@@ -923,8 +923,9 @@ <h4><a name=attribute-representation>6.3.1. Attribute presence and value selecto
923923 pseudo-class</ a > .</ dd >
924924</ dl >
925925
926- < p > Attribute values must be identifiers or strings. The
927- case-sensitivity of attribute names and values in selectors depends on
926+ < p > Attribute values must be CSS < a href ="http://www.w3.org/TR/CSS21/syndata.html#value-def-identifier "> identifiers</ a >
927+ or < a href ="http://www.w3.org/TR/CSS21/syndata.html#strings "> strings</ a > . < a href ="#refsCSS21 "> [CSS21]</ a >
928+ The case-sensitivity of attribute names and values in selectors depends on
928929the document language.</ p >
929930
930931< div class ="example ">
@@ -1003,8 +1004,9 @@ <h4><a name=attribute-substrings></a>6.3.2. Substring matching attribute
10031004 the selector does not represent anything.</ dd >
10041005</ dl >
10051006
1006- < p > Attribute values must be identifiers or strings. The
1007- case-sensitivity of attribute names in selectors depends on the
1007+ < p > Attribute values must be CSS < a href ="http://www.w3.org/TR/CSS21/syndata.html#value-def-identifier "> identifiers</ a >
1008+ or < a href ="http://www.w3.org/TR/CSS21/syndata.html#strings "> strings</ a > . < a href ="#refsCSS21 "> [CSS21]</ a >
1009+ The case-sensitivity of attribute names in selectors depends on the
10081010document language.</ p >
10091011
10101012< div class ="example ">
@@ -1204,7 +1206,8 @@ <h3><a name=id-selectors>6.5. ID selectors</a></h3>
12041206assign an identifier to one element instance in the document tree. An
12051207ID selector contains a "number sign" (U+0023,
12061208< code > #</ code > ) immediately followed by the ID value, which must be an
1207- identifier. An ID selector represents an element instance that has an
1209+ CSS < a href ="http://www.w3.org/TR/CSS21/syndata.html#value-def-identifier "> identifiers</ a > .
1210+ An ID selector represents an element instance that has an
12081211identifier that matches the identifier in the ID selector.</ p >
12091212
12101213< p > Selectors does not specify how a UA knows the ID-typed attribute of
@@ -1428,7 +1431,8 @@ <h4><a name=lang-pseudo>6.6.3. The language pseudo-class :lang</a></h4>
14281431element's language value is performed case-insensitively.
14291432The identifier C does not have to be a valid language name.</ p >
14301433
1431- < p > C must not be empty. (If it is, the selector is invalid.)</ p >
1434+ < p > C must be a valid CSS < a href ="http://www.w3.org/TR/CSS21/syndata.html#value-def-identifier "> identifier</ a > < a href ="#refsCSS21 "> [CSS21]</ a >
1435+ and must not be empty. (Otherwise, the selector is invalid.)</ p >
14321436
14331437< p class ="note "> < strong > Note:</ strong > It is recommended that
14341438documents and protocols indicate language using codes from BCP 47 < a
0 commit comments