commit | 8ef23e85f7c64c339baa2de9da2159786bba18db | [log] [tgz] |
---|---|---|
author | Koji Ishii <kojii@chromium.org> | Tue Aug 07 09:12:22 2018 |
committer | Commit Bot <commit-bot@chromium.org> | Tue Aug 07 09:12:22 2018 |
tree | 53f5527633a7441fb955e06a307e837f9df615b9 | |
parent | 48640897dad678021720c7c1ab3853634d2278ef [diff] |
[LayoutNG] Remove fragments after ellipsis This patch removes fragments after ellipsis when 'text-overflow: ellpisis' is applied. When the container box has paddings, ellipsizing is computed for the content box, but clipping is performed for the padding box. This patch hides fragments that fall into the paddings. We may need to revisit how to hide them. Before this patch, we moved them outside of the content box. With this patch, we stop producing fragments for them. Neitehr is paint- effects as the spec defines, and may require other parts to special case. I'll explorer other options if problems arose with this approach. Bug: 636993 Cq-Include-Trybots: luci.chromium.try:linux_layout_tests_layout_ng Change-Id: I44256440b4afbf1f4caf35269abf3450372fbf65 Reviewed-on: https://chromium-review.googlesource.com/1158670 Commit-Queue: Koji Ishii <kojii@chromium.org> Reviewed-by: Emil A Eklund <eae@chromium.org> Cr-Commit-Position: refs/heads/master@{#581177}
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 .