Closed Bug 1846313 Opened 1 year ago Closed 1 year ago

[wpt-sync] Sync PR 41249 - [GridNG] Allow grid sets to be rebuilt on demand by nested subgrids

Categories

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

task

Tracking

()

RESOLVED FIXED
118 Branch
Tracking Status
firefox118 --- fixed

People

(Reporter: wpt-sync, Unassigned)

References

()

Details

(Whiteboard: [wptsync downstream])

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

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

Ethan Jimenez <ethavar@microsoft.com> wrote:

[GridNG] Allow grid sets to be rebuilt on demand by nested subgrids

  1. Grid sets are normalized depending on whether the available size of a
    grid is definite or not. E.g., percentage tracks were normalized to
    behave as 'auto' if their available size was indefinite.

    This normalization only occurred during the InitializeTrackSizes
    step of the sizing algorithm. However, this proved to be insufficient
    since, after resolving the columns of the parent grid, the normalized
    tracks of a nested subgrid were not updated to behave as percentages.

  2. Adding test coverage to the WPT suite for this issue.

Bug: 1465732
Change-Id: Ibe00144205c0cf16db10bbd32c9be3e130bf5aef
Reviewed-on: https://chromium-review.googlesource.com/4733094
WPT-Export-Revision: 166ffb933f7f043c1764828c200b0bef4c931ec6

Component: web-platform-tests → Layout: Grid
Product: Testing → Core
Pushed by wptsync@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/670147063eaf [wpt PR 41249] - [GridNG] Allow grid sets to be rebuilt on demand by nested subgrids, a=testonly
Test result changes from PR not available.
Status: NEW → RESOLVED
Closed: 1 year ago
Resolution: --- → FIXED
Target Milestone: --- → 118 Branch
You need to log in before you can comment on or make changes to this bug.