Ticket 8099, Reattempt with iframe
This commit is contained in:
parent
f19a74f10b
commit
7164615f67
3 changed files with 45 additions and 4 deletions
|
@ -109,3 +109,6 @@ div#show-tests * { display: none; }
|
|||
#nothiddendiv { font-size: 16px; }
|
||||
#nothiddendivchild.em { font-size: 2em; }
|
||||
#nothiddendivchild.prct { font-size: 150%; }
|
||||
|
||||
/* 8099 changes to default styles are read correctly */
|
||||
tt { display: none; }
|
||||
|
|
13
test/unit/effects.js
vendored
13
test/unit/effects.js
vendored
|
@ -162,6 +162,19 @@ test("Persist correct display value", function() {
|
|||
});
|
||||
});
|
||||
|
||||
test("show() resolves correct default display #8099", function() {
|
||||
expect(3);
|
||||
var bug8099 = jQuery("<tt/>").appendTo("#main");
|
||||
|
||||
equals( bug8099.css("display"), "none", "default display override for all tt" );
|
||||
equals( bug8099.show().css("display"), "inline", "Correctly resolves display:inline" );
|
||||
|
||||
bug8099.remove();
|
||||
|
||||
equals( jQuery("#foo").hide().show().css("display"), "block", "Correctly resolves display:block after hide/show" );
|
||||
});
|
||||
|
||||
|
||||
test("animate(Hash, Object, Function)", function() {
|
||||
expect(1);
|
||||
stop();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue