aboutsummaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authortimmywil <tim.willison@thisismedium.com>2011-04-11 23:59:12 -0400
committertimmywil <tim.willison@thisismedium.com>2011-04-11 23:59:12 -0400
commit98da6b13bcc77dc117c68686ef4ed305bd83d400 (patch)
treef455e1879c375ef87df876e6962b1c101a6313b5 /test
parent2b70893928035d53f46575003197e4a1fa52a844 (diff)
downloadjquery-98da6b13bcc77dc117c68686ef4ed305bd83d400.tar.gz
jquery-98da6b13bcc77dc117c68686ef4ed305bd83d400.zip
Fixes unit/css.js test fail in Safari 5. support.js test was passing erroneously due to the body to which the div was attached having a width of 0
Diffstat (limited to 'test')
-rw-r--r--test/unit/css.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/unit/css.js b/test/unit/css.js
index 08f50ef25..b94c6a8d1 100644
--- a/test/unit/css.js
+++ b/test/unit/css.js
@@ -375,5 +375,5 @@ test("marginRight computed style (bug #3333)", function() {
marginRight: 0
});
- equals($div.css("marginRight"), "0px");
+ equals($div.css("marginRight"), "0px", "marginRight correctly calculated with a width and display block");
});