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

Re: [selectors] What is the order of evaluation of :matches() and :not()?

From: Boris Zbarsky <bzbarsky@mit.edu>
Date: Thu, 28 Aug 2014 17:35:48 -0400
Message-ID: <53FFA0B4.6030908@mit.edu>
To: www-style@w3.org
On 8/28/14, 5:30 PM, Benjamin Poulain wrote:
> The order in which selectors are evaluated has various side effects on what and how rules are applied.

It shouldn't.  Why would it?

> One obvious example is the matching of :visited. Let say we have :matches(:visited, .foobar). If a link has the class foobar, its style varies if the engine evaluate selectors from left to right or right to left.

It shouldn't.  Can you give an actual example where it does?

-Boris
Received on Thursday, 28 August 2014 21:36:16 UTC

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