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

Re: [whatwg] DOM4: createHTMLDocument argument

From: Anne van Kesteren <annevk@annevk.nl>
Date: Tue, 11 Sep 2012 19:20:40 +0200
Message-ID: <CADnb78jcuC4bfPipydgstttccK39iPBt5WKth=xSasCc-21Zww@mail.gmail.com>
To: Ojan Vafai <ojan@chromium.org>
Cc: whatwg <whatwg@lists.whatwg.org>, Elliott Sprehn <esprehn@gmail.com>, Erik Arvidsson <arv@chromium.org>, Simon Pieters <simonp@opera.com>
On Tue, Sep 11, 2012 at 7:07 PM, Ojan Vafai <ojan@chromium.org> wrote:
> Is it? All I see in the spec is "There must be no more than one title
> element per document."

http://www.whatwg.org/specs/web-apps/current-work/multipage/semantics.html#the-head-element
requires it (via the content model).


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

Should we also make the createDocument() arguments optional?


-- 
http://annevankesteren.nl/
Received on Tuesday, 11 September 2012 17:22:07 UTC

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