Closed Bug 1662565 Opened 5 years ago Closed 5 years ago

[wpt-sync] Sync PR 25341 - [layout] Make an OOF table-layout:fixed not report an infinite max-size

Categories

(Core :: Layout: Tables, task, P4)

task

Tracking

()

RESOLVED FIXED
82 Branch
Tracking Status
firefox82 --- fixed

People

(Reporter: wpt-sync, Unassigned)

References

()

Details

(Whiteboard: [wptsync downstream])

Sync web-platform-tests PR 25341 into mozilla-central (this bug is closed when the sync is complete).

PR: https://github.com/web-platform-tests/wpt/pull/25341
Details from upstream follow.

b'Ian Kilpatrick <ikilpatrick@chromium.org>' wrote:

[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/2388266
WPT-Export-Revision: f919a4720717138e4a3b2e0fc67d42b87fef8aa3

Component: web-platform-tests → Layout: Tables
Product: Testing → Core

CI Results

Ran 0 Firefox configurations based on mozilla-central, and Firefox, Chrome, and Safari on GitHub CI

Total 1 tests

Status Summary

Firefox

PASS: 1

Chrome

FAIL: 1

Safari

PASS: 1

Links

GitHub PR Head
GitHub PR Base

Pushed by wptsync@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/249cdc048c34 [wpt PR 25341] - [layout] Make an OOF table-layout:fixed not report an infinite max-size, a=testonly
Status: NEW → RESOLVED
Closed: 5 years ago
Resolution: --- → FIXED
Target Milestone: --- → 82 Branch
You need to log in before you can comment on or make changes to this bug.