W3C home > Mailing lists > Public > whatwg@whatwg.org > September 2011

[whatwg] createContextualFragment in detached contexts

From: Henri Sivonen <hsivonen@iki.fi>
Date: Fri, 30 Sep 2011 17:35:48 +0300
Message-ID: <CAJQvAucbWqq9+NcHqZ62A1=Eykbqz2YrSMh-2J+vGTKUi3rGmw@mail.gmail.com>
On Fri, Sep 30, 2011 at 1:37 AM, Erik Arvidsson <arv at chromium.org> wrote:
> If the context object is in a detached state, then relax the parsing
> rules so that all elements are allowed at that level. The hand wavy
> explanation is that for every tag at the top level create a new
> element in the same way that ownerDocument.createElement would do it.

I would prefer not to add a new magic mode to the parsing algorithm
that'd differ from what innerHTML requires.

Henri Sivonen
hsivonen at iki.fi
Received on Friday, 30 September 2011 07:35:48 UTC

This archive was generated by hypermail 2.4.0 : Wednesday, 22 January 2020 16:59:36 UTC