LibWeb: Support CSS font-optical-sizing property

This commit is contained in:
Callum Law
2026-01-29 11:42:34 +13:00
committed by Sam Atkins
parent a0c8dc29b8
commit 11d524bda4
Notes: github-actions[bot] 2026-02-06 10:36:42 +00:00
20 changed files with 85 additions and 25 deletions

View File

@@ -1850,7 +1850,7 @@
},
"font": {
"initial": "normal medium serif",
"__comment": "FIXME: Support font-optical-sizing and font-size-adjust as reset-only sub-properties",
"__comment": "FIXME: Support font-size-adjust as a reset-only sub-property",
"longhands": [
"font-family",
"font-size",
@@ -1862,6 +1862,7 @@
"font-feature-settings",
"font-kerning",
"font-language-override",
"font-optical-sizing",
"font-variation-settings"
]
},
@@ -1909,6 +1910,14 @@
"normal"
]
},
"font-optical-sizing": {
"animation-type": "discrete",
"inherited": true,
"initial": "auto",
"valid-types": [
"font-optical-sizing"
]
},
"font-size": {
"animation-type": "by-computed-value",
"inherited": true,