]> source.dussan.org Git - jquery.git/commitdiff
Correct the attachment of the p tag in the widows/orphans tests. Fixes test suite... 353/head
authortimmywil <tim.willison@thisismedium.com>
Wed, 27 Apr 2011 20:33:12 +0000 (16:33 -0400)
committertimmywil <tim.willison@thisismedium.com>
Wed, 27 Apr 2011 20:33:12 +0000 (16:33 -0400)
test/unit/css.js

index ba0fab9f3b8696dde11c5d08c333a97c40eb62de..1e4f9f9086643f4ebceee3229ddff8f046da937b 100644 (file)
@@ -397,7 +397,7 @@ test("jQuery.cssProps behavior, (bug #8402)", function() {
 
 test("widows & orphans #8936", function () {
 
-       var $p = jQuery("<p>").appendTo("#main").end();
+       var $p = jQuery("<p>").appendTo("#qunit-fixture");
 
        if ( "widows" in $p[0].style ) {
                expect(4);