W3C home > Mailing lists > Public > www-style@w3.org > June 2007

Re: new property 'role'

From: Kelly <lightsolphoenix@gmail.com>
Date: Fri, 15 Jun 2007 02:32:35 -0400
To: Dmitry Turin <sql40@narod.ru>
Cc: www-style@w3.org
Message-Id: <200706150232.36328.lightsolphoenix@gmail.com>

On Wednesday, June 13, 2007 3:37 pm Dmitry Turin wrote:
> 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;
> }

Here's the problem with that; CSS is for styling, not for semantics.  Role, 
considering it's supposed to be the connector between HTML and RDF, is 
definitely semantic in nature.  CSS isn't really appropriate for it, 
regardless of whether it's more or less convinient than doing it directly in 
HTML...
-- 
Please avoid sending me Word or PowerPoint attachments.
See http://www.gnu.org/philosophy/no-word-attachments.html
Received on Friday, 15 June 2007 06:32:48 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 27 April 2009 13:54:51 GMT