W3C home > Mailing lists > Public > www-style@w3.org > June 2011

Re: [CSS4 Selectors] :matches naming bikeshed

From: fantasai <fantasai.lists@inkedblade.net>
Date: Mon, 20 Jun 2011 13:27:03 -0400
Message-ID: <4DFF82E7.6060907@inkedblade.net>
To: www-style@w3.org
On 06/19/2011 06:07 PM, Brian Kardell wrote:
> $ seems much less confusing to me personally, but I think almost anything would be.  I wasn't even  bothered by Ian's original
> # proposal.


> just out of curiosity, what would something like this mean (a value to the left of the subject) ...would it be valid?
> div:matches(.foo $ > .bar)

That means a div that has a .foo ancestor and a .bar child. It's the same
as writing

.foo $div > .bar

:matches() just means an element represented by the selector in its argument.

Received on Monday, 20 June 2011 17:27:40 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 22:50:02 UTC