commit | 53b7b137cab2bd296298b249067fdd4f76a337bb | [log] [tgz] |
---|---|---|
author | Koji Ishii <kojii@chromium.org> | Thu Oct 11 21:17:02 2018 |
committer | Commit Bot <commit-bot@chromium.org> | Thu Oct 11 21:17:02 2018 |
tree | f519ae7d7fa9648a31e2f925d4c9328430ca6852 | |
parent | 97c78943836ffdb322cfb12f3e6e9818bee2c4a7 [diff] |
[LayoutNG] Fix RebuildBoxStates to compute needs_box_fragment This patch fixes RebuildBoxStates to compute |needs_box_fragment| correctly. |needs_box_fragment| was not computed correctly because child boxes can set it when NGInlineLayoutAlgorithm handles open/close tags. This patch moves the logic to NGInlineItemsBuilder so that |needs_box_fragment| is computed during PrepareLayout. Bug: 636993 Cq-Include-Trybots: luci.chromium.try:linux_layout_tests_layout_ng Change-Id: I635dcbed0939e5f23a9f6afb8ee6b22c48ab7da0 Reviewed-on: https://chromium-review.googlesource.com/c/1271655 Commit-Queue: Koji Ishii <kojii@chromium.org> Reviewed-by: Emil A Eklund <eae@chromium.org> Reviewed-by: Xiaocheng Hu <xiaochengh@chromium.org> Cr-Commit-Position: refs/heads/master@{#598942}
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 .