diff options
author | Michał Gołębiowski <m.goleb@gmail.com> | 2013-08-22 00:33:57 +0200 |
---|---|---|
committer | Michał Gołębiowski <m.goleb@gmail.com> | 2013-09-05 18:26:21 +0200 |
commit | 776012b8b3898fad2e0727880f1dc4af5c7b33c1 (patch) | |
tree | c03730b064fb22a1e87f9ac93d6b24710f6fa0e7 /test/unit | |
parent | dfaee326e6605dc6d848c4c5022e39069d2cee65 (diff) | |
download | jquery-776012b8b3898fad2e0727880f1dc4af5c7b33c1.tar.gz jquery-776012b8b3898fad2e0727880f1dc4af5c7b33c1.zip |
Fix #14084: attach the test div to documentElement, not body.
Diffstat (limited to 'test/unit')
-rw-r--r-- | test/unit/css.js | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/test/unit/css.js b/test/unit/css.js index 82fd6828a..ec7758c34 100644 --- a/test/unit/css.js +++ b/test/unit/css.js @@ -797,6 +797,11 @@ test("css('width') and css('height') should respect box-sizing, see #11004", fun equal( el_dis.css("height"), el_dis.css("height", el_dis.css("height")).css("height"), "css('height') is not respecting box-sizing for disconnected element, see #11004"); }); +testIframeWithCallback( "css('width') should works correctly before document ready", "css/cssWidthBeforeDocReady.html", function( cssWidthBeforeDocReady ) { + expect( 1 ); + strictEqual( cssWidthBeforeDocReady, "100px", "elem.css('width') works correctly before document ready" ); +}); + test("certain css values of 'normal' should be convertable to a number, see #8627", function() { expect ( 2 ); |