Bug 1719862 [wpt PR 29622] - [CompositeAfterPaint] Don't fragment composited scrollers, a=testonly
☠☠ backed out by dec0a179f851 ☠ ☠
authorXianzhu Wang <wangxianzhu@chromium.org>
Sat, 17 Jul 2021 09:48:22 +0000
changeset 585809 e173de5102ce99a2591a7aa46e0f3186cfe5b258
parent 585808 485d2c910efca23cd9519f882b35c2c134a28cf1
child 585810 14e040ae2974b53b1f4980dfd5b106f582ae6f15
push id38620
push usercsabou@mozilla.com
push dateSun, 18 Jul 2021 09:08:29 +0000
treeherdermozilla-central@cc4e5ea0c986 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewerstestonly
bugs1719862, 29622, 1226298, 3017415, 900164
milestone92.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 1719862 [wpt PR 29622] - [CompositeAfterPaint] Don't fragment composited scrollers, a=testonly Automatic update from web-platform-tests [CompositeAfterPaint] Don't fragment composited scrollers Fragmenting composited scrollers caused multiple scroll nodes and layers with the same element id which confused cc. To prevent fragmentation of composited scrollers, use the same pre-CAP method for directly composited layers. This CL is not needed for LayoutNGBlockFragmentation. Bug: 1226298 Change-Id: Ib3a3c50aacaa6367114e97ecbccfb641f0558261 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3017415 Commit-Queue: Xianzhu Wang <wangxianzhu@chromium.org> Reviewed-by: Philip Rogers <pdr@chromium.org> Cr-Commit-Position: refs/heads/master@{#900164} -- wpt-commits: 1d6a9a37bc72df33a8c604cf878385d0cfc413bc wpt-pr: 29622
testing/web-platform/tests/css/css-multicol/multicol-scroll-content-ref.html
testing/web-platform/tests/css/css-multicol/multicol-scroll-content.html
new file mode 100644
--- /dev/null
+++ b/testing/web-platform/tests/css/css-multicol/multicol-scroll-content-ref.html
@@ -0,0 +1,8 @@
+<!DOCTYPE html>
+<div style="overflow: scroll; width: 100px; height: 150px; background: green">
+  <div style="width: 400px; height: 400px"></div>
+</div>
+<div style="overflow: scroll; width: 100px; height: 150px;
+            position: relative; top: -50px; left: 100px; background: green">
+  <div style="width: 400px; height: 400px"></div>
+</div>
new file mode 100644
--- /dev/null
+++ b/testing/web-platform/tests/css/css-multicol/multicol-scroll-content.html
@@ -0,0 +1,15 @@
+<!DOCTYPE html>
+<title>CSS Test: Multi-column element with scrolled content</title>
+<link rel="help" href="http://www.w3.org/TR/css3-multicol/#columns"/>
+<link rel="match" href="multicol-scroll-content-ref.html"/>
+<div style="columns: 2; width: 200px; height: 100px; column-gap: 0">
+  <div style="overflow: scroll; height: 150px; background: red">
+    <div style="width: 400px; height: 400px; background: green; position: relative"></div>
+  </div>
+</div>
+<div style="columns: 2; width: 200px; height: 100px; column-gap: 0">
+  <div style="height: 100px"></div>
+  <div style="overflow: scroll; height: 150px; background: red">
+    <div style="width: 400px; height: 400px; background: green; position: relative"></div>
+  </div>
+</div>