[whatwg] createContextualFragment in detached contexts
arv at chromium.org
Fri Sep 30 09:56:47 PDT 2011
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? That just dumps the complexity in the lap of js authors which
leads to larger and more complex libraries which in turns slows down
the web for everyone.
More information about the whatwg