Permalink
Browse files

Offset: fix iframe scrollTop/Left test for IE8

  • Loading branch information...
markelog committed Dec 24, 2014
1 parent dac716c commit d632699c6b2b1b06dd7cbdec982d930f59fd8119
Showing with 1 addition and 0 deletions.
  1. +1 −0 test/unit/offset.js
View
@@ -554,6 +554,7 @@ test("iframe scrollTop/Left (see gh-1945)", function() {
var ifDoc = jQuery( "#iframe" )[ 0 ].contentDocument;
jQuery( "#iframe" ).css( "width", "50px" ).css( "height", "50px" );
ifDoc.write( "<div style='width: 1000px; height: 1000px;'></div>" );
+ ifDoc.close();
jQuery( ifDoc ).scrollTop( 200 );
jQuery( ifDoc ).scrollLeft( 500 );

1 comment on commit d632699

@markelog

This comment has been minimized.

Show comment
Hide comment
@markelog

markelog Dec 24, 2014

Member

Was fine on my machine, but swarm still show error, but another one this time.

Will check it out tomorrow, iPhone issue too

Member

markelog commented on d632699 Dec 24, 2014

Was fine on my machine, but swarm still show error, but another one this time.

Will check it out tomorrow, iPhone issue too

Please sign in to comment.