Commit e253c65b authored by Oleg's avatar Oleg

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

parent 3484a68c
...@@ -33,6 +33,7 @@ testIframeWithCallback( "box-sizing does not affect jQuery.support.shrinkWrapBlo ...@@ -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 ...@@ -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 = {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment