commit | cfc362075decc975920c8c820967bcd612ee2a13 | [log] [tgz] |
---|---|---|
author | Aleks Totic <atotic@chromium.org> | Thu Jun 28 23:15:19 2018 |
committer | Commit Bot <commit-bot@chromium.org> | Thu Jun 28 23:15:19 2018 |
tree | 62c6038ac7c2424cc9d9466042574259492c7db0 | |
parent | df9afcca2f5e11e556f01b626ac820fde76c58ce [diff] |
[LayoutNG] Fix abspos percentage margins Margins were being computed incorrectly in abspos_utils. Margins were not being copied to Legacy. The tricky part is that if node is using old block layout, strange margins get computed because of the way we enforce abspos child size: SetIsFixedSizeInline causes block layout to compute margins wrt that fixed size. The fix is to let Legacy block layout compute margins incorrectly, and set them to correct values afterwards. Bug: 740993 Cq-Include-Trybots: luci.chromium.try:linux_layout_tests_layout_ng Change-Id: I6e9354fdcad0e0703bd35ad849300be9f223f618 Reviewed-on: https://chromium-review.googlesource.com/1119078 Reviewed-by: Christian Biesinger <cbiesinger@chromium.org> Commit-Queue: Aleks Totic <atotic@chromium.org> Cr-Commit-Position: refs/heads/master@{#571318}
Chromium is an open-source browser project that aims to build a safer, faster, and more stable way for all users to experience the web.
The project's web site is https://www.chromium.org.
Documentation in the source is rooted in docs/README.md.
Learn how to Get Around the Chromium Source Code Directory Structure .