regression fix: non-auto table sizing inside flexbox
https://chromium-review.googlesource.com/c/chromium/src/+/2214895 introduced a change where LayoutTable started respecting OverrideLogicalWidth for flex items. This broke rendering of non-auto tables inside flexbox. The fix has 2 parts: 1) LayoutTable::UpdateLogicalWidth always respects OverrideLogicalWidth 2) FlexLayoutAlgorithm::ShouldApplyMinSizeAutoForChild returns true for tables. Another side effect of this fix is that the TablesNG flexbox hack is no longer needed. https://chromium-review.googlesource.com/c/chromium/src/+/1730138/167/third_party/blink/renderer/core/layout/ng/flex/ng_flex_layout_algorithm.cc Bug: 1123100 Change-Id: Ide428db79a3d9b26e426c6f7727349549ea40836 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2392444 Commit-Queue: Aleks Totic <atotic@chromium.org> Reviewed-by:Ian Kilpatrick <ikilpatrick@chromium.org> Reviewed-by:
David Grogan <dgrogan@chromium.org> Cr-Commit-Position: refs/heads/master@{#805127}
Showing
Please register or sign in to comment