Re: [css4-selectors] Focused descendant pseudo class

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.

~TJ

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