[AspectRatio] Correctly handle insets for legacy abspos
Given top: 0; bottom: 0; width: auto; aspect-ratio: 1/1;, we should compute the width from the height. R=ikilpatrick@chromium.org, mstensho@chromium.org Bug: 1083010 Change-Id: I2ea7a791f827dc42ca07e0aaa1238584bfc47a32 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2442368 Commit-Queue: Christian Biesinger <cbiesinger@chromium.org> Auto-Submit: Christian Biesinger <cbiesinger@chromium.org> Reviewed-by:Morten Stenshorne <mstensho@chromium.org> Cr-Commit-Position: refs/heads/master@{#812688}
Showing
Please register or sign in to comment