[LayoutNG] Support column rules in fragment painting.
And enable fragment painting for multicol containers. Rules are to be painted "just above the border of the multicol container" [1]. At the same time, "the rules need to scroll along with the columns" [1]. Hence, we'll paint it as the first item in the foreground phase, so that we get scroll offsets applied. [1] https://drafts.csswg.org/css-multicol/#column-gaps-and-rules By enabling fragment painting for multicol containers, we break one outline test. The fix is easy, but I'd rather deal with that in a follow-up. Bug: 829028 Change-Id: Ie5e4ac267967f185a588bfc36f1902a2b1659413 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1899784 Commit-Queue: Ian Kilpatrick <ikilpatrick@chromium.org> Reviewed-by:Ian Kilpatrick <ikilpatrick@chromium.org> Reviewed-by:
Xianzhu Wang <wangxianzhu@chromium.org> Reviewed-by:
Koji Ishii <kojii@chromium.org> Cr-Commit-Position: refs/heads/master@{#714376}
Showing
Please register or sign in to comment