• Morten Stenshorne's avatar
    [LayoutNG] Set column fragments to the actual column size. · 3f74dd89
    Morten Stenshorne authored
    Just letting the fragmentation machinery do what it would do if it gets
    to treat column boxes as regular column content was no conscious choice,
    and it turns out that setting the column fragments to the actual column
    size is better, or we get some trouble with overflow, both when it comes
    to painting column rules, and the fact that we get spurious empty column
    fragments after unbreakable content (new unit test
    NGColumnLayoutAlgorithmTest.TallReplacedContent).
    
    Remove fast/multicol/rule-in-nested-with-too-tall-line.html and replace
    it with a valid test (that still fails both in legacy and NG; in NG
    because we fail to paint text on a general basis).
    
    Bug: 829028
    Change-Id: I3656c299c7a87bea29e1790477cf524b9522fa97
    Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1948923Reviewed-by: default avatarIan Kilpatrick <ikilpatrick@chromium.org>
    Commit-Queue: Morten Stenshorne <mstensho@chromium.org>
    Cr-Commit-Position: refs/heads/master@{#721376}
    3f74dd89
layout-ng-fragment-item 158 KB