ladybird/Libraries/LibWeb/CSS/Descriptors.json
Sam Atkins e8213bb86b LibWeb/CSS: Remove unnecessary note about unicode-range parsing
I wrote this before implementing the parsing, and it ended-up not being
true.
2025-04-07 10:00:21 +01:00

128 lines
2.6 KiB
JSON

{
"font-face": {
"spec": "https://drafts.csswg.org/css-fonts-4/#at-font-face-rule",
"descriptors": {
"ascent-override": {
"initial": "normal",
"syntax": [
"normal",
"<percentage [0,∞]>"
]
},
"descent-override": {
"initial": "normal",
"syntax": [
"normal",
"<percentage [0,∞]>"
]
},
"font-display": {
"initial": "auto",
"syntax": [
"auto",
"block",
"swap",
"fallback",
"optional"
]
},
"font-family": {
"syntax": [
"<family-name>"
]
},
"font-feature-settings": {
"initial": "normal",
"syntax": [
"<'font-feature-settings'>"
]
},
"font-language-override": {
"initial": "normal",
"syntax": [
"normal",
"<string>"
]
},
"font-named-instance": {
"initial": "auto",
"syntax": [
"auto",
"<string>"
]
},
"font-stretch": {
"legacy-alias-for": "font-width"
},
"font-style": {
"initial": "auto",
"FIXME": "Support angles for oblique",
"syntax": [
"auto",
"<'font-style'>"
]
},
"font-variation-settings": {
"initial": "normal",
"syntax": [
"<'font-variation-settings'>"
]
},
"font-weight": {
"initial": "auto",
"FIXME": "Support multiple font-weight values; disallow relative font-weights",
"syntax": [
"auto",
"<'font-weight'>"
]
},
"font-width": {
"initial": "auto",
"FIXME": "Support multiple font-width values",
"syntax": [
"auto",
"<'font-width'>"
]
},
"line-gap-override": {
"initial": "normal",
"syntax": [
"normal",
"<percentage [0,∞]>"
]
},
"src": {
"syntax": [
"<font-src-list>"
]
},
"unicode-range": {
"initial": "U+0-10FFFF",
"syntax": [
"<unicode-range-token>#"
]
}
}
},
"property": {
"spec": "https://drafts.css-houdini.org/css-properties-values-api/#at-property-rule",
"descriptors": {
"inherits": {
"syntax": [
"true",
"false"
]
},
"initial-value": {
"syntax": [
"<declaration-value>?"
]
},
"syntax": {
"syntax": [
"<string>"
]
}
}
}
}