Skip to content
Permalink
Browse files
Correct the attachment of the p tag in the widows/orphans tests. Fixe…
…s test suite in IE8
  • Loading branch information
timmywil committed Apr 27, 2011
1 parent b5772da commit c0450f3c2aab7af902ccf4ba0537088fc26f065d
Showing 1 changed file with 1 addition and 1 deletion.
@@ -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);

2 comments on commit c0450f3

@kflorence
Copy link

@kflorence kflorence commented on c0450f3 Apr 27, 2011

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This broke my test suite in FF :(

@timmywil
Copy link
Member

@timmywil timmywil commented on c0450f3 Apr 28, 2011

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

yes it did. This is doing the right thing though. It seems, in Firefox, the computed widows/orphans is different than what was set.

Please sign in to comment.