On Fri, Mar 22, 2019 at 11:26 PM Claude Pache <claude.pa...@gmail.com> wrote:
> Beware that behaviour of some methods should differ between HTML and > non-HTML documents. For instance, the RFC says: > > > DOMElement→nodeName casing was previously undefined, it is now changed > to always uppercase. > > However, the DOM Living Standard says it is uppercase (even, > ASCII-uppercased) only in the HTML namespace. For XML documents, the casing > is not modified. > You are absolutely right, i missed that in the convoluted description of the behavior :-) I need to rethink how this would fit with the compatibility flags, it might cause a problem given that loadHTML for example doesn't automatically put the elements into HTML namespace. I updated the RFC to reflect this. To be honest, the compatibility thing is what i am least sure in, especially if this should be combined with the new methods + removal of unused code or should be handled separately. > —Claude > >