aboutsummaryrefslogtreecommitdiffstats
path: root/src/offset.js
Commit message (Collapse)AuthorAgeFilesLines
* 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-101-3/+3
| | | | | Fixes gh-3629 Close gh-3702
* 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
* Build: fix tests in AMD modeTimmy Willison2017-03-061-3/+3
| | | | - nodeName was included at the wrong spot in dependency lists
* Core: Deprecate jQuery.nodeNamekaran-962017-03-011-2/+4
| | | | | Fixes gh-3475 Closes gh-3505
* Offset: Eliminate little-used internal functionRichard Gibson2016-12-191-10/+10
| | | | Fixes gh-3449 Closes gh-3456
* Offset: report offset for 0 sized elementsJason Bedard2016-12-121-13/+8
| | | | Fixes gh-3267 Closes gh-3367
* Build: Put all AMD modules in "src/" in strict modeMichał Gołębiowski2016-04-251-0/+2
| | | | Fixes gh-3073
* Offset: Resolve strict mode ClientRect "no setter" exceptionRichard Gibson2016-04-231-2/+4
|
* Docs: Update support comments to follow the new syntaxMichał Gołębiowski2016-03-301-1/+1
| | | | | The changes follow the spec proposed in: https://github.com/jquery/contribute.jquery.org/issues/95#issuecomment-69379197
* Docs: Update support comments related to IEMichał Gołębiowski2016-03-301-1/+1
| | | | All support comments were checked for Edge applicability.
* Docs:Tests: Remove obsolete code from tests, update support commentsMichał Gołębiowski2016-03-081-2/+2
| | | | | | | | | | Support comments that were lacking the final IE/Edge version that exhibits the bug were checked & updated. Links to the Chromium bug tracker were updated. Code in tests related to unsupported browsers (like Android 2.3 in non-basic tests) has been removed. Fixes gh-2868 Closes gh-2949
* Revert "Offset: account for scroll when calculating position"Oleg Gaidarenko2016-02-091-5/+2
| | | | | | | | | | | | This reverts commit 2d715940b9b6fdeed005cd006c8bf63951cf7fb2. This commit provoked new issues: gh-2836, gh-2828. At the meeting, we decided to revert offending commit (in all three branches - 2.2-stable, 1.12-stable and master) and tackle this issue in 3.x. Fixes gh-2828
* Offset: offsetLeft/Top on empty set returns undefinedDave Methvin2015-11-101-1/+1
| | | | | | Fixes gh-2319 Closes gh-2702 Ref gh-2701
* Build: Update jscs and lint filesOleg Gaidarenko2015-09-071-11/+15
| | | | Fixes gh-2056
* Core: Adjust comments & tests after dropping Safari 6 supportMichał Gołębiowski2015-07-271-1/+1
| | | | | | | | Support comments that mentioned only Safari < 7 were checked & updated to account for bugs existing in newer versions as well; Safari 6 support test results were removed. Refs gh-2482
* Offset: return before getBoundingClientRect to avoid error in IE8-11Timmy Willison2015-06-161-2/+9
|
* Offset: return zeros for disconnected/hidden elementsTimmy Willison2015-06-161-1/+4
| | | | | Fixes gh-2310 Close gh-2396
* Revert "Offset: allow offset setter to throw for disconnected elements"Timmy Willison2015-06-161-1/+1
| | | | This reverts commit 0d11c1182f2012cd6eb06ce1e3fa5a495af9bee3.
* Offset: account for scroll when calculating positionRichard McDaniel2015-05-121-2/+5
| | | | | Fixes gh-1708 Close gh-1714
* Offset: allow offset setter to throw for disconnected elementsTimmy Willison2015-05-051-1/+1
| | | | Fixes gh-2114
* Offset: remove ownerDocument check in offset getterTimmy Willison2015-05-051-4/+5
| | | | Fixes gh-2115
* Offset: Fix .offset() to correctly work with ShadowDOMArthur Stolyar2015-05-051-14/+12
| | | | | Fixes gh-1784 Close gh-2043
* Offset: simplify jQuery#offsetParent methodOleg Gaidarenko2015-01-131-3/+12
| | | | | | | | | | | | * It seems, check for html element (and previously for body element) was redundant * Simplify "return" statement * Add comment about potential errors that didn't find themselves in real life app Closes gh-1968
* Build: Don't assume the browser environment; smoke test on Node w/ jsdomMichał Gołębiowski2014-12-261-5/+5
| | | | | Fixes gh-1950 Closes gh-1949
* Event: fix incorrect window bug with scrollTop/Left in iframesAditya Raghavan2014-12-241-2/+2
| | | | | Fixes gh-1945 Closes gh-1959
* Dimensions: allow modification of coordinates argumentOleg Gaidarenko2014-11-161-1/+3
| | | | | Fixes gh-1848 Closes gh-1853
* Misc: Drop support for older browsers; update support commentsMichał Gołębiowski2014-11-031-5/+1
| | | | | | | | That includes Opera 12.x, Firefox<29, Safari<6.0 and some hacks for old Blackberry. Closes gh-1820 Refs gh-1815
* Offset: Simplified a conditionalChris Antaki2014-09-021-1/+1
|
* Core: Drop strundefined variableChris Antaki2014-09-021-3/+2
|
* Build: update grunt-jscs-checker and pass with the new rulesTimmy Willison2014-07-171-2/+4
|
* Support: clean up comments and Support notationDave Methvin2014-06-101-6/+9
| | | | Closes gh-1577
* Offset: Fix comment typo, thanks @AurelioDeRosaDave Methvin2013-12-181-1/+1
|
* Fixes #14450. Remove CommonJS+AMD syntax.Timmy Willison2013-10-151-15/+15
|
* Fix some code style inconsistenciesOleg2013-10-071-1/+1
|
* No ticket: fix code style inconsistencies. Closes gh-1361Oleg2013-09-131-1/+1
|
* The cssHook from addGetHookIf wasn't actually getting addedTimmy Willison2013-09-111-1/+1
|
* No ticket. Abstract conditional hook definition.Michał Gołębiowski2013-09-111-20/+10
|
* Remove offset dependency from css. Move curCSS and getStyles to their own ↵Timmy Willison2013-09-101-9/+42
| | | | modules. -39 bytes. Close gh-1360.
* Separate jQuery.fn.init into its own module (for lighter core dependencies ↵Timmy Willison2013-09-091-0/+1
| | | | across all modules)
* Apply consistent ordering in all modules. -38 bytes. Order modules like ↵Timmy Willison2013-09-091-45/+42
| | | | functions > jQuery.extend > jQuery.fn.extend.
* Break jQuery.access out into its own module to separate it from core; Adjust ↵Timmy Willison2013-09-091-2/+3
| | | | CommonJS+AMD build support to include non-var dependencies. Convert modules with more than a few dependencies to use CJS+AMD syntax.
* Always return jQuery in modules that can be included separatelyTimmy Willison2013-09-081-0/+1
|
* No ticket. Restore checking individual src/**/*.js files by jsHint.Michał Gołębiowski2013-09-061-1/+2
|
* Specify support as a dependency wherever it is used. Optimize module order ↵Timmy Willison2013-08-151-2/+2
| | | | to save 15 bytes.
* AMD-ify jQuery sourcegit s! Woo! Fixes #14113, #14163.Timmy Willison2013-08-151-4/+17
|
* No ticket: Reduce size in anticipation of Sizzle-free buildsRichard Gibson2013-02-221-2/+2
| | | | (cherry picked from commit dbf3056b250bbc279fa947031181f9e25a40bacf)
* Fix #13315 for IE9: compare typeof xmlNode.method to var instead of literal ↵Richard Gibson2013-01-271-1/+1
| | | | | | "undefined" for safer uglification (cherry picked from commit ec9b38a34fb9bd81d1903cf12b69466f699abca5)
* 2.0: Reduce offset module. Close gh-1139.Oleg2013-01-201-32/+30
|
* Pass style declarations around for performance improvements and paving the ↵Mike Sherov2012-12-111-4/+4
| | | | | | way for the css array signature Also, simplify the jQuery.css numeric coercion signature