Skip to content

Commit cfe95a8

Browse files
gibson042rwaldron
authored andcommitted
fix failure from bad markup leaving an element behind. Closes jquerygh-946
1 parent 71c1725 commit cfe95a8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/unit/css.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -564,7 +564,7 @@ test("show() resolves correct default display #10227", function() {
564564
expect(2);
565565

566566
jQuery("html").append(
567-
"<p id='ddisplay'>a<style>body{display:none}</style><p>"
567+
"<p id='ddisplay'>a<style>body{display:none}</style></p>"
568568
);
569569

570570
equal( jQuery("body").css("display"), "none", "Initial display: none" );

0 commit comments

Comments
 (0)