Commit cfe95a86 authored by Richard Gibson's avatar Richard Gibson Committed by Rick Waldron

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

parent 71c17257
......@@ -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" );
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment