diff options
-rw-r--r-- | test/data/testinit.js | 8 | ||||
-rw-r--r-- | test/unit/offset.js | 17 |
2 files changed, 1 insertions, 24 deletions
diff --git a/test/data/testinit.js b/test/data/testinit.js index b0592779e..f2c4ae2a5 100644 --- a/test/data/testinit.js +++ b/test/data/testinit.js @@ -239,13 +239,7 @@ this.testIframe = function( title, fileName, func, wrapper ) { var done = assert.async(), $iframe = supportjQuery( "<iframe/>" ) .attr( { id: "qunit-fixture-iframe", src: url( "./data/" + fileName ) } ) - .css( { - position: "absolute", - top: "0", - left: "-600px", - height: "300px", - width: "500px" - } ); + .css( { position: "absolute", top: "0", left: "-600px", width: "500px" } ); // Try to overcome TestSwarm iframe visibilty quirks if ( QUnit.isSwarm ) { diff --git a/test/unit/offset.js b/test/unit/offset.js index 425768f35..b128d3347 100644 --- a/test/unit/offset.js +++ b/test/unit/offset.js @@ -674,23 +674,6 @@ QUnit.test( "chaining", function( assert ) { doc.body.style.position = bodyPos; win.scrollTo( scrollLeft, scrollTop ); - // Try to figure out what is happening in TestSwarm - var fixed = $( "#fixed" )[ 0 ], - fixedStyle = win.getComputedStyle( fixed ), - fixedRect = fixed.getBoundingClientRect(); - assert.ok( "CI debug", JSON.stringify( - { - isSwarm: QUnit.isSwarm, - alwaysScrollable: alwaysScrollable, - "original scroll": [ scrollTop, scrollLeft ], - "scroll": [ win.pageYOffset, win.pageXOffset ], - "#fixed pos": fixedStyle.position, - "#fixed viewport rect": [ fixedRect.top, fixedRect.left ] - }, - null, - " " - ) ); - // Verify expected document offset supportjQuery.each( expectations, function( id, descriptor ) { assert.deepEqual( |