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

Re: Altering HTML attributes using CSS

From: Tab Atkins Jr. <jackalmage@gmail.com>
Date: Fri, 17 Aug 2012 11:47:26 -0700
Message-ID: <CAAWBYDDHdz2Wa0MsePFHG0oBEVsPtECBeFnB4RL-vy5NgHm+6g@mail.gmail.com>
To: Fran├žois REMY <fremycompany_pub@yahoo.fr>
Cc: Andy Davies <dajdavies@gmail.com>, www-style list <www-style@w3.org>
On Fri, Aug 17, 2012 at 11:43 AM, Fran├žois REMY
<fremycompany_pub@yahoo.fr> wrote:
> |  Haha, you're ahead of me.  Either today or early next week I'm going
> |  to propose something to the WebApps group that fantasai and I have
> |  been brainstorming, for a way to apply attributes to HTML elements
> |  using CSS syntax.
> |
> |  It won't actually be CSS, and it will be less dynamic in certain
> |  important ways, but it should have the same convenience factor that
> |  you talk about.
>
> The idea looks very attractive :-)
>
> Just to make sure I understood the concept: if an idea like this had existed
> before, it would probably have been used to set SVG attributes instead of
> the strange CSS/SVG hybrid we have now, right?

Not necessarily.  HTML/SVG's concept of "presentation attributes" that
just set properties at a very low specificity is still fine.

~TJ
Received on Friday, 17 August 2012 18:48:14 GMT

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