mirror of
https://github.com/fergalmoran/ladybird.git
synced 2026-01-06 16:45:03 +00:00
These have a few rules that we didn't follow in most cases: - CSS-wide keywords are not allowed. (inherit, initial, etc) - `default` is not allowed. - The above and any other disallowed identifiers must be tested case-insensitively. This introduces a `parse_custom_ident_value()` method, which takes a list of disallowed identifier names, and handles the above rules.
17 lines
222 B
Plaintext
17 lines
222 B
Plaintext
Before testing: none
|
|
badger: badger
|
|
none: none
|
|
BANANA: BANANA
|
|
NONE: none
|
|
InHeRiT: none
|
|
revert: none
|
|
initial: none
|
|
unset: none
|
|
george: george
|
|
REVERT: none
|
|
NaCl: NaCl
|
|
default: INVALID
|
|
string: string
|
|
32: INVALID
|
|
done: done
|