mirror of
https://github.com/LadybirdBrowser/ladybird
synced 2026-04-27 10:07:15 +02:00
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.
This commit is contained in:
Notes:
github-actions[bot]
2026-03-26 01:12:42 +00:00
Author: https://github.com/Calme1709 Commit: https://github.com/LadybirdBrowser/ladybird/commit/cdc264a62eb Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/8330 Reviewed-by: https://github.com/AtkinsSJ ✅
@@ -2,8 +2,8 @@ Harness status: OK
|
||||
|
||||
Found 18 tests
|
||||
|
||||
15 Pass
|
||||
3 Fail
|
||||
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)
|
||||
@@ -21,4 +21,4 @@ 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)
|
||||
Fail background-color: env(test, {) rgb(0, 128, 0)
|
||||
Pass background-color: env(test, {) rgb(0, 128, 0)
|
||||
Reference in New Issue
Block a user