CSSIntrinsicSize: Add a flex-box test to exercise ChildUnstretchedLogicalHeight code
This patch updates the code to simplify the if condition. This should a no-op change since the override is considered when getting the intrinsic content logical height. This also adds a test that fails if that if condition is not present, and passes otherwise. The test sizes the flex box based on the unstretched size when the item itself is stretched. R=cbiesinger@chromium.org, chrishtr@chromium.org Bug: 1018395 Change-Id: I16ff62d887110a9b93704160e93f2fbcc764c509 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1891012Reviewed-by:Christian Biesinger <cbiesinger@chromium.org> Commit-Queue: vmpstr <vmpstr@chromium.org> Cr-Commit-Position: refs/heads/master@{#710970}
Showing
Please register or sign in to comment