Re: [selectors] Previous-sibling combinator

On Wed, Jan 28, 2015 at 5:03 PM, Benjamin Poulain <benjamin@webkit.org> wrote:
> I agree. It would be a good idea to add something explicit.
>
> Developers can do ugly things to get to the siblings:
>     #target:nth-last-child(2 of #target, #target ~ foo + bar)
> (e.g. on WebKit Nightly: http://codepen.io/anon/pen/GgvMqP)

Oh jeez, that's quite a hack.  Clever.

Yeah, if we can simulate previous-sibling via things we have approved,
we should do something about it more directly.

~TJ

Received on Thursday, 29 January 2015 01:42:36 UTC