Bug 1685635 [wpt PR 27091] - [css-flex] Apply transferred min/max sizes to svg with...
commit8672146c1c23159af4621084a6a1e679d70b886b
authorDavid Grogan <dgrogan@chromium.org>
Sat, 9 Jan 2021 09:38:00 +0000 (9 09:38 +0000)
committermoz-wptsync-bot <wptsync@mozilla.com>
Thu, 14 Jan 2021 13:34:05 +0000 (14 13:34 +0000)
tree9cd20eba591cb461673a06cb36e96c8fae0e4649
parent5e62cf4c2f86ff1150dd997c699873f610317a8b
Bug 1685635 [wpt PR 27091] - [css-flex] Apply transferred min/max sizes to svg with no natural sizes, a=testonly

Automatic update from web-platform-tests
[css-flex] Apply transferred min/max sizes to svg with no natural sizes

When deriving flex base size of an svg that has an aspect ratio but no
natural height or width, we were ignoring min/max sizes specified in the
cross-axis direction, even though they should transfer through the
aspect ratio and restrict the stretch fit into the available size.

Bug: 1162704
Change-Id: If502de43a876e41e6f3784aea089edcd2467ba60
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2614470
Reviewed-by: Christian Biesinger <cbiesinger@chromium.org>
Commit-Queue: David Grogan <dgrogan@chromium.org>
Cr-Commit-Position: refs/heads/master@{#841586}

--

wpt-commits: d81b71f027dc76082e8a77370d8a6642666cfca9
wpt-pr: 27091
testing/web-platform/tests/css/css-flexbox/flex-aspect-ratio-img-column-018.html [new file with mode: 0644]
testing/web-platform/tests/css/css-flexbox/flex-aspect-ratio-img-row-015.html [new file with mode: 0644]