commit | 4766c5012f46eed5afec44dcbc10e7365eadbc1b | [log] [tgz] |
---|---|---|
author | Rune Lillesveen <futhark@chromium.org> | Thu Jan 04 11:45:18 2018 |
committer | Commit Bot <commit-bot@chromium.org> | Thu Jan 04 13:06:57 2018 |
tree | e7723298e80de0683e572adfb13b5c8a06615db0 | |
parent | 01bd9a3b3a40f2444087920f62a64a504c4fb7bd [diff] |
Merge anonymous table boxes when appropriate. When a table part box is removed from the layout tree, we may end up with two anonymous layout part siblings which needs to be merged. We move the children of the latter into the former. When children of the latter are themselves anonymous, skip down the layout tree until we find non-anonymous boxes. This will make sure we merge multiple levels of anonymous boxes although it means we will have to recreate the anonymous ancestors of the moved box when the preceding box we are moving it to does not have anonymous descendants. Bug: 181374 Change-Id: I8a14cec2e036fb4e5b937f89c4a35411dcc98785 Reviewed-on: https://chromium-review.googlesource.com/846861 Reviewed-by: Morten Stenshorne <mstensho@chromium.org> Commit-Queue: Rune Lillesveen <futhark@chromium.org> Cr-Commit-Position: refs/heads/master@{#526969}
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 .