mirror of
https://github.com/LadybirdBrowser/ladybird
synced 2026-04-25 17:25:08 +02:00
LibWeb/CSS: Add custom-ident blacklists to Properties.json
These excluded values use a similar notation to the ranges for numeric types: `![foo,bar,baz]` to exclude `foo`, `bar`, and `baz`.
This commit is contained in:
Notes:
github-actions[bot]
2025-02-26 11:24:14 +00:00
Author: https://github.com/AtkinsSJ Commit: https://github.com/LadybirdBrowser/ladybird/commit/c729c3fcee2 Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/3684 Reviewed-by: https://github.com/trflynn89
@@ -72,6 +72,7 @@ The `valid-types` array lists the names of CSS value types, as defined in the la
|
||||
[CSS Values and Units spec](https://www.w3.org/TR/css-values/), without the `<>` around them.
|
||||
For numeric types, we use the [bracketed range notation](https://www.w3.org/TR/css-values-4/#css-bracketed-range-notation),
|
||||
for example `width` can take any non-negative length, so it has `"length [0,∞]"` in its `valid-types` array.
|
||||
For `<custom-ident>`s, the excluded identifiers are placed within `![]`, for example `"custom-ident ![all,none]"`.
|
||||
|
||||
## Keywords.json
|
||||
|
||||
|
||||
Reference in New Issue
Block a user