DescriptionFix incorrectly calculated size/position information for writing-modes
List of changes:
- Calculate margins before we switch writing modes for a child CS
- Collapse MarginStrut and update parent's BFC if we lay out the block
that establishes a new formatting context.
- Rewrite NGBlockLayoutAlgorithmTest::CollapsingMarginsCase5 that
verifies that we correctly collapses margins in different writing modes
- Set ShrinkToFit to child's CS if it's orthogonal to its parent.
BUG=635619
Review-Url: https://codereview.chromium.org/2651793013
Cr-Commit-Position: refs/heads/master@{#448626}
Committed: https://chromium.googlesource.com/chromium/src/+/4db6b79aab37bf3c687e067126241ab615d5c645
Patch Set 1 #Patch Set 2 : Set shrink_to_fit to orthogonal child's CS #Patch Set 3 : add ShouldShrinkToFit() #
Total comments: 2
Patch Set 4 : Do set ShrinkToFit to child's space if it's orthogonal to its parent #
Total comments: 1
Patch Set 5 : unified offset #Patch Set 6 : git rebase-update #
Messages
Total messages: 39 (31 generated)
|