From 516f3cd7b5fd0e374b01843b5f78240feb03d959 Mon Sep 17 00:00:00 2001 From: Mike Sherov Date: Sun, 23 Oct 2011 15:31:50 -0400 Subject: Landing pull request 561. only check for not null in unit tests. Supplements #8388. More Details: - https://github.com/jquery/jquery/pull/561 - http://bugs.jquery.com/ticket/8388 --- test/unit/css.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/unit/css.js b/test/unit/css.js index 7e9509593..ff1bb2641 100644 --- a/test/unit/css.js +++ b/test/unit/css.js @@ -505,7 +505,7 @@ test("widows & orphans #8936", function () { test("can't get css for disconnected in IE<9, see #10254 and #8388", function() { expect( 2 ); var span = jQuery( "" ).css( "background-image", "url(http://static.jquery.com/files/rocker/images/logo_jquery_215x53.gif)" ); - equal( span.css( "background-image" ), "url(http://static.jquery.com/files/rocker/images/logo_jquery_215x53.gif)", "can't get background-image in IE<9, see #10254" ); + notEqual( span.css( "background-image" ), null, "can't get background-image in IE<9, see #10254" ); var div = jQuery( "
" ).css( "top", 10 ); equal( div.css( "top" ), "10px", "can't get top in IE<9, see #8388" ); -- cgit v1.2.3