LibWeb/CSS: Use serif for font and font-family initial property values

These properties previously used sans-serif for their initial values.
This commit is contained in:
Tim Ledbetter 2024-07-05 19:59:18 +01:00 committed by Sam Atkins
commit 0a1fc7ee13
Notes: sideshowbarker 2024-07-17 02:29:45 +09:00

View file

@ -946,7 +946,7 @@
}, },
"font": { "font": {
"inherited": true, "inherited": true,
"initial": "normal medium sans-serif", "initial": "normal medium serif",
"longhands": [ "longhands": [
"font-family", "font-family",
"font-size", "font-size",
@ -960,7 +960,7 @@
"font-family": { "font-family": {
"animation-type": "discrete", "animation-type": "discrete",
"inherited": true, "inherited": true,
"initial": "sans-serif", "initial": "serif",
"valid-types": [ "valid-types": [
"custom-ident", "custom-ident",
"string" "string"