commit | e1de8250381a0e2562d5e361ce68c48ead61e9d8 | [log] [tgz] |
---|---|---|
author | Koji Ishii <kojii@chromium.org> | Mon May 20 10:58:33 2019 |
committer | Commit Bot <commit-bot@chromium.org> | Mon May 20 10:58:33 2019 |
tree | 566437b9cf116fe9059ebcf60e774633e4e17dd8 | |
parent | 92d7beeccf98225e24899fb0c3b9dc3b9c0d8c42 [diff] |
[LayoutNG] Guard |FirstLineBoxTopLeft()| when layout is dirty Following r659675 (crrev.com/c/1612219), this patch guards |FirstLineBoxTopLeft()| from when the layout tree is dirty. Normally, all calls are limited to only when layout is clean. However, scroll anchoring reads fragment data from dirty tree after r660998 (crrev.com/c/1615680). Ideally, we'd like to guard |FirstInlineFragment()| instead. This aligns the concept of r659675, but ~10 tests in AX and scroll anchoring depends on reading dirty trees. This indicates that there are cases where we want to read dirty trees. What to do more for reading dirty tree is for future investigations. Bug: 964619, 963103, 964854 Change-Id: I7ed4f9aac554f27ab8c2848a6d0b09a1e070215e Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1619512 Commit-Queue: Koji Ishii <kojii@chromium.org> Reviewed-by: Yoshifumi Inoue <yosin@chromium.org> Reviewed-by: Morten Stenshorne <mstensho@chromium.org> Cr-Commit-Position: refs/heads/master@{#661318}
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 .