Skip to content
Browse files

fix failure from bad markup leaving an element behind. Closes gh-946

  • Loading branch information...
1 parent 71c1725 commit cfe95a864330c45c2bf93ca4a89d84c01f5acff5 @gibson042 gibson042 committed with rwaldron Oct 5, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 test/unit/css.js
View
2 test/unit/css.js
@@ -564,7 +564,7 @@ test("show() resolves correct default display #10227", function() {
expect(2);
jQuery("html").append(
- "<p id='ddisplay'>a<style>body{display:none}</style><p>"
+ "<p id='ddisplay'>a<style>body{display:none}</style></p>"
);
equal( jQuery("body").css("display"), "none", "Initial display: none" );

0 comments on commit cfe95a8

Please sign in to comment.
Something went wrong with that request. Please try again.