Files
ladybird/Tests/LibWeb/Text/expected/anchor-parse-nested-invalid.txt
Jelle Raaijmakers 1012aad322 LibWeb: Remove bogus discard_a_token() from CSS anchor fallback parsing
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.
2026-04-01 19:41:46 +01:00

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))