summaryrefslogtreecommitdiffstats
path: root/gfx/layers/apz/test/mochitest/helper_scroll_thumb_dragging.html
blob: 821cf00be723b99baa9e6f170d70f9f5723a1452 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
<!DOCTYPE html>
<script src="/tests/SimpleTest/SimpleTest.js"></script>
<script src="/tests/SimpleTest/paint_listener.js"></script>
<script src="apz_test_utils.js"></script>
<script src="apz_test_native_event_utils.js"></script>
<style>
iframe {
  width: 500px;
  height: 50px; /* lower height relative to the root scrollable height */
}
</style>
<div style="height: 200vh;"></div>
<iframe src="http://example.org/"></iframe>
<div style="height: 200vh;"></div>
<script>
  // Silence SimpleTest warning about missing assertions by having it wait
  // indefinitely. We don't need to give it an explicit finish because the
  // entire window this test runs in will be closed after subtestDone is called.
  SimpleTest.waitForExplicitFinish();
</script>