aboutsummaryrefslogtreecommitdiffstats
path: root/src/offset.js
Commit message (Collapse)AuthorAgeFilesLines
* 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
* Fix #11542. document.body should not be special in .offset() and ↵Daniel Gálvez2012-10-241-29/+7
| | | | document.documentElement is the default element.offsetParent. Close gh-899.
* new JSHINT mixed spaces/tabs is smart enough to not warn on multiline ↵Mike Sherov2012-10-221-1/+1
| | | | comments, rendering smarttabs useless
* Fixes #12749, correctly detect position() for position:fixed elements, ↵Merrifield, Jay2012-10-171-18/+24
| | | | closes gh-991
* Fix #12536. Start at .offset() 0,0 if no getBoundingClientRect.Dave Methvin2012-09-141-9/+14
| | | | This lets us still add the other offset components to the number so they're less wrong. Affects BlackBerry 5 and iOS 3, everyone else has gBCR.
* Fix #12534. Don't die on browsers lacking getBoundingClientRect.Dave Methvin2012-09-131-2/+2
|
* Fix #11962. Standardize getter return values for empty sets.Uri Gilad2012-07-091-2/+2
|
* Fix #8482, offsetParent should not return null. Closes gh-847.Nowres Rafid2012-07-061-1/+1
|
* Strips IIFEs from modules; Always require built jQuery for tests.Rick Waldron2012-06-041-4/+0
|
* Followup gh-796. Eliminate try-catch in oldIE, closes gh-799.Oleg2012-05-281-8/+4
|
* Fix #11823. Remove webkitConvertPointFromNodeToPage. Closes gh-796.Oleg2012-05-271-42/+26
|
* Fix #11721. Remove jQuery.boxModel, deprecate jQuery.support.boxModel.Mike Sherov2012-05-151-4/+3
| | | | | | This removes all internal uses of `jQuery.support.boxModel`. jQuery has never run unit tests with Quirks Mode and has not even feigned support for several years, so these remnants weren't doing much except giving false hope. For now, `jQuery.support.boxModel` continues to have a value indicating whether the W3C box model is *generally* in use, but be aware that this is easily overridden on an element-by-element basis by the `box-model` CSS property. So don't trust this value.
* Fix #10996, simplify offset code by forsaking ancient browsers.Mike Sherov2012-04-051-50/+7
|
* Add undef:true to JSHint now that it understands hoistingMike Sherov2012-01-191-1/+1
| | | | also add smarttabs:true and fix some smarttabs spacing issues
* Fix #10692. JSLint is dead! Long live JSHint!Mike Sherov2011-12-081-1/+1
| | | | Still needs this sizzle PR: https://github.com/jquery/sizzle/pull/82
* Fix #5571. Setters should treat `undefined` as a no-op and be chainable.Richard Gibson2011-12-061-67/+42
|