mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-08-31 14:48:17 +00:00
LibWeb: Validate time values when parsing transition value
This commit is contained in:
parent
37eb2be348
commit
6298ec6be4
Notes:
github-actions[bot]
2025-03-14 07:53:28 +00:00
Author: https://github.com/tcl3
Commit: 6298ec6be4
Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/3919
Reviewed-by: https://github.com/gmta ✅
3 changed files with 46 additions and 3 deletions
|
@ -0,0 +1,11 @@
|
|||
Harness status: OK
|
||||
|
||||
Found 5 tests
|
||||
|
||||
3 Pass
|
||||
2 Fail
|
||||
Pass e.style['transition'] = "1s 2s 3s" should not set the property value
|
||||
Pass e.style['transition'] = "-1s -2s" should not set the property value
|
||||
Pass e.style['transition'] = "steps(1) steps(2)" should not set the property value
|
||||
Fail e.style['transition'] = "none top" should not set the property value
|
||||
Fail e.style['transition'] = "initial 1s" should not set the property value
|
Loading…
Add table
Add a link
Reference in a new issue