aboutsummaryrefslogtreecommitdiffstats
path: root/test
Commit message (Collapse)AuthorAgeFilesLines
...
| * | | | | | | | | | | | | | 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
| | | | | | | | | | | | | | |
| * | | | | | | | | | | | | | Merge branch 'master' of git://github.com/jquery/jquery into 2773_find_closesttimmywil2011-03-163-3/+16
| |\ \ \ \ \ \ \ \ \ \ \ \ \ \
| * | | | | | | | | | | | | | | 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
| | | | | | | | | | | | | | | |
* | | | | | | | | | | | | | | | Merge branch 'bug_2773' of https://github.com/timmywil/jquery into ↵jeresig2011-04-101-7/+50
|\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | timmywil-bug_2773
| * | | | | | | | | | | | | | | | 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-03-2318-222/+294
| |\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \
| * \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ Merge branch 'master' of git://github.com/jquery/jquery into bug_2773timmywil2011-02-2650-14832/+1139
| |\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ | | | |_|_|_|_|/ / / / / / / / / / / | | |/| | | | | | | | | | | | | | |
| * | | | | | | | | | | | | | | | | 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 'eventprops.1.6final' of https://github.com/rwldrn/jquery into ↵jeresig2011-04-101-0/+22
|\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ | |_|_|_|_|_|_|_|_|_|_|/ / / / / / / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | rwldrn-eventprops.1.6final Conflicts: test/unit/event.js
| * | | | | | | | | | | | | | | | | Ticket #8753 Allow special properties to explicitly defined on jQuery.Event ↵rwldrn2011-04-051-6/+23
| | |_|_|_|_|_|_|_|_|_|_|/ / / / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | objects
* | | | | | | | | | | | | | | | | Merge branch 'attrhooks.1.6'jeresig2011-04-103-91/+146
|\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ | | |_|_|_|_|_|_|_|_|_|/ / / / / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: src/core.js src/support.js
| * | | | | | | | | | | | | | | | #8150 - When removing the width and height attributes in IE6/7, setting to ↵timmywil2011-04-091-5/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | "" actually sets to 0 instead of auto - Having fixed this automatically with the use of removeAttribute in browsers that support it, this will fix it for IE6/7 as well. - This has no effect on width/height styles set elsewhere( test added to removeAttr ) - With this addition, I need to call attr in removeAttr for IE6/7, which means boolean calls like .attr("checked", "") will no longer remove the attribute, which I think is fine. .attr("checked", false) will still remove. If I had left it, it would have gone in an infinite loop since setting to empty string is the only way to remove it in these browsers. - The hrefNormalized hooks were returning null if they weren't present. Added the null check to the getter. - Now that the style support fails in IE8 as well due to uppercasing everything, no need to have style included with the hrefNormalized hooks
| * | | | | | | | | | | | | | | | IE8 testing for lowercasing the css properties on retrieving style; had ↵timmywil2011-04-091-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | assumed the style support check failed in IE8, which it now does
| * | | | | | | | | | | | | | | | Normalize css property names to lowercase for comparisons on a ↵timmywil2011-04-031-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | .attr('style') call since IE uppercases everything
| * | | | | | | | | | | | | | | | Found a problem removing the style attribute in IEtimmywil2011-04-031-4/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - Style is now a special case in IE6/7 to set cssText. My goal is to avoid calling attr again for the performance benefit, and at this point it would also cause an infinite loop for the boolean attributes hooks such as selected & checked. Nevertheless, style seems to be the only one requiring a special call.
| * | | | | | | | | | | | | | | | #5413 - Much shorter solution for getting width/height in ie6timmywil2011-04-032-1/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - #8255 Added support for the list attribute in browsers that support it (it is automatically readonly, but can be set if using getAttribute( name, 2)
| * | | | | | | | | | | | | | | | - Added a hook to swap display none for width and height in browsers that do ↵timmywil2011-04-031-4/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | not sufficiently support get/setAttribute
| * | | | | | | | | | | | | | | | Add style attribute support tests to $.attrtimmywil2011-04-031-2/+5
| | | | | | | | | | | | | | | | |
| * | | | | | | | | | | | | | | | Fix issue where non-existant attributes on forms in IE6/7 were throwing errorstimmywil2011-04-031-4/+5
| | | | | | | | | | | | | | | | |
| * | | | | | | | | | | | | | | | Add test for bug #3116timmywil2011-04-031-4/+12
| | | | | | | | | | | | | | | | |
| * | | | | | | | | | | | | | | | Add test for bug#3685, remove added html and add dynamicly to avoid global ↵timmywil2011-04-032-3/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | test suite errors
| * | | | | | | | | | | | | | | | Fix #6562, tighten up the special code for form objects, add name attrHook ↵timmywil2011-04-032-16/+25
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | for IE6/7, and don't check for undefined with getting hook'd attr
| * | | | | | | | | | | | | | | | Fix #7472 and added test for #3113timmywil2011-04-032-3/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - Forms with an input that has either name="action" or name="some-other-attr-on-the-form" caused problems in IE6/7. This is fixed. - Changed check in $.attr for ret === null to typeof ret === "object" to catch any inputs that are accidentally retrieved in IE6/7, since attributes cannot be set to objects and typeof null === "object"
| * | | | | | | | | | | | | | | | Test descriptiontimmywil2011-04-031-1/+1
| | | | | | | | | | | | | | | | |
| * | | | | | | | | | | | | | | | Restored 6 tests that I had commented to come back to later to split up ↵timmywil2011-04-031-21/+24
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | between prop and attr. All tests still pass in all browsers. - I should make it clear that I have not removed any tests, but only moved some attr tests to prop where I thought it was appropriate.
| * | | | | | | | | | | | | | | | Style edits according to comments from John and rwaldron.timmywil2011-04-031-0/+25
| | | | | | | | | | | | | | | | |
| * | | | | | | | | | | | | | | | Continuing IE7 testing, conditional attr fixes and hooks with feature ↵timmywil2011-04-031-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | testing. Will figure out a way to shorten after the test suite passes.
| * | | | | | | | | | | | | | | | Now passes in IE8, changed around $.hasAttr and switched the attrHook for ↵timmywil2011-04-031-29/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | selected to be a propHook
| * | | | | | | | | | | | | | | | Make the new attr/prop changes pass the test suite (in Webkit). There are ↵timmywil2011-04-032-90/+97
| |/ / / / / / / / / / / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | still errors in IE. + Added hooks for selected, checked, readonly, disabled to removeAttr if set to falsey + Removed all attrs from attrFix, these aren't needed for setAttribute + If prop is used for class, do we want a propFix for class? - We could just assume the user should know to use className with prop. I've done the latter for now. + Created tests for $.fn.prop and $.fn.removeProp - Actually all I did was change broken attr tests to prop where it made sense.
* | | | | | | | | | | / / / / / Fixes #7328. When getting data- attributes, after-cap any embedded dashes ↵Alexis Abril2011-04-101-1/+18
| |_|_|_|_|_|_|_|_|_|/ / / / / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | per the W3C HTML5 spec.
* | | | | | | | | | | | | | | Renames chain as pipe.jaubourg2011-04-081-16/+16
| | | | | | | | | | | | | | |
* | | | | | | | | | | | | | | Fixes #8722. Remove try/catch used by #3533 to fix the IE Table Colon Blow ↵Dave Methvin2011-04-071-0/+13
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | bug, and instead check for colon in the event name. Thanks to daguej for scoping this out -- a colonoscopy you might say.
* | | | | | | | | | | | | | | Merge branch 'master' of github.com:jquery/jqueryDave Methvin2011-04-073-144/+295
|\ \ \ \ \ \ \ \ \ \ \ \ \ \ \
| * | | | | | | | | | | | | | | Rewrite of globalEval. Uses window.execScript or window.eval with a trick to ↵jaubourg2011-04-071-0/+20
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | ensure proper context. Unit tests added.
| * | | | | | | | | | | | | | | Adds fn.promise as a mean to observe the completion of animations on a set ↵jaubourg2011-04-071-18/+23
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | of elements. Only queued animations are handled for now, non-queued animations support coming soon. Effects unit tests updated to test the feature (needs more testing though).
| * | | | | | | | | | | | | | | Adds always and chain methods to deferreds.jaubourg2011-04-071-126/+252
| | | | | | | | | | | | | | | |
* | | | | | | | | | | | | | | | Create jQuery.holdReady(true/false) method to encapsulate jQuery.readyWait++ ↵Dave Methvin2011-04-072-11/+13
|/ / / / / / / / / / / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | / jQuery.ready(true) logic. Fix problem where jQuery.ready may trigger twice, causing the (unsupported) document.onready to run twice. Fixes #8803 .
* | | | | | | | | | | | | | | Fixes #8712. Bubble custom events to the window when they are triggered. ↵Dave Methvin2011-04-061-2/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Ride that, Cowboy!
* | | | | | | | | | | | | | | Skip id regex check when large html strings are passed to the jQuery ↵carpie2011-04-051-1/+14
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | constructor (#7990).
* | | | | | | | | | | | | | | Merge branch 'cssrelative.1.6' of https://github.com/danheberden/jquery into ↵Dave Methvin2011-04-051-0/+32
|\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | danheberden-cssrelative.1.6
| * | | | | | | | | | | | | | | Improve relative string performance in .css and some code cleanupDan Heberden2011-04-041-16/+27
| | | | | | | | | | | | | | | |
| * | | | | | | | | | | | | | | Bug 7345; Add support for explicit/relative string values in .css - modified ↵Dan Heberden2011-04-041-0/+21
| |/ / / / / / / / / / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | from original pull req by brandonaron #78
* | | | | | | | | | | | | | | Merge branch 'domready' of https://github.com/cowboy/jqueryDave Methvin2011-04-051-13/+79
|\ \ \ \ \ \ \ \ \ \ \ \ \ \ \
| * | | | | | | | | | | | | | | Updated DOM ready unit tests.Ben Alman2011-03-311-5/+4
| | | | | | | | | | | | | | | |
| * | | | | | | | | | | | | | | DOM Ready unit tests (but not the supporting fixed code).Ben Alman2011-03-311-13/+80
| | | | | | | | | | | | | | | |
* | | | | | | | | | | | | | | | Merge branch '4321' of https://github.com/rwldrn/jquery into rwldrn-4321Dave Methvin2011-04-051-1/+2
|\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \
| * | | | | | | | | | | | | | | | 4321 returns empty jquery objectrwldrn2011-01-011-1/+2
| | | | | | | | | | | | | | | | |
* | | | | | | | | | | | | | | | | Shorten up the code and do event cleanup on test cases.Dave Methvin2011-04-051-0/+2
| | | | | | | | | | | | | | | | |