[wpt-sync] Sync PR 28852 - [GridNG] Fix invalidation logic for out of flow items via simplified layout
Categories
(Core :: Layout: Grid, task, P4)
Tracking
()
Tracking | Status | |
---|---|---|
firefox90 | --- | fixed |
People
(Reporter: wpt-sync, Unassigned)
References
()
Details
(Whiteboard: [wptsync downstream])
Sync web-platform-tests PR 28852 into mozilla-central (this bug is closed when the sync is complete).
PR: https://github.com/web-platform-tests/wpt/pull/28852
Details from upstream follow.
b'Ana SollanoKim <ansollan@microsoft.com>' wrote:
[GridNG] Fix invalidation logic for out of flow items via simplified layout
This CL addresses a failure where an absolutely positioned item changed
its position dynamically. Previously, a new |containing_block_rect| was
not being added nor re-computed in |SimplifiedLayoutAlgorithm| for
out of flow items that are children of the grid, thus their position was
incorrect. This change computes the new containing block by calling
existing helpers in |NGGridLayoutAlgorithm|. As a result, some methods
had to be changed and constructors overloaded in order to use what was
already computed and stored in |NGGridData|.Bug: 1045599
Change-Id: Ic299a57aa5e69063c6f8d0f39c92772503b15f30Reviewed-on: https://chromium-review.googlesource.com/2872591
WPT-Export-Revision: eb9d33e900c5df40e2beac99d346265d66f1ec21
Assignee | ||
Updated•4 years ago
|
Assignee | ||
Comment 1•4 years ago
|
||
Assignee | ||
Comment 2•4 years ago
|
||
CI Results
Ran 15 Firefox configurations based on mozilla-central, and Firefox, Chrome, and Safari on GitHub CI
Total 1 tests
Status Summary
Firefox
PASS: 1
Chrome
PASS: 1
Safari
PASS: 1
Links
Comment 6•4 years ago
|
||
bugherder |
Description
•