From: timmywil Date: Wed, 27 Apr 2011 20:33:12 +0000 (-0400) Subject: Correct the attachment of the p tag in the widows/orphans tests. Fixes test suite... X-Git-Tag: 1.6~13 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=refs%2Fpull%2F353%2Fhead;p=jquery.git Correct the attachment of the p tag in the widows/orphans tests. Fixes test suite in IE8 --- diff --git a/test/unit/css.js b/test/unit/css.js index ba0fab9f3..1e4f9f908 100644 --- a/test/unit/css.js +++ b/test/unit/css.js @@ -397,7 +397,7 @@ test("jQuery.cssProps behavior, (bug #8402)", function() { test("widows & orphans #8936", function () { - var $p = jQuery("

").appendTo("#main").end(); + var $p = jQuery("

").appendTo("#qunit-fixture"); if ( "widows" in $p[0].style ) { expect(4);