Closed Bug 1677641 Opened 4 years ago Closed 4 years ago

[wpt-sync] Sync PR 26546 - [TableNG] Account for <caption> when determining the grid avail-space.

Categories

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

task

Tracking

()

RESOLVED FIXED
85 Branch
Tracking Status
firefox85 --- fixed

People

(Reporter: wpt-sync, Unassigned)

References

()

Details

(Whiteboard: [wptsync downstream])

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

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

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

[TableNG] Account for <caption> when determining the grid avail-space.

Previously when determining the available size for distributing the
table-grid into we'd simply resolve our overall fragment block-size.

However when extrinsically sized (fixed, or stretched) we need to also
subtract the space taken by the captions to correctly determine what
space the distribute the grid into.

This change performs layout on the table \<caption>s up front, before
computing the size of the sections/rows.

Bug: 958381
Change-Id: I912d2b92928e6114eb205867acc807568f5b408e

Reviewed-on: https://chromium-review.googlesource.com/2539339
WPT-Export-Revision: b5f29fb2e70cda1842f57de22ddf17686046586e

Component: web-platform-tests → Layout: Flexbox
Product: Testing → Core
Whiteboard: [wptsync downstream] → [wptsync downstream error]
Whiteboard: [wptsync downstream error] → [wptsync downstream]
Pushed by wptsync@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/51971e652417 [wpt PR 26546] - [TableNG] Account for <caption> when determining the grid avail-space., a=testonly
Test result changes from PR not available.
Status: NEW → RESOLVED
Closed: 4 years ago
Resolution: --- → FIXED
Target Milestone: --- → 85 Branch
You need to log in before you can comment on or make changes to this bug.