Implement keyword sizes on atomic inlines (#33737)

Adds support for min-content, max-content, fit-content and stretch,
for atomic inlines.

There are some new test failures because we don't support vertical
writing modes nor `transition-behavior:allow-discrete`.

Signed-off-by: Oriol Brufau <obrufau@igalia.com>
This commit is contained in:
Oriol Brufau 2024-10-10 17:25:59 +02:00 committed by GitHub
parent 52cddb45bd
commit 8c56cbdab2
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
6 changed files with 248 additions and 41 deletions

View file

@ -565466,6 +565466,13 @@
{}
]
],
"keyword-sizes-on-inline-block.html": [
"a66e118c203678bae777c1fbd572a30dde6e0a5f",
[
null,
{}
]
],
"min-max-content-orthogonal-flow-crash-001.html": [
"d2617f8aa2d1c966e394abb1d1617c012ea4648e",
[

View file

@ -478,3 +478,21 @@
[Web Animations: property <height> from neutral to [fit-content\] at (1.5) should be [fit-content\]]
expected: FAIL
[CSS Transitions with transition-behavior:allow-discrete: property <height> from [max-content\] to [stretch\] at (-0.3) should be [max-content\]]
expected: FAIL
[CSS Transitions with transition-behavior:allow-discrete: property <height> from [max-content\] to [stretch\] at (0) should be [max-content\]]
expected: FAIL
[CSS Transitions with transition-behavior:allow-discrete: property <height> from [max-content\] to [stretch\] at (0.3) should be [max-content\]]
expected: FAIL
[CSS Transitions with transition-property:all and transition-behavor:allow-discrete: property <height> from [max-content\] to [stretch\] at (-0.3) should be [max-content\]]
expected: FAIL
[CSS Transitions with transition-property:all and transition-behavor:allow-discrete: property <height> from [max-content\] to [stretch\] at (0) should be [max-content\]]
expected: FAIL
[CSS Transitions with transition-property:all and transition-behavor:allow-discrete: property <height> from [max-content\] to [stretch\] at (0.3) should be [max-content\]]
expected: FAIL

View file

@ -1,2 +0,0 @@
[hori-block-size-small-or-larger-than-container-with-min-or-max-content-1.html]
expected: FAIL

View file

@ -0,0 +1,2 @@
[vert-block-size-small-or-larger-than-container-with-min-or-max-content-2a.html]
expected: FAIL