Re: createElement restrictions on names do not match innerHTML-parseable names

Anne van Kesteren <[email protected]>
Newsgroups gmane.comp.web.dom.general
Message-ID <CADnb78jyPGsP4UhF70tnk6sr6OeWDzwSXKFsh0Bb0=yNeKk4Fg@mail.gmail.com>
On Thu, Jul 25, 2013 at 7:23 AM, Domenic Denicola
<[email protected]> wrote:
> Is this mismatch intentional? Does it make sense?

Yes and it's unclear whether it can be changed.


> In particular, this makes it impossible to explain the behavior of the parser in terms of JS, as we try to do in [jsdom](https://github.com/tmpvar/jsdom).

There's a few things you cannot do from JavaScript. E.g. creating the
right Document object, setting certain attributes. David Flanagan
probably knows a few more.


-- 
http://annevankesteren.nl/
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.