summaryrefslogtreecommitdiffstats
path: root/gfx/layers/apz/test/mochitest/helper_test_select_popup_position_transformed_in_parent.html
blob: 860ca079de0f06cf85a03ba3da822a7d105adeb5 (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>
<div style="transform: scale(2); transform-origin: top left;">
  <iframe></iframe>
</div>
<script>
  // Silence SimpleTest warning about missing assertions by having it wait
  // indefinitely.
  SimpleTest.waitForExplicitFinish();
</script>