Skip to main content

Bug Tracker

Side navigation

#7277 closed bug (duplicate)

Opened October 21, 2010 11:27PM UTC

Closed October 23, 2010 07:23PM UTC

Last modified October 23, 2010 07:23PM UTC

CSS sibling selectors not working

Reported by: anonymous Owned by:
Priority: high Milestone: 1.4.4
Component: selector Version: 1.4.3
Keywords: Cc:
Blocked by: Blocking:

Using ~ or + selectors now fails.

See here and toggle jQuery version between latest and 1.4.2

Attachments (0)
Change History (3)

Changed October 22, 2010 05:59PM UTC by rwaldron comment:1

component: unfiledselector
priority: undecidedhigh
status: newopen

Confirmed - This changes the behavior significantly between versions.


<table><tr><td class="test"></td><td>Hello world</td></tr></table>

$('td.test:eq(0) ~ td').text()

returns Hello world in 1.4.2

returns nothing in 1.4.3

Changed October 23, 2010 07:23PM UTC by john comment:2

resolution: → duplicate
status: openclosed

Changed October 23, 2010 07:23PM UTC by john comment:3

Duplicate of #7220.