mirror of
https://github.com/LadybirdBrowser/ladybird
synced 2026-04-26 01:35:08 +02:00
LibWeb: Always parse <counter-style> as such
Previously we parsed it as `<custom-ident>` in `<counter>` and as a keyword in `list-style-type`. The practical effect of this is: - Spec defined counter style names in `<counter>` are ASCII lowercased on parse. - Non spec defined counter style names are allowed in `list-style-type. We are still to parse the `symbols()` function but this gives us a better base for that.
This commit is contained in:
Notes:
github-actions[bot]
2026-02-12 10:34:28 +00:00
Author: https://github.com/Calme1709 Commit: https://github.com/LadybirdBrowser/ladybird/commit/8a82d116d6f Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/7843 Reviewed-by: https://github.com/AtkinsSJ ✅ Reviewed-by: https://github.com/gmta
@@ -2518,7 +2518,7 @@
|
||||
"inherited": true,
|
||||
"initial": "disc",
|
||||
"valid-types": [
|
||||
"counter-style-name-keyword",
|
||||
"counter-style",
|
||||
"string"
|
||||
],
|
||||
"valid-identifiers": [
|
||||
|
||||
Reference in New Issue
Block a user