- From: Bert Bos <notifications@github.com>
- Date: Thu, 31 Oct 2019 13:57:41 -0700
- To: whatwg/dom <dom@noreply.github.com>
- Cc: Subscribed <subscribed@noreply.github.com>
Received on Thursday, 31 October 2019 20:57:44 UTC
In [4.4. Interface Node](https://dom.spec.whatwg.org/review-drafts/2019-06/#interface-node), or more precisely: https://dom.spec.whatwg.org/review-drafts/2019-06/#concept-getelementsbyclassname > The comparisons for the classes must be done in an [ASCII case-insensitive]( https://infra.spec.whatwg.org/#ascii-case-insensitive) manner if root’s node document’s mode is "quirks", and in a [case-sensitive](https://html.spec.whatwg.org/multipage/infrastructure.html#case-sensitive) manner otherwise. The links define the comparisons to be code unit by code unit, respectively code point by code point, but do not say anything about normalization. Two classes from two different documents may thus be [canonically equivalent](https://www.unicode.org/reports/tr15/tr15-46.html#Canon_Compat_Equivalence) according to Unicode and still not match under this definition of case sensitive comparison. (Note: this comment is part of a review on behalf of the W3C I18N WG, but the I18N WG has not yet discussed the comment.) -- You are receiving this because you are subscribed to this thread. Reply to this email directly or view it on GitHub: https://github.com/whatwg/dom/issues/793
Received on Thursday, 31 October 2019 20:57:44 UTC