forked from mirrors/gecko-dev
Automatic update from web-platform-tests Allow rasterization of partially recorded tiles Previously we rasterized fully recorded tiles only, requiring that blink must expand the recording rect by at least the tile size, which was fragile. CompositeAfterPaint calculates cull rect before painting and compositing so we don't know the bounds of a composited layer and how it intersects with the visible area, and we don't know which paint chunk will be indirectly composited later, so we can't ensure we meet the recording rect expansion requirement for every composited layer. Allowing rasterization of partially recorded tiles will remove the requirement, and this allows more flexibility of blink recording rect expansion and cc tile size. Bug: 1046544 Change-Id: Ibfe86eeecd46925deacc7a74afa2fee789e65867 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2628491 Reviewed-by: vmpstr <vmpstr@chromium.org> Reviewed-by: Philip Rogers <pdr@chromium.org> Commit-Queue: Xianzhu Wang <wangxianzhu@chromium.org> Cr-Commit-Position: refs/heads/master@{#845805} -- wpt-commits: 2b9e2dc0c23e4d13225402f88935baafc326a78f wpt-pr: 27262
12 lines
351 B
HTML
12 lines
351 B
HTML
<!DOCTYPE html>
|
|
<div id="target" style="background: white; overflow: scroll; width: 500px; height: 500px;
|
|
font-size: 40px; will-change: transform">
|
|
</div>
|
|
<script>
|
|
for (var i = 0; i < 500; i++) {
|
|
var div = document.createElement("div");
|
|
div.textContent = i;
|
|
target.appendChild(div);
|
|
}
|
|
target.scrollTop = 10000;
|
|
</script>
|