Files
ladybird/Tests/LibWeb/Text/expected/wpt-import/css/css-env/syntax.tentative.txt
Callum Law cdc264a62e LibWeb: Validate nested contents when parsing declaration value
Previously we automatically assumed that contents inside functions and
blocks were valid, now we actually check them.
2026-03-26 01:11:39 +00:00

24 lines
996 B
Plaintext

Harness status: OK
Found 18 tests
16 Pass
2 Fail
Pass rgb(0, 128, 0)
Pass background-color: env(test) rgba(0, 0, 0, 0)
Pass background-color: ENV(test) rgba(0, 0, 0, 0)
Pass background-color: env(test) !important rgba(0, 0, 0, 0)
Pass background-color: env(test, 10px) rgba(0, 0, 0, 0)
Pass background-color: env(test, blue) rgb(0, 0, 255)
Pass background-color: env(test, env(another)) rgba(0, 0, 0, 0)
Pass background-color: env(test, env(another, blue)) rgb(0, 0, 255)
Pass background-color: env(-test) rgba(0, 0, 0, 0)
Pass background-color: env(--test) rgba(0, 0, 0, 0)
Fail background-color: env(10px) rgb(0, 128, 0)
Fail background-color: env(env(test)) rgb(0, 128, 0)
Pass background-color: env( test) rgba(0, 0, 0, 0)
Pass background-color: env(test ) rgba(0, 0, 0, 0)
Pass background-color: env( test ) rgba(0, 0, 0, 0)
Pass background-color: env(test /**/, blue) rgb(0, 0, 255)
Pass background-color: env(test, {}) rgba(0, 0, 0, 0)
Pass background-color: env(test, {) rgb(0, 128, 0)