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

Re: [css4-selectors] Focused descendant pseudo class

From: Tab Atkins Jr. <jackalmage@gmail.com>
Date: Thu, 26 Jan 2012 16:26:42 -0800
Message-ID: <CAAWBYDC5oUCi77zFvf09nJ6Zh=MUinrDCJ4zRajCtPGAF7kyaA@mail.gmail.com>
To: brice.parent@websailors.fr
Cc: www-style@w3.org
On Thu, Jan 26, 2012 at 4:16 PM, Brice PARENT <brice@websailors.fr> wrote:
> OK. But this makes it really hard to read!
> It would be easier to have something like ":any(ancestor1
> ancestor2,ancestor2 ancestor1) elem{}" or ":and(ancestor1, ancestor2)
> elem{}"
> Both solutions would avoid having on the same line 2 different ways of
> writting equivalent contents, allowing anyone to understand it quickly!

The first one works (though there's still duplication).  The second is
probably not worth optimizing for.

Received on Friday, 27 January 2012 00:27:34 UTC

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