Bug Tracker

Modify

Ticket #11966 (closed bug: fixed)

Opened 22 months ago

Last modified 22 months ago

descendant selector

Reported by: sfornengo@… Owned by: timmywil
Priority: low Milestone: 1.8
Component: selector Version: 1.8b1
Keywords: Cc:
Blocking: Blocked by:

Description

see  http://jsfiddle.net/dK8mz/ on jquery 1.7.2 return only one result, as expected. on jquery 1.8b1 return 2 results so it seems the ancestor descendant selector $(ancestor descendant) acts as a multiple selector...

Change History

comment:1 Changed 22 months ago by addyosmani

  • Priority changed from undecided to low
  • Component changed from unfiled to selector

I'm wondering if this is the correct behavior.

It's of course confirmed with 1.8b:  http://jsfiddle.net/rG2xq/.

Behaves like  http://jsfiddle.net/FhhyF/ rather than taking into account that we're specifying the name. In case you're stuck, this does however return the result you expect  http://jsfiddle.net/emAmx/

comment:2 Changed 22 months ago by dmethvin

  • Status changed from new to open
  • Milestone changed from None to 1.8

comment:3 Changed 22 months ago by timmywil

  • Owner set to timmywil
  • Status changed from open to assigned

comment:4 Changed 22 months ago by timmywil

  • Status changed from assigned to closed
  • Resolution set to fixed

Update Sizzle: Removes directory caching in dirCheck. Fixes #11966.

Changeset: 375c44d9c715051940a1b9fa5fbafb5c021b6a96

Please follow the  bug reporting guidlines and use  jsFiddle when providing test cases and demonstrations instead of pasting the code in the ticket.

View

Add a comment

Modify Ticket

Action
as closed
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.