Commit 516f3cd7 authored by Mike Sherov's avatar Mike Sherov Committed by timmywil

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
parent a6bec461
...@@ -505,7 +505,7 @@ test("widows & orphans #8936", function () { ...@@ -505,7 +505,7 @@ test("widows & orphans #8936", function () {
test("can't get css for disconnected in IE<9, see #10254 and #8388", function() { test("can't get css for disconnected in IE<9, see #10254 and #8388", function() {
expect( 2 ); expect( 2 );
var span = jQuery( "<span/>" ).css( "background-image", "url(http://static.jquery.com/files/rocker/images/logo_jquery_215x53.gif)" ); var span = jQuery( "<span/>" ).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( "<div/>" ).css( "top", 10 ); var div = jQuery( "<div/>" ).css( "top", 10 );
equal( div.css( "top" ), "10px", "can't get top in IE<9, see #8388" ); equal( div.css( "top" ), "10px", "can't get top in IE<9, see #8388" );
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment