fune/testing/web-platform/tests/css/css-flexbox/table-with-float-paint.html
Ian Kilpatrick c6e6fd6049 Bug 1643555 [wpt PR 24006] - [FlexNG] Paint legacy roots atomically., a=testonly
Automatic update from web-platform-tests
[FlexNG] Paint legacy roots atomically.

Previously when we painted the children of an NG flexbox we'd end up
calling LayoutObject::Paint which would only paint atomically if the
object as painted by an NGBoxFragmentPainter.

This adjusts the code to call ObjectPainter::PaintAllPhasesAtomically.

This doesn't do this for NG objects as we'd end up looping through the
paint phases in an N^2 fashion.

Bug: 1090715
Change-Id: I0a063f21bbde4a5b34a48a9bcb90bb0113f551f8
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2231092
Reviewed-by: Xianzhu Wang <wangxianzhu@chromium.org>
Commit-Queue: Ian Kilpatrick <ikilpatrick@chromium.org>
Cr-Commit-Position: refs/heads/master@{#775586}

--

wpt-commits: 5e0d34b92ad69c5b8131e91297dc3184b812d58c
wpt-pr: 24006
2020-06-12 09:18:55 +00:00

9 lines
364 B
HTML

<!DOCTYPE html>
<link rel="help" href="https://crbug.com/1090715">
<link rel="match" href="../reference/ref-filled-green-100px-square-only.html">
<p>Test passes if there is a filled green square.</p>
<div style="display: flex;">
<div style="display: table;">
<span style="float: left; width: 100px; height: 100px; background: green;"></span>
</div>
</div>