diff options
Diffstat (limited to 'gfx/layers/apz/test/mochitest/helper_doubletap_zoom_oopif_subframe-3.html')
-rw-r--r-- | gfx/layers/apz/test/mochitest/helper_doubletap_zoom_oopif_subframe-3.html | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/gfx/layers/apz/test/mochitest/helper_doubletap_zoom_oopif_subframe-3.html b/gfx/layers/apz/test/mochitest/helper_doubletap_zoom_oopif_subframe-3.html new file mode 100644 index 0000000000..30b3ca930c --- /dev/null +++ b/gfx/layers/apz/test/mochitest/helper_doubletap_zoom_oopif_subframe-3.html @@ -0,0 +1,31 @@ +<!DOCTYPE HTML> +<html> +<script src="apz_test_native_event_utils.js"></script> +<script src="apz_test_utils.js"></script> +<script src="/tests/SimpleTest/SimpleTest.js"></script> +<script src="/tests/SimpleTest/paint_listener.js"></script> +<style> +.container { + background-color: #eee; + width: 200px; + height: 50px; + border: 1px dotted black; + overflow: visible; +} +</style> +<div class="container"></div> +<script> + let text = ""; + for (let i = 0; i < 200; i++) { + text += "Text text text text text text text text text text text text text text text text\n"; + } + text += '<div id="target" style="width: 100%; height: 10px; background-color: red; position: relative; top: -20px; z-index: -1"></div>'; + document.querySelector(".container").innerHTML = text; + + // 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 the main browser test + // finished. + SimpleTest.waitForExplicitFinish(); +</script> +</html> |