mirror of
https://github.com/jquery/jquery.git
synced 2024-11-23 02:54:22 +00:00
Correct the attachment of the p tag in the widows/orphans tests. Fixes test suite in IE8
This commit is contained in:
parent
b5772da087
commit
c0450f3c2a
@ -397,7 +397,7 @@ test("jQuery.cssProps behavior, (bug #8402)", function() {
|
|||||||
|
|
||||||
test("widows & orphans #8936", 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 ) {
|
if ( "widows" in $p[0].style ) {
|
||||||
expect(4);
|
expect(4);
|
||||||
|
Loading…
Reference in New Issue
Block a user