Re: [dom] HTMLCollection.namedItem() vs supported property names (#104)

Thx @bzbarsky, now it is more understandable, I had to finally ask:)
BTW, now I see (by using my example from https://github.com/whatwg/dom/issues/104#issuecomment-154040531) that Chrome has more errors, it treats ID with higher priority than `name` attribute. So in DevTools for this named properties we see:

Chrome: 
`Test: p#Test` << this is `<p id="Test">P3 (id="Test") in DIV.</p>`
`test: p#test` << this is `<p id="test">P2 (id="test") in DIV.</p>`

Firefox:
`Test:<p#Test>` << this is `<p id="Test">P3 (id="Test") in DIV.</p>`
`test:<p>` << this is `<p name="test">P1 (name="test") in DIV.</p>`

Maybe for someone with the Chrome team this ifnos will be useful.

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

Received on Thursday, 5 November 2015 19:02:15 UTC