DescriptionCollapse margins before child that uses legacy layout.
Due to the fact that legacy layout doesn't have a notion of MarginStrut
we can't calculate margins correctly for use cases that need to use both
layout engines.
This patch collapses margins and update the parent BFC if the next child
cannot be layed out using LayoutNG(ex. tables).
BUG=635619
TESTS=bunch of fixed tests in CSS2.1 and fast/block test suites
Review-Url: https://codereview.chromium.org/2835233004
Cr-Commit-Position: refs/heads/master@{#466820}
Committed: https://chromium.googlesource.com/chromium/src/+/da6a43e5fabf5aba0ee611e593d71809851727b0
Patch Set 1 #
Total comments: 2
Patch Set 2 : remove TODO #Patch Set 3 : margin-collapse/100.html is still broken on Windows because of LayoutInline #
Messages
Total messages: 17 (12 generated)
|