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

Re: 'role' should be property

From: Patrick H. Lauke <redux@splintered.co.uk>
Date: Tue, 22 May 2007 19:05:11 +0100
Message-ID: <465330D7.2080504@splintered.co.uk>
To: public-html@w3.org

Dmitry Turin wrote:

> Because it's not comfortable to specify values of attribute
> in _many_ tags in _one_ document ('copyright' maybe exception in this list).

What do you mean by "comfortable"?

> I think, that "error, example, etc" should be values of property.
> Name of property is deal of taste, for example name can be 'role'.
> 
> .a {            /*** for examples of html ***/
>   role:  error;
>   color: red;
> }
> .b {            /*** for examples of sending xml ***/
>   role:  error;
>   color: green;
> }
> 
> Thus this should be standardized by CSS WG.

But CSS defines style, and a role is not just about style, but about 
meaning/purpose...so it should be tied to the content, not the presentation.

P
-- 
Patrick H. Lauke
______________________________________________________________
re·dux (adj.): brought back; returned. used postpositively
[latin : re-, re- + dux, leader; see duke.]
www.splintered.co.uk | www.photographia.co.uk
http://redux.deviantart.com
______________________________________________________________
Co-lead, Web Standards Project (WaSP) Accessibility Task Force
http://webstandards.org/
______________________________________________________________
Take it to the streets ... join the WaSP Street Team
http://streetteam.webstandards.org/
______________________________________________________________
Received on Tuesday, 22 May 2007 18:05:21 GMT

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