diff options
author | Thomas Meyer <meyertee@gmail.com> | 2013-09-05 00:13:53 +0200 |
---|---|---|
committer | Scott González <scott.gonzalez@gmail.com> | 2014-01-15 05:17:50 -0500 |
commit | 1bbbcc723c489d7ef7d72bb62564b8f07805c41c (patch) | |
tree | 9fdff36e431c7cc42fea643c4203215350c37f7f /tests/unit/position | |
parent | 8f267ee3310bee8d7a2cb9e46b023a79ed84bfc1 (diff) | |
download | jquery-ui-1bbbcc723c489d7ef7d72bb62564b8f07805c41c.tar.gz jquery-ui-1bbbcc723c489d7ef7d72bb62564b8f07805c41c.zip |
Position: Avoid reading overflow css on documents
Fixes #9533
Closes gh-1072
Diffstat (limited to 'tests/unit/position')
-rw-r--r-- | tests/unit/position/position_core.js | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/tests/unit/position/position_core.js b/tests/unit/position/position_core.js index e03d4c111..5b1872af9 100644 --- a/tests/unit/position/position_core.js +++ b/tests/unit/position/position_core.js @@ -575,7 +575,14 @@ test( "collision: flip, with margin", function() { }); test( "within", function() { - expect( 6 ); + expect( 7 ); + + collisionTest({ + within: document + }, { + top: 10, + left: 10 + }, "within document" ); collisionTest({ within: "#within", |