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

Re: Thinking about mixins as a new type of selector

From: L. David Baron <dbaron@dbaron.org>
Date: Sun, 12 Aug 2012 17:35:11 -0700
To: François REMY <fremycompany_pub@yahoo.fr>
Cc: www-style@w3.org
Message-ID: <20120813003511.GA32218@crum.dbaron.org>
On Sunday 2012-08-12 22:37 +0200, François REMY wrote:
> The main issue is that this loop back. You have to resolve all
> matching rules to know what the value of "matches" is, but then you
> have to rematch again, which may changes the value of "matches"
> again. Potentially, this can become an inifinite loop.

So the 'matches' wasn't intended to be a normal property:  the idea
was that it would be additive rather than cascading/overriding; I
think Tab's @-rule syntax might be better.

(I actually started writing the email hoping to post no syntax at
all, but couldn't figure out an easy way to do so.)


𝄞   L. David Baron                         http://dbaron.org/   𝄂
𝄢   Mozilla                           http://www.mozilla.org/   𝄂
Received on Monday, 13 August 2012 00:35:36 UTC

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