commit | d3920ccc81711676a41982bcae3a29b4142c6838 | [log] [tgz] |
---|---|---|
author | glebl <glebl@chromium.org> | Thu Apr 06 22:14:15 2017 |
committer | Commit bot <commit-bot@chromium.org> | Thu Apr 06 22:14:15 2017 |
tree | 3e3b9567e754d251b46d95fc0145dbc2dc522045 | |
parent | 5a2389fc0abfbdcb4045acd27d62b7d43270da43 [diff] |
NGInlineLayoutAlgorithm should take margins of inline floats into account 1) Moved ComputeMarginsForChild to NGLayoutAlgorithm 2) Changed InlineLayoutAlgorithmTest to call ComputeMarginsForChild and pass them to NGFloatingObject BUG=635619 TEST=NGInlineLayoutAlgorithmTest::PositionFloatsWithMargins Review-Url: https://codereview.chromium.org/2798203002 Cr-Commit-Position: refs/heads/master@{#462644}