[whatwg] DOM4: createHTMLDocument argument

Simon Pieters simonp at opera.com
Tue Sep 11 01:23:28 PDT 2012

On Mon, 10 Sep 2012 18:25:56 +0200, Erik Arvidsson <arv at chromium.org>  

> In WebKit the argument to createHTMLDocument is optional, defaulting
> to the empty string. In DOM4 it is a required argument
> http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#domimplementation
> It seems reasonable to change the spec here since it is common to want
> to create a document without a title.


AFAICT it doesn't default to the empty string in WebKit, it defaults to  

The title element is required in HTML. What are the use cases for creating  
a document without a title?

Simon Pieters
Opera Software

More information about the whatwg mailing list