mirror of
https://github.com/LadybirdBrowser/ladybird
synced 2026-04-26 01:35:08 +02:00
LibWeb: Don't canonicalize linear easing function points until use time
Canonicalization can require information that is only known after compute time (i.e. resolved relative lengths within calcs). This also allows us to get rid of the `had_explicit_input` flag and just rely on whether Optional has a value
This commit is contained in:
Notes:
github-actions[bot]
2025-10-20 10:29:40 +00:00
Author: https://github.com/Calme1709 Commit: https://github.com/LadybirdBrowser/ladybird/commit/91925db9cac Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/6459 Reviewed-by: https://github.com/AtkinsSJ ✅
@@ -2,13 +2,13 @@ Harness status: OK
|
||||
|
||||
Found 35 tests
|
||||
|
||||
12 Pass
|
||||
23 Fail
|
||||
13 Pass
|
||||
22 Fail
|
||||
Pass e.style['animation-timing-function'] = "linear(0 0%, 1 100%)" should set the property value
|
||||
Pass e.style['animation-timing-function'] = "linear( 0 0%, 1 100% )" should set the property value
|
||||
Fail e.style['animation-timing-function'] = "linear(0, 1)" should set the property value
|
||||
Pass e.style['animation-timing-function'] = "linear(-10, -5, 0, 5, 10)" should set the property value
|
||||
Fail e.style['animation-timing-function'] = "linear(-10 -10%, -5 -5%, 0, 5, 10)" should set the property value
|
||||
Pass e.style['animation-timing-function'] = "linear(-10 -10%, -5 -5%, 0, 5, 10)" should set the property value
|
||||
Fail e.style['animation-timing-function'] = "linear(0 calc(0%), 0 calc(100%))" should set the property value
|
||||
Fail e.style['animation-timing-function'] = "linear(0 calc(50% - 50%), 0 calc(50% + 50%))" should set the property value
|
||||
Fail e.style['animation-timing-function'] = "linear(0 calc(50%), 0 100%)" should set the property value
|
||||
|
||||
Reference in New Issue
Block a user