aboutsummaryrefslogtreecommitdiffstats
path: root/test/unit/offset.js
Commit message (Collapse)AuthorAgeFilesLines
* Revert "Offset: account for scroll when calculating position"Oleg Gaidarenko2016-02-091-12/+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
* Event: compat -> 1.x in commentsMichał Gołębiowski2016-01-111-3/+3
| | | | Ref 3c56eac50725c2548c3abc0159841c3354936ac4
* Tests: Disable/relax a few tests failing in Android 2.3Michał Gołębiowski2016-01-071-2/+18
| | | | | | (cherry-picked from 704de8180f220afa1efd7bd65e9aeb9007a4f238) Fixes gh-1785
* Tests: Blacklist the iframe scrollTop test in Opera 12.1xMichał Gołębiowski2015-11-161-1/+3
|
* Offset: do not run tests which break without back-incompat changeOleg Gaidarenko2015-11-131-3/+3
|
* Revert "Core: Remove deprecated context and selector properties"Oleg Gaidarenko2015-11-131-4/+4
| | | | This reverts commit 0ea8c32863af31fb5cfc184e8d513bbae35583e8.
* Release: remove revert artefactsOleg Gaidarenko2015-11-131-4/+4
|
* Revert "Offset: Fix .offset() to correctly work with ShadowDOM"Oleg Gaidarenko2015-11-131-3/+3
| | | | This reverts commit 1617479fcf7cbdaf33dc9334ed10a0f30bf14687.
* Revert "Offset: remove ownerDocument check in offset getter"Oleg Gaidarenko2015-11-131-0/+9
| | | | This reverts commit 6176567361e9d05d4f5eb7e98735a678f2cd7ea9.
* Offset: offsetLeft/Top on empty set returns undefinedDave Methvin2015-11-101-2/+2
| | | | | | Fixes gh-2319 Closes gh-2702 Ref gh-2701
* CSS: Correct misrepresentation of "auto" horizontal margins as 0Richard Gibson2015-10-181-3/+5
| | | | | | | | | | | | Fixes gh-2237 Closes gh-2276 (cherry picked from commit 214e1634ab9b1d13d53647dd5de3bdf7a091d49c) Conflicts: src/css.js src/css/support.js test/unit/support.js
* Offset: allow small differences in offset.topJoelle Fleurantin2015-10-181-1/+3
| | | | Fixes gh-2590
* Build: Update jscs and lint filesOleg Gaidarenko2015-09-071-209/+207
| | | | Fixes gh-2056
* Tests: partially use new qunit interfaceOleg Gaidarenko2015-08-161-161/+161
| | | | | | | | | | | | 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
* Offset: add tests for hidden elements + scrollTimmy Willison2015-06-161-1/+13
| | | | | - Also add comments to hidden/disconnected tests noting this is to ensure consistency between branches
* Offset: return zeros for disconnected/hidden elementsTimmy Willison2015-06-161-14/+8
| | | | | Fixes gh-2310 Close gh-2396
* Offset: account for scroll when calculating positionRichard McDaniel2015-05-121-1/+12
| | | | | Fixes gh-1708 Close gh-1714
* Offset: remove ownerDocument check in offset getterTimmy Willison2015-05-051-10/+1
| | | | Fixes gh-2115
* Offset: Fix .offset() to correctly work with ShadowDOMArthur Stolyar2015-05-051-5/+23
| | | | | Fixes gh-1784 Close gh-2043
* Offset: don't run scrollTop/scrollLeft iframe test in Android 2.3 & 4.0Oleg Gaidarenko2015-02-111-5/+8
| | | | | | | | | | | Android 2.3 resize the iframe by its content meaning it's not possible to scroll the iframe only its parent element. It seems (not confirmed) in android 4.0 it's not possible to scroll iframes from the code Fixes gh-1981 Ref 4ab8603669e2bbc8644e402927c33ce422d7aaa3
* Core: Remove deprecated context and selector propertiesDave Methvin2015-01-111-3/+3
| | | | | Fixes gh-1908 Closes gh-2000
* Offset: don't run scrollTop/scrollLeft iframe test in mobile SafariOleg Gaidarenko2014-12-251-7/+16
| | | | | | | iPhone resize the iframe by its content regardless of the width, height values, meaning it's not possible to scroll the iframe only its parent element Ref 62a333e0646d3011377ed13a6fcfbb08e91e2bef
* Event: fix incorrect window bug with scrollTop/Left in iframesAditya Raghavan2014-12-241-0/+15
| | | | | Fixes gh-1945 Closes gh-1959
* Fix #14340. Remove remnants of oldIE from unit tests. Close gh-1425.Michał Gołębiowski2013-11-111-47/+23
|
* Update jshintrc to conform to new style guide. Conform to onevar and unused ↵Timmy Willison2013-04-091-20/+30
| | | | in tests. Fixes #13755.
* Improve CSS and `Support:` comments. Close gh-1220.Michał Gołębiowski2013-04-061-2/+1
| | | | | | | | 1) corrected box-sizing rules order - the unprefixed value should always be the last one 2) removed last semi-colons in CSS rules 3) updated support comments code review changes + more consistent comment spacing
* Know when to hold em, know when to fold em.Dave Methvin2012-12-221-7/+12
|
* Test: Update index.html to new QUnit format. Close gh-1061.Timo Tijhof2012-12-101-3/+3
| | | | Depends on jquery/sizzle#177, included with the Sizzle submodule in this commit.
* No ticket: update test suite to pass QUnit globals check in most ↵Richard Gibson2012-11-051-20/+32
| | | | environments. Close gh-1016.
* Fixes #12139, make sure absolutely positioned elements have HTML as ↵David Fox2012-10-261-1/+6
| | | | offsetParent, closes gh-1010
* Fix #11542. document.body should not be special in .offset() and ↵Daniel Gálvez2012-10-241-6/+8
| | | | document.documentElement is the default element.offsetParent. Close gh-899.
* fix failing offset testsMike Sherov2012-10-171-2/+19
|
* Fixes #12749, correctly detect position() for position:fixed elements, ↵Merrifield, Jay2012-10-171-31/+37
| | | | closes gh-991
* enforce double quotes via JSHint. Closes gh-975Mike Sherov2012-10-161-5/+5
|
* Fix #12534. Don't die on browsers lacking getBoundingClientRect.Dave Methvin2012-09-131-0/+9
|
* Remove IE8 testswarm hacks for offset.Dave Methvin2012-07-251-20/+9
|
* Remove a few stray spaces in unit tests.Dave Methvin2012-07-101-2/+2
|
* Fix #11962. Standardize getter return values for empty sets.Uri Gilad2012-07-091-0/+6
|
* Fix #8482, offsetParent should not return null. Closes gh-847.Nowres Rafid2012-07-061-1/+4
|
* Make unit tests friendly to Closure Compiler. Closes gh-845.Chad Killingsworth2012-07-051-202/+207
| | | | | | Conflicts: test/unit/effects.js test/unit/offset.js
* Ever notice that static and problematic rhyme?Dave Methvin2012-07-031-3/+8
|
* Avoid running problematic static offset tests in IE8 on the swarm.Dave Methvin2012-07-031-5/+10
|
* Unit tests are linted and passing.Rick Waldron2012-06-211-3/+3
|
* Detect IE collapsing body margin directly rather than inferring it.Dave Methvin2012-06-181-7/+6
|
* Browser sniffing is *bad*, folks, even in unit tests.Dave Methvin2012-06-181-3/+3
|
* Modularize offset (exclude w/ grunt build:*:*:-offset). Closes #813. Fixes ↵Mike Sherov2012-06-071-0/+4
| | | | #11865
* Fix busted tests that relied on width in 2nd param to jQuery(), dimensions ↵Rick Waldron2012-06-051-2/+5
| | | | | | stays modular. (core, attributes, offset) Signed-off-by: Rick Waldron <waldron.rick@gmail.com>
* Fix #11721. Remove jQuery.boxModel, deprecate jQuery.support.boxModel.Mike Sherov2012-05-151-1/+7
| | | | | | 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.
* fixes #10693, generalizes the "test something in an iframe" code when a ↵Mike Sherov2012-02-231-40/+8
| | | | callback isn't needed
* Fix #5571. Setters should treat `undefined` as a no-op and be chainable.Richard Gibson2011-12-061-5/+7
|