Boris Zbarsky wrote: > > Huh, you say? Seems like a no-brainer but ASCII case > > insensitivity can be defined as either (1) lowercase the > > characters [A-Z] in both strings and compare characters > > This is how the HTML spec defines it. See > http://www.whatwg.org/specs/web-apps/current-work/multipage/infrastructure.html#case-sensitivity-and-string-comparison > the definition of "ASCII case-insensitive". See also the > definitions of "Converting a string to ASCII lowercase" and > "Converting a string to ASCII uppercase" in the same section. > > Note that http://dom.spec.whatwg.org/#dom-document-createelement > says "If the context object is an HTML document, let localName be > converted to ASCII lowercase." where that last bit is a link to > http://dom.spec.whatwg.org/#converted-to-ascii-lowercase which uses > the exact same wording. Ah, excellent, I stand corrected. Yeah, it would be good to reference that in CSS specs where that wording is necessary. John DaggettReceived on Tuesday, 18 December 2012 01:28:19 UTC
This archive was generated by hypermail 2.4.0 : Monday, 23 January 2023 02:14:22 UTC