• Morten Stenshorne's avatar
    [LayoutNG] Don't mark floats as "placed". · d97346eb
    Morten Stenshorne authored
    Being "placed" means that they should be added to the
    FloatingObjectTree, which is really only used consistently by the legacy
    engine. NG only messes with it by accident. Have LayoutNG stay out of
    that business more than before, by introducing a "has geometry" flag.
    
    I really doubt that it's a splendid idea to populate the
    FloatingObjectTree at all in LayoutNG formatting contexts, but it does
    happen sometimes when laying out legacy objects in an NG container that
    also has floats. See bug report for further analysis.
    
    Bug: 906077
    Change-Id: Iacebf5b8ca64e16c954a25745c8c2b01a18e1440
    Reviewed-on: https://chromium-review.googlesource.com/c/1341915Reviewed-by: default avatarIan Kilpatrick <ikilpatrick@chromium.org>
    Reviewed-by: default avatarAleks Totic <atotic@chromium.org>
    Commit-Queue: Morten Stenshorne <mstensho@chromium.org>
    Cr-Commit-Position: refs/heads/master@{#609671}
    d97346eb
add-remove-float-after-table-relayout-crash.html 705 Bytes