diff options
author | Richard Gibson <richard.gibson@gmail.com> | 2018-05-07 09:28:18 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-05-07 09:28:18 -0400 |
commit | 821bf34353a6baf97f7944379a6459afb16badae (patch) | |
tree | b73590cdb3332b5dd52265dd7d9dfd5c6d684e1b /test/data | |
parent | f8c1e9020c8fd0f0bb83019bfb12e9a7099599b2 (diff) | |
download | jquery-821bf34353a6baf97f7944379a6459afb16badae.tar.gz jquery-821bf34353a6baf97f7944379a6459afb16badae.zip |
CSS: Correctly detect scrollbox support with non-default zoom
Fixes gh-4029
Closes gh-4030
Diffstat (limited to 'test/data')
-rw-r--r-- | test/data/css/cssWidthBrowserZoom.html | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/test/data/css/cssWidthBrowserZoom.html b/test/data/css/cssWidthBrowserZoom.html index 99f87ea29..133daf622 100644 --- a/test/data/css/cssWidthBrowserZoom.html +++ b/test/data/css/cssWidthBrowserZoom.html @@ -7,6 +7,7 @@ zoom: 1.1; } #test { + position: absolute; width: 100px; height: 100px; padding: 10px; @@ -20,7 +21,10 @@ <script src="../../jquery.js"></script> <script src="../iframeTest.js"></script> <script> - startIframeTest( jQuery( "#test" ).css( 'width' ) ); + startIframeTest( + jQuery( "#test" ).css( 'width' ), + jQuery( "#test" ).css( 'width', '100px' ).css( 'width' ) + ); </script> </body> </html> |