Michał Gołębiowski-Owczarek
0f780ba7cc
Build:Tests: Fix custom build tests, verify on Travis
...
This commit fixes unit tests for the following builds:
1. The no-deprecated build: `custom:-deprecated`
2. The current slim build: `custom:-ajax,-effects`
3. The future (#4553 ) slim build: `custom:-ajax,-callbacks,-deferred,-effects`
It also adds separate Travis jobs for the no-deprecated & slim builds.
Closes gh-4577
2020-01-07 23:59:08 +01:00
Richard Gibson
87a2d3aae7
Tests: Be even more async for iOS
...
Ref 1d2df772b4
Closes gh-3643
2017-04-24 22:59:18 -04:00
Richard Gibson
1d2df772b4
Offset: Use correct offset parents; include all border/scroll values
...
Thanks @anseki
Fixes gh-3080
Fixes gh-3107
Closes gh-3096
Closes gh-3487
2017-04-24 12:15:39 -04:00
Dave Methvin
e5ffcb0838
Tests: Refactor testIframe() to make it DRYer and more consistent
...
Ref gh-3040
Closes gh-3049
2016-04-11 13:32:51 -04:00
Dave Methvin
08d73d7f9c
Tests: Make iframe tests wait after checking isReady
...
Ref gh-3040
2016-04-11 13:29:11 -04:00
Richard Gibson
487d5ca913
CSS: Correct misrepresentation of "auto" horizontal margins as 0
...
Fixes gh-2237
Closes gh-2276
(cherry picked from commit 214e1634ab
)
Conflicts:
src/css.js
src/css/support.js
test/unit/support.js
2015-10-18 16:58:38 -04:00
Julian Alexander Murillo
c577928d45
Tests: Change quotes according to style guidelines
...
Close gh-2339
2015-10-18 13:17:23 -04:00
Timmy Willison
b041242223
Offset: add tests for hidden elements + scroll
...
- Also add comments to hidden/disconnected tests noting
this is to ensure consistency between branches
2015-06-16 13:28:51 -04:00
Richard Gibson
363299ac24
Ref #13316 : Sync all documents on full vs. minified source. Close gh-1147.
2013-02-07 15:16:28 -05:00
Dave Methvin
58cd84f9d5
Fix #13316 . Use minified version in unit testing.
2013-01-26 10:48:10 -05:00
Daniel Gálvez
b398a68333
Fix #11542 . document.body should not be special in .offset() and document.documentElement is the default element.offsetParent. Close gh-899.
2012-10-24 23:35:15 -04:00
timmywil
37ffb29d37
Relativize all urls pertaining to dist/jquery.js so users can run their server from any file location; Make sure Sizzle is available for its tests in testrunner.
2012-06-04 18:04:11 -04:00
Rick Waldron
7c23b77af2
Strips IIFEs from modules; Always require built jQuery for tests.
2012-06-04 12:48:18 -04:00
Mike Sherov
dd900460ac
Fix #10902 . DRY up the ways to include src files in tests.
2012-01-11 21:35:13 -05:00
timmywil
25205d3f90
Removing topic.js as it will be a plugin
2011-09-19 15:42:30 -04:00
jaubourg
4092e3d275
$.Callbacks, $.Topic and notify/progress on $.Deferred.
2011-09-19 15:42:30 -04:00
timmywil
f9cc5597a4
Fix test cases for bug #8316 fix.
...
- Removed special page, just needed another test in the fixed offset tests
- Checks it's position related to scrolling
2011-03-31 02:55:16 -04:00
jeresig
7b985c4ca0
Oops, that test file for bug #8316 was needed - was also missing an include and was causing errors.
2011-03-24 19:52:45 -04:00
jaubourg
2d0bc7ce72
Moves Deferred-related code into a separate module. Context handling has been simplified in _Deferred.resolve and jQuery.when has been refactored for clarity (and minor optimization).
2011-03-03 19:38:06 +01:00
Alex Sexton
c50b74372c
Moved jQuery global leak to end of file so accidental gEBCN overrides in prototype don't get caught up in confusion. Fixed tests to reference jQuery variable instead of $ (best practice). Fixes #8033
2011-01-23 21:19:33 -06:00
Brandon Aaron
efea0f23f9
Merge branch 'master' of github.com:jquery/jquery
2010-03-23 22:40:38 -05:00
jeresig
96ea3d615e
Make sure the offset tests work without a built jQuery file.
2010-03-23 16:37:40 -04:00
Brandon Aaron
656fe92178
Fixed an issue with setting offset of absolutely positioned element that has no position values ("auto"). Fixes #5781 .
2010-03-22 20:11:37 -04:00
Brandon Aaron
daffb954e3
offset is now a setter
2009-09-15 19:15:04 +00:00
Brandon Aaron
5c21e44fce
new offset method, faster and no more browser detection
2008-11-10 02:39:03 +00:00
Brandon Aaron
2c2a6253e3
Updating unit tests for offset
2008-05-15 23:36:06 +00:00
Brandon Aaron
de6520b50e
Added some unit tests for position method. Fixed issue with position in IE.
2008-05-15 19:38:00 +00:00
Brandon Aaron
58c640fb1c
Added more unit tests for offset. Fixed an offset issue relating to table header cells in Opera
2007-12-12 16:55:55 +00:00
Brandon Aaron
c424e79ccb
Added another relative offset test
2007-12-04 21:29:28 +00:00
Brandon Aaron
4fc2971019
Added visual marker to absolute fixture for offset testing
2007-12-04 20:59:33 +00:00
Brandon Aaron
f576ceeea9
Beginnings of the offset test suite
2007-12-04 20:51:16 +00:00