W3C home > Mailing lists > Public > www-dom@w3.org > July to September 2013

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

From: Anne van Kesteren <annevk@annevk.nl>
Date: Thu, 25 Jul 2013 11:24:27 -0700
Message-ID: <CADnb78jyPGsP4UhF70tnk6sr6OeWDzwSXKFsh0Bb0=yNeKk4Fg@mail.gmail.com>
To: Domenic Denicola <domenic@domenicdenicola.com>
Cc: "www-dom@w3c.org" <www-dom@w3c.org>
On Thu, Jul 25, 2013 at 7:23 AM, Domenic Denicola
<domenic@domenicdenicola.com> 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.

Received on Thursday, 25 July 2013 18:24:54 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 22:37:03 UTC