Re: [dom] Having getElementsByTagName match on localName is not "web"-compatible for IE and Firefox (#143)

An ad-hoc test for the prefix thing: http://software.hixie.ch/utilities/js/live-dom-viewer/saved/3817

It looks like Blink and Edge currently do the same thing, the discrepancy is because `document.createElementNS(htmlNS, 'FOO')` actually lowercases to 'foo' in Edge, which is a separate issue.

In addition to the case in https://github.com/whatwg/dom/issues/143#issuecomment-170508463, there's also the issue that `getElementsByTagName('x:foo')` currently never matches any element in Blink/Edge, because localName cannot contain a colon.

Trying to guess about the interop risk won't do us any good, so if you make the spec change I can try to add a use counter for the cases where the difference would be observable.

---
Reply to this email directly or view it on GitHub:
https://github.com/whatwg/dom/issues/143#issuecomment-170550128

Received on Monday, 11 January 2016 13:33:59 UTC