Commit 8d00643
[fieldset] Fix fieldsets within flex by disabling simplified pass.
When flex did a 2-pass layout (once to determine the intrinsic size, and
a followup to shrink - and the block-size changed, we'd just perform
a simplified layout pass.
The fieldset layout algorithm "stretches" its content to its block-size
upfront. Due to this using the simplified layout pass resulted in an
incorrect layout, never correctly sizing the anonymous fieldset content.
This patch disables the simplified layout pass for fieldsets.
Bug: 1149714
Change-Id: I454a65363c019240dd4b30531009a13e8b596ea4
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2544755
Reviewed-by: Kent Tamura <[email protected]>
Reviewed-by: Christian Biesinger <[email protected]>
Reviewed-by: Morten Stenshorne <[email protected]>
Commit-Queue: Ian Kilpatrick <[email protected]>
Cr-Commit-Position: refs/heads/master@{#828360}1 parent c948cbb commit 8d00643
File tree
2 files changed
+15
-0
lines changed- css/css-flexbox
2 files changed
+15
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
0 commit comments