Re: [whatwg/dom] Make element and attribute names behave like the HTML parser (#449)

I'm still a little unclear on what you mean by "care". They store it, so it can be reflected in other DOM APIs, sure. But e.g. if I set the `src=""` attribute on a script element using `setAttribute("src", "...")` (which sets a null namespace, instead of the HTML namespace) it seems like browsers still load the script file.

Basically my confusion is about whether anyone ever cares about setting the namespace of an attribute "correctly", such as when trying to set two attributes with the same name but different namespace. It seems like the fact frameworks provide methods that take a namespace means some people care. I am not sure why, given my above example of browsers not caring about the namespace for `<script src>`, although I suspect it has something to do with SVG.

-- 
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/pull/449#issuecomment-297480475

Received on Wednesday, 26 April 2017 17:16:56 UTC