From 9414e005406e9058bf2a4ec5c8fa09a3a207f82b Mon Sep 17 00:00:00 2001 From: Simon Pieters Date: Fri, 8 Nov 2019 14:05:02 +0100 Subject: [PATCH 1/2] Test all input types with scrollTo and onscroll This test does not follow any spec yet. Instead it expects all `input` types to be scrollable and fire a `scroll` event in response to `scrollTo()`, to more clearly demonstrate which elements do this in browsers currently. Variants tested: * overflow: visible / hidden / scroll * appearance: auto / none See https://github.com/whatwg/html/pull/4840 --- .../input-all-scrollable.tentative.html | 35 +++++++++++++++++++ 1 file changed, 35 insertions(+) create mode 100644 html/rendering/widgets/input-all-scrollable.tentative.html diff --git a/html/rendering/widgets/input-all-scrollable.tentative.html b/html/rendering/widgets/input-all-scrollable.tentative.html new file mode 100644 index 00000000000000..9f5ce059031350 --- /dev/null +++ b/html/rendering/widgets/input-all-scrollable.tentative.html @@ -0,0 +1,35 @@ + +Text controls are scroll containers + + + + + + From 46c89a9a583dd5058d3b3bea565c2c8d4b980d7a Mon Sep 17 00:00:00 2001 From: Simon Pieters Date: Tue, 19 Nov 2019 00:10:38 +0100 Subject: [PATCH 2/2] Update pass conditions --- .../input-all-scrollable.tentative.html | 27 ++++++++++++++++--- 1 file changed, 24 insertions(+), 3 deletions(-) diff --git a/html/rendering/widgets/input-all-scrollable.tentative.html b/html/rendering/widgets/input-all-scrollable.tentative.html index 9f5ce059031350..cda9e1f18954cf 100644 --- a/html/rendering/widgets/input-all-scrollable.tentative.html +++ b/html/rendering/widgets/input-all-scrollable.tentative.html @@ -8,7 +8,29 @@