git.asbjorn.biz
/
jquery.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Bug #8635 Firefox uncaught exception
[jquery.git]
/
test
/
unit
/
css.js
diff --git
a/test/unit/css.js
b/test/unit/css.js
index
555f135
..
8ae8fcb
100644
(file)
--- a/
test/unit/css.js
+++ b/
test/unit/css.js
@@
-333,3
+333,15
@@
test("internal ref to elem.runtimeStyle (bug #7608)", function () {
ok( result, "elem.runtimeStyle does not throw exception" );
});
ok( result, "elem.runtimeStyle does not throw exception" );
});
+
+test("marginRight computed style (bug #3333)", function() {
+ expect(1);
+
+ var $div = jQuery("#foo");
+ $div.css({
+ width: "1px",
+ marginRight: 0
+ });
+
+ equals($div.css("marginRight"), "0px");
+});