• Morten Stenshorne's avatar
    [LayoutNG] Bring back legacy write-back for lines in columns. · b27bb70d
    Morten Stenshorne authored
    A multicol container establishes anonymous child fragments to represent
    columns, and the contents (lines, blocks, whatever) are children of
    those column fragments. We therefore need to examine grandchildren of
    the multicol container to find lines to create RootInlineBox objects.
    
    Examining the grandchildren previously wasn't necessary, and support for
    writing back direct line box children used to work, as of
    block with inline children would always create an anonymous child
    fragment to hold all inline children. However, creation of said
    (unnecessary) anonymous fragment was removed later on, and legacy
    write-back of lines inside columns broke again.
    
    https: //chromium-review.googlesource.com/716877 . It worked, because a
    Cq-Include-Trybots: master.tryserver.chromium.linux:linux_layout_tests_layout_ng
    Change-Id: I73fd038d99c4a8b1dc0982e6f3f3a6e0572a44ba
    Reviewed-on: https://chromium-review.googlesource.com/768671Reviewed-by: default avatarIan Kilpatrick <ikilpatrick@chromium.org>
    Commit-Queue: Morten Stenshorne <mstensho@chromium.org>
    Cr-Commit-Position: refs/heads/master@{#516825}
    b27bb70d
enable-blink-features=LayoutNG 758 KB