diff options
author | Saptak Sengupta <saptak013@gmail.com> | 2017-12-06 10:29:54 +0530 |
---|---|---|
committer | Richard Gibson <richard.gibson@gmail.com> | 2017-12-05 23:59:54 -0500 |
commit | f00a07590e67777f4e6b8f452059b116d922a623 (patch) | |
tree | 698a3e5e4001cd32ac65d2c8115a7efc13a550ad /test/unit/css.js | |
parent | 0aa832afec04215ed5e14b1cc5fc287ad7939792 (diff) | |
download | jquery-f00a07590e67777f4e6b8f452059b116d922a623.tar.gz jquery-f00a07590e67777f4e6b8f452059b116d922a623.zip |
CSS: Correctly set support properties with non-default zoom
Fixes gh-3808
Closes gh-3872
Diffstat (limited to 'test/unit/css.js')
-rw-r--r-- | test/unit/css.js | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/test/unit/css.js b/test/unit/css.js index 285ad2ef0..2ca72c1aa 100644 --- a/test/unit/css.js +++ b/test/unit/css.js @@ -1164,6 +1164,15 @@ testIframe( } ); +testIframe( + "css('width') should work correctly with browser zooming", + "css/cssWidthBrowserZoom.html", + function( assert, jQuery, window, document, cssWidthBrowserZoom ) { + assert.expect( 1 ); + assert.strictEqual( cssWidthBrowserZoom, "100px", "elem.css('width') works correctly with browser zoom" ); + } +); + ( function() { var supportsFractionalGBCR, qunitFixture = document.getElementById( "qunit-fixture" ), |