[LayoutNG] ComputeReplacedSize edge case fix
Edge case for "have aspect ratio, but no intrinsic size" If there was no intrinsic size, we treated it as no size at all. But, if there is a css size, we should use that instead. Bug: 1015311 Change-Id: Ia8f12bd23cda5c18b9aae318eee91906840475d3 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1877595 Commit-Queue: Aleks Totic <atotic@chromium.org> Reviewed-by:Ian Kilpatrick <ikilpatrick@chromium.org> Cr-Commit-Position: refs/heads/master@{#709134}
Showing
Please register or sign in to comment