mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-08-17 07:50:04 +00:00
Tests: Import some calc() serialization tests from WPT
This commit is contained in:
parent
043e96946f
commit
7b13ccabd4
Notes:
github-actions[bot]
2025-02-27 20:43:59 +00:00
Author: https://github.com/AtkinsSJ
Commit: 7b13ccabd4
Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/3719
4 changed files with 230 additions and 0 deletions
|
@ -0,0 +1,30 @@
|
|||
Harness status: OK
|
||||
|
||||
Found 24 tests
|
||||
|
||||
6 Pass
|
||||
18 Fail
|
||||
Fail testing calc(1vh + 2px + 3%)
|
||||
Pass testing calc(4px + 1vh)
|
||||
Fail testing calc(5px + 6em + 1vh)
|
||||
Fail testing calc(-8px + 9em + 1vh)
|
||||
Fail testing calc(1pc + 1in + 1vh + 10%)
|
||||
Fail testing calc(25.4q + 1vh + 12%)
|
||||
Fail testing calc(1em + 1.27cm + 13% + 3em)
|
||||
Fail testing calc(15vw + 16vmin - 17vh)
|
||||
Pass testing calc(9pt + calc(9rem + 10px))
|
||||
Fail testing calc(5pt + 5em + 4pt + 3em)
|
||||
Fail testing calc(4vmin + 0pt + 3pc)
|
||||
Fail testing calc(4vmin + 0pt)
|
||||
Pass testing calc(100% - 100% + 1em)
|
||||
Pass testing calc(100% + 1em - 100%)
|
||||
Fail testing calc(1vh - 7px)
|
||||
Fail testing calc(5ex - 9ex)
|
||||
Fail testing calc(-80px + 25.4mm)
|
||||
Pass testing calc(2 * (10px + 1rem))
|
||||
Fail testing calc(2 * (10px - 1rem))
|
||||
Pass testing calc((10px + 1rem) / 2)
|
||||
Fail testing calc(2 * (min(10px, 20%) + max(1rem, 2%)))
|
||||
Fail testing calc((min(10px, 20%) + max(1rem, 2%)) * 2)
|
||||
Fail testing calc(1vmin - 14%)
|
||||
Fail testing calc(4 * 3px + 4pc / 8)
|
|
@ -0,0 +1,6 @@
|
|||
Harness status: OK
|
||||
|
||||
Found 1 tests
|
||||
|
||||
1 Fail
|
||||
Fail calc() serialization
|
Loading…
Add table
Add a link
Reference in a new issue