summaryrefslogtreecommitdiffstats
path: root/gfx/layers/apz/test/mochitest/helper_test_select_popup_position_zoomed.html
blob: 2ec079369ed29eaf3ca04548a51284342d47f6b1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
<!DOCTYPE html>
<script src="/tests/SimpleTest/SimpleTest.js"></script>
<script src='/tests/SimpleTest/paint_listener.js'></script>
<script src='apz_test_utils.js'></script>
<style>
html, body {
  /* To calculate the popup window position easily. */
  margin: 0;
  padding: 0;
}
iframe {
  width: 300px;
  height: 300px;
  /* To calculate the popup window position easily. */
  border: none;
}
</style>
<iframe></iframe>
<script>
  // Call setResolutionAndScaleTo here to avoid bug 1691358.
  SpecialPowers.getDOMWindowUtils(window).setResolutionAndScaleTo(2.0);
  // Silence SimpleTest warning about missing assertions by having it wait
  // indefinitely.
  SimpleTest.waitForExplicitFinish();
</script>