W3C home > Mailing lists > Public > whatwg@whatwg.org > September 2012

Re: [whatwg] DOM4: createHTMLDocument argument

From: Ojan Vafai <ojan@chromium.org>
Date: Tue, 11 Sep 2012 10:07:35 -0700
Message-ID: <CANMdWTtgneW4njdS_o8D7cO_VmX=sBk00dN+icuVmo9Mg670xQ@mail.gmail.com>
To: Simon Pieters <simonp@opera.com>
Cc: whatwg <whatwg@lists.whatwg.org>, Elliott Sprehn <esprehn@gmail.com>, Erik Arvidsson <arv@chromium.org>
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

This archive was generated by hypermail 2.4.0 : Wednesday, 22 January 2020 16:59:45 UTC