forked from w3c/webref
-
Notifications
You must be signed in to change notification settings - Fork 0
/
css-fonts-5.json
111 lines (111 loc) · 3.06 KB
/
css-fonts-5.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
{
"spec": {
"title": "CSS Fonts Module Level 5",
"url": "https://drafts.csswg.org/css-fonts-5/"
},
"properties": {
"font-size-adjust": {
"name": "font-size-adjust",
"value": "none | [ ex-height | cap-height | ch-width | ic-width | ic-height ]? [ from-font | <number> ]",
"initial": "none",
"appliesTo": "all elements and text",
"inherited": "yes",
"percentages": "N/A",
"computedValue": "the keyword none, or a pair of a metric keyword and a <number>",
"canonicalOrder": "per grammar",
"animationType": "discrete if the keywords differ, otherwise by computed value type",
"styleDeclaration": [
"font-size-adjust",
"fontSizeAdjust"
]
}
},
"descriptors": {
"font-size": [
{
"name": "font-size",
"for": "@font-face",
"value": "auto | [<number>]{1,2}",
"initial": "normal"
}
],
"size-adjust": [
{
"name": "size-adjust",
"for": "@font-face",
"value": "<percentage [0,∞]>",
"initial": "100%"
}
],
"ascent-override": [
{
"name": "ascent-override",
"for": "@font-face",
"value": "[ normal | <percentage [0,∞]> ]{1,2}",
"initial": "normal"
}
],
"descent-override": [
{
"name": "descent-override",
"for": "@font-face",
"value": "[ normal | <percentage [0,∞]> ]{1,2}",
"initial": "normal"
}
],
"line-gap-override": [
{
"name": "line-gap-override",
"for": "@font-face",
"value": "[ normal | <percentage [0,∞]> ]{1,2}",
"initial": "normal"
}
],
"superscript-position-override": [
{
"name": "superscript-position-override",
"for": "@font-face",
"value": "[ normal | from-font | <percentage> ]{1,2}",
"initial": "normal"
}
],
"subscript-position-override": [
{
"name": "subscript-position-override",
"for": "@font-face",
"value": "[ normal | from-font | <percentage> ]{1,2}",
"initial": "normal"
}
],
"superscript-size-override": [
{
"name": "superscript-size-override",
"for": "@font-face",
"value": "[ normal | from-font | <percentage [0,∞]> ]{1,2}",
"initial": "normal"
}
],
"subscript-size-override": [
{
"name": "subscript-size-override",
"for": "@font-face",
"value": "[ normal | from-font | <percentage [0,∞]> ]{1,2}",
"initial": "normal"
}
]
},
"valuespaces": {
"<font-format>": {
"value": "[<string> | woff | truetype | opentype | woff2 | embedded-opentype | collection | svg]"
},
"<font-technology>": {
"value": "[features(<font-feature-technology>) | variations | color(<color-font-technology>) | palettes | incremental ]"
},
"<font-feature-technology>": {
"value": "[opentype | aat | graphite]"
},
"<color-font-technology>": {
"value": "[COLRv0 | COLRv1 | SVG | sbix | CBDT ]"
}
}
}