Chromium Code Reviews
DescriptionCanceled -- more proper fix in https://chromium-review.googlesource.com/c/566984/
[LayoutNG] Fix block child iteration in NGBlockLayoutAlgorithm::ComputeMinMaxContentSize
This patch fixes NGBlockLayoutAlgorithm::ComputeMinMaxContentSize() to
iterate all block children. Before this change, it finds only 1st child
if the 1st child is a block with inline children.
The root cause is in bug 739087, but using NGBlockChildIterator to
iterate block children looks right.
Simpler repro:
<!DOCTYPE html>
<style>
min-content {
display: block;
width: min-content;
border: solid orange;
}
</style>
<min-content><div>x</div><div>bcd</div></min-content>
BUG=636993, 739087
CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.linux:linux_layout_tests_layout_ng
Patch Set 1 #
Messages
Total messages: 6 (6 generated)
|
||||||||||||||||||||||||||||