W3C home > Mailing lists > Public > whatwg@whatwg.org > November 2013

Re: [whatwg] Various threads with feedback on HTML elements

From: Ian Hickson <ian@hixie.ch>
Date: Tue, 5 Nov 2013 21:31:18 +0000 (UTC)
To: Tim Leverett <zzzzbov@gmail.com>
Message-ID: <alpine.DEB.2.00.1311052128250.838@ps20323.dreamhostps.com>
Cc: whatwg <whatwg@whatwg.org>
On Tue, 5 Nov 2013, Tim Leverett wrote:
> >>
> >> 2. Making <main> being usable multiple times in a document, so we 
> >> also have a reasonable element to wrap the main content of a blog 
> >> post.
> >
> >The spec does not limit <main> to being used only once.
> 
> Correct me if I'm wrong, but the spec says:
> 
> > Authors must not include more than one main element in a document.
> http://www.w3.org/html/wg/drafts/html/master/single-page.html#the-main-element
> 
> I think that's what Ian Yang was originally referring to.

Ah, ok. That's the W3C's spec. You'd have to contact them about that.

The WHATWG spec doesn't limit <main> to being used just once:

   http://whatwg.org/html#the-main-element

In general I would recommend against using the W3C's spec as a reference, 
as it has differences exactly like this.

-- 
Ian Hickson               U+1047E                )\._.,--....,'``.    fL
http://ln.hixie.ch/       U+263A                /,   _.. \   _\  ;`._ ,.
Things that are impossible just take longer.   `._.-(,_..'--(,_..'`-.;.'
Received on Tuesday, 5 November 2013 21:31:46 UTC

This archive was generated by hypermail 2.4.0 : Wednesday, 22 January 2020 17:00:13 UTC