Skip to content

[layout] Support min-block-size/max-block-size min-content/etc in flex#47367

Merged
chromium-wpt-export-bot merged 1 commit intomasterfrom
chromium-export-cl-5744698
Jul 30, 2024
Merged

[layout] Support min-block-size/max-block-size min-content/etc in flex#47367
chromium-wpt-export-bot merged 1 commit intomasterfrom
chromium-export-cl-5744698

Conversation

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

@chromium-wpt-export-bot chromium-wpt-export-bot commented Jul 30, 2024

This patch adds support for things like "max-height: min-content"
within the flex sizing algorithm.

We introduce variants of ResolveMinBlockLength/etc which accept a
function-ref to resolve min-content/etc when required.

We somewhat supported this previously (see previous logic in
ShouldApplyMinSizeAutoForChild), but it wasn't complete.

Bug: 40151761
Change-Id: Ib9f70e70d73732e3694598653d6517619e561454
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5744698
Reviewed-by: David Grogan <dgrogan@chromium.org>
Commit-Queue: Ian Kilpatrick <ikilpatrick@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1335087}

This patch adds support for things like "max-height: min-content"
within the flex sizing algorithm.

We introduce variants of ResolveMinBlockLength/etc which accept a
function-ref to resolve min-content/etc when required.

We somewhat supported this previously (see previous logic in
ShouldApplyMinSizeAutoForChild), but it wasn't complete.

Bug: 40151761
Change-Id: Ib9f70e70d73732e3694598653d6517619e561454
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5744698
Reviewed-by: David Grogan <dgrogan@chromium.org>
Commit-Queue: Ian Kilpatrick <ikilpatrick@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1335087}
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 merged commit 401e0a9 into master Jul 30, 2024
@chromium-wpt-export-bot chromium-wpt-export-bot deleted the chromium-export-cl-5744698 branch July 30, 2024 22:18
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