[whatwg] createContextualFragment in detached contexts

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/

Received on Friday, 30 September 2011 07:35:48 UTC