[whatwg] createContextualFragment in detached contexts

Henri Sivonen hsivonen at iki.fi
Fri Sep 30 07:35:48 PDT 2011


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
http://hsivonen.iki.fi/



More information about the whatwg mailing list