[LayoutNG] Remove shrink-to-fit optimization.
For NG types this isn't needed anymore. The NG types now use: CalculateSizeBasedLayoutCacheStatusWithGeometry Which determines the size of a fragment ahead of time, and applies the same optimization. The only thing that we now miss, is things which are sized shrink-to-fit which use legacy layout. We couldn't apply this optimization to shrink-to-fit tables, as they may have %-based inline-sized children which affect their (final) inline size. Bug: 984642 Change-Id: I0d0b584f31947bb674f4e7e5d88d7af6cf5d9d98 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1662535 Commit-Queue: Ian Kilpatrick <ikilpatrick@chromium.org> Reviewed-by:Emil A Eklund <eae@chromium.org> Reviewed-by:
Christian Biesinger <cbiesinger@chromium.org> Cr-Commit-Position: refs/heads/master@{#680095}
Showing
Please register or sign in to comment