Skip to content
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 with 1 addition and 1 deletion.
  1. +1 −1 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 ) {

2 comments on commit c0450f3


This comment has been minimized.

Copy link

@kflorence kflorence replied Apr 27, 2011

This broke my test suite in FF :(


This comment has been minimized.

Copy link

@timmywil timmywil replied Apr 28, 2011

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.