diff options
author | Michał Gołębiowski <m.goleb@gmail.com> | 2015-07-20 19:24:46 +0200 |
---|---|---|
committer | Michał Gołębiowski <m.goleb@gmail.com> | 2015-09-14 21:26:48 +0200 |
commit | ce3b4a62427c5a3a6669dcb8bf8e27a6287990d5 (patch) | |
tree | 2b50ed87d23df888f5fcc299d7108b23bdbc3e56 /test/unit/support.js | |
parent | 64fd7ef3d081b5c65d541237f73a4d89f0f0ad7b (diff) | |
download | jquery-ce3b4a62427c5a3a6669dcb8bf8e27a6287990d5.tar.gz jquery-ce3b4a62427c5a3a6669dcb8bf8e27a6287990d5.zip |
Ajax:Attributes:CSS:Manipulation: Reduce Android 2.3 support
Drop non-critical workarounds for Android 2.3.
Fixes gh-2483
Fixes gh-2505
Closes gh-2581
Diffstat (limited to 'test/unit/support.js')
-rw-r--r-- | test/unit/support.js | 58 |
1 files changed, 10 insertions, 48 deletions
diff --git a/test/unit/support.js b/test/unit/support.js index e53a5f0ec..8c6b0a28b 100644 --- a/test/unit/support.js +++ b/test/unit/support.js @@ -67,12 +67,10 @@ testIframeWithCallback( "createHTMLDocument": true, "focusin": false, "noCloneChecked": true, - "optDisabled": true, "optSelected": true, "pixelMarginRight": true, "pixelPosition": true, - "radioValue": true, - "reliableMarginRight": true + "radioValue": true }; } else if ( /(msie 10\.0|trident\/7\.0)/i.test( userAgent ) ) { expected = { @@ -85,12 +83,10 @@ testIframeWithCallback( "createHTMLDocument": true, "focusin": true, "noCloneChecked": false, - "optDisabled": true, "optSelected": false, "pixelMarginRight": true, "pixelPosition": true, - "radioValue": false, - "reliableMarginRight": true + "radioValue": false }; } else if ( /msie 9\.0/i.test( userAgent ) ) { expected = { @@ -103,12 +99,10 @@ testIframeWithCallback( "createHTMLDocument": true, "focusin": true, "noCloneChecked": false, - "optDisabled": true, "optSelected": false, "pixelMarginRight": true, "pixelPosition": true, - "radioValue": false, - "reliableMarginRight": true + "radioValue": false }; } else if ( /chrome/i.test( userAgent ) ) { @@ -124,12 +118,10 @@ testIframeWithCallback( "createHTMLDocument": true, "focusin": false, "noCloneChecked": true, - "optDisabled": true, "optSelected": true, "pixelMarginRight": true, "pixelPosition": true, - "radioValue": true, - "reliableMarginRight": true + "radioValue": true }; } else if ( /8\.0(\.\d+|) safari/i.test( userAgent ) ) { expected = { @@ -142,12 +134,10 @@ testIframeWithCallback( "createHTMLDocument": false, "focusin": false, "noCloneChecked": true, - "optDisabled": true, "optSelected": true, "pixelMarginRight": true, "pixelPosition": false, - "radioValue": true, - "reliableMarginRight": true + "radioValue": true }; } else if ( /7\.0(\.\d+|) safari/i.test( userAgent ) ) { expected = { @@ -160,12 +150,10 @@ testIframeWithCallback( "createHTMLDocument": true, "focusin": false, "noCloneChecked": true, - "optDisabled": true, "optSelected": true, "pixelMarginRight": true, "pixelPosition": false, - "radioValue": true, - "reliableMarginRight": true + "radioValue": true }; } else if ( /firefox/i.test( userAgent ) ) { expected = { @@ -178,12 +166,10 @@ testIframeWithCallback( "createHTMLDocument": true, "focusin": false, "noCloneChecked": true, - "optDisabled": true, "optSelected": true, "pixelMarginRight": true, "pixelPosition": true, - "radioValue": true, - "reliableMarginRight": true + "radioValue": true }; } else if ( /iphone os 8/i.test( userAgent ) ) { expected = { @@ -196,12 +182,10 @@ testIframeWithCallback( "createHTMLDocument": false, "focusin": false, "noCloneChecked": true, - "optDisabled": true, "optSelected": true, "pixelMarginRight": true, "pixelPosition": false, - "radioValue": true, - "reliableMarginRight": true + "radioValue": true }; } else if ( /iphone os (6|7)/i.test( userAgent ) ) { expected = { @@ -214,12 +198,10 @@ testIframeWithCallback( "createHTMLDocument": true, "focusin": false, "noCloneChecked": true, - "optDisabled": true, "optSelected": true, "pixelMarginRight": true, "pixelPosition": false, - "radioValue": true, - "reliableMarginRight": true + "radioValue": true }; } else if ( /android 4\.[0-3]/i.test( userAgent ) ) { expected = { @@ -232,30 +214,10 @@ testIframeWithCallback( "createHTMLDocument": true, "focusin": false, "noCloneChecked": true, - "optDisabled": true, "optSelected": true, "pixelMarginRight": false, "pixelPosition": false, - "radioValue": true, - "reliableMarginRight": true - }; - } else if ( /android 2\.3/i.test( userAgent ) ) { - expected = { - "ajax": true, - "boxSizingReliable": true, - "checkClone": true, - "checkOn": false, - "clearCloneStyle": false, - "cors": true, - "createHTMLDocument": true, - "focusin": false, - "noCloneChecked": true, - "optDisabled": false, - "optSelected": true, - "pixelMarginRight": true, - "pixelPosition": false, - "radioValue": true, - "reliableMarginRight": false + "radioValue": true }; } |