Commit Graph

84 Commits

Author SHA1 Message Date
Michał Gołębiowski
fba81c09cc Tests: Make the regex catching Safari 9.0/9.1 more resilient
The word boundary character will prevent iOS from being a false positive.

(cherry-picked from 7f2ebd2c4d)
2016-05-02 23:33:07 +02:00
Michał Gołębiowski
9d41fc1466 Tests: take Safari 9.1 into account
Safari 9.1 shares its support test results with Safari 9.0 but it's been
excluded from the regex catching Safari 9.0. This has been fixed.

(cherry-picked from 234a2d8280)
2016-05-02 22:50:25 +02:00
Michał Gołębiowski
6403cf614f Core: drop the document.implementation.createHTMLDocument usage
The document.implementation.createHTMLDocument("") method creates inert
documents which is good but using it has introduced issues around anchor
elements href property not resolving according to the current document.
Because of that, this patch is getting backed out on 1.x/2.x branches.

(cherry-picked from c5c3073531)

Refs cfe468f29c
Refs gh-1505
Fixes gh-2941
2016-03-02 12:34:06 +01:00
Zack Hall
e456c30a2d Tests: Set Edge's expected support for clearCloneStyle to true
This is done for a version 13 or newer as the bug still exists in Edge
12.

(cherry-picked from 28f0329a02)

Closes gh-2857
2016-02-13 20:45:58 +01:00
Michał Gołębiowski
704de8180f Tests: Disable/relax a few tests failing in Android 2.3
Fixes gh-1785
2016-01-07 23:07:58 +01:00
Timmy Willison
d224acbe47 Tests: fix support values for android 2016-01-07 10:57:03 -05:00
Timmy Willison
1f85ded204 Effects: add back support.shrinkWrapBlocks() for ie6 2016-01-06 16:24:22 -05:00
Timmy Willison
729c75f4ff Tests: fix support tests in ie9 2016-01-06 14:13:29 -05:00
Timmy Willison
77f9b1e803 CSS: fix reliableHiddenOffsets support test for IE6-7 2016-01-06 14:05:18 -05:00
Timmy Willison
e3c8968509 Revert "Misc: Drop support for older browsers; update support comments"
This reverts commit 90d7cc1d8b.
2016-01-06 14:05:11 -05:00
Oleg Gaidarenko
14eba98c8f Build: code style fixes after all those reverts 2015-12-22 18:51:04 +03:00
Oleg Gaidarenko
7f21e19bed Revert "CSS: Make .css("width") & .css("height") return fractional values"
This reverts commit 23212b34e6.
2015-12-22 15:03:44 +03:00
Michał Gołębiowski
83391859bd Tests: Make regexes for iOS devices more rigid 2015-10-30 19:19:01 +01:00
Michał Gołębiowski
602c34d45b Tests: Remove Safari 7.0 & iOS 6 support tests results 2015-10-30 19:18:43 +01:00
Michał Gołębiowski
dec9ab9d3f Tests: Add iOS 9 support tests results 2015-10-30 19:18:20 +01:00
Michał Gołębiowski
99f41c23fd Tests: Add Safari 9 support tests results
Refs e99a3ac706
2015-10-18 17:31:50 -04:00
Richard Gibson
214e1634ab CSS: Correct misrepresentation of "auto" horizontal margins as 0
Fixes gh-2237
Closes gh-2276
2015-10-18 15:35:18 -04:00
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