aboutsummaryrefslogtreecommitdiffstats
path: root/test/unit/offset.js
Commit message (Collapse)AuthorAgeFilesLines
* Revert "Offset: account for scroll when calculating position"Oleg Gaidarenko2016-02-091-23/+4
| | | | | | | | | | | | This reverts commit 0654711e0d929187249ca9507ae5881c72947843. 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
* Tests: compat -> 1.x in commentsMichał Gołębiowski2016-01-111-2/+2
| | | | (cherry-picked from df31b88135f94f903c8a887085d30d085a9c62f6)
* Tests: Disable/relax a few tests failing in Android 2.3Michał Gołębiowski2016-01-071-2/+18
| | | | Fixes gh-1785
* Revert "Misc: Drop support for older browsers; update support comments"Timmy Willison2016-01-061-33/+50
| | | | This reverts commit 90d7cc1d8b2ea7ac75f0eacb42439349c9c73278.
* Build: code style fixes after all those revertsOleg Gaidarenko2015-12-221-11/+11
|
* Revert "Core: Remove deprecated context and selector properties"Oleg Gaidarenko2015-12-221-4/+4
| | | | This reverts commit e2ec5da2a7f1b3de1f9dc7e2c01f27cd23714e60.
* Offset: do not run tests which break without back-incompat changeOleg Gaidarenko2015-12-221-3/+3
| | | | See 9d1d4c272a58ced36242d90b3f0462c2bbb972a3
* Revert "Offset: Fix .offset() to correctly work with ShadowDOM"Oleg Gaidarenko2015-12-221-15/+0
| | | | This reverts commit d4dd548acaf049d8e4dca9e4b879a51f26bb3d27.
* Revert "Offset: remove ownerDocument check in offset getter"Oleg Gaidarenko2015-12-221-5/+14
| | | | This reverts commit a2386a8250c82e27680d21f7f6fd1eb9a8f7e938.
* Offset: allow small differences in offset.topJoelle Fleurantin2015-10-181-1/+3
| | | | | Fixes gh-2590 (cherry picked from commit 9f9e204bba41b7a9cde5ba7e065d817ef8b18c41)
* CSS: Correct misrepresentation of "auto" horizontal margins as 0Richard Gibson2015-10-181-3/+5
| | | | | Fixes gh-2237 Closes gh-2276
* Tests: Partially use new qunit interfaceOleg Gaidarenko2015-09-071-163/+163
| | | | | | | | | | | | | 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 Ref b930d14ce64937e9478405eee2828d4da091d2cb Fixes gh-2540
* Build: Update jscs and lint filesOleg Gaidarenko2015-09-071-209/+207
| | | | | Ref 10fdad742a2a6aa9f0e00b3e04fc5264797c53c7 Fixes gh-2056
* 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 (cherry-picked from 0c466438d1feaec302fec13eafeeb063bbfd6a19) Fixes gh-1981 Ref 4ab8603669e2bbc8644e402927c33ce422d7aaa3
* Core: Remove deprecated context and selector propertiesDave Methvin2015-01-111-3/+3
| | | | | | Fixes gh-1908 Closes gh-2000 (cherry picked from commit 0ea8c32863af31fb5cfc184e8d513bbae35583e8)
* Offset: fix iframe scrollTop/Left test for IE8 and iPhoneOleg Gaidarenko2014-12-251-8/+22
| | | | | | | | | | | | | | * IE8 need a doctype, otherwise IE will scroll it, but will still show old values. It wasn't noticable before, since IE8 will update values if in the dev tools you swtich to "Quirks mode" and then back again, then this tab will always show the correct values even if you update it * 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 ae30fb6c27a2121578d3ce7ca6e2ba1d205545b8
* Offset: fix iframe scrollTop/Left test for IE8Oleg Gaidarenko2014-12-241-0/+1
| | | | Ref ae30fb6c27a2121578d3ce7ca6e2ba1d205545b8
* Event: add test for window scrollTop/Left logic in iframesAditya Raghavan2014-12-241-0/+15
| | | | Ref d21edb599d8f5f80a3f3ecba5b62311b9cd1a3e6
* Misc: Drop support for older browsers; update support commentsMichał Gołębiowski2014-12-081-31/+22
| | | | | | | | | | That includes IE<8, Opera 12.x, Firefox<29, Safari<6.0 and some hacks for old Blackberry. Fixes gh-1836 Fixes gh-1701 Refs gh-1815 Refs gh-1820
* Update jshintrc to conform to new style guide. Conform to onevar and unused ↵Timmy Willison2013-04-091-20/+30
| | | | | | | | | | | | | | | | in tests. Fixes #13755. Conflicts: src/.jshintrc src/data.js test/unit/attributes.js test/unit/core.js test/unit/data.js test/unit/event.js test/unit/manipulation.js test/unit/queue.js test/unit/traversing.js test/unit/wrap.js
* 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
|
* Fix #10691. Remove all instances of equals() and same(), as these are ↵Mike Sherov2011-11-061-85/+85
| | | | deprecated in QUnit.