Files
ladybird/Tests/LibWeb/Text/expected/wpt-import/css/css-properties-values-api/registered-property-initial.txt
Callum Law 614a5cf33e LibWeb: Set context for parsing against <foo-percentage> syntax
This means that we correctly parse dimension percentage mixes (i.e.
`calc(10px + 10%)` is a valid `<length-percentage>`)
2026-03-26 01:11:39 +00:00

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]