jQuery 1.3 Adjacent Selector Bug

This test runs $('span.foo + a').css('background', 'green');, which should turn none of the links green, since none of the spans have a class. In jQuery 1.3 (Sizzle v0.9.1) it highlights all the links that appear after a span, but only once a span is proceeded by a link!

Back to Browser Bugs