Commit Graph

90 Commits

Author SHA1 Message Date
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