fune/testing/web-platform/tests/css/css-overflow/overflow-clip-margin-011-ref.html
Xianzhu Wang c6d0b69eda Bug 1785965 [wpt PR 35527] - Fix cull rect and paint subtree skipping issue with overflow-clip-margin, a=testonly
Automatic update from web-platform-tests
Fix cull rect and paint subtree skipping issue with overflow-clip-margin

This fixes issue with overflow-clip-margin at the following places:
1. CullRectUpdater: we should check OverflowClipRect to see if the
   whole subtree is out of the cull rect.
2. PaintLayerPainter: KnownToClipSubtree() is renamed to
   KnownToClipSubtreeToPaddingBox() and modified to return false when
   there is overflow-clip-margin.

Bug: 1351931
Change-Id: I351ddc44f0f137e8d32173f326d4579ce4c97662
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3840344
Reviewed-by: Scott Violet <sky@chromium.org>
Commit-Queue: Xianzhu Wang <wangxianzhu@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1037133}

--

wpt-commits: 71be4fb02864df44ebd016452a6e080e7f46754c
wpt-pr: 35527
2022-09-04 17:59:15 +00:00

2 lines
83 B
HTML

<!doctype html>
<div style="width: 100px; height: 100px; background: green"></div>