| Index: LayoutTests/rubberbanding/momentum-reset.html
|
| diff --git a/LayoutTests/rubberbanding/momentum-reset.html b/LayoutTests/rubberbanding/momentum-reset.html
|
| deleted file mode 100644
|
| index 7a1a748024612238f18b1ff95c1e7b3a91c0685f..0000000000000000000000000000000000000000
|
| --- a/LayoutTests/rubberbanding/momentum-reset.html
|
| +++ /dev/null
|
| @@ -1,42 +0,0 @@
|
| -<!DOCTYPE html>
|
| -<html>
|
| -<head><title>Tests that a momentum scroll (i.e. a fling) eventually resets back to no-overhang state</title></head>
|
| -<body>
|
| -<div id="box" style="height:800px; background: red; border:2px solid black; width:100%"></div>
|
| -<div id="info">This test requires DRT.</div>
|
| -<script>
|
| - if (window.internals) {
|
| - document.getElementById('info').style.visibility = 'hidden';
|
| - internals.settings.setMockScrollbarsEnabled(false);
|
| -
|
| - eventSender.mouseMoveTo(10, 10);
|
| - eventSender.mouseDragBegin();
|
| - eventSender.mouseDragEnd();
|
| -
|
| - // Simulate a momentum scroll following the end of a normal scroll.
|
| - eventSender.mouseMomentumBegin2(0, 0, false, true);
|
| - eventSender.mouseMomentumScrollBy(0, 250, false, true);
|
| - eventSender.mouseMomentumEnd();
|
| -
|
| - // The momentum scroll above should have resulted in overflow above the page.
|
| - // Ensure that it has (via scrollTop) and register an onscroll listener to
|
| - // ensure that the timer restores the position.
|
| - if (document.documentElement.scrollTop == 0) {
|
| - // FAIL: Above didn't result in overscroll.
|
| - document.getElementById('box').style.background = 'blue';
|
| - } else {
|
| -
|
| - document.getElementById('box').style.background = 'green';
|
| - // Wait for the timer to restore the position.
|
| - testRunner.waitUntilDone();
|
| - var startedScrolling = false;
|
| - window.onscroll = function() {
|
| - if (document.documentElement.scrollTop == 0) {
|
| - testRunner.notifyDone();
|
| - }
|
| - };
|
| - }
|
| - }
|
| -</script>
|
| -</body>
|
| -</html>
|
|
|