Commit Graph

157 Commits

Author SHA1 Message Date
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
1f667aa035 Added full support for easing in all shorthand effects methods (hide, show, toggle, fadeTo, slideUp, etc.). Previously, these methods could only be used with two of the three (speed, easing, callback) arguments, or, in the case of fadeTo, 3 of the 4 (speed, opacity, easing, callback) arguments. Added three more sets of tests to the series of "Chain" tests. Fixes #7014 2010-09-22 11:30:54 -04:00
jeresig
fa80693c4a Changed the order of the tests to run in the same order in which they're specified in the Makefile (fixed a dimensions test bug that popped up as a result). 2010-03-23 12:31:40 -04:00
jeresig
8effe3a7de Made it so that you no longer need to build jQuery in order to run the test suite (but you'll still need a checkout of QUnit and Sizzle, at least). 2010-03-23 12:12:16 -04:00
John Resig
f0505c6d75 Bringing Sizzle test suite changes back in. 2009-12-19 17:50:56 -05:00
jeresig
1c7d3155f0 Move the test results list above the test HTML to avoid test suite layout weirdness. 2009-12-18 19:47:53 -05:00
jeresig
b70872f70d Renamed the 'fx' module to 'effects'. Should've been done a long time ago. 2009-12-18 11:01:19 -05:00
John Resig
ebad701751 Split the queue code out from data.js into a dedicated queue.js file (also split tests accordingly). 2009-12-06 17:19:33 -05:00
John Resig
920238d485 Pull in QUnit using a submodule. In order to build jQuery (and run the tests) you'll need to do 'git submodule init' and 'git submodule update' after checkout. 2009-10-22 21:39:41 -04: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
3b5de9df40 Updated the jQuery test suite to use the new QUnit file names. 2009-09-29 22:25:02 +00:00
John Resig
0256edbd6f Moved the jQuery-specific test suite CSS into a separate file. 2009-09-29 22:09:21 +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
8df82d2b04 Moved the init test script off into a separate file. 2009-09-29 18:06:16 +00:00
Brandon Aaron
6504751006 integrated offset tests into main test suite. offset tests now use iframes instead of popups 2009-07-17 22:15:37 +00:00
John Resig
89d2f1e851 Reverting accidental test suite corruption from the Sizzle merge. 2009-05-20 21:59:24 +00:00
John Resig
45729831b1 Removed some cases of strict errors. 2009-05-20 21:52:47 +00:00
Brandon Aaron
a4a58a3836 prevent fx test html from showing in IE 2009-05-16 17:39:22 +00:00
Brandon Aaron
ec3ebd3e8a opacity is now retrieved from stylesheet in IE. fixes #3981 2009-05-14 14:44:31 +00:00
Brandon Aaron
d7d908b05a decoupling styles retrieval from the attr method 2009-03-22 23:25:03 +00:00
Brandon Aaron
7c04a64016 breaking jquery out into smaller modules. added attributes.js, manipulation.js, and traversing.js 2009-03-18 21:15:38 +00:00
Brandon Aaron
e73990a566 fix for #3688, setting type attribute on button causes IE to throw error 2009-03-17 22:27:25 +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
f89f5eb61f Reorganized some of the animation tests to work with the new hide/show changes. 2009-02-17 15:54:27 +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
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
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
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
aa7616cf9a Added support for a[name^='foo['] style selectors. Fies jQuery bug #3928. 2009-01-20 19:44:08 +00:00
John Resig
96152559e0 Landing a fix for non-link anchor tabIndex (from scott.gonzalez). Fixes ticket #3916. 2009-01-19 21:40:23 +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
122b672f70 Landed cross-browser support for tabIndex, by Scott, closes ticket #3649. 2009-01-05 17:34:42 +00:00
John Resig
4694e537bc Forgot to merge in some of the new tests from Sizzle. 2009-01-05 01:24:14 +00:00
Ariel Flesler
4afa608351 jquery data: Closes #3539. Exposed jQuery.queue. Moved all the data and queue functions to their own module. Made the dequeue function more generic(designed to be used on functions). Closes #3748. Reverted a previous modification. 2008-12-30 02:31:26 +00:00
Jörn Zaefferer
db63af1068 core/test: replaced local qunit copy with qunit via svn:externals; inlined styles specific to polluted.php; kept testrunner.js with just the noConflict call 2008-08-08 17:42:52 +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
Ariel Flesler
9e48649729 test runner: the changes are:
- Replaced all the $ for jQuery in the tests and suite.
- Added a noConflict to testrunner.js.
- Modified the test for noConflict() so that it still work.
- Added jQuery 1.2.1 and 1.2.3 to otherlibs.
2008-05-28 23:18:25 +00:00
Ariel Flesler
52fbe5d2a8 test runner: adding a new test page called 'polluted'. Where one can choose to pre-include other libraries and run the test suite with them. 2008-05-28 20:19:18 +00:00
Ariel Flesler
6bf51eea04 test runner: Adding type="text/javascript" to a script tag (trivial). 2008-05-28 18:46:38 +00:00
Jörn Zaefferer
aec0dad980 jquery core: reverted qunit introduction until build scripts are updated 2008-05-08 21:42:40 +00:00
Jörn Zaefferer
b6bb0d46b6 jquery testsuite: switch to qunit 2008-05-08 19:33:49 +00:00
Brandon Aaron
aea452f162 Merged dimensions with core 2008-04-29 03:26:06 +00:00
Brandon Aaron
fc51e14b81 width and height methods are now working properly 2007-12-18 03:53:09 +00:00
David Serduke
6496e4d9c4 Fixed #2037 where Opera would mis-state the value of 'display' after an innerHTML was done in some cases. 2007-12-17 01:58:05 +00:00
David Serduke
da33a981c6 Fixed #1854 by using wizzud's suggestion. The only real difference is the code is only called when there is more than a single selector. So there should be no speed decrease in the current working cases. Only additional functionality for cases that used to fail. 2007-12-13 22:24:59 +00:00
David Serduke
ffbedf0262 Fixed #1039 and #1733 by going through the core API and making them text node and comment node safe. 2007-12-07 01:52:21 +00:00
David Serduke
74a132d944 Fixed #1264. If you read the bug there were many proposed changes. As it turned out most of them had already been implemented. The last ones necessary were in .domManip() with when a <table> was 'this' and for .text(). Adding these last changes seems to make dom and text manipulation in IE frames possible. Unit test cases were added as well.
In addition "submit.gif" was removed from the test suite index.html since it didn't exist.
2007-12-05 00:26:13 +00:00
David Serduke
0a755f6ab3 Fixed #1599 as Brandon suggested to ignore negative values to width and height css. The fix itself is slightly different as it was moved to .css() instead of staying in .attr() like in his patch. I decided there was less chance of incorrect behavior (like if someone had an XML file with a width attribute that could be negative). Also took out some unneeded white space while I was in there. 2007-11-28 01:01:49 +00:00
Brandon Aaron
5e99807271 Fix for #1944. Added nodeName and tagName to jQuery.props and tests for maxlength, defaultValue, selectedIndex, tagName and nodeName. 2007-11-19 16:07:44 +00:00
David Serduke
e2ef3df86d Fixed #1095 bug where radio buttons became unchecked during show(). Also added unit test and had to fix a selector test that was broken by the new testing div in test/index.html. Last made some whitespace changes. 2007-11-16 23:39:23 +00:00
John Resig
98204c7f60 Spelling mistake. 2007-10-20 22:08:03 +00:00
John Resig
1ac9d6fbee Added a fix for .noConflict(true) not reverting properly. Also added unit tests for noConflict. 2007-10-20 22:04:06 +00:00
John Resig
b4e23b5af0 Reorganzing the jQuery source (first phase). 2007-09-08 12:42:32 +00:00
John Resig
e943090a72 Moved the test directory. 2006-08-13 20:01:26 +00:00
John Resig
e7a29e4239 Moved the tests into jQuery proper. 2006-08-13 15:24:52 +00:00