diff options
author | Michał Gołębiowski <m.goleb@gmail.com> | 2015-11-16 21:25:05 +0100 |
---|---|---|
committer | Michał Gołębiowski <m.goleb@gmail.com> | 2015-11-16 21:25:05 +0100 |
commit | 65d71843b7c37dbdba2cfcb1bc7055cb522c5af6 (patch) | |
tree | 1bd8f49ab2ee1741ad57588645a979340cd554be /test/unit/support.js | |
parent | ae88b3971c38e0d32a8b927d597426bb50263c6f (diff) | |
download | jquery-65d71843b7c37dbdba2cfcb1bc7055cb522c5af6.tar.gz jquery-65d71843b7c37dbdba2cfcb1bc7055cb522c5af6.zip |
Revert "Misc: Drop support for older browsers; update support comments"
This reverts commit 740e190223d19a114d5373758127285d14d6b71e.
Diffstat (limited to 'test/unit/support.js')
-rw-r--r-- | test/unit/support.js | 35 |
1 files changed, 34 insertions, 1 deletions
diff --git a/test/unit/support.js b/test/unit/support.js index 80ea58ef0..93fba8701 100644 --- a/test/unit/support.js +++ b/test/unit/support.js @@ -73,6 +73,23 @@ testIframeWithCallback( "radioValue": true, "reliableMarginLeft": true }; + } else if ( /opera.*version\/12\.1/i.test( userAgent ) ) { + expected = { + "ajax": true, + "boxSizingReliable": true, + "checkClone": true, + "checkOn": true, + "clearCloneStyle": true, + "cors": true, + "createHTMLDocument": true, + "focusin": false, + "noCloneChecked": true, + "optSelected": true, + "pixelMarginRight": true, + "pixelPosition": true, + "radioValue": false, + "reliableMarginLeft": false + }; } else if ( /(msie 10\.0|trident\/7\.0)/i.test( userAgent ) ) { expected = { "ajax": true, @@ -161,6 +178,22 @@ testIframeWithCallback( "radioValue": true, "reliableMarginLeft": true }; + } else if ( /5\.1(\.\d+|) safari/i.test( userAgent ) ) { + expected = { + "ajax": true, + "boxSizingReliable": true, + "checkClone": false, + "checkOn": false, + "clearCloneStyle": true, + "cors": true, + "focusinBubbles": false, + "noCloneChecked": true, + "optDisabled": true, + "optSelected": true, + "pixelPosition": false, + "radioValue": true, + "reliableMarginRight": true + }; } else if ( /firefox/i.test( userAgent ) ) { expected = { "ajax": true, @@ -212,7 +245,7 @@ testIframeWithCallback( "radioValue": true, "reliableMarginLeft": true }; - } else if ( /iphone os 7_/i.test( userAgent ) ) { + } else if ( /iphone os (?:6|7)_/i.test( userAgent ) ) { expected = { "ajax": true, "boxSizingReliable": true, |