From d632699c6b2b1b06dd7cbdec982d930f59fd8119 Mon Sep 17 00:00:00 2001 From: Oleg Gaidarenko Date: Wed, 24 Dec 2014 04:24:59 +0300 Subject: [PATCH] Offset: fix iframe scrollTop/Left test for IE8 Ref ae30fb6c27a2121578d3ce7ca6e2ba1d205545b8 --- test/unit/offset.js | 1 + 1 file changed, 1 insertion(+) diff --git a/test/unit/offset.js b/test/unit/offset.js index dc56f06ec..2692f7ad2 100644 --- a/test/unit/offset.js +++ b/test/unit/offset.js @@ -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( "
" ); + ifDoc.close(); jQuery( ifDoc ).scrollTop( 200 ); jQuery( ifDoc ).scrollLeft( 500 ); -- 2.39.5