- From: Alexander Shpack <shadowkin@gmail.com>
- Date: Tue, 6 Mar 2012 09:52:39 +0200
- To: François REMY <fremycompany_pub@yahoo.fr>
- Cc: CSS 3 W3C Group <www-style@w3.org>
On Sat, Mar 3, 2012 at 2:18 PM, François REMY <fremycompany_pub@yahoo.fr> 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>
>
& notation is not clear, imo. I think, the possibility to write a
usual styles is better. Authors may use "this" keyword for defining
style context
<a href=”#” style=”this {color: blue;} this:hover { color: red; };
this::before { content: '+'}”>
a link that doesn’t follow traditionnal look&feel of links in the site
</a>
--
s0rr0w
Received on Tuesday, 6 March 2012 07:53:12 UTC