mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-08-31 06:38:22 +00:00
LibWeb: Interpolate font-style
values correctly
These are interpolated by computed value, except a value of `normal` is treated as `oblique 0deg`.
This commit is contained in:
parent
c0f9b11070
commit
23009779e1
Notes:
github-actions[bot]
2025-05-03 10:06:19 +00:00
Author: https://github.com/tcl3
Commit: 23009779e1
Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/4552
Reviewed-by: https://github.com/konradekk
3 changed files with 276 additions and 0 deletions
|
@ -0,0 +1,135 @@
|
|||
Harness status: OK
|
||||
|
||||
Found 129 tests
|
||||
|
||||
116 Pass
|
||||
13 Fail
|
||||
Pass CSS Transitions: property <font-style> from [normal] to [oblique 10deg] at (-2) should be [oblique -20deg]
|
||||
Pass CSS Transitions: property <font-style> from [normal] to [oblique 10deg] at (-0.25) should be [oblique -2.5deg]
|
||||
Pass CSS Transitions: property <font-style> from [normal] to [oblique 10deg] at (0) should be [normal]
|
||||
Pass CSS Transitions: property <font-style> from [normal] to [oblique 10deg] at (0.3) should be [oblique 3deg]
|
||||
Pass CSS Transitions: property <font-style> from [normal] to [oblique 10deg] at (0.6) should be [oblique 6deg]
|
||||
Pass CSS Transitions: property <font-style> from [normal] to [oblique 10deg] at (1) should be [oblique 10deg]
|
||||
Pass CSS Transitions: property <font-style> from [normal] to [oblique 10deg] at (1.5) should be [oblique 15deg]
|
||||
Pass CSS Transitions with transition: all: property <font-style> from [normal] to [oblique 10deg] at (-2) should be [oblique -20deg]
|
||||
Pass CSS Transitions with transition: all: property <font-style> from [normal] to [oblique 10deg] at (-0.25) should be [oblique -2.5deg]
|
||||
Pass CSS Transitions with transition: all: property <font-style> from [normal] to [oblique 10deg] at (0) should be [normal]
|
||||
Pass CSS Transitions with transition: all: property <font-style> from [normal] to [oblique 10deg] at (0.3) should be [oblique 3deg]
|
||||
Pass CSS Transitions with transition: all: property <font-style> from [normal] to [oblique 10deg] at (0.6) should be [oblique 6deg]
|
||||
Pass CSS Transitions with transition: all: property <font-style> from [normal] to [oblique 10deg] at (1) should be [oblique 10deg]
|
||||
Pass CSS Transitions with transition: all: property <font-style> from [normal] to [oblique 10deg] at (1.5) should be [oblique 15deg]
|
||||
Pass CSS Animations: property <font-style> from [normal] to [oblique 10deg] at (-2) should be [oblique -20deg]
|
||||
Pass CSS Animations: property <font-style> from [normal] to [oblique 10deg] at (-0.25) should be [oblique -2.5deg]
|
||||
Pass CSS Animations: property <font-style> from [normal] to [oblique 10deg] at (0) should be [normal]
|
||||
Pass CSS Animations: property <font-style> from [normal] to [oblique 10deg] at (0.3) should be [oblique 3deg]
|
||||
Pass CSS Animations: property <font-style> from [normal] to [oblique 10deg] at (0.6) should be [oblique 6deg]
|
||||
Pass CSS Animations: property <font-style> from [normal] to [oblique 10deg] at (1) should be [oblique 10deg]
|
||||
Pass CSS Animations: property <font-style> from [normal] to [oblique 10deg] at (1.5) should be [oblique 15deg]
|
||||
Pass Web Animations: property <font-style> from [normal] to [oblique 10deg] at (-2) should be [oblique -20deg]
|
||||
Pass Web Animations: property <font-style> from [normal] to [oblique 10deg] at (-0.25) should be [oblique -2.5deg]
|
||||
Pass Web Animations: property <font-style> from [normal] to [oblique 10deg] at (0) should be [normal]
|
||||
Pass Web Animations: property <font-style> from [normal] to [oblique 10deg] at (0.3) should be [oblique 3deg]
|
||||
Pass Web Animations: property <font-style> from [normal] to [oblique 10deg] at (0.6) should be [oblique 6deg]
|
||||
Pass Web Animations: property <font-style> from [normal] to [oblique 10deg] at (1) should be [oblique 10deg]
|
||||
Pass Web Animations: property <font-style> from [normal] to [oblique 10deg] at (1.5) should be [oblique 15deg]
|
||||
Pass CSS Transitions: property <font-style> from [oblique 5deg] to [oblique 15deg] at (-2) should be [oblique -15deg]
|
||||
Pass CSS Transitions: property <font-style> from [oblique 5deg] to [oblique 15deg] at (-0.25) should be [oblique 2.5deg]
|
||||
Pass CSS Transitions: property <font-style> from [oblique 5deg] to [oblique 15deg] at (0) should be [oblique 5deg]
|
||||
Pass CSS Transitions: property <font-style> from [oblique 5deg] to [oblique 15deg] at (0.3) should be [oblique 8deg]
|
||||
Pass CSS Transitions: property <font-style> from [oblique 5deg] to [oblique 15deg] at (0.6) should be [oblique 11deg]
|
||||
Pass CSS Transitions: property <font-style> from [oblique 5deg] to [oblique 15deg] at (1) should be [oblique 15deg]
|
||||
Pass CSS Transitions: property <font-style> from [oblique 5deg] to [oblique 15deg] at (1.5) should be [oblique 20deg]
|
||||
Pass CSS Transitions with transition: all: property <font-style> from [oblique 5deg] to [oblique 15deg] at (-2) should be [oblique -15deg]
|
||||
Pass CSS Transitions with transition: all: property <font-style> from [oblique 5deg] to [oblique 15deg] at (-0.25) should be [oblique 2.5deg]
|
||||
Pass CSS Transitions with transition: all: property <font-style> from [oblique 5deg] to [oblique 15deg] at (0) should be [oblique 5deg]
|
||||
Pass CSS Transitions with transition: all: property <font-style> from [oblique 5deg] to [oblique 15deg] at (0.3) should be [oblique 8deg]
|
||||
Pass CSS Transitions with transition: all: property <font-style> from [oblique 5deg] to [oblique 15deg] at (0.6) should be [oblique 11deg]
|
||||
Pass CSS Transitions with transition: all: property <font-style> from [oblique 5deg] to [oblique 15deg] at (1) should be [oblique 15deg]
|
||||
Pass CSS Transitions with transition: all: property <font-style> from [oblique 5deg] to [oblique 15deg] at (1.5) should be [oblique 20deg]
|
||||
Pass CSS Animations: property <font-style> from [oblique 5deg] to [oblique 15deg] at (-2) should be [oblique -15deg]
|
||||
Pass CSS Animations: property <font-style> from [oblique 5deg] to [oblique 15deg] at (-0.25) should be [oblique 2.5deg]
|
||||
Pass CSS Animations: property <font-style> from [oblique 5deg] to [oblique 15deg] at (0) should be [oblique 5deg]
|
||||
Pass CSS Animations: property <font-style> from [oblique 5deg] to [oblique 15deg] at (0.3) should be [oblique 8deg]
|
||||
Pass CSS Animations: property <font-style> from [oblique 5deg] to [oblique 15deg] at (0.6) should be [oblique 11deg]
|
||||
Pass CSS Animations: property <font-style> from [oblique 5deg] to [oblique 15deg] at (1) should be [oblique 15deg]
|
||||
Pass CSS Animations: property <font-style> from [oblique 5deg] to [oblique 15deg] at (1.5) should be [oblique 20deg]
|
||||
Pass Web Animations: property <font-style> from [oblique 5deg] to [oblique 15deg] at (-2) should be [oblique -15deg]
|
||||
Pass Web Animations: property <font-style> from [oblique 5deg] to [oblique 15deg] at (-0.25) should be [oblique 2.5deg]
|
||||
Pass Web Animations: property <font-style> from [oblique 5deg] to [oblique 15deg] at (0) should be [oblique 5deg]
|
||||
Pass Web Animations: property <font-style> from [oblique 5deg] to [oblique 15deg] at (0.3) should be [oblique 8deg]
|
||||
Pass Web Animations: property <font-style> from [oblique 5deg] to [oblique 15deg] at (0.6) should be [oblique 11deg]
|
||||
Pass Web Animations: property <font-style> from [oblique 5deg] to [oblique 15deg] at (1) should be [oblique 15deg]
|
||||
Pass Web Animations: property <font-style> from [oblique 5deg] to [oblique 15deg] at (1.5) should be [oblique 20deg]
|
||||
Pass CSS Transitions: property <font-style> from [initial] to [inherit] at (-2) should be [oblique -40deg]
|
||||
Pass CSS Transitions: property <font-style> from [initial] to [inherit] at (-0.25) should be [oblique -5deg]
|
||||
Pass CSS Transitions: property <font-style> from [initial] to [inherit] at (0) should be [normal]
|
||||
Pass CSS Transitions: property <font-style> from [initial] to [inherit] at (0.3) should be [oblique 6deg]
|
||||
Pass CSS Transitions: property <font-style> from [initial] to [inherit] at (0.6) should be [oblique 12deg]
|
||||
Pass CSS Transitions: property <font-style> from [initial] to [inherit] at (1) should be [oblique 20deg]
|
||||
Pass CSS Transitions: property <font-style> from [initial] to [inherit] at (1.5) should be [oblique 30deg]
|
||||
Pass CSS Transitions with transition: all: property <font-style> from [initial] to [inherit] at (-2) should be [oblique -40deg]
|
||||
Pass CSS Transitions with transition: all: property <font-style> from [initial] to [inherit] at (-0.25) should be [oblique -5deg]
|
||||
Pass CSS Transitions with transition: all: property <font-style> from [initial] to [inherit] at (0) should be [normal]
|
||||
Pass CSS Transitions with transition: all: property <font-style> from [initial] to [inherit] at (0.3) should be [oblique 6deg]
|
||||
Pass CSS Transitions with transition: all: property <font-style> from [initial] to [inherit] at (0.6) should be [oblique 12deg]
|
||||
Pass CSS Transitions with transition: all: property <font-style> from [initial] to [inherit] at (1) should be [oblique 20deg]
|
||||
Pass CSS Transitions with transition: all: property <font-style> from [initial] to [inherit] at (1.5) should be [oblique 30deg]
|
||||
Pass CSS Animations: property <font-style> from [initial] to [inherit] at (-2) should be [oblique -40deg]
|
||||
Pass CSS Animations: property <font-style> from [initial] to [inherit] at (-0.25) should be [oblique -5deg]
|
||||
Pass CSS Animations: property <font-style> from [initial] to [inherit] at (0) should be [normal]
|
||||
Pass CSS Animations: property <font-style> from [initial] to [inherit] at (0.3) should be [oblique 6deg]
|
||||
Pass CSS Animations: property <font-style> from [initial] to [inherit] at (0.6) should be [oblique 12deg]
|
||||
Pass CSS Animations: property <font-style> from [initial] to [inherit] at (1) should be [oblique 20deg]
|
||||
Pass CSS Animations: property <font-style> from [initial] to [inherit] at (1.5) should be [oblique 30deg]
|
||||
Pass Web Animations: property <font-style> from [initial] to [inherit] at (-2) should be [oblique -40deg]
|
||||
Pass Web Animations: property <font-style> from [initial] to [inherit] at (-0.25) should be [oblique -5deg]
|
||||
Pass Web Animations: property <font-style> from [initial] to [inherit] at (0) should be [normal]
|
||||
Pass Web Animations: property <font-style> from [initial] to [inherit] at (0.3) should be [oblique 6deg]
|
||||
Pass Web Animations: property <font-style> from [initial] to [inherit] at (0.6) should be [oblique 12deg]
|
||||
Pass Web Animations: property <font-style> from [initial] to [inherit] at (1) should be [oblique 20deg]
|
||||
Pass Web Animations: property <font-style> from [initial] to [inherit] at (1.5) should be [oblique 30deg]
|
||||
Pass CSS Transitions: property <font-style> from [oblique 20deg] to [normal] at (-1) should be [oblique 40deg]
|
||||
Pass CSS Transitions: property <font-style> from [oblique 20deg] to [normal] at (0) should be [oblique 20deg]
|
||||
Pass CSS Transitions: property <font-style> from [oblique 20deg] to [normal] at (0.5) should be [oblique 10deg]
|
||||
Pass CSS Transitions: property <font-style> from [oblique 20deg] to [normal] at (1) should be [normal]
|
||||
Pass CSS Transitions: property <font-style> from [oblique 20deg] to [normal] at (1.5) should be [oblique -10deg]
|
||||
Pass CSS Transitions with transition: all: property <font-style> from [oblique 20deg] to [normal] at (-1) should be [oblique 40deg]
|
||||
Pass CSS Transitions with transition: all: property <font-style> from [oblique 20deg] to [normal] at (0) should be [oblique 20deg]
|
||||
Pass CSS Transitions with transition: all: property <font-style> from [oblique 20deg] to [normal] at (0.5) should be [oblique 10deg]
|
||||
Pass CSS Transitions with transition: all: property <font-style> from [oblique 20deg] to [normal] at (1) should be [normal]
|
||||
Pass CSS Transitions with transition: all: property <font-style> from [oblique 20deg] to [normal] at (1.5) should be [oblique -10deg]
|
||||
Pass CSS Animations: property <font-style> from [oblique 20deg] to [normal] at (-1) should be [oblique 40deg]
|
||||
Pass CSS Animations: property <font-style> from [oblique 20deg] to [normal] at (0) should be [oblique 20deg]
|
||||
Pass CSS Animations: property <font-style> from [oblique 20deg] to [normal] at (0.5) should be [oblique 10deg]
|
||||
Pass CSS Animations: property <font-style> from [oblique 20deg] to [normal] at (1) should be [normal]
|
||||
Pass CSS Animations: property <font-style> from [oblique 20deg] to [normal] at (1.5) should be [oblique -10deg]
|
||||
Pass Web Animations: property <font-style> from [oblique 20deg] to [normal] at (-1) should be [oblique 40deg]
|
||||
Pass Web Animations: property <font-style> from [oblique 20deg] to [normal] at (0) should be [oblique 20deg]
|
||||
Pass Web Animations: property <font-style> from [oblique 20deg] to [normal] at (0.5) should be [oblique 10deg]
|
||||
Pass Web Animations: property <font-style> from [oblique 20deg] to [normal] at (1) should be [normal]
|
||||
Pass Web Animations: property <font-style> from [oblique 20deg] to [normal] at (1.5) should be [oblique -10deg]
|
||||
Fail CSS Transitions: property <font-style> from [oblique -90deg] to [oblique 90deg] at (-2) should be [oblique -90deg]
|
||||
Fail CSS Transitions: property <font-style> from [oblique -90deg] to [oblique 90deg] at (-1) should be [oblique -90deg]
|
||||
Pass CSS Transitions: property <font-style> from [oblique -90deg] to [oblique 90deg] at (0) should be [oblique -90deg]
|
||||
Pass CSS Transitions: property <font-style> from [oblique -90deg] to [oblique 90deg] at (0.5) should be [normal]
|
||||
Pass CSS Transitions: property <font-style> from [oblique -90deg] to [oblique 90deg] at (1) should be [oblique 90deg]
|
||||
Fail CSS Transitions: property <font-style> from [oblique -90deg] to [oblique 90deg] at (1.5) should be [oblique 90deg]
|
||||
Fail CSS Transitions with transition: all: property <font-style> from [oblique -90deg] to [oblique 90deg] at (-2) should be [oblique -90deg]
|
||||
Fail CSS Transitions with transition: all: property <font-style> from [oblique -90deg] to [oblique 90deg] at (-1) should be [oblique -90deg]
|
||||
Pass CSS Transitions with transition: all: property <font-style> from [oblique -90deg] to [oblique 90deg] at (0) should be [oblique -90deg]
|
||||
Pass CSS Transitions with transition: all: property <font-style> from [oblique -90deg] to [oblique 90deg] at (0.5) should be [normal]
|
||||
Pass CSS Transitions with transition: all: property <font-style> from [oblique -90deg] to [oblique 90deg] at (1) should be [oblique 90deg]
|
||||
Fail CSS Transitions with transition: all: property <font-style> from [oblique -90deg] to [oblique 90deg] at (1.5) should be [oblique 90deg]
|
||||
Fail CSS Animations: property <font-style> from [oblique -90deg] to [oblique 90deg] at (-2) should be [oblique -90deg]
|
||||
Fail CSS Animations: property <font-style> from [oblique -90deg] to [oblique 90deg] at (-1) should be [oblique -90deg]
|
||||
Pass CSS Animations: property <font-style> from [oblique -90deg] to [oblique 90deg] at (0) should be [oblique -90deg]
|
||||
Pass CSS Animations: property <font-style> from [oblique -90deg] to [oblique 90deg] at (0.5) should be [normal]
|
||||
Pass CSS Animations: property <font-style> from [oblique -90deg] to [oblique 90deg] at (1) should be [oblique 90deg]
|
||||
Fail CSS Animations: property <font-style> from [oblique -90deg] to [oblique 90deg] at (1.5) should be [oblique 90deg]
|
||||
Fail Web Animations: property <font-style> from [oblique -90deg] to [oblique 90deg] at (-2) should be [oblique -90deg]
|
||||
Fail Web Animations: property <font-style> from [oblique -90deg] to [oblique 90deg] at (-1) should be [oblique -90deg]
|
||||
Pass Web Animations: property <font-style> from [oblique -90deg] to [oblique 90deg] at (0) should be [oblique -90deg]
|
||||
Pass Web Animations: property <font-style> from [oblique -90deg] to [oblique 90deg] at (0.5) should be [normal]
|
||||
Pass Web Animations: property <font-style> from [oblique -90deg] to [oblique 90deg] at (1) should be [oblique 90deg]
|
||||
Fail Web Animations: property <font-style> from [oblique -90deg] to [oblique 90deg] at (1.5) should be [oblique 90deg]
|
||||
Fail An interpolation to inherit updates correctly on a parent style change.
|
Loading…
Add table
Add a link
Reference in a new issue