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

Re: Applicable elements for predefined classnames

From: Rene Saarsoo <nene@triin.net>
Date: Wed, 09 May 2007 15:11:43 +0300
To: public-html@w3.org
Message-ID: <op.tr16ttnuexn25i@localhost>

Matthew Raymond wrote:
> Note that |role| is not immune to the problem of naming conflicts.
>
>    Because new "roles" may be added in future HTML specifications,
> earlier user agents will have to ignore unidentified roles so that they
> can preserve graceful degradation for future HTML specs. Thus, people
> may start using roles that are undefined for a given namespace (or use
> undefined roles without namespaces). This is especially true of clueless
> web authors who don't necessarily understand what |role| is:

1. If authors use their own arbitrary values with @class,
    then this is absolutely correct use of @class.

2. When authors use their own arbitrary values with @role,
    then this will NOT be the correct use of @role.

Similarly authors can make up their own element <foo>, which
might be assigned a meaning in some future spec of HTML.
But usually there is no benefit in making up your own elements,
and people rarely do it. Similarly do they rarely come up with new
values for other attributes with predefined sets of values.
Why should it be the case with @role?

--
Rene Saarsoo
Received on Wednesday, 9 May 2007 12:10:58 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Wednesday, 9 May 2012 00:15:58 GMT