mirror of
https://github.com/jquery/jquery.git
synced 2025-01-10 18:24:24 +00:00
support.boxSizingReliable in FF 23 should be true. Close gh-1288
This commit is contained in:
parent
d57c22ce1e
commit
16115c1d91
@ -29,7 +29,7 @@ testIframeWithCallback( "box-sizing does not affect jQuery.support.shrinkWrapBlo
|
|||||||
});
|
});
|
||||||
|
|
||||||
(function() {
|
(function() {
|
||||||
var expected,
|
var expected, version,
|
||||||
userAgent = window.navigator.userAgent;
|
userAgent = window.navigator.userAgent;
|
||||||
|
|
||||||
if ( /chrome/i.test( userAgent ) ) {
|
if ( /chrome/i.test( userAgent ) ) {
|
||||||
@ -118,6 +118,7 @@ testIframeWithCallback( "box-sizing does not affect jQuery.support.shrinkWrapBlo
|
|||||||
"pixelPosition": false
|
"pixelPosition": false
|
||||||
};
|
};
|
||||||
} else if ( /firefox/i.test( userAgent ) ) {
|
} else if ( /firefox/i.test( userAgent ) ) {
|
||||||
|
version = userAgent.match( /firefox\/(\d+)/i )[ 1 ];
|
||||||
expected = {
|
expected = {
|
||||||
"checkOn":true,
|
"checkOn":true,
|
||||||
"optSelected":true,
|
"optSelected":true,
|
||||||
@ -131,7 +132,7 @@ testIframeWithCallback( "box-sizing does not affect jQuery.support.shrinkWrapBlo
|
|||||||
"cors":true,
|
"cors":true,
|
||||||
"clearCloneStyle": true,
|
"clearCloneStyle": true,
|
||||||
"boxSizing": true,
|
"boxSizing": true,
|
||||||
"boxSizingReliable": false,
|
"boxSizingReliable": version >= 23,
|
||||||
"pixelPosition": true
|
"pixelPosition": true
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user