W3C home > Mailing lists > Public > public-html@w3.org > June 2007

Re: 'role' should be property

From: Dannii <curiousdannii@gmail.com>
Date: Mon, 4 Jun 2007 21:57:29 +1000
Message-ID: <af3e73120706040457r6300698i2be40ecb27b0d1b2@mail.gmail.com>
To: "public-html@w3.org WG" <public-html@w3.org>
On 6/4/07, Matthew Raymond <mattraymond@earthlink.net> wrote:

>    Explain this to me: How does performing the same action in a new
> language in a document separate from your original source document make
> it easier to do a task than simply revising the language of the original
> source document? Exactly where are the repetitive semantics that justify
> a separate CSS-like language in the first place, and how does one bind
> to the HTML elements in question without generating markup for binding
> that would be roughly equivalent to the amount of markup created with
> |role| or |class|? After all, |scope| and |header|, when they need to be
> declared, often apply to a relatively small percentage of the elements
> in an HTML document.


The example I came up with earlier would be a page with 20 or more hcalendar
events, or something with a syntax as complicated as they are. Each event
needs as many as eight classes to specify the data, and most of those
classes have rediculous names. That could be 160 classes. They could be
replaced with one class on the root element of the event, or maybe even just
a single class on the container of all events. If additional classes were
needed, the users could choose their own, rather than using silly things
like "dtstamp" and "uid". I know what they mean after examining the spec,
but could you expect anyone else to guess what they mean?
Received on Monday, 4 June 2007 11:57:32 UTC

This archive was generated by hypermail 2.3.1 : Monday, 29 September 2014 09:38:45 UTC