Open Bug 1661858 Opened 5 years ago Updated 5 years ago

[wpt-sync] Sync PR 25282 - [layout] Fix available-size given to table out-of-flow calculations.

Categories

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

task

Tracking

()

People

(Reporter: wpt-sync, Unassigned)

References

()

Details

(Whiteboard: [wptsync downstream])

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

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

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

[layout] Fix available-size given to table out-of-flow calculations.

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).

After a bit of research it appears that Blink/WebKit/EdgeHTML limit
the available-size for the shrink-to-fit calculation to the container's
available-size. Firefox appears to be the odd one only applying this limit
in certain circumstances.

This applies the limit, and adds tentative tests.

Bug: 1122428
Change-Id: Ie8079aa598931b4054afd663f67f7377c97e4e51
Reviewed-on: https://chromium-review.googlesource.com/2380102
WPT-Export-Revision: 83dd4c6a8dafd85f438c81a3fdcd737071a7436b

Whiteboard: [wptsync downstream] → [wptsync downstream error]
Component: web-platform-tests → Layout: Tables
Product: Testing → Core
Whiteboard: [wptsync downstream error] → [wptsync downstream]

CI Results

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

Total 4 tests

Status Summary

Firefox

FAIL: 4

Chrome

FAIL: 4

Safari

PASS: 3
FAIL: 1

Links

Gecko CI (Treeherder)
GitHub PR Head
GitHub PR Base

Details

New Tests That Don't Pass

/css/css-tables/absolute-tables-008.tentative.html: FAIL (Chrome: FAIL, Safari: PASS)
/css/css-tables/absolute-tables-009.tentative.html: FAIL (Chrome: FAIL, Safari: PASS)
/css/css-tables/absolute-tables-010.tentative.html: FAIL (Chrome: FAIL, Safari: PASS)
/css/css-tables/absolute-tables-011.tentative.html: FAIL (Chrome: FAIL, Safari: FAIL)

You need to log in before you can comment on or make changes to this bug.