LibWeb: Create enum for <line-width> keywords

This commit is contained in:
Callum Law 2025-07-09 22:32:40 +12:00 committed by Jelle Raaijmakers
commit f46bd7f5eb
Notes: github-actions[bot] 2025-07-09 11:29:22 +00:00
2 changed files with 21 additions and 48 deletions

View file

@ -450,6 +450,11 @@
"inset",
"outset"
],
"line-width": [
"thin",
"medium",
"thick"
],
"list-style-position": [
"inside",
"outside"

View file

@ -599,12 +599,8 @@
],
"max-values": 2,
"valid-types": [
"length [0,∞]"
],
"valid-identifiers": [
"medium",
"thick",
"thin"
"length [0,∞]",
"line-width"
]
},
"border-bottom": {
@ -665,12 +661,8 @@
"initial": "medium",
"inherited": false,
"valid-types": [
"length [0,∞]"
],
"valid-identifiers": [
"medium",
"thick",
"thin"
"length [0,∞]",
"line-width"
],
"quirks": [
"unitless-length"
@ -889,12 +881,8 @@
],
"max-values": 2,
"valid-types": [
"length [0,∞]"
],
"valid-identifiers": [
"medium",
"thick",
"thin"
"length [0,∞]",
"line-width"
]
},
"border-left": {
@ -931,12 +919,8 @@
"initial": "medium",
"inherited": false,
"valid-types": [
"length [0,∞]"
],
"valid-identifiers": [
"medium",
"thick",
"thin"
"length [0,∞]",
"line-width"
],
"quirks": [
"unitless-length"
@ -992,12 +976,8 @@
"initial": "medium",
"inherited": false,
"valid-types": [
"length [0,∞]"
],
"valid-identifiers": [
"medium",
"thick",
"thin"
"length [0,∞]",
"line-width"
],
"quirks": [
"unitless-length"
@ -1100,12 +1080,8 @@
"initial": "medium",
"inherited": false,
"valid-types": [
"length [0,∞]"
],
"valid-identifiers": [
"medium",
"thick",
"thin"
"length [0,∞]",
"line-width"
],
"quirks": [
"unitless-length"
@ -1121,12 +1097,8 @@
],
"max-values": 4,
"valid-types": [
"length [0,∞]"
],
"valid-identifiers": [
"medium",
"thick",
"thin"
"length [0,∞]",
"line-width"
],
"quirks": [
"unitless-length"
@ -2614,12 +2586,8 @@
"inherited": false,
"initial": "medium",
"valid-types": [
"length [0,∞]"
],
"valid-identifiers": [
"medium",
"thick",
"thin"
"length [0,∞]",
"line-width"
]
},
"overflow": {