aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authortimmywil <tim.willison@thisismedium.com>2011-04-27 16:33:12 -0400
committertimmywil <tim.willison@thisismedium.com>2011-04-27 16:33:12 -0400
commitc0450f3c2aab7af902ccf4ba0537088fc26f065d (patch)
treecf17618849a97cd70f5d0dc4068a9d43fe28f041
parentb5772da08748edbf22d3a6134b1764a787231e8b (diff)
downloadjquery-c0450f3c2aab7af902ccf4ba0537088fc26f065d.tar.gz
jquery-c0450f3c2aab7af902ccf4ba0537088fc26f065d.zip
Correct the attachment of the p tag in the widows/orphans tests. Fixes test suite in IE8
-rw-r--r--test/unit/css.js2
1 files changed, 1 insertions, 1 deletions
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("<p>").appendTo("#main").end();
+ var $p = jQuery("<p>").appendTo("#qunit-fixture");
if ( "widows" in $p[0].style ) {
expect(4);