diff options
author | timmywil <timmywillisn@gmail.com> | 2012-07-02 11:30:22 -0400 |
---|---|---|
committer | timmywil <timmywillisn@gmail.com> | 2012-07-02 11:34:26 -0400 |
commit | b418fa1f0937b5c92085778b0e935f94dcf46dbd (patch) | |
tree | 58dbddd71e008891025ec441603bc7965bb19e62 /test/unit/css.js | |
parent | f71a6ec6cfe3f748a939eaa109e92b8a9bdac6cc (diff) | |
download | jquery-b418fa1f0937b5c92085778b0e935f94dcf46dbd.tar.gz jquery-b418fa1f0937b5c92085778b0e935f94dcf46dbd.zip |
UPDATE SIZZLE: completed rewrite for better things!
Remove reverse in traversing for comma selectors. Sizzle's handling of commas is now more consistent.
Diffstat (limited to 'test/unit/css.js')
-rw-r--r-- | test/unit/css.js | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/test/unit/css.js b/test/unit/css.js index d968775e0..208353777 100644 --- a/test/unit/css.js +++ b/test/unit/css.js @@ -547,14 +547,17 @@ test( "show() resolves correct default display, detached nodes (#10006)", functi div = jQuery("<div>"); div.show().appendTo("#qunit-fixture"); ok( !!div.get( 0 ).style.display, "Make sure not hidden div has a inline style." ); + div.remove(); div = jQuery( document.createElement("div") ); div.show().appendTo("#qunit-fixture"); equal( div.css("display"), "block", "Make sure a pre-created element has default display." ); + div.remove(); div = jQuery("<div style='display: inline'/>"); div.show().appendTo("#qunit-fixture"); equal( div.css("display"), "inline", "Make sure that element has same display when it was created." ); + div.remove(); }); test("toggle()", function() { |