aboutsummaryrefslogtreecommitdiffstats
path: root/src
Commit message (Collapse)AuthorAgeFilesLines
...
* CSS: Avoid unit-conversion interference from CSS upper boundsRichard Gibson2017-08-281-17/+19
| | | | Fixes gh-2144 Closes gh-3745
* Dimensions: Don't trust non-pixel computed width/heightRichard Gibson2017-08-071-2/+6
| | | | Fixes gh-3611 Closes gh-3741
* Dimensions: Improve offsetWidth/offsetHeight fallbackRichard Gibson2017-07-311-2/+9
| | | | | Fixes gh-3698 Fixes gh-3602 Closes gh-3738
* Ajax: add an ontimeout handler to all requestsErik Lax2017-07-241-2/+3
| | | | | Fixes gh-3586 Close gh-3590
* Support: Properly check for IE9 absolute scrollbox mishandlingRichard Gibson2017-07-182-23/+23
| | | | | | Ref gh-3589 Fixes gh-3699 Fixes gh-3730 Closes gh-3729
* Dimensions: Detect and account for content-box dimension mishandlingRichard Gibson2017-07-102-11/+32
| | | | Fixes gh-3699 Closes gh-3700
* Offset: fix error from bad merge in #3695Jason Bedard2017-07-101-2/+2
|
* Revert "Offset: Resolve strict mode ClientRect "no setter" exception"Jason Bedard2017-07-101-4/+2
| | | | This reverts commit 3befe5911af0cf516896482bb9ddf197c8cb8a8e.
* Core: Deprecate jQuery.isWindowShashanka Nataraj2017-07-106-17/+25
| | | | | Fixes gh-3629 Close gh-3702
* Event: `stopPropagation()` on native event-handlerPierre Spring2017-07-101-4/+17
| | | | | Fixes gh-3693 Close gh-3694
* Deferred: fix memory leak of promise callbacksJason Bedard2017-06-201-1/+8
| | | | Fixes gh-3606 Closes gh-3657
* Dimensions: Include scroll gutter in "padding" boxRichard Gibson2017-06-191-46/+68
| | | | Fixes gh-3589 Closes gh-3656
* Docs:Tests: Update IE/Edge-related support comments & testsMichał Gołębiowski2017-05-154-5/+6
| | | Closes gh-3661
* CSS: Drop the float mapping from cssPropsMichał Gołębiowski2017-05-061-3/+1
| | | | | Firefox 35 and newer support style.float directly. Closes #3569
* Core: Update isFunction to handle unusual-@@toStringTag inputRichard Gibson2017-04-241-2/+7
| | | | | | Ref gh-3597 Fixes gh-3600 Fixes gh-3596 Closes gh-3617
* Offset: Use correct offset parents; include all border/scroll valuesRichard Gibson2017-04-241-26/+31
| | | | | | | | Thanks @anseki Fixes gh-3080 Fixes gh-3107 Closes gh-3096 Closes gh-3487
* Docs: Update links to HTML spec for stripAndCollapse (#3594)Boom Lee2017-03-292-2/+2
|
* CSS: retrieve inline style before computedTimmy Willison2017-03-201-2/+7
| | | | - Fixes an issue with getting computed style on detached elements
* Revert "Event: Trigger checkbox and radio click events identically"Timmy Willison2017-03-204-11/+7
| | | | This reverts commit b442abacbb8464f0165059e8da734e3143d0721f.
* Dimensions: fall back to offsetWidth/Height for inline elemsTimmy Willison2017-03-202-2/+8
| | | | | Close gh-3577 Fixes gh-3571
* Tests: move readywait to an iframe testSteve Mao2017-03-201-7/+7
| | | | | Close gh-3576 Fixes gh-3573
* CSS: remove dead code in getWidthOrHeightTimmy Willison2017-03-131-5/+0
| | | | | | - getCSS already falls back to inline styles Ref gh-3561
* Dimensions: ignore transforms when retrieving width/heightTimmy Willison2017-03-131-30/+16
| | | | | Close gh-3561 Fixes gh-3193
* CSS: Support custom propertiesConnor Atherton2017-03-072-9/+35
| | | | | | Fixes gh-3144 Closes gh-3199 Closes gh-3557
* Core: move jQuery.fn.nodeName to jQuery.nodeName, add testsMichał Gołębiowski2017-03-061-2/+2
| | | | | Ref ac9e3016 Close gh-3560
* Build: fix tests in AMD modeTimmy Willison2017-03-066-10/+14
| | | | - nodeName was included at the wrong spot in dependency lists
* Effects: stabilize rAF logic & align timeout logic with itOleg Gaidarenko2017-03-061-28/+19
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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-0110-26/+46
| | | | | Fixes gh-3475 Closes gh-3505
* Core: Move holdReady to deprecatedManoj Kumar2017-02-133-18/+7
| | | | | Fixes gh-3288 Close gh-3306
* Traversing: $.fn.contents() supports HTMLTemplateElement南漂一卒2017-01-291-1/+12
| | | | | Fixes gh-3436 Closes gh-3462
* Event: Trigger checkbox and radio click events identicallyAlex Padilla2017-01-194-8/+10
| | | | | Fixes gh-3423 Closes gh-3494
* Effects: Resolve issues revealed by recent Callbacks fixRichard Gibson2017-01-161-12/+27
| | | | | | | | | | 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-1/+2
| | | | | | | 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-1/+1
| | | | Fixes gh-3469 Closes gh-3470
* Offset: Eliminate little-used internal functionRichard Gibson2016-12-191-10/+10
| | | | Fixes gh-3449 Closes gh-3456
* Build: ESLint setup improvementsMichał Gołębiowski2016-12-191-16/+3
| | | | | | | 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-6/+8
| | | | Fixes gh-3442 Closes gh-3445
* Offset: report offset for 0 sized elementsJason Bedard2016-12-121-13/+8
| | | | Fixes gh-3267 Closes gh-3367
* Build: jQuery Foundation -> JS FoundationTimmy Willison2016-12-051-1/+1
| | | | Close gh-3414
* Core: Deprecate jQuery.isArrayManoj Kumar2016-11-308-13/+12
| | | | | Fixes gh-2961 Closes gh-3278
* Core: remove precautionary variable `readyFiring`Steve Mao2016-09-191-10/+4
| | | | Close gh-3284
* Core: Compress stripAndCollapseRichard Gibson2016-09-191-5/+7
| | | | Close gh-3318
* Core: rnotwhite -> rhtmlnotwhite and jQuery.trim -> stripAndCollapseTimmy Willison2016-09-1512-48/+62
| | | | | | | | | | | | - 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
* Core: expose noConflict in AMD modeTimmy Willison2016-08-152-8/+9
| | | | | | | | - For compability reasons, we had already added the global in AMD mode, but without noConflict. This adds back noConflict to AMD (which fixes noConflict mode in the tests). Fixes gh-2930
* Traversing: Let .not(arraylike) pass non-element nodesDave Methvin2016-08-101-7/+12
| | | | | Fixes gh-3226 Closes gh-3261
* Ajax: Don't mangle the URL when removing the anti-cache paramDave Methvin2016-08-081-3/+3
| | | | | Fixes gh-3229 Closes gh-3253
* Event: Optimize delegated event processingRichard Gibson2016-08-041-17/+24
| | | | Closes gh-3255
* Build: .eslintrc -> .eslintrc.jsonOleg Gaidarenko2016-08-022-1/+1
| | | | | | | | `.eslintrc` format is deprecated - http://eslint.org/docs/user-guide/configuring#configuration-file-formats Fixes gh-3248 Closes gh-3247
* Build: Update eslint config and fix associated errorsOleg Gaidarenko2016-07-1511-67/+133
|
* Build: Fix the regex removing the ESLint comment from wrapper.jsMichał Gołębiowski2016-07-131-1/+1
| | | | | | | The new regex from after the switch from JSHint to ESLint wasn't catching the ESLint pragma correctly. Also, the spacing of the pragma comment was updated to match other comments.