commit 7a4e1864ed3c63d45dc4158a96249a0af8e18030
parent dd789928e555a1556815e4762ff3d8a3c4960547
Author: Hiroyuki Ikezoe <hikezoe.birchill@mozilla.com>
Date: Tue, 2 Dec 2025 21:24:17 +0000
Bug 1999559 - Specify `interactive-widget=resizes-content` in helper_zoomToFocusedInput_scroll.html. r=botond
This test was added in bug 1149300 when we set
`ScrollFlags::OverflowHidden` for zoom-to-focused-input.
At the time the test was added we had no interactive-widget support,
our default behavior was `resizes-content`. Thus the test should work
with `interactive-widget=resizes-content` as expected what the test was
supposed to be at that time.
Differential Revision: https://phabricator.services.mozilla.com/D272183
Diffstat:
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/gfx/layers/apz/test/mochitest/helper_zoomToFocusedInput_scroll.html b/gfx/layers/apz/test/mochitest/helper_zoomToFocusedInput_scroll.html
@@ -1,6 +1,7 @@
-<!DOCTYPE>
+<!DOCTYPE html>
<html>
<head>
+ <meta name="viewport" content="width=device-width,interactive-widget=resizes-content">
<title>Checking zoomToFocusedInput scrolls that focused input element is visible position</title>
<script type="application/javascript" src="apz_test_utils.js"></script>
<script type="application/javascript" src="apz_test_native_event_utils.js"></script>