mirror of
https://github.com/LadybirdBrowser/ladybird
synced 2026-04-26 01:35:08 +02:00
This correctly rejects invalid trailing tokens from `anchor()` fallback values. Also introduces discard_whitespace() to take care of any whitespace between the fallback value and the closing parenthesis.
4 lines
141 B
Plaintext
4 lines
141 B
Plaintext
no space before garbage:
|
|
valid nested: anchor(--foo top, anchor(--bar bottom))
|
|
trailing whitespace: anchor(--foo top, anchor(--bar bottom))
|