[layout] Make an OOF table-layout:fixed not report an infinite max-size
Previously tables ignored the given fixed-inline-size. However due to a fix for grid/flex: https://chromium.googlesource.com/chromium/src/+/a0b54e201c5ae7f2a5d2a769531adb9c47ff54ba they started respecting them. The uncovered a bug in the NG out-of-flow calculation, (given that these set a fixed-inline-size on children). An OOF table with "table-layout: fixed", and a %-width will force its max-content size to infinity, consuming all available space. This patch only performs this adjustment if the table *isn't* OOF. Bug: 1123475 Change-Id: I8784eb3ce4294132f6e6b7cb95ad71464c2380f8 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2388266Reviewed-by:Aleks Totic <atotic@chromium.org> Commit-Queue: Ian Kilpatrick <ikilpatrick@chromium.org> Cr-Commit-Position: refs/heads/master@{#803639}
Showing
Please register or sign in to comment