Re: [whatwg] Question about DOMImplementation.createHTMLDocument() specifications

On Fri, 10 May 2013, Thomas Fétiveau wrote:
> 
> - The "initial" insertion mode of the tree construction stage specifies to add
> a doctype to the associated document when a doctype token shows up:
> http://www.whatwg.org/specs/web-apps/current-work/multipage/tree-construction.html#the-initial-insertion-mode
> 
> - However the document object has already been built at this stage and is an
> HTML document, thus created by DOMImplementation.createHTMLDocument().

The document is expected to be created by the implementation directly, not 
using DOMImplementation.createHTMLDocument().

HTH,
-- 
Ian Hickson               U+1047E                )\._.,--....,'``.    fL
http://ln.hixie.ch/       U+263A                /,   _.. \   _\  ;`._ ,.
Things that are impossible just take longer.   `._.-(,_..'--(,_..'`-.;.'

Received on Monday, 1 July 2013 23:26:30 UTC