Skip to content
Permalink
Browse files

Landing pull request 561. only check for not null in unit tests. Supp…

…lements #8388.

More Details:
 - #561
 - http://bugs.jquery.com/ticket/8388
  • Loading branch information...
mikesherov authored and timmywil committed Oct 23, 2011
1 parent a6bec46 commit 516f3cd7b5fd0e374b01843b5f78240feb03d959
Showing with 1 addition and 1 deletion.
  1. +1 −1 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( "<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" );

0 comments on commit 516f3cd

Please sign in to comment.
You can’t perform that action at this time.