diff options
Diffstat (limited to 'test/unit/css.js')
-rw-r--r-- | test/unit/css.js | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/test/unit/css.js b/test/unit/css.js index ec7758c34..3a106c04d 100644 --- a/test/unit/css.js +++ b/test/unit/css.js @@ -797,10 +797,13 @@ 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" ); -}); +testIframeWithCallback( "css('width') should work correctly before document ready (#14084)", + "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 ); |