Revert "Merge branch '8099' of https://github.com/rwldrn/jquery into rwldrn-8099"

This reverts commit bb9408516a, reversing
changes made to 3ad8dd242a.

Conflicts:

	src/effects.js
This commit is contained in:
Anton M 2011-02-15 22:30:34 +01:00
parent 6b08d88d04
commit faa6fe32f7
3 changed files with 2 additions and 42 deletions

View file

@ -109,6 +109,3 @@ 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; }

12
test/unit/effects.js vendored
View file

@ -162,18 +162,6 @@ 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();