Re: 'role' should be property

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 UTC