Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Tests: Remove obsolete jQuery data tests | Michał Gołębiowski-Owczarek | 2020-05-18 | 1 | -4/+0 |
| | | | | | | | | The tests relied on `jQuery.cache` so they only ever worked in jQuery 1.x. Closes gh-4586 (cherry picked from commit eb35be528fdea40faab4d89ac859d38dfd024271) | ||||
* | Manipulation: Make jQuery.htmlPrefilter an identity function | Michał Gołębiowski-Owczarek | 2020-03-16 | 1 | -23/+23 |
| | | | | | | Closes gh-4642 (cherry picked from 90fed4b453a5becdb7f173d9e3c1492390a1441f) | ||||
* | Build: Update test code for compatibility with QUnit 2.x (#4297) | abnud1 | 2019-02-18 | 1 | -1/+1 |
| | | | | | | | | Also, run `grunt npmcopy` to sync the "external" directory with dependencies from package.json. For example, the Sinon library version didn't match. Ref gh-4234 Closes gh-4297 | ||||
* | Tests: fix weird flaky attributes test in Edge 16 | Timmy Willison | 2018-01-16 | 1 | -1/+1 |
| | | | | | Fixes gh-3867 Close gh-3931 | ||||
* | Attributes: allow array param in add/remove/toggleClass | Timmy Willison | 2018-01-08 | 1 | -0/+50 |
| | | | | | | | | | +30 bytes instead of +182 Thanks to @faisaliyk for the first pass on this feature. Fixes gh-3532 Close gh-3917 | ||||
* | Tests: Add support for running unit tests via grunt with karma | Timo Tijhof | 2017-12-18 | 1 | -2/+2 |
| | | | | | | | | | | | | | - Update QUnit to 1.23.1 - Remove unused dl#dl from test/index.html - Remove unused map#imgmap from test/index.html - Ensure all urls to data use baseURI - Add the 'grunt karma:main' task - customContextFile & customDebugFile - Add 'npm run jenkins' script Close gh-3744 Fixes gh-1999 | ||||
* | Core: rnotwhite -> rhtmlnotwhite and jQuery.trim -> stripAndCollapse | Timmy Willison | 2016-09-15 | 1 | -3/+47 |
| | | | | | | | | | | | | - Renames and changes rnotwhite to focus on HTML whitespace chars - Change internal use of jQuery.trim to more accurate strip and collapse - Adds tests to ensure HTML space characters are retained where valid - Doesn't add tests where the difference is inconsequential and existing tests are adequate. Fixes gh-3003 Fixes gh-3072 Close gh-3316 | ||||
* | Build: ESLint details | Oleg Gaidarenko | 2016-06-11 | 1 | -4/+4 |
| | | | | | | Use eslint pragmas, fix new errors, etc Closes gh-3148 | ||||
* | Attributes: Avoid infinite recursion on non-lowercase attribute getters | Michał Gołębiowski | 2016-06-03 | 1 | -0/+19 |
| | | | | | | | | | | | | Attribute hooks are determined for the lowercase versions of attribute names but this has not been reflected in the bool attribute hooks. The code that temporarily removed a handler to avoid an infinite loop was removing an incorrect handler causing stack overflow. Fixes gh-3133 Refs gh-2914 Refs gh-2916 Closes gh-3134 | ||||
* | Tests: Remove side-effects of one attributes test | Michał Gołębiowski | 2016-06-03 | 1 | -1/+10 |
| | | | | | | One test in the attribute module was overwriting jQuery.expr.attrHandle.checked and wasn't restoring the original state after it finished. It started causing issues for another checked-related test. | ||||
* | Attributes: strip/collapse whitespace for set values on selects | Timmy Willison | 2016-03-17 | 1 | -6/+76 |
| | | | | | Fixes gh-2978 Close gh-3002 | ||||
* | Tests: limit selection to #qunit-fixture in attributes.js | Alexander Lisianoi | 2016-02-22 | 1 | -5/+6 |
| | | | | | Ref gh-2880 Close gh-2921 | ||||
* | Tests: fix typos | William Robinet | 2016-02-17 | 1 | -2/+2 |
| | | | | Closes gh-2927 | ||||
* | Attributes: fix setting selected on an option in IE<=11 | Timmy Willison | 2016-01-19 | 1 | -0/+31 |
| | | | | | Fixes gh-2732 Close gh-2840 | ||||
* | Revert "Attributes: Remove undocumented .toggleClass( boolean ) signature" | Timmy Willison | 2016-01-07 | 1 | -1/+24 |
| | | | | | | This reverts commit 53f798cf4d783bb813b4d1ba97411bc752b275f3. - Turns out this is documented, even if not fully. Need to deprecate before removal. | ||||
* | Attributes: exclusively lowercase A-Z in attribute names | Timmy Willison | 2015-12-02 | 1 | -1/+12 |
| | | | | | Fixes gh-2730 Close gh-2749 | ||||
* | Attributes: return empty array for select-multiple with no values | Timmy Willison | 2015-11-05 | 1 | -2/+2 |
| | | | | | Fixes gh-2562 Close gh-2689 | ||||
* | Attributes: remove flakey test for selected attribute | Timmy Willison | 2015-10-26 | 1 | -3/+1 |
| | | | | | - The change is already covered by the "checked" test. Since this test is redundant, just drop it. | ||||
* | Tests: Post-Summit cleanup | Richard Gibson | 2015-10-25 | 1 | -1/+1 |
| | | | | | Ref 67d7a2eefee768b59eb3d51cb1fb2c671873e58a Ref c752a5030bc00eb5b45dea9c28963f824a5c4f44 | ||||
* | Attributes: do not set properties to false when removing booleans | Timmy Willison | 2015-10-21 | 1 | -2/+4 |
| | | | | Fixes gh-1759 | ||||
* | Attributes: fix tabIndex on <img> in IE11 | Joelle Fleurantin | 2015-10-18 | 1 | -0/+7 |
| | | | | | Fixes gh-2647 Closes gh-2664 | ||||
* | Attributes: Use simpler boolean check vs a function call | Dave Methvin | 2015-10-18 | 1 | -1/+5 |
| | | | | Ref gh-2491 | ||||
* | Attributes: Remove undocumented .toggleClass( boolean ) signature | Dave Methvin | 2015-10-18 | 1 | -24/+1 |
| | | | | | Fixes gh-2491 Close gh-2618 | ||||
* | Tests: further improvements QUnit 2.0 migration | Oleg Gaidarenko | 2015-09-08 | 1 | -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 files | Oleg Gaidarenko | 2015-09-07 | 1 | -610/+610 |
| | | | | Fixes gh-2056 | ||||
* | Tests: partially use new qunit interface | Oleg Gaidarenko | 2015-08-16 | 1 | -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 declaration | Oleg Gaidarenko | 2015-07-30 | 1 | -2/+5 |
| | | | | Closes gh-2507 | ||||
* | Attributes: add SVG class manipulation | Timmy Willison | 2015-05-12 | 1 | -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 attributes | Timmy Willison | 2015-03-30 | 1 | -47/+38 |
| | | | | Ref https://github.com/jquery/jquery/issues/2118 | ||||
* | Attributes: revert returning null for non-elements | Timmy Willison | 2015-03-16 | 1 | -1/+1 |
| | |||||
* | Attributes: fix failing test for new return value | Timmy Willison | 2015-03-16 | 1 | -2/+11 |
| | |||||
* | Attributes: return null when attribute does not exist | Winston Howes | 2015-03-16 | 1 | -38/+38 |
| | | | | | Fixes gh-2118 Close gh-2129 | ||||
* | Attributes: Use the option val hook in select val hook and simplify it | Michał Gołębiowski | 2014-12-08 | 1 | -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 compatibility | Richard Gibson | 2014-12-05 | 1 | -1/+1 |
| | | | | | | More to come later. (cherry picked from commit f6f8848fbe477fa93fd27ac7f10885dd6e97f633) | ||||
* | Tests: Correct logic of a broken assertion | Oleg Gaidarenko | 2014-04-15 | 1 | -2/+3 |
| | |||||
* | Attributes: Trim whitespace from option text when returned as a value | John Hoven | 2014-03-20 | 1 | -0/+13 |
| | | | | | | | | | | Fixes #14858 Ref #14686 Closes gh-1531 (cherry picked from commit 9ec429cf6270e455aba4eba85f4db80e633806b6) Conflicts: src/attributes/val.js | ||||
* | Tests: Fix code style issues | Oleg | 2014-01-16 | 1 | -4/+4 |
| | |||||
* | Tests: Add assertion for the jQuery#val method | Oleg | 2014-01-16 | 1 | -2/+7 |
| | |||||
* | Attrs: Remove outdated valHook for option element | Oleg | 2014-01-16 | 1 | -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 them | cjqed | 2013-12-23 | 1 | -8/+15 |
| | | | | | Fix #14040 Close gh-1457 | ||||
* | Fix #14340. Remove remnants of oldIE from unit tests. Close gh-1425. | Michał Gołębiowski | 2013-11-11 | 1 | -2/+1 |
| | |||||
* | Add tests for class manipulation on jQuery object containing more than one ↵ | Michał Gołębiowski | 2013-10-25 | 1 | -0/+43 |
| | | | | element. Close gh-1404. | ||||
* | No ticket: Hide the testing-support jQuery from tests | Richard Gibson | 2013-09-03 | 1 | -1/+1 |
| | |||||
* | Fix for custom attr handles duck-punching the boolean attr handle | Timmy Willison | 2013-08-28 | 1 | -0/+14 |
| | | | | | Conflicts: src/attributes/attr.js | ||||
* | Fix #13835: classes separated by form feed | Richard Gibson | 2013-05-13 | 1 | -0/+20 |
| | |||||
* | Update jshintrc to conform to new style guide. Conform to onevar and unused ↵ | Timmy Willison | 2013-04-09 | 1 | -59/+74 |
| | | | | in tests. Fixes #13755. | ||||
* | Adjust tabIndex propHook for modern browsers and return -1 where ↵ | Oleg Gaidarenko | 2013-04-08 | 1 | -4/+9 |
| | | | | appropriate. Close gh-1228. | ||||
* | Move size() test to deprecated.js and avoid in other tests. Close gh-1237. | Michał Gołębiowski | 2013-04-08 | 1 | -1/+1 |
| | |||||
* | Update grunt-contrib-jshint to 0.3.0, close gh-1204. | Michał Gołębiowski | 2013-04-03 | 1 | -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 ↵ | ruado1987 | 2013-03-22 | 1 | -0/+16 |
| | | | | | | select. Close gh-1191. (cherry picked from commit 48d71d0c3e53d1bb1688fc6c0593b008ced3403b) |