commit | 2e3e5e893c8cfd98aca703f32ec0f97fafaf5f5f | [log] [tgz] |
---|---|---|
author | Ian Kilpatrick <ikilpatrick@chromium.org> | Sun Sep 24 11:46:36 2017 |
committer | Commit Bot <commit-bot@chromium.org> | Sun Sep 24 11:46:36 2017 |
tree | 1ea2418c8f713d0058baedbdd5d7d850b158bd02 | |
parent | 0c4dcf5f0cf317d83686ff2ee223a3ae2842c606 [diff] |
[LayoutNG] Fix some margin issues with positioning new FCs This fixes a couple of simple issues I noticed before (but not everything), namely: - Only consider the fragment's size when searching for a layout opportunity. - Adjust the origin_offset for searching for layout opportunities by the child's LineLeft margin. - Apply auto margins within the fitting layout opportunity. I'm going to fix some other things in other patches. Namely, "auto" children need to stretch to their layout opportunity, etc. Soon we are going to need to rework the exclusion space layout opp iterator algorithm as it doesn't appear to be handling right floats correctly. Bug: 635619 Cq-Include-Trybots: master.tryserver.chromium.linux:linux_layout_tests_layout_ng Change-Id: Ibed8feefa793472a1a6d79b727151eaaadd822be Reviewed-on: https://chromium-review.googlesource.com/661737 Commit-Queue: Ian Kilpatrick <ikilpatrick@chromium.org> Reviewed-by: Emil A Eklund <eae@chromium.org> Reviewed-by: Aleks Totic <atotic@chromium.org> Cr-Commit-Position: refs/heads/master@{#503956}
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 .