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 13:10:13 -0700
Message-ID: <CAAWBYDBPzCbwGzwGEeLBGjgKN-K=NiDw1GAbighPTMQzJnpPrw@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 12:03 PM, Fran├žois REMY
<fremycompany_pub@yahoo.fr> wrote:
> This is the aim of your proposal, right? I mean, a CSS language whose
> vocaculary would be HTML attributes instead of traditionnal CSS property
> names. Or am I missing something?

Yes.  The devil's in the details (getting the level of dynamic-ness
right, etc.), but my proposal will allow things like:

video { preload: metadata; }
#main video { preload: auto; autoplay: !on; }

Received on Friday, 17 August 2012 20:11:01 UTC

This archive was generated by hypermail 2.4.0 : Friday, 25 March 2022 10:08:20 UTC