Re: Altering HTML attributes using CSS

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 UTC