CSS: Correctly set support properties with non-default zoom

Fixes gh-3808
Closes gh-3872
This commit is contained in:
Saptak Sengupta
2017-12-06 10:29:54 +05:30
committed by Richard Gibson
parent 0aa832afec
commit f00a07590e
3 changed files with 42 additions and 3 deletions

View File

@@ -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" ),