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:
Callum Law
2026-02-04 12:24:04 +13:00
committed by Sam Atkins
parent 05cafdb5d0
commit 8a82d116d6
Notes: github-actions[bot] 2026-02-12 10:34:28 +00:00
22 changed files with 197 additions and 103 deletions

View File

@@ -2,8 +2,8 @@ Harness status: OK
Found 687 tests
665 Pass
22 Fail
667 Pass
20 Fail
Pass background-attachment: scroll
Pass background-attachment: fixed
Pass background-attachment: inherit
@@ -471,8 +471,8 @@ Pass list-style-type: upper-roman
Pass list-style-type: lower-greek
Pass list-style-type: lower-latin
Pass list-style-type: upper-latin
Fail list-style-type: armenian
Fail list-style-type: georgian
Pass list-style-type: armenian
Pass list-style-type: georgian
Pass list-style-type: lower-alpha
Pass list-style-type: upper-alpha
Pass list-style-type: none