Simplify the computation of CAPMIN (#33577)

CAPMIN is the largest min-content contribution of the table captions.

In Servo, the standard way to compute min/max-content contributions is
`outer_inline_content_sizes()`, so just use that instead of reinventing
the wheel.

This also fixes cyclic percentages to resolve consistently with normal
block boxes.

Signed-off-by: Oriol Brufau <obrufau@igalia.com>
This commit is contained in:
Oriol Brufau 2024-09-28 02:39:22 -07:00 committed by GitHub
parent d110d8710a
commit 5d269a9036
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
4 changed files with 116 additions and 45 deletions

View file

@ -565066,6 +565066,13 @@
{}
]
],
"caption-cyclic-percentage.html": [
"3ba59491fa47496ac4f6562ad94bfde385a47e57",
[
null,
{}
]
],
"caption-side-1.html": [
"302e51ae239307a49c239bf0ad5ade17a5c9d940",
[