mirror of
https://github.com/jquery/jquery.git
synced 2024-11-23 02:54:22 +00:00
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
This commit is contained in:
parent
a6bec46170
commit
516f3cd7b5
@ -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( "<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 );
|
||||
equal( div.css( "top" ), "10px", "can't get top in IE<9, see #8388" );
|
||||
|
Loading…
Reference in New Issue
Block a user