aboutsummaryrefslogtreecommitdiffstats
path: root/test/unit/css.js
diff options
context:
space:
mode:
Diffstat (limited to 'test/unit/css.js')
-rw-r--r--test/unit/css.js5
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 );