[csswg-drafts] [selectors-4] Case-insensitive health warning (#13645)

aphillips has just created a new issue for https://github.com/w3c/csswg-drafts:

== [selectors-4] Case-insensitive health warning ==
Case Sensitivity
https://www.w3.org/TR/2026/WD-selectors-4-20260122/#attribute-case

> To match attribute values [ASCII case-insensitively](https://infra.spec.whatwg.org/#ascii-case-insensitive) regardless of document language rules, the attribute selector may include the identifier i before the closing bracket (]). When this flag is present, UAs must match the attribute’s value ASCII case-insensitively (i.e. [a-z] and [A-Z] are considered equivalent).
>
> Alternately, the attribute selector may include the identifier s before the closing bracket (]); in this case the UA must match the value case-sensitively, with “[identical to](https://infra.spec.whatwg.org/#string-is)” semantics [[INFRA]](https://www.w3.org/TR/2026/WD-selectors-4-20260122/#biblio-infra), regardless of document language rules.

The text about case insensitive (ASCII case fold) matching probably should have some sort of prominent health warning so that users understand this is only an ASCII case fold.

Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/13645 using your GitHub account


-- 
Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config

Received on Thursday, 12 March 2026 16:54:34 UTC