Merge branch 'bug-3333' of https://github.com/rdworth/jquery into rdworth-bug-3333
This commit is contained in:
commit
1912ded3ee
3 changed files with 44 additions and 1 deletions
|
@ -333,3 +333,15 @@ test("internal ref to elem.runtimeStyle (bug #7608)", function () {
|
|||
|
||||
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");
|
||||
});
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue