aboutsummaryrefslogtreecommitdiffstats
path: root/test/unit/attributes.js
Commit message (Collapse)AuthorAgeFilesLines
...
* Tweaked anchor test to work better on Blackberry 4.7.John Resig2010-08-261-1/+2
|
* Simplifying some of the .val() test code.John Resig2010-08-231-4/+1
|
* Replace usage of the removed global reset() method with QUnit.reset().jzaefferer2010-07-281-5/+5
|
* Made it so that you no longer need to build jQuery in order to run the test ↵jeresig2010-03-231-4/+8
| | | | suite (but you'll still need a checkout of QUnit and Sizzle, at least).
* No need to run trim on every class iteration in addClass, thanks for the ↵jeresig2010-02-131-1/+5
| | | | heads-up Leeoniya.
* If .attr() is run on no elements undefined should be returned (as should be ↵jeresig2010-02-131-1/+4
| | | | the case when no attribute is found). Fixes #6012.
* Make sure that no extra whitespace is leftover after an addClass. Fixes #6050.jeresig2010-02-131-1/+10
|
* Make sure the resulting className from removeClass is nicely trimmed. Fixes ↵jeresig2010-02-011-1/+12
| | | | #5988.
* Added tests for attribute function setters.jeresig2010-01-071-9/+141
|
* Moved the val() tests from manipulation into attributes.jeresig2010-01-071-0/+86
|
* Make sure that selected works in Safari on options in optgroups. Fixes #5701.jeresig2009-12-221-1/+7
|
* Temporarily disabling test for bug #4299.jeresig2009-12-181-2/+3
|
* Disabled the passthrough .attr(method_name) functionality. You can now use ↵jeresig2009-12-181-6/+6
| | | | it if you do: .attr({method_name: value}, true) OR as an easy initialization method: jQuery('<div/>', {html: '...', id: 'test'}).
* added a couple missing semicolons and fixed a typo in the commentsKarl Swedberg2009-12-181-3/+3
|
* Follow-up to 100ed686426b8b404b094b8c8086aefce715f91a, forgot to remove one ↵jeresig2009-12-171-4/+1
| | | | of the tests.
* Enforce that hasClass and removeClass work even with tabs and endlines in ↵Batiste Bieler2009-12-141-7/+21
| | | | class attributes. Fixes #5505.
* Removed .attr(removeClass) and .attr(each) tests as they don't really make ↵John Resig2009-12-101-10/+1
| | | | sense.
* Fix up whitespace and a couple of glitches.Yehuda Katz2009-12-091-10/+10
|
* Add function values to addClass, removeClass, toggleClass, text, and removeAttrYehuda Katz2009-12-091-19/+54
|
* Handle changing form attributes correctly when there is a child element with ↵David Petersen2009-12-091-1/+2
| | | | the same name. Fixes #4299
* Changed the style attribute test to handle hex colors (as that's what Opera ↵jeresig2009-11-301-1/+1
| | | | returns, in this case.
* jquery attributes: closes #5234. attr() supports jQuery.fn methods.Ariel Flesler2009-09-151-2/+46
|
* jquery core: Closes #5189. Added a generic function to handle ↵Ariel Flesler2009-09-091-0/+3
| | | | getting/setting key-value/setting a hash.
* Removed jQuery.className.(has|remove|add) in favor of ↵John Resig2009-09-081-10/+17
| | | | .addClass/removeClass/hasClass. Also rewrote the functions for additional performance.
* Fixes regression in .attr(), patch by David Flanagan. Fixes #4884.John Resig2009-07-111-3/+6
|
* unit tests for setting cellspacing, rowspan, and colspanBrandon Aaron2009-05-161-1/+10
|
* make sure toggleClass does not delete classNames when forcefully removing ↵Brandon Aaron2009-05-021-8/+14
| | | | classes and they are already removed
* toggleClass can now toggle multiple classNames (space seperated list) and ↵Brandon Aaron2009-05-021-17/+46
| | | | toggle the whole className. fixes #3825.
* Added explicit module names to the new unit tests.John Resig2009-04-201-1/+3
|
* moving dimension related unit tests to dimensions test moduleBrandon Aaron2009-03-221-56/+0
|
* decoupling styles retrieval from the attr methodBrandon Aaron2009-03-221-83/+0
|
* breaking jquery out into smaller modules. added attributes.js, ↵Brandon Aaron2009-03-181-0/+458
manipulation.js, and traversing.js