commit | ca82afa768a58fb6f977d97673eb03be7559c7f3 | [log] [tgz] |
---|---|---|
author | glebl <glebl@chromium.org> | Thu Sep 08 14:50:29 2016 |
committer | Commit bot <commit-bot@chromium.org> | Thu Sep 08 14:53:41 2016 |
tree | 608adfb35cbad36019e56d4620e2225a1eee7a0b | |
parent | d60491196cbaee9f9f8840b2178dea6b234c0b71 [diff] |
Initial implementation of Collapsing Margins computational logic for LayoutNG This patches introduces the logic that computes Collapsing Margins for the following pairs: - top margin of a box and top margin of its first in-flow child - bottom margin of box and top margin of its next in-flow following sibling This implementation doesn't take into account any Margins Collapsing style exceptions, e.g. padding, borders etc. Design document: https://docs.google.com/document/d/1uxbDh4uONFQOiGuiumlJBLGgO4KDWB8ZEkp7Rd47fw4/edit#bookmark=id.gk14n6z7jt8a BUG=635619 Review-Url: https://codereview.chromium.org/2313873002 Cr-Commit-Position: refs/heads/master@{#417293}