Re: [whatwg] Various threads with feedback on HTML elements
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. Right, you can file a bug on the HTML spec https://www.w3.org/Bugs/Public/enter_bug.cgi?comment=product=HTML%20WGcomponent=HTML5%20specor send an email to http://lists.w3.org/Archives/Public/public-html-comments/ 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. If you are mailing/commenting on this list then I agree with hixie. If you want to comment on the W3C HTML spec then... In general I would recommend against using the WHATWG's spec as a reference, as it has differences exactly like this. -- Ian Hickson U+1047E)\._.,--,'``. fLhttp://ln.hixie.ch/ U+263A/, _.. \ _\ ;`._ ,. Things that are impossible just take longer. `._.-(,_..'--(,_..'`-.;.' -- Regards SteveF HTML 5.1 http://www.w3.org/html/wg/drafts/html/master/
Re: [whatwg] Various threads with feedback on HTML elements
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. Tim Leverett ☺
Re: [whatwg] Various threads with feedback on HTML elements
Hi Tim, 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 You are pointing to the W3C HTML spec, the WHATWG spec (the one that this mailing list deals with) has a different definition for the main element. -- Regards SteveF HTML 5.1 http://www.w3.org/html/wg/drafts/html/master/ Message: 2 Date: Tue, 5 Nov 2013 14:05:42 -0500 From: Tim Leverett ...@gmail.com To: Ian Hickson i...@hixie.ch Cc: whatwg wha...@whatwg.org Subject: Re: [whatwg] Various threads with feedback on HTML elements Message-ID: CAOiS3y6= iocukjf787sq4oyfdxjfjfryxbjzxbwhrkrk-6s...@mail.gmail.com Content-Type: text/plain; charset=UTF-8 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. Tim Leverett ? -- ___ whatwg mailing list whatwg@lists.whatwg.org http://lists.whatwg.org/listinfo.cgi/whatwg-whatwg.org End of whatwg Digest, Vol 116, Issue 7 **