[wpt-sync] Sync PR 28363 - [css-flex/TablesNG] Make flex honor table caption height
Categories
(Core :: Layout: Flexbox, task, P4)
Tracking
()
Tracking | Status | |
---|---|---|
firefox89 | --- | fixed |
People
(Reporter: mozilla.org, Unassigned)
References
()
Details
(Whiteboard: [wptsync downstream])
Sync web-platform-tests PR 28363 into mozilla-central (this bug is closed when the sync is complete).
PR: https://github.com/web-platform-tests/wpt/pull/28363
Details from upstream follow.
b'David Grogan <dgrogan@chromium.org>' wrote:
[css-flex/TablesNG] Make flex honor table caption height
Flexbox needs caption block size to compute table wrapper block size.
Table's css minimum-size specifies size of the grid, not the wrapper.
Wrapper's true block minimum size is css minimum-size + block size.This patch exposes a method on TablesNG for flex to retrieve the caption
block size. (Thanks atotic!) Flex then adds the result to flex base size
when the flex base size derives from a specified block size or flex
basis.Bug: 1181403
Change-Id: I61d7caf62708ae32850b89c444374e7a6c40d564
Reviewed-on: https://chromium-review.googlesource.com/2804711
WPT-Export-Revision: c6d70e37921df1b9a2c9f9477b485177520f7b98
Assignee | ||
Updated•4 years ago
|
Assignee | ||
Comment 1•4 years ago
|
||
Assignee | ||
Comment 3•4 years ago
|
||
Comment 4•4 years ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/a876a203e34b
https://hg.mozilla.org/mozilla-central/rev/32574b396fab
Description
•