Description[css-flexbox] Correctly size flex rows with scrollbars
Flex items with overflow: scroll were not handled correctly when they *don't*
need to be stretched. We would double-count the scrollbar height.
This also merges constrainedChildIntrinsicContentLogicalHeight into its only
caller, which I think makes the code a bit clearer.
Found thanks to a new W3C test. It also fixes a TODO.
R=eae@chromium.org
BUG=690596
TEST=external/csswg-test/css-flexbox-1/layout-algorithm_algo-cross-line-001.html
Review-Url: https://codereview.chromium.org/2694463002
Cr-Commit-Position: refs/heads/master@{#449902}
Committed: https://chromium.googlesource.com/chromium/src/+/2fbfd7490c876078719caf9867575b9a0826b2ba
Patch Set 1 #
Messages
Total messages: 14 (9 generated)
|