Skip to content
Snippets Groups Projects
Commit d11a3ddd authored by David Grogan's avatar David Grogan Committed by Chromium LUCI CQ
Browse files

[layout] block-in-inlines should stretch when justify-self is in use

Usually, justify-self causes an element to shrink-to-fit in the absence
of a preferred size. But we have to let an inline child of the justified
element stretch so that any of _its_ block children can still stretch to
the justified grandparent.

(cherry picked from commit 921f8733)

Fixed: 374034249
Change-Id: I17b7fa89d84a76eacff2d2e6448db1b7bfe46a32
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5942095


Reviewed-by: default avatarDavid Baron <dbaron@chromium.org>
Commit-Queue: David Grogan <dgrogan@chromium.org>
Cr-Original-Commit-Position: refs/heads/main@{#1370819}
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5962296


Auto-Submit: David Grogan <dgrogan@chromium.org>
Reviewed-by: default avatarMorten Stenshorne <mstensho@chromium.org>
Commit-Queue: Morten Stenshorne <mstensho@chromium.org>
Cr-Commit-Position: refs/branch-heads/6778@{#763}
Cr-Branched-From: b21671ca-refs/heads/main@{#1368529}
parent dc5a9be3
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment