Skip to content

Commit 37d036a

Browse files
committed
Support: Add expected support results for Safari 7 & IE11
1 parent c11becb commit 37d036a

File tree

1 file changed

+32
-0
lines changed

1 file changed

+32
-0
lines changed

test/unit/support.js

Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -83,6 +83,22 @@ testIframeWithCallback( "Check CSP (https://developer.mozilla.org/en-US/docs/Sec
8383
"radioValue": false,
8484
"reliableMarginRight": true
8585
};
86+
} else if ( /trident\/7\.0/i.test( userAgent ) ) {
87+
expected = {
88+
"ajax": true,
89+
"boxSizingReliable": false,
90+
"checkClone": true,
91+
"checkOn": true,
92+
"clearCloneStyle": false,
93+
"cors": true,
94+
"focusinBubbles": true,
95+
"noCloneChecked": true,
96+
"optDisabled": true,
97+
"optSelected": false,
98+
"pixelPosition": true,
99+
"radioValue": false,
100+
"reliableMarginRight": true
101+
};
86102
} else if ( /msie 10\.0/i.test( userAgent ) ) {
87103
expected = {
88104
"ajax": true,
@@ -115,6 +131,22 @@ testIframeWithCallback( "Check CSP (https://developer.mozilla.org/en-US/docs/Sec
115131
"radioValue": false,
116132
"reliableMarginRight": true
117133
};
134+
} else if ( /7\.0\.\d+ safari/i.test( userAgent ) ) {
135+
expected = {
136+
"ajax": true,
137+
"boxSizingReliable": true,
138+
"checkClone": true,
139+
"checkOn": true,
140+
"clearCloneStyle": true,
141+
"cors": true,
142+
"focusinBubbles": false,
143+
"noCloneChecked": true,
144+
"optDisabled": true,
145+
"optSelected": true,
146+
"pixelPosition": false,
147+
"radioValue": true,
148+
"reliableMarginRight": true
149+
};
118150
} else if ( /6\.0\.\d+ safari/i.test( userAgent ) ) {
119151
expected = {
120152
"ajax": true,

0 commit comments

Comments
 (0)