Re: [whatwg/dom] Can one get the "original" name of an element? (#460)

My understanding is that the parser is responsible for the lowercasing; the mixed-case name is never even passed to DOM's element-creation algorithms, so even if DOM wanted to store it somewhere, it couldn't.

On the other hand, if you are in an XML document, then the parser won't lowercase, I believe. So in that case it'll just be available as `.localName`.

-- 
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/460#issuecomment-302995710

Received on Monday, 22 May 2017 04:19:37 UTC