aboutsummaryrefslogtreecommitdiffstats
path: root/test/unit/traversing.js
Commit message (Collapse)AuthorAgeFilesLines
* Landing pull request 491. Fix #7322. Make `.is()` with a positional selector ↵Dave Methvin2011-09-191-0/+40
| | | | | | | | work like delegated event logic. Fixes #7322. More Details: - https://github.com/jquery/jquery/pull/491 - http://bugs.jquery.com/ticket/7322
* Move filter tests to proper locationtimmywil2011-09-191-44/+45
|
* Added filtering tests and updating sizzle to fix filtering with positional ↵timmywil2011-09-191-0/+43
| | | | selectors. Fixes #10315.
* Override Sizzle attribute retrieval with jQuery.attr. Fixes #5637, #7128, ↵timmywil2011-09-191-2/+6
| | | | | | #9261, #9570, #10178. Bug fixed on the side: $(window).is('a') was throwing an exception. Fixes #10178.
* Fixes assertion counts and dom element fixture issueRick Waldron2011-08-051-8/+8
|
* Quick improvement to the performace of .index() with no arguments - Adding a ↵gnarf2011-06-141-2/+4
| | | | unit test for .index() of a node without a parent returns -1
* Disabling .add(form.elements) unit test.John Resig2011-04-221-2/+7
|
* Merge branch 'qunit_fixture'timmywil2011-04-171-34/+34
|\
| * Switch QUnit div from depreceted #main to #qunit-fixturetimmywil2011-04-171-34/+34
| |
* | Make sure that forms and selects are added to a jQuery set correctly. Fixes ↵John Resig2011-04-171-2/+3
|/ | | | #6912.
* Adjust the unit tests in traversing - is(jQuery) to avoid long-running ↵timmywil2011-04-141-8/+6
| | | | script alerts
* merge with master and resolve more conflictslouisremi2011-04-121-2/+1
|\
| * Run order problem when running full test suite in Opera 11, removed failing ↵timmywil2011-04-111-2/+1
| | | | | | | | test as it passed by itself and there are others just like it
| * Fix broken merge.jeresig2011-04-111-7/+2
| |
* | resolve conflictlouisremi2011-04-121-8/+3
| |
* | third batchlouisremi2011-04-121-115/+115
|/
* Merge branch 'bug_7369' of https://github.com/timmywil/jquery into ↵jeresig2011-04-101-0/+4
|\ | | | | | | timmywil-bug_7369
| * Fixes #7369 - Using an attribute selector for a non-existent attribute ↵timmywil2011-03-301-1/+5
| | | | | | | | raised an exception on disconnected nodes
* | Merge branch '2773_find_closest' of https://github.com/timmywil/jquery into ↵jeresig2011-04-101-1/+46
|\ \ | | | | | | | | | | | | | | | | | | timmywil-2773_find_closest Conflicts: test/unit/traversing.js
| * | Remove test for bug #7369 to move the fix to a separate branch for a sooner pulltimmywil2011-03-301-3/+0
| | |
| * | Bug #7369: Check non-existent attribute as well to be suretimmywil2011-03-251-1/+2
| | |
| * | Bug #7369: Add test for disconnected node in closest when passing attribute ↵timmywil2011-03-251-1/+3
| | | | | | | | | | | | selector; this was recently fixed in 1.5.2rc
| * | Closest unit tests: add one for passing a jQuery collection with multiple ↵timmywil2011-03-231-2/+4
| | | | | | | | | | | | elements
| * | Add node and jQuery object support to $.fn.closesttimmywil2011-03-211-0/+14
| | |
| * | 2773: first pass adding node/jQuery object support to jQuery.fn.find; unit ↵timmywil2011-03-161-5/+20
| | | | | | | | | | | | tests added
| * | Starting with adding the testtimmywil2011-03-131-0/+9
| |/
* | Traversing unit tests: added tests for passing invalid arguments to $.fn.not ↵timmywil2011-03-231-19/+12
| | | | | | | | (should have no effect on existing object rather than return an empty object as filter does)
* | Merge branch 'master' of git://github.com/jquery/jquery into bug_2773timmywil2011-02-261-3/+3
|\|
| * Fix some unscoped tests which failed after recent changes to QUnit.Anton M2011-02-151-3/+3
| |
* | Fix bug #2773, jQuery.fn.is to accept JQuery and node objects, and a small ↵Timmy Willison2011-01-241-5/+55
|/ | | | fix for winnow getting an undefined selector
* Merge branch 'fix-7853-add-context' of https://github.com/dmethvin/jquery ↵John Resig2011-01-201-8/+9
|\ | | | | | | into dmethvin-fix-7853-add-context
| * Rework unit tests to check actual result elements.Dave Methvin2011-01-191-6/+6
| |
| * By default, use document root rather than current selection's context when ↵Dave Methvin2010-12-281-8/+9
| | | | | | | | add()ing elements. Fixes #7853.
* | Update unit tests with a leak detection mechanism for the various jQuery ↵Colin Snover2011-01-091-1/+1
| | | | | | | | globals and fix all leaks in the tests.
* | Clean trailing whitespace from all files.Colin Snover2010-12-301-12/+12
|/
* The child selector-prefix branch doesn't work with selectors that have a ↵John Resig2010-10-121-1/+2
| | | | larger depth. Removing for now - will need to re-evaluate in the future.
* Make sure that .find() with multiple direct child selectors is handled ↵John Resig2010-10-121-1/+2
| | | | correctly. Fixes #7144.
* Make sure closest works on disconnected DOM nodes. Fixes #7142.John Resig2010-10-111-2/+4
|
* Handle child selectors in particular - away from the selector engine. Fixes ↵John Resig2010-09-281-1/+3
| | | | #7029.
* Make sure that ambiguous val() selection works correctly.John Resig2010-09-281-2/+2
|
* Removing unique check on closest(Array) (it wasn't appropriate there and ↵jeresig2010-09-271-1/+2
| | | | broke functionality elsewhere) - follow-up to commit 8c41325a081f4009aa94748b9b6045e50a78422e. Also added another test for closest(Array) after a discussion with @jitter in 26b0e913dda386b6b2848196689a02a2da6aa40d.
* Merge branch 'closestbug-6700' of http://github.com/ajpiano/jquery into ↵jeresig2010-09-271-1/+5
|\ | | | | | | ajpiano-closestbug-6700
| * .closest() should return a unique set of elements, not duplicates of the ↵adam j. sontag2010-06-211-1/+5
| | | | | | | | same ancestor. Fixes #6700
* | Don't have .val() return selected-but-disabled options, or selected options ↵Dave Methvin2010-09-241-2/+2
|/ | | | inside a disabled optgroup. Doesn't change the .val() returned for a disabled select. Fixes #3240, adapted from Nathan Hammond's patch there.
* Add in the new level information to the closest(Array) test.jeresig2010-03-021-6/+6
|
* Moved add() tests from core to traversing.jeresig2010-01-231-0/+55
|
* fixed jQuery.dir regression introduced with 1.4 *untils patch that errored ↵Ben Alman2010-01-241-1/+3
| | | | when traversing XHTML text nodes with an until test
* Moved some methods around inbetween core.js and traversing.js. Core methods ↵John Resig2009-12-101-85/+37
| | | | shouldn't rely upon other modules (e.g. the selector engine) wherever possible.
* Make sure that the correct args are passed in to the filter callback (and by ↵John Resig2009-12-091-1/+3
| | | | extension, the not callback). Fixes #5594.
* Landing in jQuery.contains, jQuery.fn.contains, and jQuery.fn.has support. ↵Yehuda Katz2009-12-091-1/+37
| | | | Fixes #4101.