LibWeb/CSS: Use LengthPercentageOrAuto for background sizes

...instead of `auto` Lengths.

This also fixes interpolating between two `auto` `<bg-size>`s, which
fixes a lot of animation tests for both `background-size` and `mask`.
This commit is contained in:
Sam Atkins
2025-08-28 13:02:52 +01:00
parent 60fc23e916
commit 04622f3940
Notes: github-actions[bot] 2025-09-04 12:33:16 +00:00
8 changed files with 218 additions and 201 deletions

View File

@@ -2,8 +2,7 @@ Harness status: OK
Found 42 tests
28 Pass
14 Fail
42 Pass
Pass CSS Transitions with transition-behavior:allow-discrete: property <mask> from [none] to [url(mask.png)] at (-0.3) should be [none]
Pass CSS Transitions with transition-behavior:allow-discrete: property <mask> from [none] to [url(mask.png)] at (0) should be [none]
Pass CSS Transitions with transition-behavior:allow-discrete: property <mask> from [none] to [url(mask.png)] at (0.3) should be [none]
@@ -32,17 +31,17 @@ Pass CSS Transitions with transition: all: property <mask> from [none] to [url(m
Pass CSS Transitions with transition: all: property <mask> from [none] to [url(mask.png)] at (0.6) should be [url(mask.png)]
Pass CSS Transitions with transition: all: property <mask> from [none] to [url(mask.png)] at (1) should be [url(mask.png)]
Pass CSS Transitions with transition: all: property <mask> from [none] to [url(mask.png)] at (1.5) should be [url(mask.png)]
Fail CSS Animations: property <mask> from [none] to [url(mask.png)] at (-0.3) should be [none]
Fail CSS Animations: property <mask> from [none] to [url(mask.png)] at (0) should be [none]
Fail CSS Animations: property <mask> from [none] to [url(mask.png)] at (0.3) should be [none]
Fail CSS Animations: property <mask> from [none] to [url(mask.png)] at (0.5) should be [url(mask.png)]
Fail CSS Animations: property <mask> from [none] to [url(mask.png)] at (0.6) should be [url(mask.png)]
Fail CSS Animations: property <mask> from [none] to [url(mask.png)] at (1) should be [url(mask.png)]
Fail CSS Animations: property <mask> from [none] to [url(mask.png)] at (1.5) should be [url(mask.png)]
Fail Web Animations: property <mask> from [none] to [url(mask.png)] at (-0.3) should be [none]
Fail Web Animations: property <mask> from [none] to [url(mask.png)] at (0) should be [none]
Fail Web Animations: property <mask> from [none] to [url(mask.png)] at (0.3) should be [none]
Fail Web Animations: property <mask> from [none] to [url(mask.png)] at (0.5) should be [url(mask.png)]
Fail Web Animations: property <mask> from [none] to [url(mask.png)] at (0.6) should be [url(mask.png)]
Fail Web Animations: property <mask> from [none] to [url(mask.png)] at (1) should be [url(mask.png)]
Fail Web Animations: property <mask> from [none] to [url(mask.png)] at (1.5) should be [url(mask.png)]
Pass CSS Animations: property <mask> from [none] to [url(mask.png)] at (-0.3) should be [none]
Pass CSS Animations: property <mask> from [none] to [url(mask.png)] at (0) should be [none]
Pass CSS Animations: property <mask> from [none] to [url(mask.png)] at (0.3) should be [none]
Pass CSS Animations: property <mask> from [none] to [url(mask.png)] at (0.5) should be [url(mask.png)]
Pass CSS Animations: property <mask> from [none] to [url(mask.png)] at (0.6) should be [url(mask.png)]
Pass CSS Animations: property <mask> from [none] to [url(mask.png)] at (1) should be [url(mask.png)]
Pass CSS Animations: property <mask> from [none] to [url(mask.png)] at (1.5) should be [url(mask.png)]
Pass Web Animations: property <mask> from [none] to [url(mask.png)] at (-0.3) should be [none]
Pass Web Animations: property <mask> from [none] to [url(mask.png)] at (0) should be [none]
Pass Web Animations: property <mask> from [none] to [url(mask.png)] at (0.3) should be [none]
Pass Web Animations: property <mask> from [none] to [url(mask.png)] at (0.5) should be [url(mask.png)]
Pass Web Animations: property <mask> from [none] to [url(mask.png)] at (0.6) should be [url(mask.png)]
Pass Web Animations: property <mask> from [none] to [url(mask.png)] at (1) should be [url(mask.png)]
Pass Web Animations: property <mask> from [none] to [url(mask.png)] at (1.5) should be [url(mask.png)]