[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/+/2544755Reviewed-by:Kent Tamura <tkent@chromium.org> Reviewed-by:
Christian Biesinger <cbiesinger@chromium.org> Reviewed-by:
Morten Stenshorne <mstensho@chromium.org> Commit-Queue: Ian Kilpatrick <ikilpatrick@chromium.org> Cr-Commit-Position: refs/heads/master@{#828360}
Showing
Please register or sign in to comment