Re: [whatwg] DOM4: createHTMLDocument argument

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

> 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.

http://software.hixie.ch/utilities/js/live-dom-viewer/saved/1756

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

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

-- 
Simon Pieters
Opera Software

Received on Tuesday, 11 September 2012 08:24:04 UTC