Commit Graph

5717 Commits

Author SHA1 Message Date
Oleg Gaidarenko
708764f47b Effects: Improve raf logic
* Make animation behave as if jQuery.fx.off = true if document is hidden

* Use cancelAnimationFrame in jQuery.fx.stop

Closes gh-1578
2014-06-16 03:08:46 +04:00
Oleg Gaidarenko
72119e0023 Effects: Reintroduce use of requestAnimationFrame
Same as before, just use don't use prefixes, since they pretty match useless now
and use page visibility API to determine if animation should start.

Also null the requestAnimationFrame attribute in window for tests since
sinon does not provide fake method for it.

Fixes #15147
2014-06-16 03:08:46 +04:00
Oleg Gaidarenko
bbdfbb4ee8 Ajax: Always use script injection in globalEval
Fixes #14757
Closes gh-1449
2014-06-16 03:08:46 +04:00
Oleg Gaidarenko
e488d985cf CSS: Do not throw on frame elements in FF
IE9-10 throws on elements created in popups (see #14150), FF meanwhile throws
on frame elements through "defaultView.getComputedStyle" (see #15098)

Use "defaultView" if in the popup which would fix IE issue,
use "window.getComputedStyle" which would fix FF issue.

And everybody wins, except performance, but who cares right?

Fixes #15098
Closes gh-1583
2014-06-16 03:08:26 +04:00
Dave Methvin
d837f119c3 Support: clean up comments and Support notation
Closes gh-1577
2014-06-10 23:28:14 -04:00
Richard Gibson
ff9dcfb0c4 Tests: Clean up isNumeric tests
(cherry picked from commit d05f4bda1c)
2014-06-07 14:35:01 -04:00
Richard Gibson
e1192af872 Core: Work around loss of precision from parseFloat
Fixes #15100
(cherry picked from commit b6e99eb43c)
2014-06-07 14:35:01 -04:00
TJ VanToll
c18c6229c8 Wrap: Declare a dependency on the manipulation module
Fixes #15121
Closes gh-1589
2014-06-02 16:43:46 -04:00
TJ VanToll
d41e81980e Ajax: Support usage without jQuery.event
Fixes #15118
Closes gh-1588
2014-06-02 15:08:40 -04:00
Timmy Willison
97c803acfb Ajax: move ajax event aliases to their own file
Fixes #15126
2014-06-02 12:39:11 -04:00
Oleg Gaidarenko
3b9057a18d Selector: Use jQuery reference not Sizzle 2014-05-29 21:54:45 +04:00
Oleg Gaidarenko
efc4f8d781 Selector: Fix test iframe submission for firefox
Ref jquery/sizzle@20fbadb087
2014-05-29 21:45:59 +04:00
Timmy Willison
1d931068d3 Release: ensure Sizzle is the latest tag
Fixes #14915
2014-05-23 13:49:57 -04:00
Timmy Willison
b80700c75f Build: run jshint and jscs on release scripts 2014-05-23 13:01:03 -04:00
Timmy Willison
97cbab51e2 Build: update AUTHORS.txt 2014-05-23 13:00:55 -04:00
Oleg Gaidarenko
10024c2582 Effects: Remove needless operations in tests 2014-05-09 04:11:27 +04:00
Michał Gołębiowski
787562247b Ajax, Manipulation: don't test cross-document manip in Android 2.3 2014-05-05 15:45:57 +02:00
Michał Gołębiowski
da148f158f Core: Correct the number of expected tests 2014-05-02 16:03:52 +02:00
Liang Peng
69d4a48ff6 Core: Remove repeated test
Closes gh-1570
2014-05-02 15:49:28 +02:00
Dave Methvin
2f46ac8091 Bower: Update project version to 2.1.2-pre 2014-05-01 16:42:42 -04:00
Dave Methvin
568f3dd846 Build: Updating the master version to 2.1.2-pre. 2014-05-01 13:15:13 -04:00
Dave Methvin
b8133e282c Data: Work around IE11 bug with onpageshow attribute
Fixes #14894
2014-04-30 10:46:26 -04:00
Oleg Gaidarenko
c34dbf5a8d Effects: Respect display value on inline elements
Take "olddisplay" value into the account

Fixes #14824
Closes gh-1566
Ref 73fe17299a
2014-04-30 17:05:48 +04:00
Oleg Gaidarenko
bbace100a3 Build: Spaces vs tabs
* Use tabs instead of spaces in jscs config

* Always use spaces in package.json (really hope this is temporary)
2014-04-24 23:42:18 +04:00
Dave Methvin
04ddc4a44b Build: Add "browser" keyword for npm 2014-04-23 12:05:12 -04:00
Oleg Gaidarenko
1514dca501 Build: Remove json check for jscs config 2014-04-23 20:02:06 +04:00
Richard Gibson
90b43de212 Selector: Update Sizzle to 1.10.19
Fixes #14901
Fixes #14793
2014-04-18 17:17:51 -04:00
Michał Gołębiowski
def4841cfa Css: Use only positive integers as values for widows/orphans
According to http://www.w3.org/TR/CSS2/page.html#propdef-orphans, widows
and orphans can take only positive integer values. Together with a Chrome 34
regression this caused the test to fail.

Fixes #15016
Closes gh-1563
2014-04-18 16:21:21 +02:00
Christian Kosmowski
1ca84214cc Dimensions: Reverse a check to avoid potential reflows
Fixes #14979
Closes gh-1560
2014-04-18 10:00:42 -04:00
Scott González
4bd2830636 Build: Update version from pre to -pre
Ref jquery/jquery-release#61
Fixes #15020
Closes gh-1561
2014-04-17 15:15:51 -04:00
Michał Gołębiowski
d0131da70e Build: Remove Sizzle from run names passed to the testswarm task 2014-04-15 16:38:23 +02:00
Oleg Gaidarenko
b7283d738e Build: Update jscsrc
* Update "grunt-jscs-checker" package

* Use ".jscsrc" file instead of old ".jscs.json"

* Use jquery preset instead of explicitly defining all the jscs rules
2014-04-15 18:08:18 +04:00
Oleg Gaidarenko
95dfcc50ed Build: Fix code style issue
Remove needless empty line character
2014-04-15 18:06:18 +04:00
Oleg Gaidarenko
f3b89ba082 Tests: Fix failing ajax tests in oldIE
(cherry-picked from the 7178096507)

Picked up so tests from the 1.x-master would be more similar to this branch
2014-04-15 17:46:00 +04:00
Oleg Gaidarenko
1dedd3185e Tests: Bring back some of the clean-up logic 2014-04-15 17:46:00 +04:00
Oleg Gaidarenko
4f14bea2c2 Tests: Remove unused variables 2014-04-15 17:46:00 +04:00
Oleg Gaidarenko
80ea65edf7 Tests: Copy some Sizzle combinators tests 2014-04-15 17:45:59 +04:00
Oleg Gaidarenko
8084ab24bc Tests: Add more tests for Sizzle attributes 2014-04-15 17:45:59 +04:00
Oleg Gaidarenko
d7af36676b Tests: Add test for selectors with commas 2014-04-15 17:45:59 +04:00
Oleg Gaidarenko
3115d4c92d Tests: Copy Sizzle.uniqueSort tests 2014-04-15 17:45:59 +04:00
Oleg Gaidarenko
c63d1da7cd Tests: Copy Sizzle.contains tests 2014-04-15 17:45:59 +04:00
Oleg Gaidarenko
81aa237ee1 Tests: Move some of the Sizzle tests to selector 2014-04-15 17:45:59 +04:00
Oleg Gaidarenko
9475e31d32 Tests: Do global clean up in teardown function 2014-04-15 17:45:59 +04:00
Oleg Gaidarenko
cd546aba74 Tests: Improve jsonp tests
Since global variable for callback always would be equal to undefined value
it better to check for boolean instead
2014-04-15 17:45:59 +04:00
Oleg Gaidarenko
ebbbe965b8 Tests: Correct logic of a broken assertion 2014-04-15 17:45:59 +04:00
Oleg Gaidarenko
9d79b99874 Build: Add lint task 2014-04-15 17:45:59 +04:00
Oleg Gaidarenko
3dee2983ab Build: Use jscs to check test helpers
Also fix issues found by jscs
2014-04-15 17:45:59 +04:00
Oleg Gaidarenko
8e5d1caf7a Tests: More improvments for testrunner
Conform to style guide and simplify it
2014-04-15 17:45:58 +04:00
Oleg Gaidarenko
92cff8b1a3 Tests: Remove Sizzle intergration tests
Fixes #14818
2014-04-15 17:45:58 +04:00
Oleg Gaidarenko
a7c9facc35 Tests: Simplify globals cleanup 2014-04-15 17:45:58 +04:00