[whatwg] DOM4: createHTMLDocument argument
Ojan Vafai
ojan at chromium.org
Tue Sep 11 10:07:35 PDT 2012
On Tue, Sep 11, 2012 at 1:57 AM, Simon Pieters <simonp at opera.com> wrote:
> On Tue, 11 Sep 2012 10:29:06 +0200, Elliott Sprehn <esprehn at gmail.com>
> wrote:
>
> On Tue, Sep 11, 2012 at 1:23 AM, Simon Pieters <simonp at 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
More information about the whatwg
mailing list