Permalink
1 comment
on commit
sign in to comment.
Browse files
CSS: Correctly set support properties with non-default zoom
- Loading branch information...
Showing
with
42 additions
and 3 deletions.
- +7 −3 src/css/support.js
- +26 −0 test/data/css/cssWidthBrowserZoom.html
- +9 −0 test/unit/css.js
| @@ -0,0 +1,26 @@ | ||
| +<!DOCTYPE html> | ||
| +<html> | ||
| +<head> | ||
| + <meta charset="utf-8"> | ||
| + <style> | ||
| + html { | ||
| + zoom: 1.1; | ||
| + } | ||
| + #test { | ||
| + width: 100px; | ||
| + height: 100px; | ||
| + padding: 10px; | ||
| + border: 1px solid pink; | ||
| + box-sizing: border-box; | ||
| + } | ||
| + </style> | ||
| +</head> | ||
| +<body> | ||
| +<div id="test"></div> | ||
| +<script src="../../jquery.js"></script> | ||
| +<script src="../iframeTest.js"></script> | ||
| +<script> | ||
| + startIframeTest( jQuery( "#test" ).css( 'width' ) ); | ||
| +</script> | ||
| +</body> | ||
| +</html> |
patrickabkarian commented onDec 6, 2017
f00a075delete the test files