[wpt-sync] Sync PR 22621 - [css-grid] Update item placement when grid-template-areas changes
Categories
(Core :: Layout: Grid, task, P4)
Tracking
()
| Tracking | Status | |
|---|---|---|
| firefox77 | --- | fixed |
People
(Reporter: wpt-sync, Unassigned)
References
()
Details
(Whiteboard: [wptsync downstream])
Sync web-platform-tests PR 22621 into mozilla-central (this bug is closed when the sync is complete).
PR: https://github.com/web-platform-tests/wpt/pull/22621
Details from upstream follow.
Oriol Brufau <obrufau@igalia.com> wrote:
[css-grid] Update item placement when grid-template-areas changes
Before r747669, both explicit and implicit named lines were stored in
NamedGridColumnLines and NamedGridRowLines. But that patch moved the
implicit ones into their own ImplicitNamedGridColumnLines and
ImplicitNamedGridRowLines fields.However, LayoutGrid::NamedGridLinesDefinitionDidChange was not updated
to also look at the new fields. Therefore, a dynamic change in
grid-template-areas might not force the grid items to be placed again.BUG=1066679
TEST=external/wpt/css/css-grid/placement/grid-placement-using-named-grid-lines-007.html
Change-Id: I4b6ff2de1f1c13f985b146169f39283613defc88
Reviewed-on: https://chromium-review.googlesource.com/2132397
WPT-Export-Revision: 50c87e5b06c92752ac2f16ba7c07aa720b6fa50f
| Assignee | ||
Updated•6 years ago
|
| Assignee | ||
Comment 1•6 years ago
|
||
| Assignee | ||
Comment 3•6 years ago
|
||
Comment 4•6 years ago
|
||
| bugherder | ||
Description
•