Bug
1640014 [wpt PR 23735] - [AspectRatio] Correctly handle a stretched item in a fixed height flexbox, a=testonly
Automatic update from web-platform-tests
[AspectRatio] Correctly handle a stretched item in a fixed height flexbox
With a fixed-height single-line flex container, a stretched item should be
considered to have a definite height and thus should have its aspect-ratio
calculated from that:
https://drafts.csswg.org/css-flexbox/#definite-sizes item 1
This patch limits this behavior to the CSS aspect-ratio property for now
(as opposed to supporting it for everything with an aspect ratio, like
images), to limit the behavior differences from pre-FlexNG Blink.
Bug:
1083020
Change-Id: I2abe33d49a8727857a28e47ba6344ad3da860cad
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/
2212984
Commit-Queue: Christian Biesinger <cbiesinger@chromium.org>
Auto-Submit: Christian Biesinger <cbiesinger@chromium.org>
Reviewed-by: David Grogan <dgrogan@chromium.org>
Cr-Commit-Position: refs/heads/master@{#771863}
--
wpt-commits:
0d155d5c685a2c22f2e3ec5f976f31c1f2180c20
wpt-pr: 23735