"style": true,
"submitBubbles": true
};
- } else if ( /trident\/7\.0/i.test( userAgent ) ) {
- expected = {
- "ajax": true,
- "boxSizingReliable": false,
- "changeBubbles": true,
- "checkClone": true,
- "checkOn": true,
- "clearCloneStyle": false,
- "cors": true,
- "cssFloat": true,
- "deleteExpando": true,
- "focusinBubbles": true,
- "html5Clone": true,
- "htmlSerialize": true,
- "input": true,
- "leadingWhitespace": true,
- "noCloneChecked": false,
- "noCloneEvent": true,
- "opacity": true,
- "optDisabled": true,
- "optSelected": false,
- "ownLast": false,
- "pixelPosition": true,
- "radioValue": false,
- "reliableHiddenOffsets": true,
- "reliableMarginRight": true,
- "style": true,
- "submitBubbles": true
- };
- } else if ( /msie 10\.0/i.test( userAgent ) ) {
+ } else if ( /(msie 10\.0|trident\/7\.0)/i.test( userAgent ) ) {
expected = {
"ajax": true,
"boxSizingReliable": false,
"style": false,
"submitBubbles": false
};
- } else if ( /7\.0(\.\d+|) safari/i.test( userAgent ) ) {
+ } else if ( /(6|7|8)\.0(\.\d+|) safari/i.test( userAgent ) ) {
expected = {
"ajax": true,
"boxSizingReliable": true,
"style": true,
"submitBubbles": true
};
- } else if ( /6\.0(\.\d+|) safari/i.test( userAgent ) ) {
+ } else if ( /firefox/i.test( userAgent ) ) {
expected = {
"ajax": true,
"boxSizingReliable": true,
"optDisabled": true,
"optSelected": true,
"ownLast": false,
- "pixelPosition": false,
+ "pixelPosition": true,
"radioValue": true,
"reliableHiddenOffsets": true,
"reliableMarginRight": true,
"style": true,
"submitBubbles": true
};
- } else if ( /firefox/i.test( userAgent ) ) {
+ } else if ( /iphone os/i.test( userAgent ) ) {
expected = {
"ajax": true,
"boxSizingReliable": true,
"optDisabled": true,
"optSelected": true,
"ownLast": false,
- "pixelPosition": true,
+ "pixelPosition": false,
"radioValue": true,
"reliableHiddenOffsets": true,
"reliableMarginRight": true,
"style": true,
"submitBubbles": true
};
- } else if ( /iphone os/i.test( userAgent ) ) {
+ } else if ( /android 4\.[0-3]/i.test( userAgent ) ) {
expected = {
"ajax": true,
"boxSizingReliable": true,
"changeBubbles": true,
- "checkClone": true,
- "checkOn": true,
+ "checkClone": false,
+ "checkOn": false,
"clearCloneStyle": true,
"cors": true,
"cssFloat": true,
"style": true,
"submitBubbles": true
};
- } else if ( /android 4\.[0-3]/i.test( userAgent ) ) {
- expected = {
- "ajax": true,
- "boxSizingReliable": true,
- "changeBubbles": true,
- "checkClone": false,
- "checkOn": false,
- "clearCloneStyle": true,
- "cors": true,
- "cssFloat": true,
- "deleteExpando": true,
- "focusinBubbles": false,
- "html5Clone": true,
- "htmlSerialize": true,
- "input": true,
- "leadingWhitespace": true,
- "noCloneChecked": true,
- "noCloneEvent": true,
- "opacity": true,
- "optDisabled": true,
- "optSelected": true,
- "ownLast": false,
- "pixelPosition": false,
- "radioValue": true,
- "reliableHiddenOffsets": true,
- "reliableMarginRight": true,
- "style": true,
- "submitBubbles": true
- };
}
if ( expected ) {