Commit Graph

67 Commits

Author SHA1 Message Date
Oleg Gaidarenko
2f0cedc997 Tests: further improvements QUnit 2.0 migration
* Remove QUnit jshint globals
* Extend QUnit.assert methods
* Use assert.async instead of start/stop/done

Ref b930d14ce6
Ref c8d15a2f9f
2015-09-08 04:15:54 +03:00
Oleg Gaidarenko
4543815eed Tests: Partially use new qunit interface
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 b930d14ce6
Fixes gh-2540
2015-09-07 20:14:59 +03:00
Oleg Gaidarenko
20ddbe4f59 Build: Update jscs and lint files
Ref 10fdad742a
Fixes gh-2056
2015-09-07 20:14:50 +03:00
Michał Gołębiowski
5fce498e42 Core: Adjust comments & tests after dropping Safari 6 support
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.

(cherry-picked from 93bee4701d)

Refs gh-2482
2015-07-27 22:19:57 +02:00
Michał Gołębiowski
23212b34e6 CSS: Make .css("width") & .css("height") return fractional values
Fixes gh-1724
Closes gh-2454
Refs gh-2439
2015-07-07 18:14:04 +02:00
Michał Gołębiowski
453738ab85 Core: Change support.ownLast to support.ownFirst
jQuery.support.ownLast was the only support test that was supposed
to be false when it succeeded. It was confusing.

Fixes gh-2406
Closes gh-2408
2015-06-23 00:33:51 +02:00
Michał Gołębiowski
1d052bdbe6 Tests: Remove Edge version from the user agent
The version will change in the future, matching by /edge\//i is enough

(cherry-picked from 5a1217e401)

Refs 8e111df641
2015-06-16 14:45:30 +02:00
Michał Gołębiowski
546593bdd2 Tests: Add Microsoft Edge results (from Windows 10 build 10130)
The Microsoft Edge user agent contains "Chrome" so it needs to be checked
before Chrome.

Refs 8e111df641
2015-06-14 02:09:34 +02:00
Michał Gołębiowski
ef332c7c7b Tests: Correct a typo in the regex matching Safari 8
(cherry-picked from c17543fd3c)
2015-06-14 02:05:05 +02:00
Oleg Gaidarenko
401a351bd2 Event: provide verbose info for focus(in | out) & rename support props
Ref c074006a69
Ref gh-2312
2015-05-19 13:46:34 +03:00
Michał Gołębiowski
25bc6809c5 CSS: Add a support test for the hack for .css('marginRight') etc.
This hack turns out to be needed by Android 4.0-4.3.

Add a support test so that the hack is invoked only where needed.

Refs 3747cc642a

Refs gh-1815
Refs gh-1820
Refs gh-1842
Closes gh-2061
2015-02-05 02:46:10 +01:00
Oleg Gaidarenko
3d77c2ee1e README: various text fixes
Thank you @essamjoubori, @bcbcb, @namlede

Ref 31b63fc236
2014-12-15 16:09:49 +03:00
Michał Gołębiowski
a4e31a8e2c Support: Correct iOS 8 support test results, re-arrange entries 2014-12-13 21:45:58 +01:00
Jason Bedard
9d1d90e7a2 Data: use removeAttribute in cleanData to bypass Chrome bug
Related:
https://code.google.com/p/chromium/issues/detail?id=378607

Fixes gh-1664
2014-12-10 11:47:54 -05:00
Timmy Willison
828a718aa0 Core: introduce createHTMLDocument in parseHTML; Safari 8/IE8 left out
Close gh-1506
2014-12-10 10:08:04 -05:00
Michał Gołębiowski
7e70867805 Support: Re-organize browser order, add Safari 8
Most browsers were put in order newest to oldest, Android was
treated differently; this has been fixed.

Also, browsers that share test results between different versions were
grouped together.

(refs 43faf6d1f9)
2014-12-09 21:10:31 +01:00
Michał Gołębiowski
90d7cc1d8b Misc: Drop support for older browsers; update support comments
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
2014-12-08 21:12:33 +01:00
Michał Gołębiowski
6b87914758 Support: Add Android support tests results 2014-03-31 23:07:24 +02:00
Michał Gołębiowski
10d7d5ce9d Css: change boxSizingReliable in IE<9.
Change boxSizingReliable test value to false in all IE versions.
Modify support comments to argument getComputedStyle guards
with oldIE support and not node.js which is not supported in 1.x.

Closes gh-1498
2014-03-21 08:30:41 -04:00
Michał Gołębiowski
412555a0b0 Support: Make the support matrix for iOS 6 match iOS 7 as well
(cherry-picked from 26ce217862)
2014-03-13 01:48:35 +01:00
Michał Gołębiowski
b5050dc489 Support: Simplify the box-sizing test
Don't require body in the support.boxSizing test.
2014-03-10 19:25:25 +01:00
Michał Gołębiowski
3c6cf3d62d Support: Add iOS6 support tests results 2014-01-27 21:26:06 +01:00
Dave Methvin
f345291209 Manipulation: Use textarea for missing IE defaultValue check
IE11 fixed the checkbox defaultValue issue but not textarea. Rather than
creating a new detect name I'm reusing the old one to protect anyone who
is unwisely using this externally. Re-fixing the defaultValue when it
doesn't need to be done is not a problem, so leave that code for IE11.

Fixes #14716
Closes gh-1495
2014-01-23 14:14:44 -05:00
Michał Gołębiowski
49b03cf702 Tests: Fix appendChecked support value for Safari 5.1 2014-01-22 22:33:22 +01:00
Michał Gołębiowski
838bbe6d43 Tests: fix Safari userAgent detection
(cherry-picked from 3f3f458974)
2014-01-22 21:49:53 +01:00
Michał Gołębiowski
8366f60c7e Support: Add expected support results for Safari 7 & IE11 2014-01-22 21:35:31 +01:00
Michał Gołębiowski
ef7f8f1ead No ticket. Remove version sniffing from test/unit/support.js, browsers got updated. 2013-11-11 00:43:18 +01:00
Oleg
9e3d0f3109 Fix #14422 and add more thorough check for CSP violations
Close gh-1413
2013-11-07 22:08:50 +01:00
Timmy Willison
1a9f8d9bb1 Fix more support tests (support.input should only be false in IE8 and checkClone as it is now used is fine in IE) 2013-09-11 17:23:17 -05:00
Timmy Willison
d092a88e85 Set the input type for firefox. Fix a support test. 2013-09-11 15:35:50 -05:00
Michał Gołębiowski
baa8dff023 Restore support for Firefox < 23, Chrome < 28 and Safari 5.1. 2013-09-11 03:36:18 +02:00
Michał Gołębiowski
ac0e7a1ba7 No ticket. Restore support for Safari 5.1 in test/unit/support.js for now. (cherry-picked from badcd1b6f3) 2013-09-07 02:31:04 +02:00
Michał Gołębiowski
badcd1b6f3 Fix #10814. Fix #14084. Make support tests lazy and broken out to components. 2013-09-06 03:40:49 +02:00
Timmy Willison
217cbb7109 AMD-ify jQuery sourcegit s! Woo! Fixes #14113, #14163.
Conflicts:
	Gruntfile.js
	README.md
	src/ajax.js
	src/ajax/xhr.js
	src/attributes.js
	src/core.js
	src/css.js
	src/data.js
	src/effects.js
	src/event.js
	src/manipulation.js
	src/offset.js
	src/selector-native.js
	src/traversing.js
	test/unit/core.js
	test/unit/data.js
2013-08-15 15:49:49 -04:00
Oleg
1e9d43c0be Support tests
* Check all the properties in jQuery.support
* Fix value of "pixelPosition" in new Chrome
2013-08-08 01:18:26 +04:00
Michał Gołębiowski
35784a8244 Fix #13743. Remove deprecated support.boxModel. Close gh-1231.
add myself to AUTHORS.txt
2013-04-17 23:21:39 -04:00
Brandon Johnson
58b8535d5d Fix #12199. Handle iteration over inherited properties in oldIE. Close
gh-1196.
2013-04-04 10:14:05 -04:00
Michał Gołębiowski
df7847bc25 Fix #13543. offsetWidth is wrong on non-1 zoom. Close gh-1218. 2013-04-03 22:08:46 -04:00
Dave Methvin
01fcdba208 Remove doesNotIncludeMarginInBodyOffset from support checks. 2013-04-03 21:44:40 -04:00
Richard Gibson
67a2e4eaac Ref #13316: Sync all test documents on full vs. minified source. 2013-02-08 00:20:33 -05:00
Dave Methvin
219a1935ee Fix #13089. Only apply zoom to IE6/7 body. 2013-02-03 13:54:38 -05:00
Oleg
ce67f0ce64 Ref #8908. Update IE9 css clone fix. Close gh-1120. 2013-01-08 01:50:18 +00:00
Oleg
efb139f7ad Do not perform support check for old Opera. Close gh-1097. 2012-12-20 23:38:19 -05:00
Oleg
c8c6ab6924 Fix #12569. Improve feature detect for event bubbling. Close gh-1076. 2012-12-20 22:08:32 -05:00
Richard Gibson
14e1501b89 Fix testing of no-ajax custom builds 2012-11-01 00:40:27 -04:00
Mike Petrovich
861476eb3f Fixes #11635, Explicit overflow:auto is overridden by inline overflow:hidden during animation, closes gh-981 2012-10-16 12:30:28 -04:00
Timmy Willison
cc172a862b Move deprecated.js to the bottom of the build to ensure nothing depends on a deprecated feature 2012-10-15 16:51:16 -04:00
Rick Waldron
e092b64195 Don't try to be dynamic, just get the damn job done. Expects = 30.
Signed-off-by: Rick Waldron <waldron.rick@gmail.com>
2012-10-15 16:04:02 -04:00
Rick Waldron
f3323901f9 Adds missing expect() call in test/unit/support.js, fixes failing IE tests 2012-10-15 14:09:03 -04:00
Mike Sherov
0f553ed0ca Fix #12282. IE has premature .readyState == "interactive". Close gh-901. 2012-08-20 08:16:07 -04:00