Skip to content
Permalink
Browse files

Bug 7931; Replaced with and

  • Loading branch information...
xavi- committed Jan 10, 2011
1 parent 628bacc commit 8d28f41f669168ebd436599f8b187c783fec4ba9
Showing with 4 additions and 4 deletions.
  1. +4 −4 test/unit/offset.js
@@ -381,10 +381,10 @@ testoffset("scroll", function( jQuery, win ) {
equals( jQuery(document).scrollLeft(), 0, "jQuery(window).scrollLeft() other document" );

// Tests scrollTop/Left with empty jquery objects
ok( jQuery().scrollTop(100) != null, "jQuery().scrollTop(100) testing setter on empty jquery object" );
ok( jQuery().scrollLeft(100) != null, "jQuery().scrollLeft(100) testing setter on empty jquery object" );
ok( jQuery().scrollTop() === null, "jQuery().scrollTop(100) testing setter on empty jquery object" );
ok( jQuery().scrollLeft() === null, "jQuery().scrollLeft(100) testing setter on empty jquery object" );
notEqual( jQuery().scrollTop(100), null, "jQuery().scrollTop(100) testing setter on empty jquery object" );
notEqual( jQuery().scrollLeft(100), null, "jQuery().scrollLeft(100) testing setter on empty jquery object" );
strictEqual( jQuery().scrollTop(), null, "jQuery().scrollTop(100) testing setter on empty jquery object" );
strictEqual( jQuery().scrollLeft(), null, "jQuery().scrollLeft(100) testing setter on empty jquery object" );
});

testoffset("body", function( jQuery ) {

0 comments on commit 8d28f41

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