mirror of
https://github.com/jquery/jquery.git
synced 2026-05-13 03:00:12 -04:00
Fix #13543. offsetWidth is wrong on non-1 zoom. Close gh-1218.
This commit is contained in:
committed by
Dave Methvin
parent
01fcdba208
commit
df7847bc25
19
test/data/support/boxSizing.html
Normal file
19
test/data/support/boxSizing.html
Normal file
@@ -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>
|
||||
Reference in New Issue
Block a user