Mike Sherov
|
ed9e34482a
|
enforce double quotes via JSHint. Closes gh-975
|
2012-10-16 10:17:14 -04:00 |
|
Timmy Willison
|
6ad4a0ef34
|
Update Sizzle: fix a failing test in traversing. Move an attribute selector test to jQuery-only.
|
2012-09-19 20:46:18 -04:00 |
|
Chad Killingsworth
|
de9bed319e
|
Make unit tests friendly to Closure Compiler. Closes gh-845.
Conflicts:
test/unit/effects.js
test/unit/offset.js
|
2012-07-05 15:52:42 -04:00 |
|
Rick Waldron
|
7ff3da186c
|
Unit tests are linted and passing.
|
2012-06-21 15:30:24 -04:00 |
|
Mike Sherov
|
5f35b3d9f9
|
Fix #11857. Modularize css.js, add dependency management. Closes gh-816.
See the pull request for more info on the dependency management details.
|
2012-06-10 21:54:16 -04:00 |
|
Mike Sherov
|
3225d61496
|
Make dimensions modular, adds optional build flag. Fixes #11856
|
2012-06-05 15:29:46 -04:00 |
|
timmywil
|
1122c8ce32
|
Adjust the return type for the tabindex attribute tests to be a string. Recomment a tabindex test since FF12's QSA includes video elements that don't have a tabindex attribute.
Related:
https://bugzilla.mozilla.org/show_bug.cgi?id=618737
|
2012-05-30 15:00:30 -04:00 |
|
timmywil
|
f633c7f165
|
Uncomment an old test for when the tabindex attrhook was deprecated
|
2012-05-30 14:07:59 -04:00 |
|
timmywil
|
3e2a77c5e8
|
Remove the tabindex attrHook. Fixes #8473
|
2012-05-30 13:46:50 -04:00 |
|
timmywil
|
a8d9d05388
|
Add quick-start documentation for testing with QUnit and using jQuery's helper methods.
|
2012-05-29 13:13:26 -04:00 |
|
timmywil
|
6f7bdf8977
|
Update Sizzle: Add test for [selected] attribute selections. Addresses a small issue in IE8's boolean attribute selections with QSA.
|
2012-05-28 18:32:20 -04:00 |
|
timmywil
|
66cf58e79f
|
Move length tests to jQuery's selector tests as it relates to jQuery.merge.
|
2012-05-28 15:07:39 -04:00 |
|
timmywil
|
3ee332b238
|
Minor test suite adjustments
|
2012-05-28 12:43:41 -04:00 |
|
timmywil
|
a4fc2edaab
|
Update Sizzle and add tests from the Sizzle suite that require jQuery for the selection to jquery/test/unit/selector.js
|
2012-05-28 12:41:58 -04:00 |
|
Mike Sherov
|
f36568324d
|
fixes #10693, generalizes the "test something in an iframe" code when a callback isn't needed
|
2012-02-23 22:55:20 -05:00 |
|
Richard Gibson
|
6c8dd7e7d3
|
Fix #10931: Make unit tests work without web access.
Applies https://github.com/gibson042/jquery/tree/10931 to
dd900460ac
|
2012-01-12 20:04:17 -05:00 |
|
timmywil
|
8723f3b9e1
|
Update sizzle; Add sizzle cache collision iframe test. Fixes #8539.
|
2011-10-13 11:11:41 -04:00 |
|
timmywil
|
92405d4f5f
|
Override Sizzle attribute retrieval with jQuery.attr. Fixes #5637, #7128, #9261, #9570, #10178.
Bug fixed on the side: $(window).is('a') was throwing an exception. Fixes #10178.
|
2011-09-19 15:42:30 -04:00 |
|
John Resig
|
3f036281dd
|
No need to duplicate Sizzle tests, just run them directly from Sizzle.
|
2011-02-10 16:19:35 -05:00 |
|
Anton M
|
f56b4a22a6
|
Pull over tests from Sizzle. "Remove backslashes from tag name filter. Fixes #8220."
|
2011-02-10 01:29:18 +01:00 |
|
Anton M
|
1e4f3c07c7
|
Pull over tests from Sizzle. Fixes #3729. Fixes #6428.
|
2011-01-28 01:50:39 +01:00 |
|
jeresig
|
9604a0321a
|
Bring back in #main prefix on adjacent selectors.
|
2011-01-24 17:01:31 -05:00 |
|
jeresig
|
98234b0f93
|
Backing out disconnected + and ~ tests as they're not something that we actively support.
|
2011-01-24 16:58:56 -05:00 |
|
Anton M
|
4413c2fd93
|
Fix selector scope on some tests, so they don't fail on testswarm.
|
2011-01-22 01:12:18 +01:00 |
|
jeresig
|
9c76ac4f6d
|
Disabled a broken test for now, until WebKit browsers become more current.
|
2011-01-17 18:12:42 -05:00 |
|
jeresig
|
e01e8d434d
|
Accidentally removed the module teardown code.
|
2011-01-17 18:08:51 -05:00 |
|
jeresig
|
3ab7b72919
|
Opera was falling back to undefined, which it didn't appreciate.
|
2011-01-17 18:07:52 -05:00 |
|
jeresig
|
733eb5e253
|
Merge branch 'master' of github.com:jquery/jquery
|
2011-01-17 17:44:54 -05:00 |
|
jeresig
|
0c1ffe3cb3
|
Fixed a couple issues with escaping of attribute values in selectors. Fixes #6093.
|
2011-01-17 17:44:42 -05:00 |
|
Colin Snover
|
e2941d5a98
|
Update unit tests with a leak detection mechanism for the various jQuery globals and fix all leaks in the tests.
|
2011-01-09 15:58:47 -06:00 |
|
Colin Snover
|
3e0cc81504
|
Clean trailing whitespace from all files.
|
2010-12-30 00:34:48 -06:00 |
|
John Resig
|
d1a88b2e58
|
Merge branch 'fixAdjacentTests' of https://github.com/jitter/jquery into jitter-fixAdjacentTests
|
2010-11-09 15:49:07 -05:00 |
|
John Resig
|
b0e1e83aa9
|
Ensure that unquoted attribute selectors are quoted (allowing them to go into qSA/matchesSelector properly). Fixes #7216.
|
2010-11-09 14:03:11 -05:00 |
|
Anton M
|
a42f7a2590
|
Fix selector tests broken by newer version of Qunit.
|
2010-11-09 18:13:39 +01:00 |
|
jeresig
|
62c83a764c
|
Only change ID on nodes that don't already have an ID for rooted qSA. Fixes #7212.
|
2010-11-01 19:29:11 -04:00 |
|
jeresig
|
d9a3e0080a
|
Fix broken selector code from last commit.
|
2010-10-22 01:48:32 -04:00 |
|
jeresig
|
424500bcf0
|
Make sure that +, >, ~ leading, rooted, selectors go to the old engine. Thanks to @rkatic for the catch! Fixes #7220.
|
2010-10-22 01:18:58 -04:00 |
|
jeresig
|
6bc30425f6
|
Make sure that we don't use matchesSelector on XML Documents (same as with qSA). Fixes #7219.
|
2010-10-22 00:40:06 -04:00 |
|
jeresig
|
4fc86d5eb1
|
Make sure that we aren't reading one of the bad expandos. Fixes #7212.
|
2010-10-22 00:36:07 -04:00 |
|
jeresig
|
9be7461c3c
|
Adding another test for an issue in Gecko's matchesSelector implementation. Fixes #7243.
|
2010-10-21 23:46:21 -04:00 |
|
jeresig
|
21d389ccea
|
Testing *, * was unnecessary - especially in slower browsers.
|
2010-10-14 22:06:27 -04:00 |
|
John Resig
|
879799fe95
|
Make sure that ambiguous val() selection works correctly.
|
2010-09-28 08:36:28 -07:00 |
|
Dave Methvin
|
2c4b20809e
|
Don't have .val() return selected-but-disabled options, or selected options inside a disabled optgroup. Doesn't change the .val() returned for a disabled select. Fixes #3240, adapted from Nathan Hammond's patch there.
|
2010-09-24 17:26:22 -04:00 |
|
Karl Swedberg
|
116f3b7c72
|
added "#main" ancestor selector to an "Only Child" and "Last Child" test to fix broken tests caused by QUnit commit abfab1713ccb588aa87136b199a9ddc8d1b56c4b (Aug 29, 2010)
|
2010-09-07 08:53:06 -04:00 |
|
John Resig
|
97cbd76695
|
Fix the order of the element test arguments.
|
2010-09-02 16:15:54 -04:00 |
|
John Resig
|
90a4abd511
|
Tweaked the name unit tests to specify the exact nodes from which to test against.
|
2010-09-02 15:13:10 -04:00 |
|
John Resig
|
d48db1f440
|
Remove cases of :contains() where quotes are used - not using quotes follows more closely with the CSS Selector recommendation.
|
2010-09-02 14:56:32 -04:00 |
|
jzaefferer
|
6f031c1015
|
Replace usage of the removed global reset() method with QUnit.reset().
|
2010-07-28 17:19:01 +02:00 |
|
jeresig
|
4151ddef9d
|
Bringing some selector tests back from Sizzle.
|
2010-01-11 23:55:02 -05:00 |
|
John Resig
|
f0505c6d75
|
Bringing Sizzle test suite changes back in.
|
2009-12-19 17:50:56 -05:00 |
|
jeresig
|
ba86cc0294
|
Reworked some more of the selector tests as well to clean up after themselves.
|
2009-12-17 13:34:38 -05:00 |
|
jeresig
|
3a4bcf8a9c
|
Added some more tests around the name tests to catch possible regressions.
|
2009-12-17 13:23:39 -05:00 |
|
John Resig
|
872d18c10e
|
Check Sizzle or jQuery.
|
2009-12-07 15:33:14 -08:00 |
|
John Resig
|
813886a4df
|
Only run the visibility selectors if the filter exists.
|
2009-12-07 15:31:25 -08:00 |
|
jeresig
|
9d6c4d8413
|
Removed broken hidden/visible test.
|
2009-12-03 12:26:25 -05:00 |
|
jeresig
|
0f0fd1aee3
|
Re-arranged many of the selector tests, breaking them into smaller test groups and into more-appropriate sections.
|
2009-12-03 11:45:38 -05:00 |
|
John Resig
|
805832afc7
|
Updated the jQuery suite to use the updated QUnit CSS styling.
|
2009-09-29 22:48:25 +00:00 |
|
John Resig
|
b996026e38
|
Adapted the jQuery test suite to handle the toolbar moving inline.
|
2009-09-29 21:40:17 +00:00 |
|
John Resig
|
b0306cc3a6
|
Updated the jQuery suite to use the new 'qunit-' prefix on specific elements.
|
2009-09-29 21:34:12 +00:00 |
|
John Resig
|
4bda398e6a
|
Switched from using QUnit's isObj/isSet to the more robust same method.
|
2009-09-29 19:49:43 +00:00 |
|
John Resig
|
a64ad8b4e9
|
Temporarily disabled some tests for Opera 10 - a variety of problems with input elements and selectors exist.
|
2009-08-26 16:29:46 +00:00 |
|
Brandon Aaron
|
31b573185b
|
fix :hidden selector that was accidentally reverted in previous commit, also fixed tests for :hidden selector in IE6
|
2009-05-04 00:19:57 +00:00 |
|
Brandon Aaron
|
2c31a1624f
|
fix for #4374, gap in :hidden, :visible logic
|
2009-03-18 17:55:07 +00:00 |
|
John Resig
|
db8623ebc8
|
Fixed one of the selector tests that was reporting incorrectly in browsers that actually supported type="search" inputs.
|
2009-02-19 21:35:33 +00:00 |
|
John Resig
|
3e6c7f083c
|
Missed an other search-related test.
|
2009-02-18 21:57:46 +00:00 |
|
John Resig
|
ca79d866fe
|
Made it so that search input elements are now serialized. Fixes bug #4107.
|
2009-02-18 19:43:14 +00:00 |
|
John Resig
|
4b7e1c906f
|
Brought back the compareDocumentPosition code. While it is redundant in Firefox it's much faster than using indexOf.
|
2009-02-17 17:43:05 +00:00 |
|
John Resig
|
f20c974644
|
Tweaked some of the selector tests to handle some of the test page changes.
|
2009-02-17 15:58:11 +00:00 |
|
John Resig
|
7b5cfb78ec
|
Disabled one of the ordering tests that was taking a while to run.
|
2009-02-17 14:13:39 +00:00 |
|
John Resig
|
048fc4555f
|
Added support for class selectors and class attribute selectors on XML documents. Fixes jQuery bug #4167.
|
2009-02-16 18:23:59 +00:00 |
|
John Resig
|
8533da939d
|
Fixed an issue with :nth-child selectors embedded in :not() filters. Fixes jQuery bug #4156.
|
2009-02-16 17:58:33 +00:00 |
|
John Resig
|
e25c4a132f
|
Change the behavior of how :visible and :hidden work. :hidden is when an element is display none, a parent element is display none, or the element has a width of 0. :visible is when the element is not display none and all of its ancesotrs are not display none and its width is larger than 0. Fixes jQuery bugs #1349, #3265, and #3895.
|
2009-02-16 15:52:15 +00:00 |
|
John Resig
|
5586fedf29
|
Fixed a bug with certain + selectors failing (Fixes jQuery bug #4023). Also tweaked the + and > functions a little bit.
|
2009-02-16 15:36:42 +00:00 |
|
John Resig
|
f0189d6181
|
Fixed the issue where weird characters were being used in ID selectors. Fixes jQuery bug #3913.
|
2009-02-15 22:46:54 +00:00 |
|
John Resig
|
22c9c9b9d3
|
Make sure that [name=FOO] searches actually have the specified name (IE includes elements that have the ID, as well).
|
2009-02-15 22:33:19 +00:00 |
|
John Resig
|
20827707a9
|
Added fixes for two different :not() bugs. One with p:not(p.foo) failing and another with a weird combination of multiple selectors and filters. Fixes jQuery bug #4101.
|
2009-02-15 21:13:33 +00:00 |
|
John Resig
|
f9a7cfacf7
|
Updated the copy of jQuery and added some more context tests.
|
2009-02-15 18:20:01 +00:00 |
|
John Resig
|
21dde30348
|
Provide a graceful failover for [name=foo] queries that are looking for non-input/iframe/form elements. Fixes jQuery bug #4081.
|
2009-02-14 22:24:55 +00:00 |
|
John Resig
|
6f4b08cdf9
|
Added support for sorting in Safari - when querySelectorAll isn't able to be used.
|
2009-02-14 18:10:45 +00:00 |
|
John Resig
|
868f262eed
|
Disabled expando selector tests - they don't work in all browsers.
|
2009-02-14 17:13:08 +00:00 |
|
John Resig
|
e16c7fe0f8
|
Make sure that elements are returned in document order - and that the results are unique.
|
2009-02-14 16:59:10 +00:00 |
|
John Resig
|
9aa0c69c43
|
Fixed bubbling of live events (if an inner element handles an event first - and stops progatation - then the parent event doesn't encounter the event). Thanks to Irae for the patch. Fixes bug #3980.
|
2009-02-09 23:29:57 +00:00 |
|
John Resig
|
b16da9d762
|
Reworked the attribute selection code to be able to select false-y values - and added some tests to verify that they work well against expandos.
|
2009-02-09 15:18:07 +00:00 |
|
John Resig
|
f38648c7cd
|
Added a fix for empty attribute selection values. Fixes jQuery bug #3990.
|
2009-02-07 17:41:30 +00:00 |
|
John Resig
|
2b7642cff0
|
Added logic for not using getElementsByClassName in different failure states. Fixes jQuery bugs #4058 and #4042.
|
2009-02-07 16:54:11 +00:00 |
|
John Resig
|
b438d83916
|
Tweaked one of the selector tests.
|
2009-01-22 00:11:11 +00:00 |
|
John Resig
|
d45f193948
|
A follow-up for bug #3945. ID selectors don't work in querySelectorAll on XML documents, so we just fall back to the normal engine.
|
2009-01-21 23:31:29 +00:00 |
|
John Resig
|
7d9d210540
|
Make sure that [name=foo] and #id selectors don't use the native methods on XML documents (since id and name attributes may not be defined by a DTD and will return nothing instead. Fixes jQuery bug #3945.
|
2009-01-21 23:19:30 +00:00 |
|
John Resig
|
f9a5849723
|
Now handle the case where Safari's querySelectorAll fails on uppercase characters in quirks mode. Added a test to check for it and re-worked some of the existing tests to better handle document order issues. Fixes jQuery bug #3840.
|
2009-01-21 22:57:07 +00:00 |
|
John Resig
|
9b3804a8ec
|
After discussing it with a number of users I've decided to revert the change to [name!=value]. It is now equal to :not([attr!=value]). Attempting to switch it to [attr]:not([attr!=value]) produced some really non-obvious results and confused users. Fixes jQuery bug #3884.
|
2009-01-21 22:36:21 +00:00 |
|
John Resig
|
626961c4a5
|
CHILD positions were being cached improperly. Tweaked it and added a test to make sure it doesn't happen again. Fixes jQuery bug #3924.
|
2009-01-21 22:01:50 +00:00 |
|
John Resig
|
aa7616cf9a
|
Added support for a[name^='foo['] style selectors. Fies jQuery bug #3928.
|
2009-01-20 19:44:08 +00:00 |
|
John Resig
|
8e8d7ade43
|
Merged some recent fixes in from Sizzle.
|
2009-01-19 18:09:11 +00:00 |
|
John Resig
|
6dc30ae7f6
|
Merged Sizzle changes back into jQuery.
|
2009-01-13 16:40:19 +00:00 |
|
John Resig
|
f796ad14fd
|
Fixed an issue with how broken selector tests were handled in IE (the exception was misdirected).
|
2009-01-05 20:43:58 +00:00 |
|
John Resig
|
122b672f70
|
Landed cross-browser support for tabIndex, by Scott, closes ticket #3649.
|
2009-01-05 17:34:42 +00:00 |
|
John Resig
|
989667c9fd
|
Synced with the Sizzle repository.
|
2009-01-05 00:21:13 +00:00 |
|
John Resig
|
c85243dfc4
|
Landing the new Sizzle selector engine. There'll need to be some later tweaks (to make the tests a little more pragmatic - especially for document order elements). But it appears to be passing well and that's enough. Closes #3563.
|
2008-12-20 01:19:17 +00:00 |
|
John Resig
|
0865b073f8
|
A test was using the old / child selector syntax - updating to the new style.
|
2008-08-21 17:08:50 +00:00 |
|
Ariel Flesler
|
a27b5d0468
|
jquery core: closes #2652. val() supports option elements, also simplified the code.
|
2008-07-23 17:00:32 +00:00 |
|