mirror of
https://github.com/LadybirdBrowser/ladybird
synced 2026-05-05 06:32:30 +02:00
LibWeb: Support CSS font-optical-sizing property
This commit is contained in:
Notes:
github-actions[bot]
2026-02-06 10:36:42 +00:00
Author: https://github.com/Calme1709 Commit: https://github.com/LadybirdBrowser/ladybird/commit/11d524bda4c Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/7666 Reviewed-by: https://github.com/AtkinsSJ ✅
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user