aboutsummaryrefslogtreecommitdiffstats
path: root/test
Commit message (Collapse)AuthorAgeFilesLines
...
* Tests: Reduce the abort timeout for simple focus testingRichard Gibson2017-07-192-8/+4
| | | | Ref gh-3732
* Tests: Abort focus tests when the environment doesn't cooperateRichard Gibson2017-07-181-1/+10
| | | | Ref gh-3732
* Tests: Try extra hard to control focusRichard Gibson2017-07-181-12/+21
| | | | Ref gh-3732
* Support: Properly check for IE9 absolute scrollbox mishandlingRichard Gibson2017-07-182-44/+68
| | | | | | Ref gh-3589 Fixes gh-3699 Fixes gh-3730 Closes gh-3729
* Dimensions: Detect and account for content-box dimension mishandlingRichard Gibson2017-07-101-5/+12
| | | | Fixes gh-3699 Closes gh-3700
* Test: ensure position/offset return mutable objectsJason Bedard2017-07-101-5/+31
| | | | | Fixes gh-3612 Closes gh-3695
* Core: Deprecate jQuery.isWindowShashanka Nataraj2017-07-103-23/+20
| | | | | Fixes gh-3629 Close gh-3702
* Event: `stopPropagation()` on native event-handlerPierre Spring2017-07-101-0/+41
| | | | | Fixes gh-3693 Close gh-3694
* Dimensions: Include scroll gutter in "padding" boxRichard Gibson2017-06-191-0/+83
| | | | Fixes gh-3589 Closes gh-3656
* Tests: minor typosAndreas Solleder2017-06-052-2/+2
| | | | Close gh-3671
* Docs:Tests: Update IE/Edge-related support comments & testsMichał Gołębiowski2017-05-154-42/+34
| | | Closes gh-3661
* Tests: Revert some testIframe changes to fix dimensions testsRichard Gibson2017-04-291-7/+2
| | | | Ref c0edd8dc18e02999a25768a4946093b015045f80
* Revert "Tests: Revert some testIframe changes to fix dimensions tests"Richard Gibson2017-04-291-2/+7
| | | | This reverts commit c4368a93116e9d1d17587fc2f5421a891957cf45.
* Tests: Revert some testIframe changes to fix dimensions testsRichard Gibson2017-04-291-7/+2
| | | | Ref c0edd8dc18e02999a25768a4946093b015045f80
* Tests: Correct expected assertion countRichard Gibson2017-04-291-1/+1
| | | | Ref e94b5b0bbf8d8179bc79ab749470e71092225862
* Tests: Clean up offset debuggingRichard Gibson2017-04-292-24/+1
| | | | | Ref 1d2df772b4d6e5dbf91df6e75f4a1809f7879ab0 Ref c0edd8dc18e02999a25768a4946093b015045f80
* Tests: Adjust by actual scroll position, rather than expectedRichard Gibson2017-04-292-13/+12
| | | | Ref 1d2df772b4d6e5dbf91df6e75f4a1809f7879ab0
* Tests: Keep iframes visible in TestSwarmRichard Gibson2017-04-281-2/+13
| | | | Ref 1d2df772b4d6e5dbf91df6e75f4a1809f7879ab0
* Tests: Add debugging to investigate iOS failuresRichard Gibson2017-04-281-2/+22
| | | | Ref 1d2df772b4d6e5dbf91df6e75f4a1809f7879ab0
* Tests: Reset iframe window scroll after updating html/document positionRichard Gibson2017-04-281-3/+10
| | | | Ref 1d2df772b4d6e5dbf91df6e75f4a1809f7879ab0 Closes gh-3649
* Tests: Prepend test iframes for even *more* consistencyRichard Gibson2017-04-251-1/+1
| | | | Ref 1d2df772b4d6e5dbf91df6e75f4a1809f7879ab0
* Tests: Allow a mock QUnit.test for perfect testIframe fidelityRichard Gibson2017-04-252-14/+16
| | | | Ref 1d2df772b4d6e5dbf91df6e75f4a1809f7879ab0 Closes gh-3647
* Tests: Attach test iframes to the body for visibility-dependent codeRichard Gibson2017-04-252-6/+12
| | | | Ref 1d2df772b4d6e5dbf91df6e75f4a1809f7879ab0 Closes gh-3645
* Tests: Be even more async for iOSRichard Gibson2017-04-241-1/+1
| | | | Ref 1d2df772b4d6e5dbf91df6e75f4a1809f7879ab0 Closes gh-3643
* Tests: Improve offset test setup and labelsRichard Gibson2017-04-243-35/+32
| | | | | | Hopefully this fixes iOS testing: http://swarm.jquery.org/job/5226 Ref 1d2df772b4d6e5dbf91df6e75f4a1809f7879ab0 Closes gh-3641
* Core: Update isFunction to handle unusual-@@toStringTag inputRichard Gibson2017-04-242-8/+100
| | | | | | Ref gh-3597 Fixes gh-3600 Fixes gh-3596 Closes gh-3617
* Offset: Use correct offset parents; include all border/scroll valuesRichard Gibson2017-04-242-1/+309
| | | | | | | | Thanks @anseki Fixes gh-3080 Fixes gh-3107 Closes gh-3096 Closes gh-3487
* Tests: Fix incorrect assert name for ensure_iterability_es6Timo Tijhof2017-03-201-1/+1
| | | | Closes gh-3584 Ref bb026fc1.
* Tests: add test for passing trigger data to radio click handlerTimmy Willison2017-03-201-0/+10
| | | | | Close gh-3581 Fixes gh-3579
* Revert "Event: Add radio click triggering tests"Timmy Willison2017-03-201-26/+11
| | | | This reverts commit 5f35b5b406ae7d504de86a3f0a5647b2fdf4f2af.
* Dimensions: fall back to offsetWidth/Height for inline elemsTimmy Willison2017-03-201-0/+14
| | | | | Close gh-3577 Fixes gh-3571
* Tests: move readywait to an iframe testSteve Mao2017-03-204-37/+30
| | | | | Close gh-3576 Fixes gh-3573
* Dimensions: ignore transforms when retrieving width/heightTimmy Willison2017-03-131-0/+11
| | | | | Close gh-3561 Fixes gh-3193
* Tests: Clean up after the CSS Custom Properties support testMichał Gołębiowski2017-03-071-2/+4
| | | | | Ref bcec54ee7271e2d0e427bcb246e3d2009a8f84f9 Ref 619bf98d5b479f9582dbc40259b666f1c5a83146
* Tests: Skip CSS custom properties tests in non-supporting browsersMichał Gołębiowski2017-03-071-55/+66
| | | | Ref 619bf98d5b479f9582dbc40259b666f1c5a83146
* CSS: Support custom propertiesConnor Atherton2017-03-071-0/+64
| | | | | | Fixes gh-3144 Closes gh-3199 Closes gh-3557
* Core: move jQuery.fn.nodeName to jQuery.nodeName, add testsMichał Gołębiowski2017-03-061-0/+48
| | | | | Ref ac9e3016 Close gh-3560
* Effects: stabilize rAF logic & align timeout logic with itOleg Gaidarenko2017-03-061-9/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | rAF logic was introduced almost three years ago relative to this commit, as a primary method for scheduling animation (see gh-1578 pull). With it there was two substantial changes - one was explicitly mentioned and the other was not. First, if browser window was hidden aka `document.hidden === true` it would immediately execute all scheduled animation without waiting for time pass i.e. tick time become `0` instead of 13 ms of a default value. Which created possibility for circular executions in case if `complete` method executed the same animation (see gh-3434 issue). And the second one - since then there was two ways of scheduling animation: with `setInterval` and `requestAnimationFrame`, but there was a difference in their execution. In case of `setInterval` it waited default `jQuery.fx.interval` value before actually starting the new tick, not counting the first step which wasn't set to be executed through tick method (aka `jQuery.fx.tick`). Whereas `requestAnimationFrame` first scheduled the call and executed the `step` method right after that, counting the first call of `jQuery.fx.timer`, `tick` was happening twice in one frame. But since tests explicitly disabled rAF method i.e. `requestAnimationFrame = null` and checking only `setInterval` logic, since it's impossible to do it otherwise - we missed that change. Faulty logic also was presented with `cancelAnimationFrame`, which couldn't clear any timers since `raf` scheduler didn't define new `timerId` value. Because that change was so subtle, apparently no user noticed it proving that both `cancelAnimationFrame` and `clearInterval` code paths are redundant. Since `cancelAnimationFrame` didn't work properly and rAF is and was a primary used code path, plus the same approach is used in other popular animation libs. Therefore those code paths were removed. These changes also replace two different functions which schedule the animation with one, which checks what type of logic should be used and executes it appropriatley, but for secondary path it now uses `setTimeout` making it more consistent with rAF path. Since ticks are happening globally we also don't require to listen `visibilitychange` event. It also changes the way how first call is scheduled so execution of animation will not happen twice in one frame. No new tests were not introduced, since now `setTimeout` logic should be equivalent to the rAF one, but one test was changed since now we actually execute animation at the first tick. Fixes gh-3434 Closes gh-3559
* Core: Deprecate jQuery.nodeNamekaran-962017-03-012-10/+10
| | | | | Fixes gh-3475 Closes gh-3505
* Traversing: $.fn.contents() supports HTMLTemplateElement南漂一卒2017-01-291-0/+52
| | | | | Fixes gh-3436 Closes gh-3462
* Event: Add radio click triggering testsAlex Padilla2017-01-191-11/+26
| | | | | Ref b442abacbb8464f0165059e8da734e3143d0721f Ref gh-3423
* Effects: Resolve issues revealed by recent Callbacks fixRichard Gibson2017-01-161-8/+9
| | | | | | | | | | Notify full progress before resolving empty animations Register animation callbacks before their ticker Remove the right timer when immediately-done animations spawn more Ref 9d822bc1c13dd3393b418210a99537c22c06f2c3 Fixes gh-3502 Fixes gh-3503 Closes gh-3496
* Manipulation: Restrict the tbody search to child nodesRichard Gibson2017-01-091-0/+20
| | | | | | | For performance, use a querySelectorAll path instead of Javascript iteration. http://codepen.io/anon/pen/vywJjx?editors=1010 Fixes gh-3439 Closes gh-3463
* Callbacks: Prevent add() from unlocking with-memory listsRichard Gibson2017-01-091-0/+21
| | | | Fixes gh-3469 Closes gh-3470
* Tests: Update the loader so test pages always get jQueryRichard Gibson2017-01-091-33/+34
| | | | | | Pages used for iframe tests will now successfully load jQuery, even when opened directly in the browser. Closes gh-3489
* Tests: Added tests for symbol-separated tag namesDavid Broder-Rodgers2016-12-291-9/+18
| | | | | Fixes gh-2006 Closes gh-3473
* Build: Use valid ecmaVersionRichard Gibson2016-12-191-1/+1
| | | | | | Fixes Node smoke tests Ref gh-3385 Closes gh-3460
* Build: ESLint setup improvementsMichał Gołębiowski2016-12-193-13/+24
| | | | | | | 1. Use the short name of the preset in the config. 2. Run ESLint first on non-minified files. 3. Explicitly specify environments in every config file (those settings cascade which means we've been assuming a Node.js environment where we shouldn't have).
* Deferred: Stop inventing jQuery.when() resolution valuesRichard Gibson2016-12-161-2/+2
| | | | Fixes gh-3442 Closes gh-3445
* Offset: report offset for 0 sized elementsJason Bedard2016-12-121-2/+30
| | | | Fixes gh-3267 Closes gh-3367