From 3afe00c6e257336f079f398490690933fdba4e7c Mon Sep 17 00:00:00 2001 From: Xianzhu Wang Date: Wed, 17 Mar 2021 13:33:58 +0000 Subject: [PATCH] Bug 1698664 [wpt PR 28090] - Fix painting of composited overflow controls with visibility:hidden, a=testonly Automatic update from web-platform-tests Fix painting of composited overflow controls with visibility:hidden We can have a composited scroller with visibility:hidden if it has visibility:visible descendants. We should skip painting of overflow controls in the case. Ideally we should not create composited overflow control layers, but I would not touch the pre-CompositeAfterPaint code for the rare case. Bug: 1187818, 1185968 Change-Id: If59049a685fa153b6538f8ca2424792904096000 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2761470 Reviewed-by: Philip Rogers Commit-Queue: Xianzhu Wang Cr-Commit-Position: refs/heads/master@{#863011} -- wpt-commits: 5cea71062775976e86ec38818fc9709ea5fa451d wpt-pr: 28090 --- ...erflow-scroll-resize-visibility-hidden-ref.html | 21 ++++++++++++++++++ .../overflow-scroll-resize-visibility-hidden.html | 25 ++++++++++++++++++++++ 2 files changed, 46 insertions(+) create mode 100644 testing/web-platform/tests/css/css-overflow/overflow-scroll-resize-visibility-hidden-ref.html create mode 100644 testing/web-platform/tests/css/css-overflow/overflow-scroll-resize-visibility-hidden.html diff --git a/testing/web-platform/tests/css/css-overflow/overflow-scroll-resize-visibility-hidden-ref.html b/testing/web-platform/tests/css/css-overflow/overflow-scroll-resize-visibility-hidden-ref.html new file mode 100644 index 000000000000..571ba348df4b --- /dev/null +++ b/testing/web-platform/tests/css/css-overflow/overflow-scroll-resize-visibility-hidden-ref.html @@ -0,0 +1,21 @@ + + +
+
+
+
diff --git a/testing/web-platform/tests/css/css-overflow/overflow-scroll-resize-visibility-hidden.html b/testing/web-platform/tests/css/css-overflow/overflow-scroll-resize-visibility-hidden.html new file mode 100644 index 000000000000..e8d0bc91440c --- /dev/null +++ b/testing/web-platform/tests/css/css-overflow/overflow-scroll-resize-visibility-hidden.html @@ -0,0 +1,25 @@ + +CSS Overflow: overflow: scroll with resize: both and visibility: hidden + + + +
+
+
+
+
+
-- 2.11.4.GIT