[LayoutNG] Fix order in which fragments are added in OOF frag
In NGSimplifiedOOFLayoutAlgorithm, the order in which fragments are added to the builder is important and apparently more complex than I initially thought. The way it was implemented, it caused problem when we were trying to find the matching break token since the order was different. For more info on the new implementation, see my comments in ng_simplified_oof_layout_algorithm.cc. Fixing the order fixed all disabled tests in NGOutOfFlowLayoutPartTest, but one related to nested fragmentation that is unrelated. Bug: 1143301, 1117625, 1148875 Change-Id: I0e2c559930da3f0042ada106c334d35521163d72 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2552076 Commit-Queue: Benjamin Beaudry <benjamin.beaudry@microsoft.com> Reviewed-by:Morten Stenshorne <mstensho@chromium.org> Reviewed-by:
Alison Maher <almaher@microsoft.com> Cr-Commit-Position: refs/heads/master@{#832006}
Showing
Please register or sign in to comment