From f238d7d669baf333cf6ad21938a72ea7563b3a79 Mon Sep 17 00:00:00 2001 From: David Shin Date: Fri, 29 Nov 2024 00:35:17 +0000 Subject: [PATCH] Ensure padding inflation does not cause block scroll in single-line input elements. These elements can't be scrolled block-direction by user anyway. It can be programatically moved, but other browsers don't support that (See bug 1933477). This also preserve our heuristics for finding user-scrollable elements. Differential Revision: https://phabricator.services.mozilla.com/D230277 bugzilla-url: https://bugzilla.mozilla.org/show_bug.cgi?id=1932840 gecko-commit: 6f0c8239c94d1d285b08727f4c642046f04db740 gecko-reviewers: layout-reviewers, emilio --- .../scrollable-overflow-padding-input.html | 36 +++++++++++++++++++ 1 file changed, 36 insertions(+) create mode 100644 css/css-overflow/scrollable-overflow-padding-input.html diff --git a/css/css-overflow/scrollable-overflow-padding-input.html b/css/css-overflow/scrollable-overflow-padding-input.html new file mode 100644 index 00000000000000..6f19af1c1bf973 --- /dev/null +++ b/css/css-overflow/scrollable-overflow-padding-input.html @@ -0,0 +1,36 @@ + +CSS Overflow Test: Ensure that padding inflation does not cause block-direction scroll in input elements. + + + + + + + + + +
+
+
+
+ +
+