W3C home > Mailing lists > Public > www-style@w3.org > March 2012

Re: [css-hierarchies] HTML style attribute

From: Ms2ger <ms2ger@gmail.com>
Date: Sat, 03 Mar 2012 14:13:42 +0100
Message-ID: <4F521906.8090607@gmail.com>
To: www-style@w3.org
On 03/03/2012 01:18 PM, François REMY wrote:
> Small questions for the spec editors of CSS Hierarchies: is it possible/needed to modify the syntax of the “style” attribute to accomodate hierarchies ?
>
> Sample:
>
> <a href=”#” style=”color: blue;&:hover { color: red; }”>
>      a link that doesn’t follow traditionnal look&feel of links in the site
> </a>

Such a feature was proposed in 2000 in 'Syntax of CSS rules in HTML's 
"style" attribute' [1], and was dropped in 2010 because nobody wanted to 
implement it [2]. I doubt that this different syntax would be able to 
convince implementers to take a different view this time around.

HTH
Ms2ger

[1] http://www.w3.org/TR/2000/WD-css-style-attr-20001025
[2] http://www.w3.org/TR/2010/WD-css-style-attr-20100121
Received on Saturday, 3 March 2012 13:14:13 GMT

This archive was generated by hypermail 2.3.1 : Tuesday, 26 March 2013 17:20:51 GMT