Closed Bug 1643555 Opened 4 years ago Closed 4 years ago

[wpt-sync] Sync PR 24006 - [FlexNG] Paint legacy roots atomically.

Categories

(Core :: Layout: Flexbox, task, P4)

task

Tracking

()

RESOLVED FIXED
mozilla79
Tracking Status
firefox79 --- fixed

People

(Reporter: mozilla.org, Unassigned)

References

()

Details

(Whiteboard: [wptsync downstream])

Sync web-platform-tests PR 24006 into mozilla-central (this bug is closed when the sync is complete).

PR: https://github.com/web-platform-tests/wpt/pull/24006
Details from upstream follow.

Ian Kilpatrick <ikilpatrick@chromium.org> wrote:

[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/2231092
WPT-Export-Revision: 3dd026008c66b92af40fd0a7f6571a1c1002023f

Component: web-platform-tests → Layout: Flexbox
Product: Testing → Core

CI Results

Ran 0 Firefox configurations based on mozilla-central, and Firefox, Chrome, and Safari on GitHub CI

Total 1 tests

Status Summary

Firefox

PASS: 1

Chrome

FAIL: 1

Safari

PASS: 1

Links

GitHub PR Head
GitHub PR Base

Pushed by wptsync@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/c44ae0bfb70e
[wpt PR 24006] - [FlexNG] Paint legacy roots atomically., a=testonly
Status: NEW → RESOLVED
Closed: 4 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla79
You need to log in before you can comment on or make changes to this bug.