commit | 57d02244cbebcf8db18315f5f59b9bc2031e62ba | [log] [tgz] |
---|---|---|
author | Koji Ishii <kojii@chromium.org> | Tue Nov 27 14:17:02 2018 |
committer | Commit Bot <commit-bot@chromium.org> | Tue Nov 27 14:17:02 2018 |
tree | 1e7a685e5351de0e0c6c995f1c3664464a89a74d | |
parent | 09b1dc9ae159f361a8cba098ec5b7a9fc87b3c77 [diff] |
[LayoutNG] Fix first-line background when applied later LayoutNG creates an anonymous inline wrapper when ::first-line has background, so that paint code can handle it the same way as other boxes. Because of that, when ::first-line was applied after the box was once laid out, such block needs to reattach to insert the anonymous inline wrapper. This patch should have been needed, but all tests used to pass without this, probably we didn't have such tests. Recently 3 tests started to fail. This patch fixes them. DCHECKs to avoid splitting anonymous inlines added in r521673 (CL:806158) are adjusted to allow splitting anonymous wrapper for ::first-line. Bug: 636993 Change-Id: Ib1e51f0f77c759761b31abe8cc0e2973caa77d92 Cq-Include-Trybots: luci.chromium.try:linux_layout_tests_layout_ng Reviewed-on: https://chromium-review.googlesource.com/c/1345676 Commit-Queue: Koji Ishii <kojii@chromium.org> Reviewed-by: Morten Stenshorne <mstensho@chromium.org> Reviewed-by: Rune Lillesveen <futhark@chromium.org> Cr-Commit-Position: refs/heads/master@{#611097}
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 .