summaryrefslogtreecommitdiffstats
path: root/gfx/layers/apz/test/mochitest/helper_test_select_popup_position_transformed_in_parent.html
diff options
context:
space:
mode:
Diffstat (limited to 'gfx/layers/apz/test/mochitest/helper_test_select_popup_position_transformed_in_parent.html')
-rw-r--r--gfx/layers/apz/test/mochitest/helper_test_select_popup_position_transformed_in_parent.html25
1 files changed, 25 insertions, 0 deletions
diff --git a/gfx/layers/apz/test/mochitest/helper_test_select_popup_position_transformed_in_parent.html b/gfx/layers/apz/test/mochitest/helper_test_select_popup_position_transformed_in_parent.html
new file mode 100644
index 0000000000..860ca079de
--- /dev/null
+++ b/gfx/layers/apz/test/mochitest/helper_test_select_popup_position_transformed_in_parent.html
@@ -0,0 +1,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>