diff options
author | jeresig <jeresig@gmail.com> | 2010-11-01 19:04:59 -0400 |
---|---|---|
committer | jeresig <jeresig@gmail.com> | 2010-11-01 19:04:59 -0400 |
commit | 9d1bfeb7ffe63b5a7488929b7be847bc1a00f6a6 (patch) | |
tree | a6b8215122edd2f73d137ac5c8a551ea588b4794 /test/unit/css.js | |
parent | e377621eaf85915b8459632cf2565e40e54d6c19 (diff) | |
download | jquery-9d1bfeb7ffe63b5a7488929b7be847bc1a00f6a6.tar.gz jquery-9d1bfeb7ffe63b5a7488929b7be847bc1a00f6a6.zip |
Make sure that accessing computed CSS for elements returns 'auto' instead of '' consistently. Fixes #7337.
Diffstat (limited to 'test/unit/css.js')
-rw-r--r-- | test/unit/css.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/unit/css.js b/test/unit/css.js index 4ec7c60ae..71f883508 100644 --- a/test/unit/css.js +++ b/test/unit/css.js @@ -13,8 +13,8 @@ test("css(String|Hash)", function() { var div = jQuery( "<div>" ); - equals( div.css("width"), "", "Width on disconnected node." ); - equals( div.css("height"), "", "Height on disconnected node." ); + equals( div.css("width"), "auto", "Width on disconnected node." ); + equals( div.css("height"), "auto", "Height on disconnected node." ); div.css({ width: 4, height: 4 }); |