Commit Graph

116 Commits

Author SHA1 Message Date
Dave Methvin
00eafdf028 Fix #13223. Re-allow leading space in HTML. Close gh-1264. 2013-05-09 14:07:19 -04:00
Richard Gibson
4ef516903e Fix #13539: Utilize Sizzle hooks. Close gh-1215. 2013-04-04 23:04:05 -04:00
Richard Gibson
1f76536650 No ticket: Revise unit tests in anticipation of Sizzle-free builds
(cherry picked from commit 59f5adb622)
2013-02-22 20:33:00 -05:00
Richard Gibson
67a2e4eaac Ref #13316: Sync all test documents on full vs. minified source. 2013-02-08 00:20:33 -05:00
Timmy Willison
bb1d148345 Fix failing tests, add support for empty spans in Opera. Supplements #13132, #10406. 2013-01-21 18:12:16 -05:00
Richard Gibson
a763ae7277 Fix #11115: Normalize boolean attributes/properties. Close gh-1066. 2012-12-15 23:16:48 -05:00
Richard Gibson
2c40fdd4a8 Fix #12600: don't use value property in place of value attribute. Close gh-1063. 2012-12-14 10:37:20 -05:00
timmywil
05531fc408 Adjust jQuery('html') detection to only match when html starts with '<' (not counting space characters). Fixes #11290. 2012-12-13 15:31:02 -05:00
Richard Gibson
ca26d45395 Fix #13044: execute all QUnit modules in TestSwarm. Close gh-1074. 2012-12-13 10:13:50 -05:00
Timo Tijhof
55313d32a2 Test: Update index.html to new QUnit format. Close gh-1061.
Depends on jquery/sizzle#177, included with the Sizzle submodule in this commit.
2012-12-10 21:48:20 -05:00
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