aboutsummaryrefslogtreecommitdiffstats
path: root/test/unit/attributes.js
Commit message (Collapse)AuthorAgeFilesLines
* Attributes: ignore option value mismatch on untrimmed unicode whitespaceTimmy Willison2016-03-171-3/+10
|
* Attributes: strip/collapse whitespace for set values on selectsTimmy Willison2016-03-171-6/+76
| | | | | Fixes gh-2978 Close gh-3002
* Attributes: fix setting selected on an option in IE<=11Timmy Willison2016-03-071-0/+31
| | | | | Fixes gh-2732 Close gh-2840
* Revert "Attributes: Remove undocumented .toggleClass( boolean ) signature"Timmy Willison2016-01-071-1/+24
| | | | This reverts commit f24726daa3760014b7283ad14a13117c72dd9474.
* Revert "Misc: Drop support for older browsers; update support comments"Timmy Willison2016-01-061-6/+11
| | | | This reverts commit 90d7cc1d8b2ea7ac75f0eacb42439349c9c73278.
* Build: code style fixes after all those revertsOleg Gaidarenko2015-12-221-3/+3
|
* Revert "Attributes: do not set properties to false when removing booleans"Oleg Gaidarenko2015-12-221-1/+1
| | | | This reverts commit 5c086c3782459307c44397549fef15a87c8b90c4.
* Attributes: remove flakey test for selected attributeTimmy Willison2015-10-261-3/+1
| | | | | | | - The change is already covered by the "checked" test. Since this test is redundant, just drop it. (cherry picked from commit 87bd130289c6ed9bfc355c1f8587ae6ce00a4776)
* Attributes: do not set properties to false when removing booleansTimmy Willison2015-10-261-2/+4
| | | | | | | | | Fixes gh-1759 (cherry picked from commit 47ccf3daadc4b312f850502300129952e70f9d9d) Conflicts: src/attributes/attr.js
* Tests: Post-Summit cleanupRichard Gibson2015-10-251-1/+1
| | | | | | | Ref 67d7a2eefee768b59eb3d51cb1fb2c671873e58a Ref c752a5030bc00eb5b45dea9c28963f824a5c4f44 (cherry picked from commit f931786018058174fa63551a7a4a3fccf9de41fa)
* Attributes: fix tabIndex on <img> in IE11Joelle Fleurantin2015-10-251-0/+7
| | | | | | | | | | Fixes gh-2647 Closes gh-2664 (cherry picked from commit c752a5030bc00eb5b45dea9c28963f824a5c4f44) Conflicts: src/attributes/prop.js
* Attributes: Use simpler boolean check vs a function callDave Methvin2015-10-251-1/+5
| | | | | | Ref gh-2491 (cherry picked from commit 4bf1a09522955eb52de1fafb4ee1ecc5982b7a3e)
* Attributes: Remove undocumented .toggleClass( boolean ) signatureDave Methvin2015-10-251-24/+1
| | | | | | | | | | Fixes gh-2491 Close gh-2618 (cherry picked from commit 53f798cf4d783bb813b4d1ba97411bc752b275f3) Conflicts: src/attributes/classes.js
* Tests: further improvements QUnit 2.0 migrationOleg Gaidarenko2015-09-081-2/+2
| | | | | | | | | * Remove QUnit jshint globals * Extend QUnit.assert methods * Use assert.async instead of start/stop/done Ref b930d14ce64937e9478405eee2828d4da091d2cb Ref c8d15a2f9f108e90d3651c31e4abf45415a30fde
* Tests: Partially use new qunit interfaceOleg Gaidarenko2015-09-071-493/+493
| | | | | | | | | | | | | http://qunitjs.com/upgrade-guide-2.x/ For most of the boring work was used https://github.com/apsdehal/qunit-migrate package However, it can't update local qunit helpers, plus in some places old QUnit.asyncTest signature is still used Ref b930d14ce64937e9478405eee2828d4da091d2cb Fixes gh-2540
* Build: Update jscs and lint filesOleg Gaidarenko2015-09-071-612/+613
| | | | | Ref 10fdad742a2a6aa9f0e00b3e04fc5264797c53c7 Fixes gh-2056
* Tests: don't use deprecated argument in test declarationOleg Gaidarenko2015-07-301-2/+5
| | | | Ref aabe94edb4880c75eeebc5b5b5d66a9ad17008fe
* Attributes: don't test SVG CSS-class manipulation in IE8Oleg Gaidarenko2015-05-191-0/+12
| | | | Ref 20aaed367f993f3c2aa204183d82d0d73efa114f
* Attributes: add SVG class manipulationTimmy Willison2015-05-121-0/+28
| | | | | | | | | - Note: support for SVG is limited in jQuery, but this is one area where the cost vs benefit ratio was acceptable. Fixes gh-2199 Close gh-2268
* Attributes: revert returning null for non-existant attributesTimmy Willison2015-03-301-47/+38
| | | | Ref https://github.com/jquery/jquery/issues/2118
* Attributes: revert returning null for non-elementsTimmy Willison2015-03-161-1/+1
|
* Attributes: fix failing test for new return valueTimmy Willison2015-03-161-2/+11
|
* Attributes: return null when attribute does not existWinston Howes2015-03-161-38/+38
| | | | | | | | Fixes gh-2118 Close gh-2129 Conflicts: test/unit/attributes.js
* Attributes: Simplify the option val hook; backport a test from masterMichał Gołębiowski2014-12-081-0/+5
| | | | | | | | | | | | | The hook is still defined; not using it could cause issues in IE<11. Backport the test from the master branch. Also, IE10 no longer throws when value not set but it still doesn't trim the value. IE11 has all those issues fixed; support comments are updated. (cherry-picked from f6302b0b53d61dfe1adbfaf6612be5cbced5bbc1) Fixes gh-1902 Closes gh-1901
* Misc: Drop support for older browsers; update support commentsMichał Gołębiowski2014-12-081-6/+1
| | | | | | | | | | That includes IE<8, Opera 12.x, Firefox<29, Safari<6.0 and some hacks for old Blackberry. Fixes gh-1836 Fixes gh-1701 Refs gh-1815 Refs gh-1820
* Tests: Minor updates for QUnit 1.16 compatibilityRichard Gibson2014-12-051-1/+1
| | | | More to come later.
* Tests: Correct logic of a broken assertionOleg Gaidarenko2014-04-151-2/+3
|
* Attributes: Trim whitespace from option text when returned as a valueJohn Hoven2014-03-201-0/+13
| | | | | | Fixes #14858 Ref #14686 Closes gh-1531
* Tests: Fix code style issuesOleg2014-01-161-4/+4
| | | | (cherry-picked from a2250b0f4c157745b8cd8ac1247c6084882c500f)
* Attrs: Restore ability to pass array to jQuery#valOleg2014-01-161-2/+7
| | | | Thanks @gibson042
* Attrs: Fix valHook for option elementOleg2014-01-161-0/+9
| | | | Fixes #14686
* Tests: Avoid use of QUnit.reset() in tests by splitting themcjqed2014-01-031-9/+14
| | | | | Closes gh-1470 Ref #1457
* Add tests for class manipulation on jQuery object containing more than one ↵Michał Gołębiowski2013-10-251-0/+43
| | | | element. Close gh-1404. (cherry-picked from 35b2b94979ed3419e50b72ab3b84307269fa25e8)
* No ticket: Hide the testing-support jQuery from testsRichard Gibson2013-09-031-1/+1
| | | | | | | | (cherry picked from commit 0c185209233f4c15e57c6a24e8f81b27dd26db59) Conflicts: test/data/testrunner.js
* Fix for custom attr handles duck-punching the boolean attr handleTimmy Willison2013-08-281-0/+14
|
* Fix #13835: classes separated by form feedRichard Gibson2013-05-131-0/+20
| | | | (cherry picked from commit d8a35011ec05ed3493a85c1bd699902893cd437c)
* Update jshintrc to conform to new style guide. Conform to onevar and unused ↵Timmy Willison2013-04-091-61/+76
| | | | | | | | | | | | | | | | in tests. Fixes #13755. Conflicts: src/.jshintrc src/data.js test/unit/attributes.js test/unit/core.js test/unit/data.js test/unit/event.js test/unit/manipulation.js test/unit/queue.js test/unit/traversing.js test/unit/wrap.js
* Adjust the return value of the tabIndex propHook to match the spec. Fixes ↵Oleg Gaidarenko2013-04-081-4/+9
| | | | #13752.
* Update grunt-contrib-jshint to 0.3.0, ref gh-1204.Michał Gołębiowski2013-04-031-4/+4
|
* Fix #13514: Set selectedIndex to -1 when non-matching value is set on a ↵ruado19872013-03-221-0/+16
| | | | select. Close gh-1191.
* Fix typos. Close gh-1186.dmitrygusev2013-02-281-2/+2
|
* No ticket: Revise unit tests in anticipation of Sizzle-free buildsRichard Gibson2013-02-221-1/+1
| | | | (cherry picked from commit 59f5adb622dd6bc3419bbaa9cc2d4acd7a0b08b9)
* Fix #12656. Make event shorthands excludable.Dave Methvin2013-01-271-1/+1
|
* Fixes #13088: under IE8, $(selector).attr('style') always return lowercase ↵Mike Sherov2012-12-311-2/+5
| | | | string
* let .attr(checked|selected, true) update the propertyRichard Gibson2012-12-161-2/+9
|
* Fix #11115: Normalize boolean attributes/properties. Close gh-1066.Richard Gibson2012-12-151-58/+50
|
* Fix #12600: don't use value property in place of value attribute. Close gh-1063.Richard Gibson2012-12-141-8/+10
|
* Fix #9646. Cloned nodes shouldn't affect original in IE7. Close gh-947.Oleg2012-12-131-0/+24
|
* Missed a var declaration in aad235b3251494afe71fd5bb6031e11965af9bdb.Dave Methvin2012-12-111-1/+1
|
* Fix #13011. Let 'type' attribute be set if the browser allows.Dave Methvin2012-12-111-9/+5
|