Skip to content

[GridFragmentation] Support basic grid-item fragmentation.#31324

Merged
chromium-wpt-export-bot merged 1 commit into
masterfrom
chromium-export-cl-3210245
Oct 21, 2021
Merged

[GridFragmentation] Support basic grid-item fragmentation.#31324
chromium-wpt-export-bot merged 1 commit into
masterfrom
chromium-export-cl-3210245

Conversation

@chromium-wpt-export-bot
Copy link
Copy Markdown
Collaborator

@chromium-wpt-export-bot chromium-wpt-export-bot commented Oct 20, 2021

This stores the grid-geometry on the break-token, then iterates over
all the grid items to decide which are within the current fragmentainer.

If they are within the current fragmentainer, performs layout, and adds
them to the container builder.

This patch doesn't:

  • Add OOFs correctly.
  • Support "growing" grid rows to accommodate the auto min-size of
    grid-items.
  • Support break-before (BreakBeforeChildIfNeeded call).
  • Support variable inline-size fragmentainers.

Bug: 614667
Change-Id: Ieea02abc3a5d98e628f9cfa205798cafc6ab7d66
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3210245
Commit-Queue: Ian Kilpatrick <ikilpatrick@chromium.org>
Reviewed-by: Alison Maher <almaher@microsoft.com>
Reviewed-by: Morten Stenshorne <mstensho@chromium.org>
Cr-Commit-Position: refs/heads/main@{#933934}

Copy link
Copy Markdown
Collaborator

@wpt-pr-bot wpt-pr-bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The review process for this patch is being conducted in the Chromium project.

@chromium-wpt-export-bot chromium-wpt-export-bot changed the title [WIP][GridFragmentation] Allow grid-items to fragment. [GridFragmentation] Support basic grid-item fragmentation. Oct 20, 2021
@chromium-wpt-export-bot chromium-wpt-export-bot force-pushed the chromium-export-cl-3210245 branch 2 times, most recently from 842623d to f5257c5 Compare October 21, 2021 15:28
This stores the grid-geometry on the break-token, then iterates over
all the grid items to decide which are within the current fragmentainer.

If they are within the current fragmentainer, performs layout, and adds
them to the container builder.

This patch doesn't:
 - Add OOFs correctly.
 - Support "growing" grid rows to accommodate the auto min-size of
   grid-items.
 - Support break-before (BreakBeforeChildIfNeeded call).
 - Support variable inline-size fragmentainers.

Bug: 614667
Change-Id: Ieea02abc3a5d98e628f9cfa205798cafc6ab7d66
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3210245
Commit-Queue: Ian Kilpatrick <ikilpatrick@chromium.org>
Reviewed-by: Alison Maher <almaher@microsoft.com>
Reviewed-by: Morten Stenshorne <mstensho@chromium.org>
Cr-Commit-Position: refs/heads/main@{#933934}
@chromium-wpt-export-bot chromium-wpt-export-bot merged commit ba2f294 into master Oct 21, 2021
@chromium-wpt-export-bot chromium-wpt-export-bot deleted the chromium-export-cl-3210245 branch October 21, 2021 18:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants