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

Re: [whatwg] A plea to Hixie to adopt <main>

From: Silvia Pfeiffer <silviapfeiffer1@gmail.com>
Date: Wed, 14 Nov 2012 11:03:09 +1100
Message-ID: <CAHp8n2=UmtQYBmvtgvNKs64Mu9GwiHEqOvmzhiWEH74a5oo0Lg@mail.gmail.com>
To: Tim Leverett <zzzzbov@gmail.com>
Cc: whatwg@whatwg.org, "Jens O. Meiert" <jens@meiert.com>
On Wed, Nov 14, 2012 at 4:25 AM, Tim Leverett <zzzzbov@gmail.com> wrote:

> > Explicit author markup would make such a task so much easier.
>
> Only if every author marked up their code correctly. If some authors use
> incorrect markup, then an algorithm would still be necessary for
> determining if each usage was correct.
>

Hope you're not just trolling.

>From a browser perspective, if there is one <main> element and it sits
within <body>, that would be sufficiently correct.

Whether it's semantically correct for a particular application, that's not
something the HTML spec should or could deal with. We don't protect people
from putting the wrong text in tags - not in microdata, not in <article> or
anywhere else. An application may care - or they may trust the author and
if the author cares enough, they will fix up their markup if it doesn't
achieve the right goal.

But I'm sure you were just trolling... ;-)

Cheers,
Silvia.
Received on Wednesday, 14 November 2012 00:19:21 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Wednesday, 30 January 2013 18:48:11 GMT