LibWeb/CSS: Separate IntegerSV and NumberSV from CSSUnitValue

This inheritance exists for typed-om classes, but StyleValues aren't
typed-om.

Somehow this makes our z-index interpolation slightly more correct. 🎉
This commit is contained in:
Sam Atkins
2025-08-08 10:55:30 +01:00
committed by Tim Ledbetter
parent 51a657ca47
commit 7157d19f56
Notes: github-actions[bot] 2025-08-08 14:20:36 +00:00
10 changed files with 23 additions and 25 deletions

View File

@@ -2,14 +2,14 @@ Harness status: OK
Found 250 tests
212 Pass
38 Fail
215 Pass
35 Fail
Pass CSS Transitions: property <z-index> from neutral to [5] at (-0.3) should be [-4]
Pass CSS Transitions: property <z-index> from neutral to [5] at (0) should be [-2]
Pass CSS Transitions: property <z-index> from neutral to [5] at (0.3) should be [0]
Pass CSS Transitions: property <z-index> from neutral to [5] at (0.6) should be [2]
Pass CSS Transitions: property <z-index> from neutral to [5] at (1) should be [5]
Fail CSS Transitions: property <z-index> from neutral to [5] at (1.5) should be [9]
Pass CSS Transitions: property <z-index> from neutral to [5] at (1.5) should be [9]
Fail CSS Transitions with transition: all: property <z-index> from neutral to [5] at (-0.3) should be [-4]
Fail CSS Transitions with transition: all: property <z-index> from neutral to [5] at (0) should be [-2]
Fail CSS Transitions with transition: all: property <z-index> from neutral to [5] at (0.3) should be [0]
@@ -21,13 +21,13 @@ Pass CSS Animations: property <z-index> from neutral to [5] at (0) should be [-2
Pass CSS Animations: property <z-index> from neutral to [5] at (0.3) should be [0]
Pass CSS Animations: property <z-index> from neutral to [5] at (0.6) should be [2]
Pass CSS Animations: property <z-index> from neutral to [5] at (1) should be [5]
Fail CSS Animations: property <z-index> from neutral to [5] at (1.5) should be [9]
Pass CSS Animations: property <z-index> from neutral to [5] at (1.5) should be [9]
Pass Web Animations: property <z-index> from neutral to [5] at (-0.3) should be [-4]
Pass Web Animations: property <z-index> from neutral to [5] at (0) should be [-2]
Pass Web Animations: property <z-index> from neutral to [5] at (0.3) should be [0]
Pass Web Animations: property <z-index> from neutral to [5] at (0.6) should be [2]
Pass Web Animations: property <z-index> from neutral to [5] at (1) should be [5]
Fail Web Animations: property <z-index> from neutral to [5] at (1.5) should be [9]
Pass Web Animations: property <z-index> from neutral to [5] at (1.5) should be [9]
Pass CSS Transitions with transition-behavior:allow-discrete: property <z-index> from [initial] to [5] at (-0.3) should be [initial]
Pass CSS Transitions with transition-behavior:allow-discrete: property <z-index> from [initial] to [5] at (0) should be [initial]
Pass CSS Transitions with transition-behavior:allow-discrete: property <z-index> from [initial] to [5] at (0.3) should be [initial]