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

[whatwg] createContextualFragment in detached contexts

From: Henri Sivonen <hsivonen@iki.fi>
Date: Wed, 16 Nov 2011 17:42:47 +0200
Message-ID: <CAJQvAuf2dUTO9ZVkVPqYLin6Ym3PVVtXErOFHqLFJJ0dbPging@mail.gmail.com>
On Fri, Sep 30, 2011 at 7:56 PM, Erik Arvidsson <arv at chromium.org> wrote:
> On Fri, Sep 30, 2011 at 07:35, Henri Sivonen <hsivonen at iki.fi> wrote:
>> 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.
>
> So you want every js library to have to do this kind of work around
> instead?

This topic has migrated to public-webapps. My current thinking is
http://lists.w3.org/Archives/Public/public-webapps/2011OctDec/0818.html

-- 
Henri Sivonen
hsivonen at iki.fi
http://hsivonen.iki.fi/
Received on Wednesday, 16 November 2011 07:42:47 UTC

This archive was generated by hypermail 2.3.1 : Monday, 13 April 2015 23:09:09 UTC