From e253c65b2dbcc376e8ef96c0b9197ec1f68103e4 Mon Sep 17 00:00:00 2001 From: Oleg Date: Mon, 5 Aug 2013 03:06:51 +0400 Subject: [PATCH] "pixelPosition" should be "true" in 28 >= Chrome --- test/unit/support.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/test/unit/support.js b/test/unit/support.js index ded7b46d..51d0abd6 100644 --- a/test/unit/support.js +++ b/test/unit/support.js @@ -33,6 +33,7 @@ testIframeWithCallback( "box-sizing does not affect jQuery.support.shrinkWrapBlo userAgent = window.navigator.userAgent; if ( /chrome/i.test( userAgent ) ) { + version = userAgent.match( /chrome\/(\d+)/i )[ 1 ]; expected = { "checkOn":true, "optSelected":true, @@ -47,7 +48,7 @@ testIframeWithCallback( "box-sizing does not affect jQuery.support.shrinkWrapBlo "clearCloneStyle": true, "boxSizing": true, "boxSizingReliable": true, - "pixelPosition": false + "pixelPosition": version >= 28 }; } else if ( /opera.*version\/12\.1/i.test( userAgent ) ) { expected = { -- 2.11.4.GIT