For example, "converted to ASCII lowercase" is used in "list of elements with qualified name qualifiedName", createElement()createAttribute(), and other attr stuff, where we can pass not only Ascii characters. Using this definitiona doesn't suggest that conversion is making only for Ascii characters?
Edit:
Hmm interesting, Firefox convert only ASCII, but Chrome all characters:
Whe have two def: https://dom.spec.whatwg.org/#converted-to-ascii-uppercase https://dom.spec.whatwg.org/#converted-to-ascii-lowercase but it only covers ASCII characters. What should be done if we use in some methods other characters, like Ś, Ź, Ć. Ż, etc.?
For example, "converted to ASCII lowercase" is used in "list of elements with qualified name qualifiedName",
createElement()
createAttribute()
, and other attr stuff, where we can pass not only Ascii characters. Using this definitiona doesn't suggest that conversion is making only for Ascii characters?Edit: Hmm interesting, Firefox convert only ASCII, but Chrome all characters:
IE11 throw when try pass non-ASCII to
createElement()/createElementNS()
. What Edge does?