} );
testIframe( "offset/scroll", "scroll", function( $, win, doc, assert ) {
- assert.expect( 30 );
+ assert.expect( 28 );
// If we're going to bastardize the tests, let's just DO it
var ie = /msie 8/i.test( navigator.userAgent );
// These tests are solely for master/compat consistency
// Retrieving offset on disconnected/hidden elements is not officially
// valid input, but will return zeros for back-compat
- assert.equal( $( "#hidden" ).offset().top, 0, "Hidden elements do not subtract scroll" );
- assert.equal( $( "#hidden" ).offset().left, 0, "Hidden elements do not subtract scroll" );
+ // assert.equal( $( "#hidden" ).offset().top, 0, "Hidden elements do not subtract scroll" );
+ // assert.equal( $( "#hidden" ).offset().left, 0, "Hidden elements do not subtract scroll" );
// scroll offset tests .scrollTop/Left
assert.equal( $( "#scroll-1" ).scrollTop(), 5, "jQuery('#scroll-1').scrollTop()" );