Skip to content

Conversation

@gibson042
Copy link
Member

Fixes gh-2796

cf. #2796 (comment)
This changes a unit-tested behavior, but is not semver-major since the behavior was undocumented. Still, it probably should be included in 3.0 just in case.

Also adds a test for the acceptance of non-string input (e.g., $elem.closest( $possibleParents )).

Best viewed with -w.

@mention-bot
Copy link

By analyzing the blame information on this pull request, we identified @markelog, @mariansollmann and @mikesherov to be potential reviewers

@dmethvin
Copy link
Member

LGTM. I agree this is a good thing to change in 3.0, even though it's undocumented, just in case someone is using positional selectors in some crazy way.

@timmywil
Copy link
Member

👍

@timmywil timmywil added this to the 3.0.0 milestone Jan 13, 2016
@timmywil timmywil closed this in a268f52 Jan 13, 2016
@lock lock bot locked as resolved and limited conversation to collaborators Jan 18, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Development

Successfully merging this pull request may close these issues.

closest: remove exception for pos selectors

5 participants