aboutsummaryrefslogtreecommitdiffstats
path: root/test/unit
diff options
context:
space:
mode:
authorOleg <markelog@gmail.com>2013-08-05 03:06:51 +0400
committerOleg <markelog@gmail.com>2013-08-08 01:18:01 +0400
commite253c65b2dbcc376e8ef96c0b9197ec1f68103e4 (patch)
tree116297397a5e0d53d5e772463090f5ad5e074ceb /test/unit
parent3484a68c16f8461fc3493450e916f5b9e8ad5df7 (diff)
downloadjquery-e253c65b2dbcc376e8ef96c0b9197ec1f68103e4.tar.gz
jquery-e253c65b2dbcc376e8ef96c0b9197ec1f68103e4.zip
"pixelPosition" should be "true" in 28 >= Chrome
Diffstat (limited to 'test/unit')
-rw-r--r--test/unit/support.js3
1 files changed, 2 insertions, 1 deletions
diff --git a/test/unit/support.js b/test/unit/support.js
index ded7b46de..51d0abd6d 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 = {