node-soupselect icon indicating copy to clipboard operation
node-soupselect copied to clipboard

Implement the sibling selectors + and ~

Open kitsunde opened this issue 14 years ago • 0 comments

I attempted to use these because I had two elements like this:

<b class="foo">wrong</b>
<b>right</b>

I need sibling selectors so that I can do:

select( dom, "b.foo ~ b" );

or at least

select( dom, "b.foo + b" );

kitsunde avatar Jun 22 '11 05:06 kitsunde