Re: [selectors] Previous-sibling combinator

29.01.2015, 04:44, "Tab Atkins Jr." <jackalmage@gmail.com>:
> 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.

Great. What are our next steps to actually add the previous-sibling combinator to the selectors spec and ensure that the current discussion conclusion will not be lost and forgotten? Thanks.

Received on Thursday, 29 January 2015 21:38:47 UTC