Skip to main content

Bug Tracker

Side navigation

#7682 closed bug (duplicate)

Opened December 02, 2010 01:31PM UTC

Closed December 02, 2010 02:32PM UTC

Last modified January 31, 2011 05:55PM UTC

Unexpected behavior of find function

Reported by: serg@podtynnyi.com Owned by:
Priority: low Milestone: 1.5
Component: selector Version: 1.5
Keywords: Cc:
Blocked by: Blocking:
Description

From console:

$(".no-sdcard:visible ~ .no-sdcard").length
=>3
$(".no-sdcard:visible").find("~ .no-sdcard").length
=>0

This works on 1.4.2.

From 1.4.3 it's broken

Attachments (0)
Change History (5)

Changed December 02, 2010 01:40PM UTC by Serg Podtynnyi <serg@podtynnyi.com> comment:1

http://jsfiddle.net/633jw/

test with 1.4.2, 1.4.3, 1.4.4

Changed December 02, 2010 02:32PM UTC by jitter comment:2

component: unfiledselector
milestone: 1.next1.4.5
priority: undecidedlow
resolution: → duplicate
status: newclosed

Thanks for taking the time to contribute to the jQuery project by writing a bug report and providing a test case!

After checking your report and test case I came to the conclusion that this bug was already reported. Thus I close this ticket as duplicate. Please check the below mentioned ticket for progress on this issue.

Changed December 02, 2010 02:32PM UTC by jitter comment:3

Duplicate of #7452.

Changed January 31, 2011 05:53PM UTC by john comment:4

version: 1.4.41.5

There wasn't a 1.4.5 release, was actually 1.5.

Changed January 31, 2011 05:55PM UTC by john comment:5

milestone: 1.4.51.5

There was no 1.4.5 release, was actually 1.5.