W3C home > Mailing lists > Public > public-webapps@w3.org > July to September 2012

Re: Proposal for "Cascading Attribute Sheets" - like CSS, but for attributes!

From: Tab Atkins Jr. <jackalmage@gmail.com>
Date: Tue, 21 Aug 2012 13:59:16 -0700
Message-ID: <CAAWBYDCjK4NUouQjfAgP95rghT=7OiG-5rVyL3mOaCedPnoTGg@mail.gmail.com>
To: Brian Kardell <bkardell@gmail.com>
Cc: public-webapps <public-webapps@w3.org>, Ojan Vafai <ojan@chromium.org>
On Tue, Aug 21, 2012 at 1:37 PM, Brian Kardell <bkardell@gmail.com> wrote:
> On Tue, Aug 21, 2012 at 4:32 PM, Tab Atkins Jr. <jackalmage@gmail.com> wrote:
>> Correct.  If we applied CAS on attribute changes, we'd have... problems.
>
> Because you could do something like:
>
> .foo[x=123]{ x:  234; }
> .foo[x=234]{ x:  123; }
>
> ?

Precisely.  Any way around this problem pulls in a lot more complexity
that I don't think is worthwhile.

~TJ
Received on Tuesday, 21 August 2012 21:00:04 GMT

This archive was generated by hypermail 2.3.1 : Tuesday, 26 March 2013 18:49:54 GMT