aboutsummaryrefslogtreecommitdiffstats
path: root/test/unit/attributes.js
Commit message (Collapse)AuthorAgeFilesLines
* 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 53f798cf4d783bb813b4d1ba97411bc752b275f3.
* Release: remove revert artefactsOleg Gaidarenko2015-11-131-3/+3
|
* Revert "Attributes: do not set properties to false when removing booleans"Oleg Gaidarenko2015-11-111-4/+2
| | | | This reverts commit 47ccf3daadc4b312f850502300129952e70f9d9d.
* Revert "Attributes: remove flakey test for selected attribute"Oleg Gaidarenko2015-11-111-1/+3
| | | | This reverts commit 87bd130289c6ed9bfc355c1f8587ae6ce00a4776.
* Revert "Attributes: return empty array for select-multiple with no values"Oleg Gaidarenko2015-11-111-2/+2
| | | | This reverts commit 79fc806e8500372a2278795c068d039ee287535f.
* Attributes: return empty array for select-multiple with no valuesTimmy Willison2015-11-051-2/+2
| | | | | Fixes gh-2562 Close gh-2689
* 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.
* Tests: Post-Summit cleanupRichard Gibson2015-10-251-1/+1
| | | | | Ref 67d7a2eefee768b59eb3d51cb1fb2c671873e58a Ref c752a5030bc00eb5b45dea9c28963f824a5c4f44
* Attributes: do not set properties to false when removing booleansTimmy Willison2015-10-211-2/+4
| | | | Fixes gh-1759
* Attributes: fix tabIndex on <img> in IE11Joelle Fleurantin2015-10-181-0/+7
| | | | | Fixes gh-2647 Closes gh-2664
* Attributes: Use simpler boolean check vs a function callDave Methvin2015-10-181-1/+5
| | | | Ref gh-2491
* Attributes: Remove undocumented .toggleClass( boolean ) signatureDave Methvin2015-10-181-24/+1
| | | | | Fixes gh-2491 Close gh-2618
* 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
* Build: Update jscs and lint filesOleg Gaidarenko2015-09-071-610/+610
| | | | Fixes gh-2056
* Tests: partially use new qunit interfaceOleg Gaidarenko2015-08-161-491/+491
| | | | | | | | | | | | 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 Fixes gh-2540
* Tests: don't use deprecated argument in test declarationOleg Gaidarenko2015-07-301-2/+5
| | | | Closes gh-2507
* 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
* Attributes: Use the option val hook in select val hook and simplify itMichał Gołębiowski2014-12-081-0/+5
| | | | | | | | | The hook is still defined; not using it could cause issues in IE<11. 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. Fixes gh-1902 Closes gh-1901
* Tests: Minor updates for QUnit 1.16 compatibilityRichard Gibson2014-12-051-1/+1
| | | | | | More to come later. (cherry picked from commit f6f8848fbe477fa93fd27ac7f10885dd6e97f633)
* 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 (cherry picked from commit 9ec429cf6270e455aba4eba85f4db80e633806b6) Conflicts: src/attributes/val.js
* Tests: Fix code style issuesOleg2014-01-161-4/+4
|
* Tests: Add assertion for the jQuery#val methodOleg2014-01-161-2/+7
|
* Attrs: Remove outdated valHook for option elementOleg2014-01-161-0/+9
| | | | | | | This hook was relevant for BlackBerry 4.7 which is no longer supported. But this code path now raises error in IE10-11 (#14686) in 1.x-master branch. So to just to be safe, also add test for IE issue to this branch too.
* Tests: Avoid use of QUnit.reset() in tests by splitting themcjqed2013-12-231-8/+15
| | | | | Fix #14040 Close gh-1457
* Fix #14340. Remove remnants of oldIE from unit tests. Close gh-1425.Michał Gołębiowski2013-11-111-2/+1
|
* Add tests for class manipulation on jQuery object containing more than one ↵Michał Gołębiowski2013-10-251-0/+43
| | | | element. Close gh-1404.
* No ticket: Hide the testing-support jQuery from testsRichard Gibson2013-09-031-1/+1
|
* Fix for custom attr handles duck-punching the boolean attr handleTimmy Willison2013-08-281-0/+14
| | | | | Conflicts: src/attributes/attr.js
* Fix #13835: classes separated by form feedRichard Gibson2013-05-131-0/+20
|
* Update jshintrc to conform to new style guide. Conform to onevar and unused ↵Timmy Willison2013-04-091-59/+74
| | | | in tests. Fixes #13755.
* Adjust tabIndex propHook for modern browsers and return -1 where ↵Oleg Gaidarenko2013-04-081-4/+9
| | | | appropriate. Close gh-1228.
* Move size() test to deprecated.js and avoid in other tests. Close gh-1237.Michał Gołębiowski2013-04-081-1/+1
|
* Update grunt-contrib-jshint to 0.3.0, close gh-1204.Michał Gołębiowski2013-04-031-4/+4
| | | | | | | | (cherry picked from 4adde5d14534799f3bcfac2771e1513be8a56a2f) Conflicts: src/data.js src/effects.js
* Fix #13514: Set selectedIndex to -1 when non-matching value is set on a ↵ruado19872013-03-221-0/+16
| | | | | | select. Close gh-1191. (cherry picked from commit 48d71d0c3e53d1bb1688fc6c0593b008ced3403b)
* Edited comments and minor adjustments. Fixes #13553. Closes gh-1195.Michał Z. Gołębiowski2013-03-121-1/+1
|
* 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
|
* Fix #12656. Make event shorthands excludable.Dave Methvin2013-01-271-1/+1
|
* 2.0: Remove style->cssText attroproties fallbackTimmy Willison2012-12-311-4/+0
|
* 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
|