diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-19 00:47:55 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-19 00:47:55 +0000 |
commit | 26a029d407be480d791972afb5975cf62c9360a6 (patch) | |
tree | f435a8308119effd964b339f76abb83a57c29483 /gfx/layers/apz/test/mochitest/helper_doubletap_zoom_oopif_subframe-3.html | |
parent | Initial commit. (diff) | |
download | firefox-26a029d407be480d791972afb5975cf62c9360a6.tar.xz firefox-26a029d407be480d791972afb5975cf62c9360a6.zip |
Adding upstream version 124.0.1.upstream/124.0.1
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
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> |