forked from mirrors/gecko-dev
Automatic update from web-platform-tests [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 <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} -- wpt-commits: 8d0064301dc2648c96bf8719160d8c3ec938a222 wpt-pr: 26554
6 lines
202 B
HTML
6 lines
202 B
HTML
<!DOCTYPE html>
|
|
<div style="width: 100px; height: 100px; border: solid;">
|
|
<div style="overflow-y: scroll; max-height: 100%;">
|
|
<div style="height: 200px; background: green;"></div>
|
|
</div>
|
|
</div>
|