mirror of
https://github.com/LadybirdBrowser/ladybird
synced 2026-05-03 21:12:08 +02:00
We now clamp the values returned from calc into the allowed range (where we know it) and censor any `NaN`s to `0` both when we resolve and when we serialize. Gains us 76 WPT passes.
18 lines
481 B
Plaintext
18 lines
481 B
Plaintext
Harness status: OK
|
|
|
|
Found 12 tests
|
|
|
|
11 Pass
|
|
1 Fail
|
|
Pass testing tab-size: calc(2 * 3)
|
|
Pass testing tab-size: calc(2 * -4)
|
|
Pass testing opacity: calc(2 / 4)
|
|
Pass testing tab-size: calc(2 / 4)
|
|
Pass testing opacity: calc(2 / 4) * 1px
|
|
Fail testing opacity: calc(90%)
|
|
Pass testing tab-size: calc(1 + 1px)
|
|
Pass testing tab-size: calc(1 + 100%)
|
|
Pass testing tab-size: calc(100%)
|
|
Pass testing tab-size: calc(10px) bla
|
|
Pass testing tab-size: calc(bla) 10px
|
|
Pass testing tab-size: calc(10px) |