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

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 UTC