mirror of
https://github.com/LadybirdBrowser/ladybird
synced 2026-05-05 14:43:01 +02:00
This means that we correctly parse dimension percentage mixes (i.e. `calc(10px + 10%)` is a valid `<length-percentage>`)
35 lines
2.1 KiB
Plaintext
35 lines
2.1 KiB
Plaintext
Harness status: OK
|
|
|
|
Found 29 tests
|
|
|
|
13 Pass
|
|
16 Fail
|
|
Pass Initial value for <length> correctly computed [calc(10px + 15px)]
|
|
Pass Initial value for <length> correctly computed [1in]
|
|
Pass Initial value for <length> correctly computed [2.54cm]
|
|
Pass Initial value for <length> correctly computed [25.4mm]
|
|
Pass Initial value for <length> correctly computed [6pc]
|
|
Pass Initial value for <length> correctly computed [72pt]
|
|
Pass Initial value for <percentage> correctly computed [calc(10% + 20%)]
|
|
Pass Initial value for <length-percentage> correctly computed [calc(1in + 10% + 4px)]
|
|
Pass Initial value for <color> correctly computed [pink, inherits]
|
|
Pass Initial value for <color> correctly computed [purple]
|
|
Pass Initial value for <transform-function> correctly computed [rotate(42deg)]
|
|
Pass Initial value for <transform-list> correctly computed [scale(calc(2 + 2))]
|
|
Pass Initial value for <transform-list> correctly computed [scale(calc(2 + 1)) translateX(calc(3px + 1px))]
|
|
Fail Initial value for <url> correctly computed [url(a)]
|
|
Fail Initial value for <url>+ correctly computed [url(a) url(a)]
|
|
Fail Initial inherited value can be substituted [purple, color]
|
|
Fail Initial non-inherited value can be substituted [pink, background-color]
|
|
Fail Initial non-inherited value can be substituted [ foo , --x]
|
|
Fail Initial non-inherited value can be substituted [ 1turn, --x]
|
|
Fail Initial non-inherited value can be substituted [ pink , --x]
|
|
Fail Initial non-inherited value can be substituted [ test, --x]
|
|
Fail Initial non-inherited value can be substituted [calc(20 + 20 + 10), --x]
|
|
Fail Initial non-inherited value can be substituted [ calc(13% + 37px), --x]
|
|
Fail Initial non-inherited value can be substituted [calc(10px + 15px), --x]
|
|
Fail Initial non-inherited value can be substituted [calc(13 + 37), --x]
|
|
Fail Initial non-inherited value can be substituted [calc(13% + 37%), --x]
|
|
Fail Initial non-inherited value can be substituted [2000ms, --x]
|
|
Fail Initial non-inherited value can be substituted [scale(calc(2 + 2)), --x]
|
|
Fail Initial non-inherited value can be substituted [scale(calc(2 + 2)) translateX(calc(3px + 1px)), --x] |