Re: [whatwg] DOM4: createHTMLDocument argument

On Tue, Sep 11, 2012 at 1:57 AM, Simon Pieters <simonp@opera.com> wrote:

> On Tue, 11 Sep 2012 10:29:06 +0200, Elliott Sprehn <esprehn@gmail.com>
> wrote:
>
>  On Tue, Sep 11, 2012 at 1:23 AM, Simon Pieters <simonp@opera.com> wrote:
>>
>>> ...
>>>
>>> The title element is required in HTML. What are the use cases for
>>> creating a
>>> document without a title?
>>>
>>
Is it? All I see in the spec is "There must be no more than one title
element per document."

 http://code.google.com/**codesearch?q=**createHTMLDocument%5C(%5C)+**
> lang:js<http://code.google.com/codesearch?q=createHTMLDocument%5C(%5C)+lang:js>seems to suggest there's content out there that omits the argument so there
> can be a compat win to support the no-argument case.
>
> Should the spec say to omit the title element altogether when the argument
> is omitted?


Makes sense to me. WebKit's current behavior is dumb. :)

Ojan

Received on Tuesday, 11 September 2012 17:08:30 UTC