"pixelPosition" should be "true" in 28 >= Chrome

This commit is contained in:
Oleg 2013-08-05 03:06:51 +04:00
parent 3484a68c16
commit e253c65b2d

View File

@ -33,6 +33,7 @@ testIframeWithCallback( "box-sizing does not affect jQuery.support.shrinkWrapBlo
userAgent = window.navigator.userAgent; userAgent = window.navigator.userAgent;
if ( /chrome/i.test( userAgent ) ) { if ( /chrome/i.test( userAgent ) ) {
version = userAgent.match( /chrome\/(\d+)/i )[ 1 ];
expected = { expected = {
"checkOn":true, "checkOn":true,
"optSelected":true, "optSelected":true,
@ -47,7 +48,7 @@ testIframeWithCallback( "box-sizing does not affect jQuery.support.shrinkWrapBlo
"clearCloneStyle": true, "clearCloneStyle": true,
"boxSizing": true, "boxSizing": true,
"boxSizingReliable": true, "boxSizingReliable": true,
"pixelPosition": false "pixelPosition": version >= 28
}; };
} else if ( /opera.*version\/12\.1/i.test( userAgent ) ) { } else if ( /opera.*version\/12\.1/i.test( userAgent ) ) {
expected = { expected = {