[PE] Support float, block, table descendants for background-clip:text
In https://chromium-review.googlesource.com/c/chromium/src/+/1197462 we changed box_model_.Paint() to LineBoxListPainter so we no longer supported text clip for descendants other than inline contents. This CL calls ToLayoutBlock(box_model_).PaintObject() to support text clip of other descendants, and still avoid the original double paint offset issue of box_model_.Paint(). Bug: 880825 Cq-Include-Trybots: luci.chromium.try:linux_layout_tests_slimming_paint_v2;master.tryserver.blink:linux_trusty_blink_rel Change-Id: I2c4b0e23df11bf300c01f9c804fb7e7d129f3aa0 Reviewed-on: https://chromium-review.googlesource.com/1211244Reviewed-by:Philip Rogers <pdr@chromium.org> Commit-Queue: Xianzhu Wang <wangxianzhu@chromium.org> Cr-Commit-Position: refs/heads/master@{#589314}
Showing
Please register or sign in to comment