aboutsummaryrefslogtreecommitdiffstats
path: root/test/data/support
diff options
context:
space:
mode:
authorMichał Gołębiowski <m.goleb@gmail.com>2013-03-04 05:20:25 +0100
committerDave Methvin <dave.methvin@gmail.com>2013-04-03 21:00:38 -0400
commit8db7d6f20b4226994e88d1cd9243743c492773f5 (patch)
treecd105375c138f6830062188c50bf2a942e736e19 /test/data/support
parent1205103a72db407bfbc0de3d9b78f1fd6a02520c (diff)
downloadjquery-8db7d6f20b4226994e88d1cd9243743c492773f5.tar.gz
jquery-8db7d6f20b4226994e88d1cd9243743c492773f5.zip
Fix #13543. offsetWidth is wrong on non-1 zoom. Close gh-1194.
Diffstat (limited to 'test/data/support')
-rw-r--r--test/data/support/boxSizing.html19
1 files changed, 19 insertions, 0 deletions
diff --git a/test/data/support/boxSizing.html b/test/data/support/boxSizing.html
new file mode 100644
index 000000000..2da883dc6
--- /dev/null
+++ b/test/data/support/boxSizing.html
@@ -0,0 +1,19 @@
+<!DOCTYPE html>
+<html>
+<head>
+ <meta charset="utf-8">
+ <style>
+ body {
+ zoom: 0.87;
+ }
+ </style>
+</head>
+<body>
+<script src="../../jquery.js"></script>
+<script>
+ jQuery(function() {
+ window.parent.iframeCallback( jQuery.support.boxSizing );
+ });
+</script>
+</body>
+</html>