mirror of
https://github.com/jquery/jquery.git
synced 2024-11-23 02:54:22 +00:00
Tests: Add test results for Safari 10/iOS 10, remove for Safari 8
This commit is contained in:
parent
b5d09b90ca
commit
223ed99f4a
@ -130,7 +130,7 @@ testIframe(
|
||||
"radioValue": true,
|
||||
"reliableMarginLeft": true
|
||||
};
|
||||
} else if ( /\b9\.\d(\.\d+)* safari/i.test( userAgent ) ) {
|
||||
} else if ( /\b(?:9|10)\.\d(\.\d+)* safari/i.test( userAgent ) ) {
|
||||
expected = {
|
||||
"ajax": true,
|
||||
"boxSizingReliable": true,
|
||||
@ -147,23 +147,6 @@ testIframe(
|
||||
"radioValue": true,
|
||||
"reliableMarginLeft": true
|
||||
};
|
||||
} else if ( /8\.0(\.\d+|) safari/i.test( userAgent ) ) {
|
||||
expected = {
|
||||
"ajax": true,
|
||||
"boxSizingReliable": true,
|
||||
"checkClone": true,
|
||||
"checkOn": true,
|
||||
"clearCloneStyle": true,
|
||||
"cors": true,
|
||||
"createHTMLDocument": false,
|
||||
"focusin": false,
|
||||
"noCloneChecked": true,
|
||||
"optSelected": true,
|
||||
"pixelMarginRight": true,
|
||||
"pixelPosition": false,
|
||||
"radioValue": true,
|
||||
"reliableMarginLeft": true
|
||||
};
|
||||
} else if ( /firefox/i.test( userAgent ) ) {
|
||||
expected = {
|
||||
"ajax": true,
|
||||
@ -181,7 +164,7 @@ testIframe(
|
||||
"radioValue": true,
|
||||
"reliableMarginLeft": false
|
||||
};
|
||||
} else if ( /iphone os 9_/i.test( userAgent ) ) {
|
||||
} else if ( /iphone os (?:9|10)_/i.test( userAgent ) ) {
|
||||
expected = {
|
||||
"ajax": true,
|
||||
"boxSizingReliable": true,
|
||||
|
Loading…
Reference in New Issue
Block a user