@webref/css 6.23.0 → 7.0.0-alpha
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +17 -0
- package/README.md +37 -22
- package/css.json +17754 -0
- package/index.js +2 -9
- package/package.json +1 -1
- package/CSS.json +0 -567
- package/SVG.json +0 -387
- package/compat.json +0 -784
- package/compositing.json +0 -178
- package/css-align.json +0 -559
- package/css-anchor-position.json +0 -1042
- package/css-animations-2.json +0 -377
- package/css-animations.json +0 -337
- package/css-backgrounds-4.json +0 -402
- package/css-backgrounds.json +0 -732
- package/css-borders.json +0 -1642
- package/css-box.json +0 -484
- package/css-break.json +0 -444
- package/css-cascade-6.json +0 -31
- package/css-cascade.json +0 -91
- package/css-color-5.json +0 -527
- package/css-color-6.json +0 -60
- package/css-color-adjust.json +0 -151
- package/css-color-hdr.json +0 -183
- package/css-color.json +0 -1759
- package/css-conditional-4.json +0 -23
- package/css-conditional-5.json +0 -505
- package/css-conditional.json +0 -50
- package/css-contain.json +0 -123
- package/css-content.json +0 -466
- package/css-counter-styles.json +0 -613
- package/css-display.json +0 -444
- package/css-easing.json +0 -149
- package/css-env.json +0 -109
- package/css-exclusions.json +0 -108
- package/css-extensions.json +0 -36
- package/css-flexbox.json +0 -259
- package/css-fonts-5.json +0 -385
- package/css-fonts.json +0 -1754
- package/css-forms.json +0 -281
- package/css-gaps.json +0 -544
- package/css-gcpm-4.json +0 -58
- package/css-gcpm.json +0 -138
- package/css-grid-3.json +0 -335
- package/css-grid.json +0 -824
- package/css-images-4.json +0 -367
- package/css-images-5.json +0 -43
- package/css-images.json +0 -373
- package/css-inline.json +0 -903
- package/css-layout-api.json +0 -21
- package/css-line-grid.json +0 -142
- package/css-link-params.json +0 -34
- package/css-lists.json +0 -337
- package/css-logical.json +0 -396
- package/css-masking.json +0 -717
- package/css-mixins.json +0 -58
- package/css-multicol.json +0 -253
- package/css-namespaces.json +0 -25
- package/css-nav.json +0 -121
- package/css-nesting.json +0 -17
- package/css-overflow-4.json +0 -428
- package/css-overflow-5.json +0 -226
- package/css-overflow.json +0 -379
- package/css-overscroll.json +0 -215
- package/css-page-floats.json +0 -296
- package/css-page.json +0 -382
- package/css-paint-api.json +0 -17
- package/css-position-4.json +0 -49
- package/css-position.json +0 -495
- package/css-properties-values-api.json +0 -39
- package/css-pseudo.json +0 -98
- package/css-regions.json +0 -59
- package/css-rhythm.json +0 -181
- package/css-round-display.json +0 -85
- package/css-ruby.json +0 -221
- package/css-scoping.json +0 -38
- package/css-scroll-anchoring.json +0 -43
- package/css-scroll-snap-2.json +0 -74
- package/css-scroll-snap.json +0 -643
- package/css-scrollbars.json +0 -82
- package/css-shadow-parts.json +0 -17
- package/css-shapes-2.json +0 -89
- package/css-shapes.json +0 -384
- package/css-size-adjust.json +0 -50
- package/css-sizing-4.json +0 -601
- package/css-sizing.json +0 -427
- package/css-speech.json +0 -985
- package/css-syntax.json +0 -263
- package/css-tables.json +0 -91
- package/css-text-4.json +0 -1516
- package/css-text-decor-4.json +0 -741
- package/css-text-decor.json +0 -337
- package/css-text.json +0 -670
- package/css-transforms-2.json +0 -329
- package/css-transforms.json +0 -213
- package/css-transitions-2.json +0 -47
- package/css-transitions.json +0 -119
- package/css-ui.json +0 -818
- package/css-values-5.json +0 -854
- package/css-values.json +0 -790
- package/css-variables.json +0 -29
- package/css-view-transitions-2.json +0 -152
- package/css-view-transitions.json +0 -77
- package/css-viewport.json +0 -43
- package/css-will-change.json +0 -64
- package/css-writing-modes.json +0 -256
- package/fill-stroke.json +0 -755
- package/filter-effects-2.json +0 -28
- package/filter-effects.json +0 -220
- package/html.json +0 -29
- package/mathml-core.json +0 -69
- package/mediaqueries-5.json +0 -915
- package/mediaqueries.json +0 -549
- package/motion.json +0 -303
- package/pointer-animations.json +0 -282
- package/scroll-animations.json +0 -519
- package/selectors-5.json +0 -22
- package/selectors.json +0 -604
- package/svg-strokes.json +0 -59
- package/upgrade-insecure-requests.json +0 -28
- package/webvtt.json +0 -33
- package/webxr-dom-overlays.json +0 -17
package/css-fonts.json
DELETED
|
@@ -1,1754 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"spec": {
|
|
3
|
-
"title": "CSS Fonts Module Level 4",
|
|
4
|
-
"url": "https://drafts.csswg.org/css-fonts-4/"
|
|
5
|
-
},
|
|
6
|
-
"properties": [
|
|
7
|
-
{
|
|
8
|
-
"name": "font-family",
|
|
9
|
-
"href": "https://drafts.csswg.org/css-fonts-4/#propdef-font-family",
|
|
10
|
-
"value": "[ <family-name> | <generic-family> ]#",
|
|
11
|
-
"initial": "depends on user agent",
|
|
12
|
-
"appliesTo": "all elements and text",
|
|
13
|
-
"inherited": "yes",
|
|
14
|
-
"percentages": "n/a",
|
|
15
|
-
"computedValue": "list, each item a string and/or <generic-family> keywords",
|
|
16
|
-
"canonicalOrder": "per grammar",
|
|
17
|
-
"animationType": "discrete",
|
|
18
|
-
"styleDeclaration": [
|
|
19
|
-
"font-family",
|
|
20
|
-
"fontFamily"
|
|
21
|
-
]
|
|
22
|
-
},
|
|
23
|
-
{
|
|
24
|
-
"name": "font-weight",
|
|
25
|
-
"href": "https://drafts.csswg.org/css-fonts-4/#propdef-font-weight",
|
|
26
|
-
"value": "<font-weight-absolute> | bolder | lighter",
|
|
27
|
-
"initial": "normal",
|
|
28
|
-
"appliesTo": "all elements and text",
|
|
29
|
-
"inherited": "yes",
|
|
30
|
-
"percentages": "n/a",
|
|
31
|
-
"computedValue": "a number, see below",
|
|
32
|
-
"canonicalOrder": "per grammar",
|
|
33
|
-
"animationType": "by computed value type",
|
|
34
|
-
"values": [
|
|
35
|
-
{
|
|
36
|
-
"name": "<number [1,1000]>",
|
|
37
|
-
"prose": "Each number indicates a weight that is at least as dark as its predecessor. Only values greater than or equal to 1, and less than or equal to 1000, are valid, and all other values are invalid. Numeric values typically correspond to the commonly used weight names below. 100 - Thin 200 - Extra Light (Ultra Light) 300 - Light 400 - Normal 500 - Medium 600 - Semi Bold (Demi Bold) 700 - Bold 800 - Extra Bold (Ultra Bold) 900 - Black (Heavy)",
|
|
38
|
-
"href": "https://drafts.csswg.org/css-fonts-4/#valdef-font-weight-number-1-1000",
|
|
39
|
-
"type": "value",
|
|
40
|
-
"value": "<number [1,1000]>"
|
|
41
|
-
},
|
|
42
|
-
{
|
|
43
|
-
"name": "normal",
|
|
44
|
-
"prose": "Same as 400.",
|
|
45
|
-
"href": "https://drafts.csswg.org/css-fonts-4/#valdef-font-weight-normal",
|
|
46
|
-
"type": "value",
|
|
47
|
-
"value": "normal"
|
|
48
|
-
},
|
|
49
|
-
{
|
|
50
|
-
"name": "bold",
|
|
51
|
-
"prose": "Same as 700.",
|
|
52
|
-
"href": "https://drafts.csswg.org/css-fonts-4/#valdef-font-weight-bold",
|
|
53
|
-
"type": "value",
|
|
54
|
-
"value": "bold"
|
|
55
|
-
},
|
|
56
|
-
{
|
|
57
|
-
"name": "bolder",
|
|
58
|
-
"prose": "Specifies a bolder weight than the inherited value. See § 2.2.1 Relative Weights.",
|
|
59
|
-
"href": "https://drafts.csswg.org/css-fonts-4/#valdef-font-weight-bolder",
|
|
60
|
-
"type": "value",
|
|
61
|
-
"value": "bolder"
|
|
62
|
-
},
|
|
63
|
-
{
|
|
64
|
-
"name": "lighter",
|
|
65
|
-
"prose": "Specifies a lighter weight than the inherited value. See § 2.2.1 Relative Weights.",
|
|
66
|
-
"href": "https://drafts.csswg.org/css-fonts-4/#valdef-font-weight-lighter",
|
|
67
|
-
"type": "value",
|
|
68
|
-
"value": "lighter"
|
|
69
|
-
}
|
|
70
|
-
],
|
|
71
|
-
"styleDeclaration": [
|
|
72
|
-
"font-weight",
|
|
73
|
-
"fontWeight"
|
|
74
|
-
]
|
|
75
|
-
},
|
|
76
|
-
{
|
|
77
|
-
"name": "font-width",
|
|
78
|
-
"href": "https://drafts.csswg.org/css-fonts-4/#propdef-font-width",
|
|
79
|
-
"value": "normal | <percentage [0,∞]> | ultra-condensed | extra-condensed | condensed | semi-condensed | semi-expanded | expanded | extra-expanded | ultra-expanded",
|
|
80
|
-
"initial": "normal",
|
|
81
|
-
"appliesTo": "all elements and text",
|
|
82
|
-
"inherited": "yes",
|
|
83
|
-
"percentages": "Not resolved",
|
|
84
|
-
"computedValue": "a percentage, see below",
|
|
85
|
-
"canonicalOrder": "per grammar",
|
|
86
|
-
"animationType": "by computed value type",
|
|
87
|
-
"values": [
|
|
88
|
-
{
|
|
89
|
-
"name": "ultra-condensed",
|
|
90
|
-
"href": "https://drafts.csswg.org/css-fonts-4/#valdef-font-width-ultra-condensed",
|
|
91
|
-
"type": "value",
|
|
92
|
-
"value": "ultra-condensed"
|
|
93
|
-
},
|
|
94
|
-
{
|
|
95
|
-
"name": "extra-condensed",
|
|
96
|
-
"href": "https://drafts.csswg.org/css-fonts-4/#valdef-font-width-extra-condensed",
|
|
97
|
-
"type": "value",
|
|
98
|
-
"value": "extra-condensed"
|
|
99
|
-
},
|
|
100
|
-
{
|
|
101
|
-
"name": "condensed",
|
|
102
|
-
"href": "https://drafts.csswg.org/css-fonts-4/#valdef-font-width-condensed",
|
|
103
|
-
"type": "value",
|
|
104
|
-
"value": "condensed"
|
|
105
|
-
},
|
|
106
|
-
{
|
|
107
|
-
"name": "semi-condensed",
|
|
108
|
-
"href": "https://drafts.csswg.org/css-fonts-4/#valdef-font-width-semi-condensed",
|
|
109
|
-
"type": "value",
|
|
110
|
-
"value": "semi-condensed"
|
|
111
|
-
},
|
|
112
|
-
{
|
|
113
|
-
"name": "normal",
|
|
114
|
-
"href": "https://drafts.csswg.org/css-fonts-4/#valdef-font-width-normal",
|
|
115
|
-
"type": "value",
|
|
116
|
-
"value": "normal"
|
|
117
|
-
},
|
|
118
|
-
{
|
|
119
|
-
"name": "semi-expanded",
|
|
120
|
-
"href": "https://drafts.csswg.org/css-fonts-4/#valdef-font-width-semi-expanded",
|
|
121
|
-
"type": "value",
|
|
122
|
-
"value": "semi-expanded"
|
|
123
|
-
},
|
|
124
|
-
{
|
|
125
|
-
"name": "expanded",
|
|
126
|
-
"href": "https://drafts.csswg.org/css-fonts-4/#valdef-font-width-expanded",
|
|
127
|
-
"type": "value",
|
|
128
|
-
"value": "expanded"
|
|
129
|
-
},
|
|
130
|
-
{
|
|
131
|
-
"name": "extra-expanded",
|
|
132
|
-
"href": "https://drafts.csswg.org/css-fonts-4/#valdef-font-width-extra-expanded",
|
|
133
|
-
"type": "value",
|
|
134
|
-
"value": "extra-expanded"
|
|
135
|
-
},
|
|
136
|
-
{
|
|
137
|
-
"name": "ultra-expanded",
|
|
138
|
-
"href": "https://drafts.csswg.org/css-fonts-4/#valdef-font-width-ultra-expanded",
|
|
139
|
-
"type": "value",
|
|
140
|
-
"value": "ultra-expanded"
|
|
141
|
-
},
|
|
142
|
-
{
|
|
143
|
-
"name": "<percentage [0,∞]>",
|
|
144
|
-
"prose": "<percentage [0,∞]> values represent the fractional width of the glyphs, with 100% representing “normal” glyph widths (as defined by the font designer). Values less than 0% are invalid.",
|
|
145
|
-
"href": "https://drafts.csswg.org/css-fonts-4/#valdef-font-width-percentage-0",
|
|
146
|
-
"type": "value",
|
|
147
|
-
"value": "<percentage [0,∞]>"
|
|
148
|
-
}
|
|
149
|
-
],
|
|
150
|
-
"styleDeclaration": [
|
|
151
|
-
"font-width",
|
|
152
|
-
"fontWidth"
|
|
153
|
-
]
|
|
154
|
-
},
|
|
155
|
-
{
|
|
156
|
-
"name": "font-style",
|
|
157
|
-
"href": "https://drafts.csswg.org/css-fonts-4/#propdef-font-style",
|
|
158
|
-
"value": "normal | italic | left | right | oblique <angle [-90deg,90deg]>?",
|
|
159
|
-
"initial": "normal",
|
|
160
|
-
"appliesTo": "all elements and text",
|
|
161
|
-
"inherited": "yes",
|
|
162
|
-
"percentages": "n/a",
|
|
163
|
-
"computedValue": "the keyword specified, plus angle in degrees if specified",
|
|
164
|
-
"canonicalOrder": "per grammar",
|
|
165
|
-
"animationType": "by computed value type;normal animates as oblique 0deg",
|
|
166
|
-
"values": [
|
|
167
|
-
{
|
|
168
|
-
"name": "normal",
|
|
169
|
-
"prose": "Matches against a face that is classified as a normal face, one that is neither italic or obliqued. This represents an oblique value of \"0\".",
|
|
170
|
-
"href": "https://drafts.csswg.org/css-fonts-4/#valdef-font-style-normal",
|
|
171
|
-
"type": "value",
|
|
172
|
-
"value": "normal"
|
|
173
|
-
},
|
|
174
|
-
{
|
|
175
|
-
"name": "italic",
|
|
176
|
-
"prose": "Matches against a font that is labeled as an italic face, or an oblique face if one does not exist. The angle and direction of slant is unspecified.",
|
|
177
|
-
"href": "https://drafts.csswg.org/css-fonts-4/#valdef-font-style-italic",
|
|
178
|
-
"type": "value",
|
|
179
|
-
"value": "italic"
|
|
180
|
-
},
|
|
181
|
-
{
|
|
182
|
-
"name": "left",
|
|
183
|
-
"prose": "Matches against a font that is labeled as an italic face, with a positive (clockwise) slant; or an oblique face with positive slant, if one does not exist.",
|
|
184
|
-
"href": "https://drafts.csswg.org/css-fonts-4/#valdef-font-style-left",
|
|
185
|
-
"type": "value",
|
|
186
|
-
"value": "left"
|
|
187
|
-
},
|
|
188
|
-
{
|
|
189
|
-
"name": "right",
|
|
190
|
-
"prose": "Matches against a font that is labeled as an italic face, with a negative (counter-clockwise) slant; or an oblique face with negative slant, if one does not exist.",
|
|
191
|
-
"href": "https://drafts.csswg.org/css-fonts-4/#valdef-font-style-right",
|
|
192
|
-
"type": "value",
|
|
193
|
-
"value": "right"
|
|
194
|
-
},
|
|
195
|
-
{
|
|
196
|
-
"name": "oblique <angle [-90deg,90deg]>?",
|
|
197
|
-
"prose": "Controls matching against an oblique face. Positive angles represent a clockwise slant; negative angles represent a counter-clockwise slant. The lack of an <angle> represents 14deg. (Note that a font might internally provide its own mapping for \"oblique\", but the mapping within the font is disregarded.) Fractional and negative values are accepted; however, values less than -90deg or values greater than 90deg are invalid. If no oblique faces exist, and font-synthesis-style has the value auto, a synthetic oblique face will be generated.",
|
|
198
|
-
"href": "https://drafts.csswg.org/css-fonts-4/#valdef-font-style-oblique-angle--90deg-90deg",
|
|
199
|
-
"type": "value",
|
|
200
|
-
"value": "oblique <angle [-90deg,90deg]>?"
|
|
201
|
-
}
|
|
202
|
-
],
|
|
203
|
-
"styleDeclaration": [
|
|
204
|
-
"font-style",
|
|
205
|
-
"fontStyle"
|
|
206
|
-
]
|
|
207
|
-
},
|
|
208
|
-
{
|
|
209
|
-
"name": "font-size",
|
|
210
|
-
"href": "https://drafts.csswg.org/css-fonts-4/#propdef-font-size",
|
|
211
|
-
"value": "<absolute-size> | <relative-size> | <length-percentage [0,∞]> | math",
|
|
212
|
-
"initial": "medium",
|
|
213
|
-
"appliesTo": "all elements and text",
|
|
214
|
-
"inherited": "yes",
|
|
215
|
-
"percentages": "refer to parent element’s font size",
|
|
216
|
-
"computedValue": "an absolute length",
|
|
217
|
-
"canonicalOrder": "per grammar",
|
|
218
|
-
"animationType": "by computed value type",
|
|
219
|
-
"values": [
|
|
220
|
-
{
|
|
221
|
-
"name": "<absolute-size>",
|
|
222
|
-
"value": "<absolute-size>",
|
|
223
|
-
"href": "https://drafts.csswg.org/css-fonts-4/#valdef-font-size-absolute-size",
|
|
224
|
-
"type": "value"
|
|
225
|
-
},
|
|
226
|
-
{
|
|
227
|
-
"name": "<relative-size>",
|
|
228
|
-
"value": "<relative-size>",
|
|
229
|
-
"href": "https://drafts.csswg.org/css-fonts-4/#valdef-font-size-relative-size",
|
|
230
|
-
"type": "value"
|
|
231
|
-
},
|
|
232
|
-
{
|
|
233
|
-
"name": "<length-percentage [0,∞]>",
|
|
234
|
-
"prose": "A length value specifies an absolute font size (independent of the user agent’s font table). Negative lengths are invalid. A percentage value specifies an absolute font size relative to the parent element’s computed font-size. Negative percentages are invalid.",
|
|
235
|
-
"href": "https://drafts.csswg.org/css-fonts-4/#valdef-font-size-length-percentage-0",
|
|
236
|
-
"type": "value",
|
|
237
|
-
"value": "<length-percentage [0,∞]>"
|
|
238
|
-
},
|
|
239
|
-
{
|
|
240
|
-
"name": "math",
|
|
241
|
-
"prose": "Special mathematical scaling rules must be applied when determining the computed value of the font-size property.",
|
|
242
|
-
"href": "https://drafts.csswg.org/css-fonts-4/#valdef-font-size-math",
|
|
243
|
-
"type": "value",
|
|
244
|
-
"value": "math"
|
|
245
|
-
}
|
|
246
|
-
],
|
|
247
|
-
"styleDeclaration": [
|
|
248
|
-
"font-size",
|
|
249
|
-
"fontSize"
|
|
250
|
-
]
|
|
251
|
-
},
|
|
252
|
-
{
|
|
253
|
-
"name": "font-size-adjust",
|
|
254
|
-
"href": "https://drafts.csswg.org/css-fonts-4/#propdef-font-size-adjust",
|
|
255
|
-
"value": "none | <number [0,∞]>",
|
|
256
|
-
"initial": "none",
|
|
257
|
-
"appliesTo": "all elements and text",
|
|
258
|
-
"inherited": "yes",
|
|
259
|
-
"percentages": "N/A",
|
|
260
|
-
"computedValue": "a number or the keyword none",
|
|
261
|
-
"canonicalOrder": "per grammar",
|
|
262
|
-
"animationType": "by computed value type",
|
|
263
|
-
"values": [
|
|
264
|
-
{
|
|
265
|
-
"name": "none",
|
|
266
|
-
"prose": "Do not preserve the font’s x-height.",
|
|
267
|
-
"href": "https://drafts.csswg.org/css-fonts-4/#font-size-adjust-none-value",
|
|
268
|
-
"type": "value",
|
|
269
|
-
"value": "none"
|
|
270
|
-
},
|
|
271
|
-
{
|
|
272
|
-
"name": "<number [0,∞]>",
|
|
273
|
-
"prose": "Specifies the aspect value used in the calculation below to calculate the adjusted font size: c = ( a / a' ) s where: s = font-size value a = aspect value as specified by the 'font-size-adjust' property a' = aspect value of actual font c = adjusted font-size to use Negative values are invalid. This value applies to any font that is selected but in typical usage it should be based on the aspect value of the first font in the font-family list. If this is specified accurately, the (a/a') term in the formula above is effectively 1 for the first font and no adjustment occurs. If the value is specified inaccurately, text rendered using the first font in the family list will display differently in older user agents that don’t support font-size-adjust.",
|
|
274
|
-
"href": "https://drafts.csswg.org/css-fonts-4/#aspect-ratio-value",
|
|
275
|
-
"type": "value",
|
|
276
|
-
"value": "<number [0,∞]>"
|
|
277
|
-
}
|
|
278
|
-
],
|
|
279
|
-
"styleDeclaration": [
|
|
280
|
-
"font-size-adjust",
|
|
281
|
-
"fontSizeAdjust"
|
|
282
|
-
]
|
|
283
|
-
},
|
|
284
|
-
{
|
|
285
|
-
"name": "font",
|
|
286
|
-
"href": "https://drafts.csswg.org/css-fonts-4/#propdef-font",
|
|
287
|
-
"value": "[ [ <'font-style'> || <font-variant-css2> || <'font-weight'> || <font-width-css3> ]? <'font-size'> [ / <'line-height'> ]? <'font-family'># ] | <system-family-name>",
|
|
288
|
-
"initial": "see individual properties",
|
|
289
|
-
"appliesTo": "all elements and text",
|
|
290
|
-
"inherited": "yes",
|
|
291
|
-
"percentages": "see individual properties",
|
|
292
|
-
"computedValue": "see individual properties",
|
|
293
|
-
"canonicalOrder": "per grammar",
|
|
294
|
-
"animationType": "see individual properties",
|
|
295
|
-
"values": [
|
|
296
|
-
{
|
|
297
|
-
"name": "caption",
|
|
298
|
-
"prose": "The font used for captioned controls (e.g., buttons, drop-downs, etc.).",
|
|
299
|
-
"href": "https://drafts.csswg.org/css-fonts-4/#valdef-font-caption",
|
|
300
|
-
"type": "value",
|
|
301
|
-
"value": "caption"
|
|
302
|
-
},
|
|
303
|
-
{
|
|
304
|
-
"name": "icon",
|
|
305
|
-
"prose": "The font used to label icons.",
|
|
306
|
-
"href": "https://drafts.csswg.org/css-fonts-4/#valdef-font-icon",
|
|
307
|
-
"type": "value",
|
|
308
|
-
"value": "icon"
|
|
309
|
-
},
|
|
310
|
-
{
|
|
311
|
-
"name": "menu",
|
|
312
|
-
"prose": "The font used in menus (e.g., dropdown menus and menu lists).",
|
|
313
|
-
"href": "https://drafts.csswg.org/css-fonts-4/#valdef-font-menu",
|
|
314
|
-
"type": "value",
|
|
315
|
-
"value": "menu"
|
|
316
|
-
},
|
|
317
|
-
{
|
|
318
|
-
"name": "message-box",
|
|
319
|
-
"prose": "The font used in dialog boxes.",
|
|
320
|
-
"href": "https://drafts.csswg.org/css-fonts-4/#valdef-font-message-box",
|
|
321
|
-
"type": "value",
|
|
322
|
-
"value": "message-box"
|
|
323
|
-
},
|
|
324
|
-
{
|
|
325
|
-
"name": "small-caption",
|
|
326
|
-
"prose": "The font used for labeling small controls.",
|
|
327
|
-
"href": "https://drafts.csswg.org/css-fonts-4/#valdef-font-small-caption",
|
|
328
|
-
"type": "value",
|
|
329
|
-
"value": "small-caption"
|
|
330
|
-
},
|
|
331
|
-
{
|
|
332
|
-
"name": "status-bar",
|
|
333
|
-
"prose": "The font used in window status bars.",
|
|
334
|
-
"href": "https://drafts.csswg.org/css-fonts-4/#valdef-font-status-bar",
|
|
335
|
-
"type": "value",
|
|
336
|
-
"value": "status-bar"
|
|
337
|
-
}
|
|
338
|
-
],
|
|
339
|
-
"styleDeclaration": [
|
|
340
|
-
"font"
|
|
341
|
-
]
|
|
342
|
-
},
|
|
343
|
-
{
|
|
344
|
-
"name": "font-synthesis-weight",
|
|
345
|
-
"href": "https://drafts.csswg.org/css-fonts-4/#propdef-font-synthesis-weight",
|
|
346
|
-
"value": "auto | none",
|
|
347
|
-
"initial": "auto",
|
|
348
|
-
"appliesTo": "all elements and text",
|
|
349
|
-
"inherited": "yes",
|
|
350
|
-
"percentages": "N/A",
|
|
351
|
-
"computedValue": "specified keyword",
|
|
352
|
-
"canonicalOrder": "per grammar",
|
|
353
|
-
"animationType": "discrete",
|
|
354
|
-
"media": "visual",
|
|
355
|
-
"values": [
|
|
356
|
-
{
|
|
357
|
-
"name": "auto",
|
|
358
|
-
"prose": "Synthesis of bold faces is allowed",
|
|
359
|
-
"href": "https://drafts.csswg.org/css-fonts-4/#valdef-font-synthesis-weight-auto",
|
|
360
|
-
"type": "value",
|
|
361
|
-
"value": "auto"
|
|
362
|
-
},
|
|
363
|
-
{
|
|
364
|
-
"name": "none",
|
|
365
|
-
"prose": "Synthesis of bold faces is not allowed",
|
|
366
|
-
"href": "https://drafts.csswg.org/css-fonts-4/#valdef-font-synthesis-weight-none",
|
|
367
|
-
"type": "value",
|
|
368
|
-
"value": "none"
|
|
369
|
-
}
|
|
370
|
-
],
|
|
371
|
-
"styleDeclaration": [
|
|
372
|
-
"font-synthesis-weight",
|
|
373
|
-
"fontSynthesisWeight"
|
|
374
|
-
]
|
|
375
|
-
},
|
|
376
|
-
{
|
|
377
|
-
"name": "font-synthesis-style",
|
|
378
|
-
"href": "https://drafts.csswg.org/css-fonts-4/#propdef-font-synthesis-style",
|
|
379
|
-
"value": "auto | none | oblique-only",
|
|
380
|
-
"initial": "auto",
|
|
381
|
-
"appliesTo": "all elements and text",
|
|
382
|
-
"inherited": "yes",
|
|
383
|
-
"percentages": "N/A",
|
|
384
|
-
"computedValue": "specified keyword",
|
|
385
|
-
"canonicalOrder": "per grammar",
|
|
386
|
-
"animationType": "discrete",
|
|
387
|
-
"media": "visual",
|
|
388
|
-
"values": [
|
|
389
|
-
{
|
|
390
|
-
"name": "auto",
|
|
391
|
-
"prose": "Synthesis of oblique faces is allowed",
|
|
392
|
-
"href": "https://drafts.csswg.org/css-fonts-4/#valdef-font-synthesis-style-auto",
|
|
393
|
-
"type": "value",
|
|
394
|
-
"value": "auto"
|
|
395
|
-
},
|
|
396
|
-
{
|
|
397
|
-
"name": "none",
|
|
398
|
-
"prose": "Synthesis of oblique faces is not allowed",
|
|
399
|
-
"href": "https://drafts.csswg.org/css-fonts-4/#valdef-font-synthesis-style-none",
|
|
400
|
-
"type": "value",
|
|
401
|
-
"value": "none"
|
|
402
|
-
},
|
|
403
|
-
{
|
|
404
|
-
"name": "oblique-only",
|
|
405
|
-
"prose": "Synthesis of oblique faces is allowed, but they must not be used as fallback if italic is specified",
|
|
406
|
-
"href": "https://drafts.csswg.org/css-fonts-4/#valdef-font-synthesis-style-oblique-only",
|
|
407
|
-
"type": "value",
|
|
408
|
-
"value": "oblique-only"
|
|
409
|
-
}
|
|
410
|
-
],
|
|
411
|
-
"styleDeclaration": [
|
|
412
|
-
"font-synthesis-style",
|
|
413
|
-
"fontSynthesisStyle"
|
|
414
|
-
]
|
|
415
|
-
},
|
|
416
|
-
{
|
|
417
|
-
"name": "font-synthesis-small-caps",
|
|
418
|
-
"href": "https://drafts.csswg.org/css-fonts-4/#propdef-font-synthesis-small-caps",
|
|
419
|
-
"value": "auto | none",
|
|
420
|
-
"initial": "auto",
|
|
421
|
-
"appliesTo": "all elements and text",
|
|
422
|
-
"inherited": "yes",
|
|
423
|
-
"percentages": "N/A",
|
|
424
|
-
"computedValue": "specified keyword",
|
|
425
|
-
"canonicalOrder": "per grammar",
|
|
426
|
-
"animationType": "discrete",
|
|
427
|
-
"values": [
|
|
428
|
-
{
|
|
429
|
-
"name": "auto",
|
|
430
|
-
"prose": "Synthesis of small caps faces is allowed",
|
|
431
|
-
"href": "https://drafts.csswg.org/css-fonts-4/#valdef-font-synthesis-small-caps-auto",
|
|
432
|
-
"type": "value",
|
|
433
|
-
"value": "auto"
|
|
434
|
-
},
|
|
435
|
-
{
|
|
436
|
-
"name": "none",
|
|
437
|
-
"prose": "Synthesis of small caps faces is not allowed",
|
|
438
|
-
"href": "https://drafts.csswg.org/css-fonts-4/#valdef-font-synthesis-small-caps-none",
|
|
439
|
-
"type": "value",
|
|
440
|
-
"value": "none"
|
|
441
|
-
}
|
|
442
|
-
],
|
|
443
|
-
"styleDeclaration": [
|
|
444
|
-
"font-synthesis-small-caps",
|
|
445
|
-
"fontSynthesisSmallCaps"
|
|
446
|
-
]
|
|
447
|
-
},
|
|
448
|
-
{
|
|
449
|
-
"name": "font-synthesis-position",
|
|
450
|
-
"href": "https://drafts.csswg.org/css-fonts-4/#propdef-font-synthesis-position",
|
|
451
|
-
"value": "auto | none",
|
|
452
|
-
"initial": "auto",
|
|
453
|
-
"appliesTo": "all elements and text",
|
|
454
|
-
"inherited": "yes",
|
|
455
|
-
"percentages": "N/A",
|
|
456
|
-
"computedValue": "specified keyword",
|
|
457
|
-
"canonicalOrder": "per grammar",
|
|
458
|
-
"animationType": "discrete",
|
|
459
|
-
"values": [
|
|
460
|
-
{
|
|
461
|
-
"name": "auto",
|
|
462
|
-
"prose": "Synthesis of superscript and subscript forms is required",
|
|
463
|
-
"href": "https://drafts.csswg.org/css-fonts-4/#valdef-font-synthesis-position-auto",
|
|
464
|
-
"type": "value",
|
|
465
|
-
"value": "auto"
|
|
466
|
-
},
|
|
467
|
-
{
|
|
468
|
-
"name": "none",
|
|
469
|
-
"prose": "Synthesis of superscript and subscript forms is not allowed",
|
|
470
|
-
"href": "https://drafts.csswg.org/css-fonts-4/#valdef-font-synthesis-position-none",
|
|
471
|
-
"type": "value",
|
|
472
|
-
"value": "none"
|
|
473
|
-
}
|
|
474
|
-
],
|
|
475
|
-
"styleDeclaration": [
|
|
476
|
-
"font-synthesis-position",
|
|
477
|
-
"fontSynthesisPosition"
|
|
478
|
-
]
|
|
479
|
-
},
|
|
480
|
-
{
|
|
481
|
-
"name": "font-synthesis",
|
|
482
|
-
"href": "https://drafts.csswg.org/css-fonts-4/#propdef-font-synthesis",
|
|
483
|
-
"value": "none | [ weight || style || small-caps || position]",
|
|
484
|
-
"initial": "weight style small-caps position",
|
|
485
|
-
"appliesTo": "all elements and text",
|
|
486
|
-
"inherited": "yes",
|
|
487
|
-
"percentages": "N/A",
|
|
488
|
-
"computedValue": "specified keyword(s)",
|
|
489
|
-
"canonicalOrder": "per grammar",
|
|
490
|
-
"animationType": "discrete",
|
|
491
|
-
"styleDeclaration": [
|
|
492
|
-
"font-synthesis",
|
|
493
|
-
"fontSynthesis"
|
|
494
|
-
]
|
|
495
|
-
},
|
|
496
|
-
{
|
|
497
|
-
"name": "font-kerning",
|
|
498
|
-
"href": "https://drafts.csswg.org/css-fonts-4/#propdef-font-kerning",
|
|
499
|
-
"value": "auto | normal | none",
|
|
500
|
-
"initial": "auto",
|
|
501
|
-
"appliesTo": "all elements and text",
|
|
502
|
-
"inherited": "yes",
|
|
503
|
-
"percentages": "n/a",
|
|
504
|
-
"computedValue": "as specified",
|
|
505
|
-
"canonicalOrder": "per grammar",
|
|
506
|
-
"animationType": "discrete",
|
|
507
|
-
"values": [
|
|
508
|
-
{
|
|
509
|
-
"name": "auto",
|
|
510
|
-
"prose": "Specifies that kerning is applied at the discretion of the user agent",
|
|
511
|
-
"href": "https://drafts.csswg.org/css-fonts-4/#font-kerning-auto-value",
|
|
512
|
-
"type": "value",
|
|
513
|
-
"value": "auto"
|
|
514
|
-
},
|
|
515
|
-
{
|
|
516
|
-
"name": "normal",
|
|
517
|
-
"prose": "Specifies that kerning is applied",
|
|
518
|
-
"href": "https://drafts.csswg.org/css-fonts-4/#font-kerning-normal-value",
|
|
519
|
-
"type": "value",
|
|
520
|
-
"value": "normal"
|
|
521
|
-
},
|
|
522
|
-
{
|
|
523
|
-
"name": "none",
|
|
524
|
-
"prose": "Specifies that kerning is not applied",
|
|
525
|
-
"href": "https://drafts.csswg.org/css-fonts-4/#font-kerning-none-value",
|
|
526
|
-
"type": "value",
|
|
527
|
-
"value": "none"
|
|
528
|
-
}
|
|
529
|
-
],
|
|
530
|
-
"styleDeclaration": [
|
|
531
|
-
"font-kerning",
|
|
532
|
-
"fontKerning"
|
|
533
|
-
]
|
|
534
|
-
},
|
|
535
|
-
{
|
|
536
|
-
"name": "font-variant-ligatures",
|
|
537
|
-
"href": "https://drafts.csswg.org/css-fonts-4/#propdef-font-variant-ligatures",
|
|
538
|
-
"value": "normal | none | [ <common-lig-values> || <discretionary-lig-values> || <historical-lig-values> || <contextual-alt-values> ]",
|
|
539
|
-
"initial": "normal",
|
|
540
|
-
"appliesTo": "all elements and text",
|
|
541
|
-
"inherited": "yes",
|
|
542
|
-
"percentages": "n/a",
|
|
543
|
-
"computedValue": "as specified",
|
|
544
|
-
"canonicalOrder": "per grammar",
|
|
545
|
-
"animationType": "discrete",
|
|
546
|
-
"values": [
|
|
547
|
-
{
|
|
548
|
-
"name": "normal",
|
|
549
|
-
"prose": "A value of normal specifies that common default features are enabled, as described in detail in the next section. For OpenType fonts, common ligatures and contextual forms are on by default, discretionary and historical ligatures are not.",
|
|
550
|
-
"href": "https://drafts.csswg.org/css-fonts-4/#font-variant-ligatures-normal-value",
|
|
551
|
-
"type": "value",
|
|
552
|
-
"value": "normal"
|
|
553
|
-
},
|
|
554
|
-
{
|
|
555
|
-
"name": "none",
|
|
556
|
-
"prose": "Specifies that all types of ligatures and contextual forms covered by this property are explicitly disabled. In situations where ligatures are not considered necessary, this may improve the speed of text rendering.",
|
|
557
|
-
"href": "https://drafts.csswg.org/css-fonts-4/#font-variant-ligatures-none-value",
|
|
558
|
-
"type": "value",
|
|
559
|
-
"value": "none"
|
|
560
|
-
},
|
|
561
|
-
{
|
|
562
|
-
"name": "common-ligatures",
|
|
563
|
-
"prose": "Enables display of common ligatures (OpenType features: liga, clig). For OpenType fonts, common ligatures are enabled by default.",
|
|
564
|
-
"href": "https://drafts.csswg.org/css-fonts-4/#valdef-font-variant-ligatures-common-ligatures",
|
|
565
|
-
"type": "value",
|
|
566
|
-
"value": "common-ligatures"
|
|
567
|
-
},
|
|
568
|
-
{
|
|
569
|
-
"name": "no-common-ligatures",
|
|
570
|
-
"prose": "Disables display of common ligatures (OpenType features: liga, clig).",
|
|
571
|
-
"href": "https://drafts.csswg.org/css-fonts-4/#valdef-font-variant-ligatures-no-common-ligatures",
|
|
572
|
-
"type": "value",
|
|
573
|
-
"value": "no-common-ligatures"
|
|
574
|
-
},
|
|
575
|
-
{
|
|
576
|
-
"name": "discretionary-ligatures",
|
|
577
|
-
"prose": "Enables display of discretionary ligatures (OpenType feature: dlig). Which ligatures are discretionary or optional is decided by the type designer, so authors will need to refer to the documentation of a given font to understand which ligatures are considered discretionary.",
|
|
578
|
-
"href": "https://drafts.csswg.org/css-fonts-4/#valdef-font-variant-ligatures-discretionary-ligatures",
|
|
579
|
-
"type": "value",
|
|
580
|
-
"value": "discretionary-ligatures"
|
|
581
|
-
},
|
|
582
|
-
{
|
|
583
|
-
"name": "no-discretionary-ligatures",
|
|
584
|
-
"prose": "Disables display of discretionary ligatures (OpenType feature: dlig).",
|
|
585
|
-
"href": "https://drafts.csswg.org/css-fonts-4/#valdef-font-variant-ligatures-no-discretionary-ligatures",
|
|
586
|
-
"type": "value",
|
|
587
|
-
"value": "no-discretionary-ligatures"
|
|
588
|
-
},
|
|
589
|
-
{
|
|
590
|
-
"name": "historical-ligatures",
|
|
591
|
-
"prose": "Enables display of historical ligatures (OpenType feature: hlig).",
|
|
592
|
-
"href": "https://drafts.csswg.org/css-fonts-4/#valdef-font-variant-ligatures-historical-ligatures",
|
|
593
|
-
"type": "value",
|
|
594
|
-
"value": "historical-ligatures"
|
|
595
|
-
},
|
|
596
|
-
{
|
|
597
|
-
"name": "no-historical-ligatures",
|
|
598
|
-
"prose": "Disables display of historical ligatures (OpenType feature: hlig).",
|
|
599
|
-
"href": "https://drafts.csswg.org/css-fonts-4/#valdef-font-variant-ligatures-no-historical-ligatures",
|
|
600
|
-
"type": "value",
|
|
601
|
-
"value": "no-historical-ligatures"
|
|
602
|
-
},
|
|
603
|
-
{
|
|
604
|
-
"name": "contextual",
|
|
605
|
-
"prose": "Enables display of contextual alternates (OpenType feature: calt). Although not strictly a ligature feature, like ligatures this feature is commonly used to harmonize the shapes of glyphs with the surrounding context. For OpenType fonts, this feature is on by default.",
|
|
606
|
-
"href": "https://drafts.csswg.org/css-fonts-4/#valdef-font-variant-ligatures-contextual",
|
|
607
|
-
"type": "value",
|
|
608
|
-
"value": "contextual"
|
|
609
|
-
},
|
|
610
|
-
{
|
|
611
|
-
"name": "no-contextual",
|
|
612
|
-
"prose": "Disables display of contextual alternates (OpenType feature: calt).",
|
|
613
|
-
"href": "https://drafts.csswg.org/css-fonts-4/#valdef-font-variant-ligatures-no-contextual",
|
|
614
|
-
"type": "value",
|
|
615
|
-
"value": "no-contextual"
|
|
616
|
-
}
|
|
617
|
-
],
|
|
618
|
-
"styleDeclaration": [
|
|
619
|
-
"font-variant-ligatures",
|
|
620
|
-
"fontVariantLigatures"
|
|
621
|
-
]
|
|
622
|
-
},
|
|
623
|
-
{
|
|
624
|
-
"name": "font-variant-position",
|
|
625
|
-
"href": "https://drafts.csswg.org/css-fonts-4/#propdef-font-variant-position",
|
|
626
|
-
"value": "normal | sub | super",
|
|
627
|
-
"initial": "normal",
|
|
628
|
-
"appliesTo": "all elements and text",
|
|
629
|
-
"inherited": "yes",
|
|
630
|
-
"percentages": "n/a",
|
|
631
|
-
"computedValue": "as specified",
|
|
632
|
-
"canonicalOrder": "per grammar",
|
|
633
|
-
"animationType": "discrete",
|
|
634
|
-
"values": [
|
|
635
|
-
{
|
|
636
|
-
"name": "normal",
|
|
637
|
-
"prose": "None of the features listed below are enabled.",
|
|
638
|
-
"href": "https://drafts.csswg.org/css-fonts-4/#font-variant-position-normal-value",
|
|
639
|
-
"type": "value",
|
|
640
|
-
"value": "normal"
|
|
641
|
-
},
|
|
642
|
-
{
|
|
643
|
-
"name": "sub",
|
|
644
|
-
"prose": "Enables display of subscript variants (OpenType feature: subs).",
|
|
645
|
-
"href": "https://drafts.csswg.org/css-fonts-4/#valdef-font-variant-position-sub",
|
|
646
|
-
"type": "value",
|
|
647
|
-
"value": "sub"
|
|
648
|
-
},
|
|
649
|
-
{
|
|
650
|
-
"name": "super",
|
|
651
|
-
"prose": "Enables display of superscript variants (OpenType feature: sups).",
|
|
652
|
-
"href": "https://drafts.csswg.org/css-fonts-4/#valdef-font-variant-position-super",
|
|
653
|
-
"type": "value",
|
|
654
|
-
"value": "super"
|
|
655
|
-
}
|
|
656
|
-
],
|
|
657
|
-
"styleDeclaration": [
|
|
658
|
-
"font-variant-position",
|
|
659
|
-
"fontVariantPosition"
|
|
660
|
-
]
|
|
661
|
-
},
|
|
662
|
-
{
|
|
663
|
-
"name": "font-variant-caps",
|
|
664
|
-
"href": "https://drafts.csswg.org/css-fonts-4/#propdef-font-variant-caps",
|
|
665
|
-
"value": "normal | small-caps | all-small-caps | petite-caps | all-petite-caps | unicase | titling-caps",
|
|
666
|
-
"initial": "normal",
|
|
667
|
-
"appliesTo": "all elements and text",
|
|
668
|
-
"inherited": "yes",
|
|
669
|
-
"percentages": "n/a",
|
|
670
|
-
"computedValue": "as specified",
|
|
671
|
-
"canonicalOrder": "per grammar",
|
|
672
|
-
"animationType": "discrete",
|
|
673
|
-
"values": [
|
|
674
|
-
{
|
|
675
|
-
"name": "normal",
|
|
676
|
-
"prose": "None of the features listed below are enabled.",
|
|
677
|
-
"href": "https://drafts.csswg.org/css-fonts-4/#font-variant-caps-normal-value",
|
|
678
|
-
"type": "value",
|
|
679
|
-
"value": "normal"
|
|
680
|
-
},
|
|
681
|
-
{
|
|
682
|
-
"name": "small-caps",
|
|
683
|
-
"prose": "Enables display of small capitals (OpenType feature: smcp). Small-caps glyphs typically use the form of uppercase letters but are reduced to the size of lowercase letters.",
|
|
684
|
-
"href": "https://drafts.csswg.org/css-fonts-4/#valdef-font-variant-caps-small-caps",
|
|
685
|
-
"type": "value",
|
|
686
|
-
"value": "small-caps"
|
|
687
|
-
},
|
|
688
|
-
{
|
|
689
|
-
"name": "all-small-caps",
|
|
690
|
-
"prose": "Enables display of small capitals for both upper and lowercase letters (OpenType features: c2sc, smcp).",
|
|
691
|
-
"href": "https://drafts.csswg.org/css-fonts-4/#valdef-font-variant-caps-all-small-caps",
|
|
692
|
-
"type": "value",
|
|
693
|
-
"value": "all-small-caps"
|
|
694
|
-
},
|
|
695
|
-
{
|
|
696
|
-
"name": "petite-caps",
|
|
697
|
-
"prose": "Enables display of petite capitals (OpenType feature: pcap).",
|
|
698
|
-
"href": "https://drafts.csswg.org/css-fonts-4/#valdef-font-variant-caps-petite-caps",
|
|
699
|
-
"type": "value",
|
|
700
|
-
"value": "petite-caps"
|
|
701
|
-
},
|
|
702
|
-
{
|
|
703
|
-
"name": "all-petite-caps",
|
|
704
|
-
"prose": "Enables display of petite capitals for both upper and lowercase letters (OpenType features: c2pc, pcap).",
|
|
705
|
-
"href": "https://drafts.csswg.org/css-fonts-4/#valdef-font-variant-caps-all-petite-caps",
|
|
706
|
-
"type": "value",
|
|
707
|
-
"value": "all-petite-caps"
|
|
708
|
-
},
|
|
709
|
-
{
|
|
710
|
-
"name": "unicase",
|
|
711
|
-
"prose": "Enables display of mixture of small capitals for uppercase letters with normal lowercase letters (OpenType feature: unic).",
|
|
712
|
-
"href": "https://drafts.csswg.org/css-fonts-4/#valdef-font-variant-caps-unicase",
|
|
713
|
-
"type": "value",
|
|
714
|
-
"value": "unicase"
|
|
715
|
-
},
|
|
716
|
-
{
|
|
717
|
-
"name": "titling-caps",
|
|
718
|
-
"prose": "Enables display of titling capitals (OpenType feature: titl). Uppercase letter glyphs are often designed for use with lowercase letters. When used in all uppercase titling sequences they can appear too strong. Titling capitals are designed specifically for this situation.",
|
|
719
|
-
"href": "https://drafts.csswg.org/css-fonts-4/#valdef-font-variant-caps-titling-caps",
|
|
720
|
-
"type": "value",
|
|
721
|
-
"value": "titling-caps"
|
|
722
|
-
}
|
|
723
|
-
],
|
|
724
|
-
"styleDeclaration": [
|
|
725
|
-
"font-variant-caps",
|
|
726
|
-
"fontVariantCaps"
|
|
727
|
-
]
|
|
728
|
-
},
|
|
729
|
-
{
|
|
730
|
-
"name": "font-variant-numeric",
|
|
731
|
-
"href": "https://drafts.csswg.org/css-fonts-4/#propdef-font-variant-numeric",
|
|
732
|
-
"value": "normal | [ <numeric-figure-values> || <numeric-spacing-values> || <numeric-fraction-values> || ordinal || slashed-zero ]",
|
|
733
|
-
"initial": "normal",
|
|
734
|
-
"appliesTo": "all elements and text",
|
|
735
|
-
"inherited": "yes",
|
|
736
|
-
"percentages": "n/a",
|
|
737
|
-
"computedValue": "as specified",
|
|
738
|
-
"canonicalOrder": "per grammar",
|
|
739
|
-
"animationType": "discrete",
|
|
740
|
-
"values": [
|
|
741
|
-
{
|
|
742
|
-
"name": "normal",
|
|
743
|
-
"prose": "None of the features listed below are enabled.",
|
|
744
|
-
"href": "https://drafts.csswg.org/css-fonts-4/#font-variant-numeric-normal-value",
|
|
745
|
-
"type": "value",
|
|
746
|
-
"value": "normal"
|
|
747
|
-
},
|
|
748
|
-
{
|
|
749
|
-
"name": "lining-nums",
|
|
750
|
-
"prose": "Enables display of lining numerals (OpenType feature: lnum).",
|
|
751
|
-
"href": "https://drafts.csswg.org/css-fonts-4/#valdef-font-variant-numeric-lining-nums",
|
|
752
|
-
"type": "value",
|
|
753
|
-
"value": "lining-nums"
|
|
754
|
-
},
|
|
755
|
-
{
|
|
756
|
-
"name": "oldstyle-nums",
|
|
757
|
-
"prose": "Enables display of old-style numerals (OpenType feature: onum).",
|
|
758
|
-
"href": "https://drafts.csswg.org/css-fonts-4/#valdef-font-variant-numeric-oldstyle-nums",
|
|
759
|
-
"type": "value",
|
|
760
|
-
"value": "oldstyle-nums"
|
|
761
|
-
},
|
|
762
|
-
{
|
|
763
|
-
"name": "proportional-nums",
|
|
764
|
-
"prose": "Enables display of proportional numerals (OpenType feature: pnum).",
|
|
765
|
-
"href": "https://drafts.csswg.org/css-fonts-4/#valdef-font-variant-numeric-proportional-nums",
|
|
766
|
-
"type": "value",
|
|
767
|
-
"value": "proportional-nums"
|
|
768
|
-
},
|
|
769
|
-
{
|
|
770
|
-
"name": "tabular-nums",
|
|
771
|
-
"prose": "Enables display of tabular numerals (OpenType feature: tnum).",
|
|
772
|
-
"href": "https://drafts.csswg.org/css-fonts-4/#valdef-font-variant-numeric-tabular-nums",
|
|
773
|
-
"type": "value",
|
|
774
|
-
"value": "tabular-nums"
|
|
775
|
-
},
|
|
776
|
-
{
|
|
777
|
-
"name": "diagonal-fractions",
|
|
778
|
-
"prose": "Enables display of lining diagonal fractions (OpenType feature: frac).",
|
|
779
|
-
"href": "https://drafts.csswg.org/css-fonts-4/#valdef-font-variant-numeric-diagonal-fractions",
|
|
780
|
-
"type": "value",
|
|
781
|
-
"value": "diagonal-fractions"
|
|
782
|
-
},
|
|
783
|
-
{
|
|
784
|
-
"name": "stacked-fractions",
|
|
785
|
-
"prose": "Enables display of lining stacked fractions (OpenType feature: afrc).",
|
|
786
|
-
"href": "https://drafts.csswg.org/css-fonts-4/#valdef-font-variant-numeric-stacked-fractions",
|
|
787
|
-
"type": "value",
|
|
788
|
-
"value": "stacked-fractions"
|
|
789
|
-
},
|
|
790
|
-
{
|
|
791
|
-
"name": "ordinal",
|
|
792
|
-
"prose": "Enables display of letter forms used with ordinal numbers (OpenType feature: ordn).",
|
|
793
|
-
"href": "https://drafts.csswg.org/css-fonts-4/#valdef-font-variant-numeric-ordinal",
|
|
794
|
-
"type": "value",
|
|
795
|
-
"value": "ordinal"
|
|
796
|
-
},
|
|
797
|
-
{
|
|
798
|
-
"name": "slashed-zero",
|
|
799
|
-
"prose": "Enables display of slashed zeros (OpenType feature: zero).",
|
|
800
|
-
"href": "https://drafts.csswg.org/css-fonts-4/#valdef-font-variant-numeric-slashed-zero",
|
|
801
|
-
"type": "value",
|
|
802
|
-
"value": "slashed-zero"
|
|
803
|
-
}
|
|
804
|
-
],
|
|
805
|
-
"styleDeclaration": [
|
|
806
|
-
"font-variant-numeric",
|
|
807
|
-
"fontVariantNumeric"
|
|
808
|
-
]
|
|
809
|
-
},
|
|
810
|
-
{
|
|
811
|
-
"name": "font-variant-alternates",
|
|
812
|
-
"href": "https://drafts.csswg.org/css-fonts-4/#propdef-font-variant-alternates",
|
|
813
|
-
"value": "normal | [ stylistic(<feature-value-name>) || historical-forms || styleset(<feature-value-name>#) || character-variant(<feature-value-name>#) || swash(<feature-value-name>) || ornaments(<feature-value-name>) || annotation(<feature-value-name>) ]",
|
|
814
|
-
"initial": "normal",
|
|
815
|
-
"appliesTo": "all elements and text",
|
|
816
|
-
"inherited": "yes",
|
|
817
|
-
"percentages": "n/a",
|
|
818
|
-
"computedValue": "as specified",
|
|
819
|
-
"canonicalOrder": "per grammar",
|
|
820
|
-
"animationType": "discrete",
|
|
821
|
-
"values": [
|
|
822
|
-
{
|
|
823
|
-
"name": "normal",
|
|
824
|
-
"prose": "None of the features listed below are enabled.",
|
|
825
|
-
"href": "https://drafts.csswg.org/css-fonts-4/#font-variant-alternates-normal-value",
|
|
826
|
-
"type": "value",
|
|
827
|
-
"value": "normal"
|
|
828
|
-
},
|
|
829
|
-
{
|
|
830
|
-
"name": "historical-forms",
|
|
831
|
-
"prose": "Enables display of historical forms (OpenType feature: hist).",
|
|
832
|
-
"href": "https://drafts.csswg.org/css-fonts-4/#valdef-font-variant-alternates-historical-forms",
|
|
833
|
-
"type": "value",
|
|
834
|
-
"value": "historical-forms"
|
|
835
|
-
},
|
|
836
|
-
{
|
|
837
|
-
"name": "stylistic()",
|
|
838
|
-
"value": "stylistic()",
|
|
839
|
-
"href": "https://drafts.csswg.org/css-fonts-4/#stylistic",
|
|
840
|
-
"type": "value"
|
|
841
|
-
},
|
|
842
|
-
{
|
|
843
|
-
"name": "styleset()",
|
|
844
|
-
"value": "styleset()",
|
|
845
|
-
"href": "https://drafts.csswg.org/css-fonts-4/#styleset",
|
|
846
|
-
"type": "value"
|
|
847
|
-
},
|
|
848
|
-
{
|
|
849
|
-
"name": "character-variant()",
|
|
850
|
-
"value": "character-variant()",
|
|
851
|
-
"href": "https://drafts.csswg.org/css-fonts-4/#character-variant",
|
|
852
|
-
"type": "value"
|
|
853
|
-
},
|
|
854
|
-
{
|
|
855
|
-
"name": "swash()",
|
|
856
|
-
"value": "swash()",
|
|
857
|
-
"href": "https://drafts.csswg.org/css-fonts-4/#swash",
|
|
858
|
-
"type": "value"
|
|
859
|
-
},
|
|
860
|
-
{
|
|
861
|
-
"name": "ornaments()",
|
|
862
|
-
"value": "ornaments()",
|
|
863
|
-
"href": "https://drafts.csswg.org/css-fonts-4/#ornaments",
|
|
864
|
-
"type": "value"
|
|
865
|
-
},
|
|
866
|
-
{
|
|
867
|
-
"name": "annotation()",
|
|
868
|
-
"value": "annotation()",
|
|
869
|
-
"href": "https://drafts.csswg.org/css-fonts-4/#annotation",
|
|
870
|
-
"type": "value"
|
|
871
|
-
}
|
|
872
|
-
],
|
|
873
|
-
"styleDeclaration": [
|
|
874
|
-
"font-variant-alternates",
|
|
875
|
-
"fontVariantAlternates"
|
|
876
|
-
]
|
|
877
|
-
},
|
|
878
|
-
{
|
|
879
|
-
"name": "font-variant-east-asian",
|
|
880
|
-
"href": "https://drafts.csswg.org/css-fonts-4/#propdef-font-variant-east-asian",
|
|
881
|
-
"value": "normal | [ <east-asian-variant-values> || <east-asian-width-values> || ruby ]",
|
|
882
|
-
"initial": "normal",
|
|
883
|
-
"appliesTo": "all elements and text",
|
|
884
|
-
"inherited": "yes",
|
|
885
|
-
"percentages": "n/a",
|
|
886
|
-
"computedValue": "as specified",
|
|
887
|
-
"canonicalOrder": "per grammar",
|
|
888
|
-
"animationType": "discrete",
|
|
889
|
-
"values": [
|
|
890
|
-
{
|
|
891
|
-
"name": "normal",
|
|
892
|
-
"prose": "None of the features listed below are enabled.",
|
|
893
|
-
"href": "https://drafts.csswg.org/css-fonts-4/#font-variant-east-asian-normal-value",
|
|
894
|
-
"type": "value",
|
|
895
|
-
"value": "normal"
|
|
896
|
-
},
|
|
897
|
-
{
|
|
898
|
-
"name": "jis78",
|
|
899
|
-
"prose": "Enables rendering of JIS78 forms (OpenType feature: jp78).",
|
|
900
|
-
"href": "https://drafts.csswg.org/css-fonts-4/#valdef-font-variant-east-asian-jis78",
|
|
901
|
-
"type": "value",
|
|
902
|
-
"value": "jis78"
|
|
903
|
-
},
|
|
904
|
-
{
|
|
905
|
-
"name": "jis83",
|
|
906
|
-
"prose": "Enables rendering of JIS83 forms (OpenType feature: jp83).",
|
|
907
|
-
"href": "https://drafts.csswg.org/css-fonts-4/#valdef-font-variant-east-asian-jis83",
|
|
908
|
-
"type": "value",
|
|
909
|
-
"value": "jis83"
|
|
910
|
-
},
|
|
911
|
-
{
|
|
912
|
-
"name": "jis90",
|
|
913
|
-
"prose": "Enables rendering of JIS90 forms (OpenType feature: jp90).",
|
|
914
|
-
"href": "https://drafts.csswg.org/css-fonts-4/#valdef-font-variant-east-asian-jis90",
|
|
915
|
-
"type": "value",
|
|
916
|
-
"value": "jis90"
|
|
917
|
-
},
|
|
918
|
-
{
|
|
919
|
-
"name": "jis04",
|
|
920
|
-
"prose": "Enables rendering of JIS2004 forms (OpenType feature: jp04). The various JIS variants reflect the glyph forms defined in different Japanese national standards. Fonts generally include glyphs defined by the most recent national standard, but it’s sometimes necessary to use older variants, to match signage for example.",
|
|
921
|
-
"href": "https://drafts.csswg.org/css-fonts-4/#valdef-font-variant-east-asian-jis04",
|
|
922
|
-
"type": "value",
|
|
923
|
-
"value": "jis04"
|
|
924
|
-
},
|
|
925
|
-
{
|
|
926
|
-
"name": "simplified",
|
|
927
|
-
"prose": "Enables rendering of simplified forms (OpenType feature: smpl).",
|
|
928
|
-
"href": "https://drafts.csswg.org/css-fonts-4/#valdef-font-variant-east-asian-simplified",
|
|
929
|
-
"type": "value",
|
|
930
|
-
"value": "simplified"
|
|
931
|
-
},
|
|
932
|
-
{
|
|
933
|
-
"name": "traditional",
|
|
934
|
-
"prose": "Enables rendering of traditional forms (OpenType feature: trad). The simplified and traditional values allow control over the glyph forms for characters which have been simplified over time but for which the older, traditional form is still used in some contexts. The exact set of characters and glyph forms will vary to some degree by the context for which a given font was designed.",
|
|
935
|
-
"href": "https://drafts.csswg.org/css-fonts-4/#valdef-font-variant-east-asian-traditional",
|
|
936
|
-
"type": "value",
|
|
937
|
-
"value": "traditional"
|
|
938
|
-
},
|
|
939
|
-
{
|
|
940
|
-
"name": "full-width",
|
|
941
|
-
"prose": "Enables rendering of full-width variants (OpenType feature: fwid).",
|
|
942
|
-
"href": "https://drafts.csswg.org/css-fonts-4/#valdef-font-variant-east-asian-full-width",
|
|
943
|
-
"type": "value",
|
|
944
|
-
"value": "full-width"
|
|
945
|
-
},
|
|
946
|
-
{
|
|
947
|
-
"name": "proportional-width",
|
|
948
|
-
"prose": "Enables rendering of proportionally-spaced variants (OpenType feature: pwid).",
|
|
949
|
-
"href": "https://drafts.csswg.org/css-fonts-4/#valdef-font-variant-east-asian-proportional-width",
|
|
950
|
-
"type": "value",
|
|
951
|
-
"value": "proportional-width"
|
|
952
|
-
},
|
|
953
|
-
{
|
|
954
|
-
"name": "ruby",
|
|
955
|
-
"prose": "Enables display of ruby variant glyphs (OpenType feature: ruby). Since ruby text is generally smaller than the associated body text, font designers can design special glyphs for use with ruby that are more readable than scaled down versions of the default glyphs. Only glyph selection is affected, there is no associated font scaling or other change that affects line layout. The red ruby text below is shown with default glyphs (top) and with ruby variant glyphs (bottom). Note the slight difference in stroke thickness.",
|
|
956
|
-
"href": "https://drafts.csswg.org/css-fonts-4/#valdef-font-variant-east-asian-ruby",
|
|
957
|
-
"type": "value",
|
|
958
|
-
"value": "ruby"
|
|
959
|
-
}
|
|
960
|
-
],
|
|
961
|
-
"styleDeclaration": [
|
|
962
|
-
"font-variant-east-asian",
|
|
963
|
-
"fontVariantEastAsian"
|
|
964
|
-
]
|
|
965
|
-
},
|
|
966
|
-
{
|
|
967
|
-
"name": "font-variant",
|
|
968
|
-
"href": "https://drafts.csswg.org/css-fonts-4/#propdef-font-variant",
|
|
969
|
-
"value": "normal | none | [ [ <common-lig-values> || <discretionary-lig-values> || <historical-lig-values> || <contextual-alt-values> ] || [ small-caps | all-small-caps | petite-caps | all-petite-caps | unicase | titling-caps ] || [ stylistic(<feature-value-name>) || historical-forms || styleset(<feature-value-name>#) || character-variant(<feature-value-name>#) || swash(<feature-value-name>) || ornaments(<feature-value-name>) || annotation(<feature-value-name>) ] || [ <numeric-figure-values> || <numeric-spacing-values> || <numeric-fraction-values> || ordinal || slashed-zero ] || [ <east-asian-variant-values> || <east-asian-width-values> || ruby ] || [ sub | super ] || [ text | emoji | unicode ] ]",
|
|
970
|
-
"initial": "normal",
|
|
971
|
-
"appliesTo": "all elements and text",
|
|
972
|
-
"inherited": "yes",
|
|
973
|
-
"percentages": "n/a",
|
|
974
|
-
"computedValue": "as specified",
|
|
975
|
-
"canonicalOrder": "per grammar",
|
|
976
|
-
"animationType": "discrete",
|
|
977
|
-
"values": [
|
|
978
|
-
{
|
|
979
|
-
"name": "normal",
|
|
980
|
-
"prose": "The value normal resets all subproperties of font-variant to their initial value. The none value sets font-variant-ligatures to none and resets all other font feature properties to their initial value. Like other shorthands, using font-variant resets unspecified font-variant subproperties to their initial values.",
|
|
981
|
-
"href": "https://drafts.csswg.org/css-fonts-4/#font-variant-normal-value",
|
|
982
|
-
"type": "value",
|
|
983
|
-
"value": "normal"
|
|
984
|
-
},
|
|
985
|
-
{
|
|
986
|
-
"name": "none",
|
|
987
|
-
"prose": "The value normal resets all subproperties of font-variant to their initial value. The none value sets font-variant-ligatures to none and resets all other font feature properties to their initial value. Like other shorthands, using font-variant resets unspecified font-variant subproperties to their initial values.",
|
|
988
|
-
"href": "https://drafts.csswg.org/css-fonts-4/#font-variant-none-value",
|
|
989
|
-
"type": "value",
|
|
990
|
-
"value": "none"
|
|
991
|
-
}
|
|
992
|
-
],
|
|
993
|
-
"styleDeclaration": [
|
|
994
|
-
"font-variant",
|
|
995
|
-
"fontVariant"
|
|
996
|
-
]
|
|
997
|
-
},
|
|
998
|
-
{
|
|
999
|
-
"name": "font-feature-settings",
|
|
1000
|
-
"href": "https://drafts.csswg.org/css-fonts-4/#propdef-font-feature-settings",
|
|
1001
|
-
"value": "normal | <feature-tag-value>#",
|
|
1002
|
-
"initial": "normal",
|
|
1003
|
-
"appliesTo": "all elements and text",
|
|
1004
|
-
"inherited": "yes",
|
|
1005
|
-
"percentages": "n/a",
|
|
1006
|
-
"computedValue": "as specified",
|
|
1007
|
-
"canonicalOrder": "per grammar",
|
|
1008
|
-
"animationType": "discrete",
|
|
1009
|
-
"values": [
|
|
1010
|
-
{
|
|
1011
|
-
"name": "normal",
|
|
1012
|
-
"prose": "A value of normal means that no change in glyph selection or positioning occurs due to this property.",
|
|
1013
|
-
"href": "https://drafts.csswg.org/css-fonts-4/#font-feature-settings-normal-value",
|
|
1014
|
-
"type": "value",
|
|
1015
|
-
"value": "normal"
|
|
1016
|
-
},
|
|
1017
|
-
{
|
|
1018
|
-
"name": "<feature-tag-value>",
|
|
1019
|
-
"href": "https://drafts.csswg.org/css-fonts-4/#feature-tag-value",
|
|
1020
|
-
"type": "value",
|
|
1021
|
-
"value": "<opentype-tag> [ <integer [0,∞]> | on | off ]?"
|
|
1022
|
-
}
|
|
1023
|
-
],
|
|
1024
|
-
"styleDeclaration": [
|
|
1025
|
-
"font-feature-settings",
|
|
1026
|
-
"fontFeatureSettings"
|
|
1027
|
-
]
|
|
1028
|
-
},
|
|
1029
|
-
{
|
|
1030
|
-
"name": "font-language-override",
|
|
1031
|
-
"href": "https://drafts.csswg.org/css-fonts-4/#propdef-font-language-override",
|
|
1032
|
-
"value": "normal | <string>",
|
|
1033
|
-
"initial": "normal",
|
|
1034
|
-
"appliesTo": "all elements and text",
|
|
1035
|
-
"inherited": "yes",
|
|
1036
|
-
"percentages": "N/A",
|
|
1037
|
-
"computedValue": "specified string or the keyword none",
|
|
1038
|
-
"canonicalOrder": "per grammar",
|
|
1039
|
-
"animationType": "discrete",
|
|
1040
|
-
"values": [
|
|
1041
|
-
{
|
|
1042
|
-
"name": "<string>",
|
|
1043
|
-
"prose": "single four-character case-sensitive OpenType language system tag, specifies the OpenType language system to be used instead of the language system implied by the language of the element. If the string is shorter than four characters, it is padded at the end with space (U+0020) characters such that the length is 4, before being matched.",
|
|
1044
|
-
"href": "https://drafts.csswg.org/css-fonts-4/#font-language-override-string-value",
|
|
1045
|
-
"type": "value",
|
|
1046
|
-
"value": "<string>"
|
|
1047
|
-
}
|
|
1048
|
-
],
|
|
1049
|
-
"styleDeclaration": [
|
|
1050
|
-
"font-language-override",
|
|
1051
|
-
"fontLanguageOverride"
|
|
1052
|
-
]
|
|
1053
|
-
},
|
|
1054
|
-
{
|
|
1055
|
-
"name": "font-optical-sizing",
|
|
1056
|
-
"href": "https://drafts.csswg.org/css-fonts-4/#propdef-font-optical-sizing",
|
|
1057
|
-
"value": "auto | none",
|
|
1058
|
-
"initial": "auto",
|
|
1059
|
-
"appliesTo": "all elements and text",
|
|
1060
|
-
"inherited": "yes",
|
|
1061
|
-
"percentages": "n/a",
|
|
1062
|
-
"computedValue": "specified keyword",
|
|
1063
|
-
"canonicalOrder": "per grammar",
|
|
1064
|
-
"animationType": "discrete",
|
|
1065
|
-
"values": [
|
|
1066
|
-
{
|
|
1067
|
-
"name": "auto",
|
|
1068
|
-
"prose": "The user agent may modify the shape of glyphs based on the font-size and the pixel density of the screen. For OpenType and TrueType fonts using font variations, this is often done by using the \"opsz\" font variation.",
|
|
1069
|
-
"href": "https://drafts.csswg.org/css-fonts-4/#font-optical-sizing-auto-value",
|
|
1070
|
-
"type": "value",
|
|
1071
|
-
"value": "auto"
|
|
1072
|
-
},
|
|
1073
|
-
{
|
|
1074
|
-
"name": "none",
|
|
1075
|
-
"prose": "The user agent must not modify the shape of glyphs for optical size.",
|
|
1076
|
-
"href": "https://drafts.csswg.org/css-fonts-4/#font-optical-sizing-none-value",
|
|
1077
|
-
"type": "value",
|
|
1078
|
-
"value": "none"
|
|
1079
|
-
}
|
|
1080
|
-
],
|
|
1081
|
-
"styleDeclaration": [
|
|
1082
|
-
"font-optical-sizing",
|
|
1083
|
-
"fontOpticalSizing"
|
|
1084
|
-
]
|
|
1085
|
-
},
|
|
1086
|
-
{
|
|
1087
|
-
"name": "font-variation-settings",
|
|
1088
|
-
"href": "https://drafts.csswg.org/css-fonts-4/#propdef-font-variation-settings",
|
|
1089
|
-
"value": "normal | [ <opentype-tag> <number>]#",
|
|
1090
|
-
"initial": "normal",
|
|
1091
|
-
"appliesTo": "all elements and text",
|
|
1092
|
-
"inherited": "yes",
|
|
1093
|
-
"percentages": "n/a",
|
|
1094
|
-
"computedValue": "the keyword normal or a list, each item a string paired with a number",
|
|
1095
|
-
"canonicalOrder": "per grammar",
|
|
1096
|
-
"animationType": "see prose",
|
|
1097
|
-
"styleDeclaration": [
|
|
1098
|
-
"font-variation-settings",
|
|
1099
|
-
"fontVariationSettings"
|
|
1100
|
-
]
|
|
1101
|
-
},
|
|
1102
|
-
{
|
|
1103
|
-
"name": "font-palette",
|
|
1104
|
-
"href": "https://drafts.csswg.org/css-fonts-4/#propdef-font-palette",
|
|
1105
|
-
"value": "normal | light | dark | <palette-identifier> | <palette-mix()>",
|
|
1106
|
-
"initial": "normal",
|
|
1107
|
-
"appliesTo": "all elements and text",
|
|
1108
|
-
"inherited": "yes",
|
|
1109
|
-
"percentages": "N/a",
|
|
1110
|
-
"computedValue": "specified keyword, identifier or <palette-mix()> function. <palette-mix()> must be simplified to a single keyword or identifier if resulting palette is equivalent.",
|
|
1111
|
-
"canonicalOrder": "per grammar",
|
|
1112
|
-
"animationType": "by computed value",
|
|
1113
|
-
"values": [
|
|
1114
|
-
{
|
|
1115
|
-
"name": "normal",
|
|
1116
|
-
"prose": "If the color-scheme property is set to a value other than normal', user-agents should select the first light or dark palette as appropriate. Otherwise, user-agents display the color font with the default palette or default glyph colorisation. User-agents should take the computed value of the color property into consideration when a color font format requires use of the foreground color In the COLR [OPENTYPE] table, color index 0xFFFF should be rendered according the color property. For COLR/CPAL [OPENTYPE] fonts, font-palette: normal usually means rendering the font with the palette in the font at index 0.",
|
|
1117
|
-
"href": "https://drafts.csswg.org/css-fonts-4/#valdef-font-palette-normal",
|
|
1118
|
-
"type": "value",
|
|
1119
|
-
"value": "normal"
|
|
1120
|
-
},
|
|
1121
|
-
{
|
|
1122
|
-
"name": "light",
|
|
1123
|
-
"prose": "Some color font formats include metadata marking certain palettes as applicable on a light (close to white) background. This keyword causes the user-agent to use the first available palette in the font file marked this way. If the font file format does not account for this metadata, or no palette in the font is marked this way, this value behaves as normal.",
|
|
1124
|
-
"href": "https://drafts.csswg.org/css-fonts-4/#valdef-font-palette-light",
|
|
1125
|
-
"type": "value",
|
|
1126
|
-
"value": "light"
|
|
1127
|
-
},
|
|
1128
|
-
{
|
|
1129
|
-
"name": "dark",
|
|
1130
|
-
"prose": "Some color font formats include metadata marking certain palettes as applicable on a dark (close to black) background. This keyword causes the user-agent to use the first available palette in the font file marked this way. If the font file format does not account for this metadata, or no palette in the font is marked this way, this value behaves as normal.",
|
|
1131
|
-
"href": "https://drafts.csswg.org/css-fonts-4/#valdef-font-palette-dark",
|
|
1132
|
-
"type": "value",
|
|
1133
|
-
"value": "dark"
|
|
1134
|
-
},
|
|
1135
|
-
{
|
|
1136
|
-
"name": "<palette-identifier>",
|
|
1137
|
-
"prose": "This value identifies an CSS-defined palette to use. Users can define a palette by using the @font-palette-values rule. If no applicable @font-palette-values rule is present, this value behaves as normal. <palette-identifier> is parsed as a <dashed-ident>.",
|
|
1138
|
-
"href": "https://drafts.csswg.org/css-fonts-4/#typedef-font-palette-palette-identifier",
|
|
1139
|
-
"type": "type"
|
|
1140
|
-
},
|
|
1141
|
-
{
|
|
1142
|
-
"name": "<palette-mix()>",
|
|
1143
|
-
"prose": "This value defines a position in the interpolation between two palette values, identified by <palette-identifier>, by the palette keywords normal, light, dark, or by another <palette-mix()> value. The glyphs of the font must be rendered with a palette that is created by interpolating for each palette color index between the matching color indices of the first and second palette specified as arguments, recursively resolving <palette-mix()> functions if needed. For each palette color, the interpolation follows the rules of the <color-mix()> function. Percentages are normalized according to CSS Color 5 § 3.1 Percentage Normalization.",
|
|
1144
|
-
"href": "https://drafts.csswg.org/css-fonts-4/#typedef-font-palette-palette-mix",
|
|
1145
|
-
"type": "type"
|
|
1146
|
-
}
|
|
1147
|
-
],
|
|
1148
|
-
"styleDeclaration": [
|
|
1149
|
-
"font-palette",
|
|
1150
|
-
"fontPalette"
|
|
1151
|
-
]
|
|
1152
|
-
},
|
|
1153
|
-
{
|
|
1154
|
-
"name": "font-variant-emoji",
|
|
1155
|
-
"href": "https://drafts.csswg.org/css-fonts-4/#propdef-font-variant-emoji",
|
|
1156
|
-
"value": "normal | text | emoji | unicode",
|
|
1157
|
-
"initial": "normal",
|
|
1158
|
-
"appliesTo": "all elements and text",
|
|
1159
|
-
"inherited": "yes",
|
|
1160
|
-
"percentages": "N/a",
|
|
1161
|
-
"computedValue": "specified keyword",
|
|
1162
|
-
"canonicalOrder": "per grammar",
|
|
1163
|
-
"animationType": "discrete",
|
|
1164
|
-
"values": [
|
|
1165
|
-
{
|
|
1166
|
-
"name": "normal",
|
|
1167
|
-
"prose": "User agents can choose to draw a Presentation Participating Code Point in either emoji style or text style. User agents typically follow platform conventions when performing this decision.",
|
|
1168
|
-
"href": "https://drafts.csswg.org/css-fonts-4/#valdef-font-variant-emoji-normal",
|
|
1169
|
-
"type": "value",
|
|
1170
|
-
"value": "normal"
|
|
1171
|
-
},
|
|
1172
|
-
{
|
|
1173
|
-
"name": "text",
|
|
1174
|
-
"prose": "Code points are rendered as if U+FE0E VARIATION SELECTOR-15 was appended to every Presentation Participating Code Point.",
|
|
1175
|
-
"href": "https://drafts.csswg.org/css-fonts-4/#valdef-font-variant-emoji-text",
|
|
1176
|
-
"type": "value",
|
|
1177
|
-
"value": "text"
|
|
1178
|
-
},
|
|
1179
|
-
{
|
|
1180
|
-
"name": "emoji",
|
|
1181
|
-
"prose": "Code points are rendered as if U+FE0F VARIATION SELECTOR-16 was appended to every Presentation Participating Code Point.",
|
|
1182
|
-
"href": "https://drafts.csswg.org/css-fonts-4/#valdef-font-variant-emoji-emoji",
|
|
1183
|
-
"type": "value",
|
|
1184
|
-
"value": "emoji"
|
|
1185
|
-
},
|
|
1186
|
-
{
|
|
1187
|
-
"name": "unicode",
|
|
1188
|
-
"prose": "Code points are rendered in accordance with [UTS51] as either emoji-default, text-default, or text-only, depending on the values of the Emoji and Emoji_Presentation properties for each Presentation Participating Code Point. If present, FE0E VARIATION SELECTOR-15 and U+FE0F VARIATION SELECTOR-16 will override the default presentation of individual Presentation Participating Code Points.",
|
|
1189
|
-
"href": "https://drafts.csswg.org/css-fonts-4/#valdef-font-variant-emoji-unicode",
|
|
1190
|
-
"type": "value",
|
|
1191
|
-
"value": "unicode"
|
|
1192
|
-
}
|
|
1193
|
-
],
|
|
1194
|
-
"styleDeclaration": [
|
|
1195
|
-
"font-variant-emoji",
|
|
1196
|
-
"fontVariantEmoji"
|
|
1197
|
-
]
|
|
1198
|
-
},
|
|
1199
|
-
{
|
|
1200
|
-
"name": "font-stretch",
|
|
1201
|
-
"href": "https://drafts.csswg.org/css-fonts-4/#propdef-font-stretch",
|
|
1202
|
-
"legacyAliasOf": "font-width",
|
|
1203
|
-
"styleDeclaration": [
|
|
1204
|
-
"font-stretch",
|
|
1205
|
-
"fontStretch"
|
|
1206
|
-
]
|
|
1207
|
-
}
|
|
1208
|
-
],
|
|
1209
|
-
"atrules": [
|
|
1210
|
-
{
|
|
1211
|
-
"name": "@font-face",
|
|
1212
|
-
"href": "https://drafts.csswg.org/css-fonts-4/#at-font-face-rule",
|
|
1213
|
-
"descriptors": [
|
|
1214
|
-
{
|
|
1215
|
-
"name": "font-family",
|
|
1216
|
-
"href": "https://drafts.csswg.org/css-fonts-4/#descdef-font-face-font-family",
|
|
1217
|
-
"for": "@font-face",
|
|
1218
|
-
"value": "<family-name>",
|
|
1219
|
-
"initial": "N/A"
|
|
1220
|
-
},
|
|
1221
|
-
{
|
|
1222
|
-
"name": "src",
|
|
1223
|
-
"href": "https://drafts.csswg.org/css-fonts-4/#descdef-font-face-src",
|
|
1224
|
-
"for": "@font-face",
|
|
1225
|
-
"value": "<font-src-list>",
|
|
1226
|
-
"initial": "N/A"
|
|
1227
|
-
},
|
|
1228
|
-
{
|
|
1229
|
-
"name": "font-style",
|
|
1230
|
-
"href": "https://drafts.csswg.org/css-fonts-4/#descdef-font-face-font-style",
|
|
1231
|
-
"for": "@font-face",
|
|
1232
|
-
"value": "auto | normal | italic | left | right | oblique [ <angle [-90deg,90deg]>{1,2} ]?",
|
|
1233
|
-
"initial": "auto"
|
|
1234
|
-
},
|
|
1235
|
-
{
|
|
1236
|
-
"name": "font-weight",
|
|
1237
|
-
"href": "https://drafts.csswg.org/css-fonts-4/#descdef-font-face-font-weight",
|
|
1238
|
-
"for": "@font-face",
|
|
1239
|
-
"value": "auto | <font-weight-absolute>{1,2}",
|
|
1240
|
-
"initial": "auto"
|
|
1241
|
-
},
|
|
1242
|
-
{
|
|
1243
|
-
"name": "font-width",
|
|
1244
|
-
"href": "https://drafts.csswg.org/css-fonts-4/#descdef-font-face-font-width",
|
|
1245
|
-
"for": "@font-face",
|
|
1246
|
-
"value": "auto | <'font-width'>{1,2}",
|
|
1247
|
-
"initial": "auto"
|
|
1248
|
-
},
|
|
1249
|
-
{
|
|
1250
|
-
"name": "unicode-range",
|
|
1251
|
-
"href": "https://drafts.csswg.org/css-fonts-4/#descdef-font-face-unicode-range",
|
|
1252
|
-
"for": "@font-face",
|
|
1253
|
-
"value": "<unicode-range-token>#",
|
|
1254
|
-
"initial": "U+0-10FFFF"
|
|
1255
|
-
},
|
|
1256
|
-
{
|
|
1257
|
-
"name": "font-feature-settings",
|
|
1258
|
-
"href": "https://drafts.csswg.org/css-fonts-4/#descdef-font-face-font-feature-settings",
|
|
1259
|
-
"for": "@font-face",
|
|
1260
|
-
"value": "normal | <feature-tag-value>#",
|
|
1261
|
-
"initial": "normal"
|
|
1262
|
-
},
|
|
1263
|
-
{
|
|
1264
|
-
"name": "font-variation-settings",
|
|
1265
|
-
"href": "https://drafts.csswg.org/css-fonts-4/#descdef-font-face-font-variation-settings",
|
|
1266
|
-
"for": "@font-face",
|
|
1267
|
-
"value": "normal | [ <string> <number>]#",
|
|
1268
|
-
"initial": "normal"
|
|
1269
|
-
},
|
|
1270
|
-
{
|
|
1271
|
-
"name": "font-named-instance",
|
|
1272
|
-
"href": "https://drafts.csswg.org/css-fonts-4/#descdef-font-face-font-named-instance",
|
|
1273
|
-
"for": "@font-face",
|
|
1274
|
-
"value": "auto | <string>",
|
|
1275
|
-
"initial": "auto"
|
|
1276
|
-
},
|
|
1277
|
-
{
|
|
1278
|
-
"name": "font-display",
|
|
1279
|
-
"href": "https://drafts.csswg.org/css-fonts-4/#descdef-font-face-font-display",
|
|
1280
|
-
"for": "@font-face",
|
|
1281
|
-
"value": "auto | block | swap | fallback | optional",
|
|
1282
|
-
"initial": "auto",
|
|
1283
|
-
"values": [
|
|
1284
|
-
{
|
|
1285
|
-
"name": "auto",
|
|
1286
|
-
"prose": "The font display policy is user-agent-defined.",
|
|
1287
|
-
"href": "https://drafts.csswg.org/css-fonts-4/#valdef-font-face-font-display-auto",
|
|
1288
|
-
"type": "value",
|
|
1289
|
-
"value": "auto"
|
|
1290
|
-
},
|
|
1291
|
-
{
|
|
1292
|
-
"name": "block",
|
|
1293
|
-
"prose": "Gives the font face a short block period (3s is recommended in most cases) and an infinite swap period. This value must only be used when rendering text in a particular font is required for the page to be usable. It must only be used for small pieces of text. For example, badly designed \"icon fonts\" might associate a \"⎙\" (printer) icon with an unrelated character like \"P\", so if the text is displayed with a fallback font instead there will be confusing letters scattered around the page rather than the desired icon. In this case, temporary blank spots are better than using a fallback font. (However, the fallback font is used eventually, as having confusing letters scattered around the page is better than having links and such never show up at all.) A better solution is described in the Accessibility Considerations section.",
|
|
1294
|
-
"href": "https://drafts.csswg.org/css-fonts-4/#valdef-font-face-font-display-block",
|
|
1295
|
-
"type": "value",
|
|
1296
|
-
"value": "block"
|
|
1297
|
-
},
|
|
1298
|
-
{
|
|
1299
|
-
"name": "swap",
|
|
1300
|
-
"prose": "Gives the font face an extremely small block period (100ms or less is recommended in most cases) and an infinite swap period. This value should only be used when rendering text in a particular font is very important for the page, but rendering in any font will still get a correct message across. It should only be used for small pieces of text. For example, if a website has a custom font for rendering their logo, rendering that logo correctly is fairly important for branding purposes, but displaying the logo in any font will at least get the point across without confusion.",
|
|
1301
|
-
"href": "https://drafts.csswg.org/css-fonts-4/#valdef-font-face-font-display-swap",
|
|
1302
|
-
"type": "value",
|
|
1303
|
-
"value": "swap"
|
|
1304
|
-
},
|
|
1305
|
-
{
|
|
1306
|
-
"name": "fallback",
|
|
1307
|
-
"prose": "Gives the font face an extremely small block period (100ms or less is recommended in most cases) and a short swap period (3s is recommended in most cases). This value should be used for body text, or any other text where the use of the chosen font is useful and desired, but it’s acceptable for the user to see the text in a fallback font. This value is appropriate to use for large pieces of text. For example, in large pieces of body text, it’s most important just to get the text rendered quickly, so the user can begin to read as quickly as possible. Further, once the user has started reading, they shouldn’t be disturbed by the text suddenly \"shifting\" as a new font is swapped in, as that’s distracting and annoying to re-find where one was in the text.",
|
|
1308
|
-
"href": "https://drafts.csswg.org/css-fonts-4/#valdef-font-face-font-display-fallback",
|
|
1309
|
-
"type": "value",
|
|
1310
|
-
"value": "fallback"
|
|
1311
|
-
},
|
|
1312
|
-
{
|
|
1313
|
-
"name": "optional",
|
|
1314
|
-
"prose": "If the font can be loaded \"immediately\" (such that it’s available to be used for the \"first paint\" of the text), the font is used. Otherwise, the font is treated as if its block period and swap period both expired before it finished loading. If the font is not used due to this, the user agent may choose to abort the font download, or download it with a very low priority. If the user agent believes it would be useful for the user, it may avoid even starting the font download, and proceed immediately to using a fallback font. An optional font must never cause the layout of the page to \"jump\" as it loads in. A user agent may choose to slightly delay rendering an element using an optional font to give it time to load from a possibly-slow local cache, but once the text has been painted to the screen with a fallback font instead, it must not be rendered with the optional font for the rest of the page’s lifetime. This value should be used for body text, or any other text where the chosen font is purely a decorative \"nice-to-have\". It should be used anytime it is more important that the web page render quickly on first visit, than it is that the user wait a longer time to see everything perfect immediately. For example, body text is perfectly readable in one of the browser default fonts, though a downloadable font face might be more attractive and mesh with the site’s aesthetics better. First time visitors to a site generally care far more about the site being quickly usable than they do about the finer points of its display, and optional provides a good behavior for them. If they return later, the desired font faces might have finished downloading, giving them the \"intended\" experience without slowing down either their first or subsequent visits. Users on very slow connections might not ever receive the \"intended\" experience, but optional ensures they can actually use the site, rather than quitting and going elsewhere because the site takes too long to load.",
|
|
1315
|
-
"href": "https://drafts.csswg.org/css-fonts-4/#valdef-font-face-font-display-optional",
|
|
1316
|
-
"type": "value",
|
|
1317
|
-
"value": "optional"
|
|
1318
|
-
}
|
|
1319
|
-
]
|
|
1320
|
-
},
|
|
1321
|
-
{
|
|
1322
|
-
"name": "font-language-override",
|
|
1323
|
-
"href": "https://drafts.csswg.org/css-fonts-4/#descdef-font-face-font-language-override",
|
|
1324
|
-
"for": "@font-face",
|
|
1325
|
-
"value": "normal | <string>",
|
|
1326
|
-
"initial": "normal"
|
|
1327
|
-
},
|
|
1328
|
-
{
|
|
1329
|
-
"name": "ascent-override",
|
|
1330
|
-
"href": "https://drafts.csswg.org/css-fonts-4/#descdef-font-face-ascent-override",
|
|
1331
|
-
"for": "@font-face",
|
|
1332
|
-
"value": "normal | <percentage [0,∞]>",
|
|
1333
|
-
"initial": "normal"
|
|
1334
|
-
},
|
|
1335
|
-
{
|
|
1336
|
-
"name": "descent-override",
|
|
1337
|
-
"href": "https://drafts.csswg.org/css-fonts-4/#descdef-font-face-descent-override",
|
|
1338
|
-
"for": "@font-face",
|
|
1339
|
-
"value": "normal | <percentage [0,∞]>",
|
|
1340
|
-
"initial": "normal"
|
|
1341
|
-
},
|
|
1342
|
-
{
|
|
1343
|
-
"name": "line-gap-override",
|
|
1344
|
-
"href": "https://drafts.csswg.org/css-fonts-4/#descdef-font-face-line-gap-override",
|
|
1345
|
-
"for": "@font-face",
|
|
1346
|
-
"value": "normal | <percentage [0,∞]>",
|
|
1347
|
-
"initial": "normal"
|
|
1348
|
-
}
|
|
1349
|
-
],
|
|
1350
|
-
"value": "@font-face { <declaration-list> }"
|
|
1351
|
-
},
|
|
1352
|
-
{
|
|
1353
|
-
"name": "@font-feature-values",
|
|
1354
|
-
"href": "https://drafts.csswg.org/css-fonts-4/#at-ruledef-font-feature-values",
|
|
1355
|
-
"descriptors": [
|
|
1356
|
-
{
|
|
1357
|
-
"name": "font-display",
|
|
1358
|
-
"href": "https://drafts.csswg.org/css-fonts-4/#descdef-font-feature-values-font-display",
|
|
1359
|
-
"for": "@font-feature-values",
|
|
1360
|
-
"value": "auto | block | swap | fallback | optional",
|
|
1361
|
-
"initial": "auto"
|
|
1362
|
-
},
|
|
1363
|
-
{
|
|
1364
|
-
"name": "@stylistic",
|
|
1365
|
-
"href": "https://drafts.csswg.org/css-fonts-4/#at-ruledef-font-feature-values-stylistic",
|
|
1366
|
-
"type": "at-rule",
|
|
1367
|
-
"for": "@font-feature-values",
|
|
1368
|
-
"value": "@stylistic { <declaration-list> }"
|
|
1369
|
-
},
|
|
1370
|
-
{
|
|
1371
|
-
"name": "@historical-forms",
|
|
1372
|
-
"href": "https://drafts.csswg.org/css-fonts-4/#at-ruledef-font-feature-values-historical-forms",
|
|
1373
|
-
"type": "at-rule",
|
|
1374
|
-
"for": "@font-feature-values",
|
|
1375
|
-
"value": "@historical-forms { <declaration-list> }"
|
|
1376
|
-
},
|
|
1377
|
-
{
|
|
1378
|
-
"name": "@styleset",
|
|
1379
|
-
"href": "https://drafts.csswg.org/css-fonts-4/#at-ruledef-font-feature-values-styleset",
|
|
1380
|
-
"type": "at-rule",
|
|
1381
|
-
"for": "@font-feature-values",
|
|
1382
|
-
"value": "@styleset { <declaration-list> }"
|
|
1383
|
-
},
|
|
1384
|
-
{
|
|
1385
|
-
"name": "@character-variant",
|
|
1386
|
-
"href": "https://drafts.csswg.org/css-fonts-4/#at-ruledef-font-feature-values-character-variant",
|
|
1387
|
-
"type": "at-rule",
|
|
1388
|
-
"for": "@font-feature-values",
|
|
1389
|
-
"value": "@character-variant { <declaration-list> }"
|
|
1390
|
-
},
|
|
1391
|
-
{
|
|
1392
|
-
"name": "@swash",
|
|
1393
|
-
"href": "https://drafts.csswg.org/css-fonts-4/#at-ruledef-font-feature-values-swash",
|
|
1394
|
-
"type": "at-rule",
|
|
1395
|
-
"for": "@font-feature-values",
|
|
1396
|
-
"value": "@swash { <declaration-list> }"
|
|
1397
|
-
},
|
|
1398
|
-
{
|
|
1399
|
-
"name": "@ornaments",
|
|
1400
|
-
"href": "https://drafts.csswg.org/css-fonts-4/#at-ruledef-font-feature-values-ornaments",
|
|
1401
|
-
"type": "at-rule",
|
|
1402
|
-
"for": "@font-feature-values",
|
|
1403
|
-
"value": "@ornaments { <declaration-list> }"
|
|
1404
|
-
},
|
|
1405
|
-
{
|
|
1406
|
-
"name": "@annotation",
|
|
1407
|
-
"href": "https://drafts.csswg.org/css-fonts-4/#at-ruledef-font-feature-values-annotation",
|
|
1408
|
-
"type": "at-rule",
|
|
1409
|
-
"for": "@font-feature-values",
|
|
1410
|
-
"value": "@annotation { <declaration-list> }"
|
|
1411
|
-
}
|
|
1412
|
-
],
|
|
1413
|
-
"value": "@font-feature-values <family-name># { <declaration-rule-list> }"
|
|
1414
|
-
},
|
|
1415
|
-
{
|
|
1416
|
-
"name": "@font-palette-values",
|
|
1417
|
-
"prose": "The @font-palette-values rule defines a color palette and associates that color palette with a specific font. This allows a web author to select arbitrary <color>s to use inside a color font rather than being limited to the preexisting palettes inside font files.",
|
|
1418
|
-
"href": "https://drafts.csswg.org/css-fonts-4/#at-ruledef-font-palette-values",
|
|
1419
|
-
"descriptors": [
|
|
1420
|
-
{
|
|
1421
|
-
"name": "font-family",
|
|
1422
|
-
"href": "https://drafts.csswg.org/css-fonts-4/#descdef-font-palette-values-font-family",
|
|
1423
|
-
"for": "@font-palette-values",
|
|
1424
|
-
"value": "<family-name>#",
|
|
1425
|
-
"initial": "N/A"
|
|
1426
|
-
},
|
|
1427
|
-
{
|
|
1428
|
-
"name": "base-palette",
|
|
1429
|
-
"href": "https://drafts.csswg.org/css-fonts-4/#descdef-font-palette-values-base-palette",
|
|
1430
|
-
"for": "@font-palette-values",
|
|
1431
|
-
"value": "light | dark | <integer [0,∞]>",
|
|
1432
|
-
"initial": "N/A",
|
|
1433
|
-
"values": [
|
|
1434
|
-
{
|
|
1435
|
-
"name": "light",
|
|
1436
|
-
"prose": "Some color font formats include metadata marking certain palettes as applicable on a light (close to white) background. This keyword identifies the first available palette in the font file marked this way. If the font file format does not account for this metadata, or no palette in the font is marked this way, this value behaves as 0.",
|
|
1437
|
-
"href": "https://drafts.csswg.org/css-fonts-4/#valdef-base-palette-light",
|
|
1438
|
-
"type": "value",
|
|
1439
|
-
"value": "light"
|
|
1440
|
-
},
|
|
1441
|
-
{
|
|
1442
|
-
"name": "dark",
|
|
1443
|
-
"prose": "Some color font formats include metadata marking certain palettes as applicable on a dark (close to black) background. This keyword identifies the first available palette in the font file marked this way. If the font file format does not account for this metadata, or no palette in the font is marked this way, this value behaves as 0.",
|
|
1444
|
-
"href": "https://drafts.csswg.org/css-fonts-4/#valdef-base-palette-dark",
|
|
1445
|
-
"type": "value",
|
|
1446
|
-
"value": "dark"
|
|
1447
|
-
},
|
|
1448
|
-
{
|
|
1449
|
-
"name": "<integer>",
|
|
1450
|
-
"prose": "Identifies a (zero-based) numerical palette index within the font.",
|
|
1451
|
-
"href": "https://drafts.csswg.org/css-fonts-4/#typedef-base-palette-integer",
|
|
1452
|
-
"type": "type"
|
|
1453
|
-
}
|
|
1454
|
-
]
|
|
1455
|
-
},
|
|
1456
|
-
{
|
|
1457
|
-
"name": "override-colors",
|
|
1458
|
-
"href": "https://drafts.csswg.org/css-fonts-4/#descdef-font-palette-values-override-colors",
|
|
1459
|
-
"for": "@font-palette-values",
|
|
1460
|
-
"value": "[ <integer [0,∞]> <color> ]#",
|
|
1461
|
-
"initial": "N/A"
|
|
1462
|
-
}
|
|
1463
|
-
],
|
|
1464
|
-
"value": "@font-palette-values <dashed-ident> { <declaration-list> }"
|
|
1465
|
-
}
|
|
1466
|
-
],
|
|
1467
|
-
"selectors": [],
|
|
1468
|
-
"values": [
|
|
1469
|
-
{
|
|
1470
|
-
"name": "<family-name>",
|
|
1471
|
-
"prose": "The name of a font family, such as Helvetica or Verdana in the previous example. This might be a locally-instaled font, or might be a web font.",
|
|
1472
|
-
"href": "https://drafts.csswg.org/css-fonts-4/#family-name-value",
|
|
1473
|
-
"type": "type",
|
|
1474
|
-
"value": "<string> | <custom-ident>+"
|
|
1475
|
-
},
|
|
1476
|
-
{
|
|
1477
|
-
"name": "<system-family-name>",
|
|
1478
|
-
"prose": "A locally installed system font, whose use is subject to certain constraints. In particular, it may not be used with the font-family property, but can be used with the font shorthand. The following values refer to system fonts:",
|
|
1479
|
-
"href": "https://drafts.csswg.org/css-fonts-4/#system-family-name-value",
|
|
1480
|
-
"type": "type",
|
|
1481
|
-
"value": "caption | icon | menu | message-box | small-caption | status-bar"
|
|
1482
|
-
},
|
|
1483
|
-
{
|
|
1484
|
-
"name": "<generic-family>",
|
|
1485
|
-
"href": "https://drafts.csswg.org/css-fonts-4/#typedef-generic-family",
|
|
1486
|
-
"type": "type",
|
|
1487
|
-
"value": "<generic-script-specific>| <generic-complete> | <generic-incomplete>",
|
|
1488
|
-
"values": [
|
|
1489
|
-
{
|
|
1490
|
-
"name": "serif",
|
|
1491
|
-
"prose": "Serif fonts represent glyphs that have finishing strokes, flared or tapering ends, or have actual serifed endings (including slab serifs). Serif fonts are typically proportionately-spaced. They often display a greater variation between thick and thin strokes than fonts from the sans-serif generic font family. CSS uses the term \"serif\" to apply to a font for any script, although other names might be more familiar for particular scripts, such as Mincho (Japanese), Sung or Song (Chinese), Batang (Korean). For Arabic, the Naskh style would correspond to serif. serif must always map to at least one matched font face. Sample serif fonts",
|
|
1492
|
-
"href": "https://drafts.csswg.org/css-fonts-4/#valdef-font-family-serif",
|
|
1493
|
-
"type": "value",
|
|
1494
|
-
"value": "serif"
|
|
1495
|
-
},
|
|
1496
|
-
{
|
|
1497
|
-
"name": "sans-serif",
|
|
1498
|
-
"prose": "Glyphs in sans-serif fonts, as the term is used in CSS, are generally low contrast (vertical and horizontal stems have the close to the same thickness) and have stroke endings that are plain (without any flaring, cross stroke, or other ornamentation). Sans-serif fonts are typically proportionately-spaced. They often have little variation between thick and thin strokes, compared to fonts from the serif family. CSS uses the term \"sans-serif\" to apply to a font for any script, although other names might be more familiar for particular scripts, such as Gothic (Japanese), Hei (Chinese), or Gulim (Korean). sans-serif must always map to at least one matched font face. Sample sans-serif fonts",
|
|
1499
|
-
"href": "https://drafts.csswg.org/css-fonts-4/#valdef-font-family-sans-serif",
|
|
1500
|
-
"type": "value",
|
|
1501
|
-
"value": "sans-serif"
|
|
1502
|
-
},
|
|
1503
|
-
{
|
|
1504
|
-
"name": "cursive",
|
|
1505
|
-
"prose": "Glyphs in cursive fonts generally use a script style, and the result looks more like handwritten pen or brush writing than printed letterwork. CSS uses the term \"cursive\" to apply to a font for any script, although other names such as Chancery, Brush, Swing and Script are also used in font names. Sample cursive fonts",
|
|
1506
|
-
"href": "https://drafts.csswg.org/css-fonts-4/#valdef-font-family-cursive",
|
|
1507
|
-
"type": "value",
|
|
1508
|
-
"value": "cursive"
|
|
1509
|
-
},
|
|
1510
|
-
{
|
|
1511
|
-
"name": "fantasy",
|
|
1512
|
-
"prose": "Fantasy fonts are primarily decorative or expressive fonts that contain decorative or expressive representations of characters. These do not include Pi or Picture fonts which do not represent actual characters. Sample fantasy fonts",
|
|
1513
|
-
"href": "https://drafts.csswg.org/css-fonts-4/#valdef-font-family-fantasy",
|
|
1514
|
-
"type": "value",
|
|
1515
|
-
"value": "fantasy"
|
|
1516
|
-
},
|
|
1517
|
-
{
|
|
1518
|
-
"name": "monospace",
|
|
1519
|
-
"prose": "The sole criterion of a monospace font is that all glyphs have the same fixed width. This is often used to render samples of computer code. monospace must always map to at least one matched font face. Sample monospace fonts",
|
|
1520
|
-
"href": "https://drafts.csswg.org/css-fonts-4/#valdef-font-family-monospace",
|
|
1521
|
-
"type": "value",
|
|
1522
|
-
"value": "monospace"
|
|
1523
|
-
},
|
|
1524
|
-
{
|
|
1525
|
-
"name": "system-ui",
|
|
1526
|
-
"prose": "This generic font family lets text render with the default user interface font (which, as with all § 2.1.5 Generic font families may be a composite font) on the platform on which the UA is running. A cross-platform UA should use different fonts on its different supported platforms. The purpose of system-ui is to allow web content to integrate with the look and feel of the native OS. The precise font used will depend on factors such as Unicode coverage and the content language. As with other generic font families, the substitution of specific installed fonts for system-ui does not affect the computed style. <div id=\"system-text\" style=\"font-family: system-ui\"></div> ... window.getComputedStyle(document.getElementById(\"system-text\")).getPropertyValue(\"font-family\"); The script above should not have any knowledge of how system-ui is expanded to include a collection of system user interface fonts. In particular, the above script should yield a result of \"system-ui\" on every platform.",
|
|
1527
|
-
"href": "https://drafts.csswg.org/css-fonts-4/#valdef-font-family-system-ui",
|
|
1528
|
-
"type": "value",
|
|
1529
|
-
"value": "system-ui"
|
|
1530
|
-
},
|
|
1531
|
-
{
|
|
1532
|
-
"name": "math",
|
|
1533
|
-
"prose": "This font family is intended for use with mathematical expressions. Such fonts may include additional data (for example, the OpenType MATH table) to help with the hierarchical process of equation layout. In particular, they may contain stylistic and stretching glyph variants useful in setting mathematical equations.",
|
|
1534
|
-
"href": "https://drafts.csswg.org/css-fonts-4/#valdef-font-family-math",
|
|
1535
|
-
"type": "value",
|
|
1536
|
-
"value": "math"
|
|
1537
|
-
},
|
|
1538
|
-
{
|
|
1539
|
-
"name": "generic()",
|
|
1540
|
-
"value": "generic()",
|
|
1541
|
-
"href": "https://drafts.csswg.org/css-fonts-4/#valdef-font-family-generic-fangsong",
|
|
1542
|
-
"type": "value"
|
|
1543
|
-
},
|
|
1544
|
-
{
|
|
1545
|
-
"name": "generic()",
|
|
1546
|
-
"value": "generic()",
|
|
1547
|
-
"href": "https://drafts.csswg.org/css-fonts-4/#valdef-font-family-generic-kai",
|
|
1548
|
-
"type": "value"
|
|
1549
|
-
},
|
|
1550
|
-
{
|
|
1551
|
-
"name": "generic()",
|
|
1552
|
-
"value": "generic()",
|
|
1553
|
-
"href": "https://drafts.csswg.org/css-fonts-4/#valdef-font-family-generic-khmer-mul",
|
|
1554
|
-
"type": "value"
|
|
1555
|
-
},
|
|
1556
|
-
{
|
|
1557
|
-
"name": "generic()",
|
|
1558
|
-
"value": "generic()",
|
|
1559
|
-
"href": "https://drafts.csswg.org/css-fonts-4/#valdef-font-family-generic-nastaliq",
|
|
1560
|
-
"type": "value"
|
|
1561
|
-
},
|
|
1562
|
-
{
|
|
1563
|
-
"name": "ui-serif",
|
|
1564
|
-
"prose": "This font family is used for the serif variant of the system’s user interface. The purpose of ui-serif is to allow web content to integrate with the look and feel of the native OS. Sample ui-serif font on macOS Catalina and iOS 13: New York",
|
|
1565
|
-
"href": "https://drafts.csswg.org/css-fonts-4/#valdef-font-family-ui-serif",
|
|
1566
|
-
"type": "value",
|
|
1567
|
-
"value": "ui-serif"
|
|
1568
|
-
},
|
|
1569
|
-
{
|
|
1570
|
-
"name": "ui-sans-serif",
|
|
1571
|
-
"prose": "This font family is used for the sans-serif variant of the system’s user interface. The purpose of ui-sans-serif is to allow web content to integrate with the look and feel of the native OS. Sample ui-sans-serif font on macOS Catalina and iOS 13: San Francisco",
|
|
1572
|
-
"href": "https://drafts.csswg.org/css-fonts-4/#valdef-font-family-ui-sans-serif",
|
|
1573
|
-
"type": "value",
|
|
1574
|
-
"value": "ui-sans-serif"
|
|
1575
|
-
},
|
|
1576
|
-
{
|
|
1577
|
-
"name": "ui-monospace",
|
|
1578
|
-
"prose": "This font family is used for the monospaced variant of the system’s user interface. The purpose of ui-monospace is to allow web content to integrate with the look and feel of the native OS. Sample ui-monospace font on macOS Catalina and iOS 13: SF Mono",
|
|
1579
|
-
"href": "https://drafts.csswg.org/css-fonts-4/#valdef-font-family-ui-monospace",
|
|
1580
|
-
"type": "value",
|
|
1581
|
-
"value": "ui-monospace"
|
|
1582
|
-
},
|
|
1583
|
-
{
|
|
1584
|
-
"name": "ui-rounded",
|
|
1585
|
-
"prose": "This font family is used for the rounded variant of the system’s user interface. The purpose of ui-rounded is to allow web content to integrate with the look and feel of the native OS. Sample ui-rounded font on macOS Catalina and iOS 13: SF Rounded",
|
|
1586
|
-
"href": "https://drafts.csswg.org/css-fonts-4/#valdef-font-family-ui-rounded",
|
|
1587
|
-
"type": "value",
|
|
1588
|
-
"value": "ui-rounded"
|
|
1589
|
-
}
|
|
1590
|
-
]
|
|
1591
|
-
},
|
|
1592
|
-
{
|
|
1593
|
-
"name": "<generic-script-specific>",
|
|
1594
|
-
"href": "https://drafts.csswg.org/css-fonts-4/#typedef-generic-script-specific",
|
|
1595
|
-
"type": "type",
|
|
1596
|
-
"value": "generic(fangsong) | generic(kai) | generic(khmer-mul) | generic(nastaliq)"
|
|
1597
|
-
},
|
|
1598
|
-
{
|
|
1599
|
-
"name": "<generic-complete>",
|
|
1600
|
-
"href": "https://drafts.csswg.org/css-fonts-4/#typedef-generic-complete",
|
|
1601
|
-
"type": "type",
|
|
1602
|
-
"value": "serif | sans-serif | system-ui | cursive | fantasy | math | monospace"
|
|
1603
|
-
},
|
|
1604
|
-
{
|
|
1605
|
-
"name": "<generic-incomplete>",
|
|
1606
|
-
"href": "https://drafts.csswg.org/css-fonts-4/#typedef-generic-incomplete",
|
|
1607
|
-
"type": "type",
|
|
1608
|
-
"value": "ui-serif | ui-sans-serif | ui-monospace | ui-rounded"
|
|
1609
|
-
},
|
|
1610
|
-
{
|
|
1611
|
-
"name": "<font-weight-absolute>",
|
|
1612
|
-
"href": "https://drafts.csswg.org/css-fonts-4/#font-weight-absolute-values",
|
|
1613
|
-
"type": "type",
|
|
1614
|
-
"value": "[normal | bold | <number [1,1000]>]"
|
|
1615
|
-
},
|
|
1616
|
-
{
|
|
1617
|
-
"name": "<font-variant-css2>",
|
|
1618
|
-
"href": "https://drafts.csswg.org/css-fonts-4/#font-variant-css21-values",
|
|
1619
|
-
"type": "type",
|
|
1620
|
-
"value": "normal | small-caps"
|
|
1621
|
-
},
|
|
1622
|
-
{
|
|
1623
|
-
"name": "<font-width-css3>",
|
|
1624
|
-
"href": "https://drafts.csswg.org/css-fonts-4/#font-width-css3-values",
|
|
1625
|
-
"type": "type",
|
|
1626
|
-
"value": "normal | ultra-condensed | extra-condensed | condensed | semi-condensed | semi-expanded | expanded | extra-expanded | ultra-expanded"
|
|
1627
|
-
},
|
|
1628
|
-
{
|
|
1629
|
-
"name": "<font-src-list>",
|
|
1630
|
-
"prose": "To parse a <font-src-list> production, parse a list of <font-src>s.",
|
|
1631
|
-
"href": "https://drafts.csswg.org/css-fonts-4/#typedef-font-src-list",
|
|
1632
|
-
"type": "type"
|
|
1633
|
-
},
|
|
1634
|
-
{
|
|
1635
|
-
"name": "<font-src>",
|
|
1636
|
-
"href": "https://drafts.csswg.org/css-fonts-4/#typedef-font-src",
|
|
1637
|
-
"type": "type",
|
|
1638
|
-
"value": "<url> [ format(<font-format>)]? [ tech( <font-tech>#)]? | local(<family-name>)"
|
|
1639
|
-
},
|
|
1640
|
-
{
|
|
1641
|
-
"name": "<font-format>",
|
|
1642
|
-
"href": "https://drafts.csswg.org/css-fonts-4/#font-format-values",
|
|
1643
|
-
"type": "type",
|
|
1644
|
-
"value": "[<string> | collection | embedded-opentype | opentype | svg | truetype | woff | woff2 ]"
|
|
1645
|
-
},
|
|
1646
|
-
{
|
|
1647
|
-
"name": "<font-tech>",
|
|
1648
|
-
"href": "https://drafts.csswg.org/css-fonts-4/#font-tech-values",
|
|
1649
|
-
"type": "type",
|
|
1650
|
-
"value": "[<font-features-tech> | <color-font-tech> | variations | palettes | incremental ]"
|
|
1651
|
-
},
|
|
1652
|
-
{
|
|
1653
|
-
"name": "<font-features-tech>",
|
|
1654
|
-
"href": "https://drafts.csswg.org/css-fonts-4/#font-features-tech-values",
|
|
1655
|
-
"type": "type",
|
|
1656
|
-
"value": "[features-opentype | features-aat | features-graphite]"
|
|
1657
|
-
},
|
|
1658
|
-
{
|
|
1659
|
-
"name": "<color-font-tech>",
|
|
1660
|
-
"href": "https://drafts.csswg.org/css-fonts-4/#color-font-tech-values",
|
|
1661
|
-
"type": "type",
|
|
1662
|
-
"value": "[color-COLRv0 | color-COLRv1 | color-SVG | color-sbix | color-CBDT ]"
|
|
1663
|
-
},
|
|
1664
|
-
{
|
|
1665
|
-
"name": "<common-lig-values>",
|
|
1666
|
-
"href": "https://drafts.csswg.org/css-fonts-4/#common-lig-values",
|
|
1667
|
-
"type": "type",
|
|
1668
|
-
"value": "[ common-ligatures | no-common-ligatures ]"
|
|
1669
|
-
},
|
|
1670
|
-
{
|
|
1671
|
-
"name": "<discretionary-lig-values>",
|
|
1672
|
-
"href": "https://drafts.csswg.org/css-fonts-4/#discretionary-lig-values",
|
|
1673
|
-
"type": "type",
|
|
1674
|
-
"value": "[ discretionary-ligatures | no-discretionary-ligatures ]"
|
|
1675
|
-
},
|
|
1676
|
-
{
|
|
1677
|
-
"name": "<historical-lig-values>",
|
|
1678
|
-
"href": "https://drafts.csswg.org/css-fonts-4/#historical-lig-values",
|
|
1679
|
-
"type": "type",
|
|
1680
|
-
"value": "[ historical-ligatures | no-historical-ligatures ]"
|
|
1681
|
-
},
|
|
1682
|
-
{
|
|
1683
|
-
"name": "<contextual-alt-values>",
|
|
1684
|
-
"href": "https://drafts.csswg.org/css-fonts-4/#contextual-alt-values",
|
|
1685
|
-
"type": "type",
|
|
1686
|
-
"value": "[ contextual | no-contextual ]"
|
|
1687
|
-
},
|
|
1688
|
-
{
|
|
1689
|
-
"name": "<numeric-figure-values>",
|
|
1690
|
-
"href": "https://drafts.csswg.org/css-fonts-4/#numeric-figure-values",
|
|
1691
|
-
"type": "type",
|
|
1692
|
-
"value": "[ lining-nums | oldstyle-nums ]"
|
|
1693
|
-
},
|
|
1694
|
-
{
|
|
1695
|
-
"name": "<numeric-spacing-values>",
|
|
1696
|
-
"href": "https://drafts.csswg.org/css-fonts-4/#numeric-spacing-values",
|
|
1697
|
-
"type": "type",
|
|
1698
|
-
"value": "[ proportional-nums | tabular-nums ]"
|
|
1699
|
-
},
|
|
1700
|
-
{
|
|
1701
|
-
"name": "<numeric-fraction-values>",
|
|
1702
|
-
"href": "https://drafts.csswg.org/css-fonts-4/#numeric-fraction-values",
|
|
1703
|
-
"type": "type",
|
|
1704
|
-
"value": "[ diagonal-fractions | stacked-fractions ]"
|
|
1705
|
-
},
|
|
1706
|
-
{
|
|
1707
|
-
"name": "<feature-value-name>",
|
|
1708
|
-
"href": "https://drafts.csswg.org/css-fonts-4/#feature-value-name-value",
|
|
1709
|
-
"type": "type",
|
|
1710
|
-
"value": "<ident>"
|
|
1711
|
-
},
|
|
1712
|
-
{
|
|
1713
|
-
"name": "<east-asian-variant-values>",
|
|
1714
|
-
"href": "https://drafts.csswg.org/css-fonts-4/#east-asian-variant-values",
|
|
1715
|
-
"type": "type",
|
|
1716
|
-
"value": "[ jis78 | jis83 | jis90 | jis04 | simplified | traditional ]"
|
|
1717
|
-
},
|
|
1718
|
-
{
|
|
1719
|
-
"name": "<east-asian-width-values>",
|
|
1720
|
-
"href": "https://drafts.csswg.org/css-fonts-4/#east-asian-width-values",
|
|
1721
|
-
"type": "type",
|
|
1722
|
-
"value": "[ full-width | proportional-width ]"
|
|
1723
|
-
},
|
|
1724
|
-
{
|
|
1725
|
-
"name": "<opentype-tag>",
|
|
1726
|
-
"href": "https://drafts.csswg.org/css-fonts-4/#typedef-opentype-tag",
|
|
1727
|
-
"type": "type",
|
|
1728
|
-
"value": "<string>"
|
|
1729
|
-
},
|
|
1730
|
-
{
|
|
1731
|
-
"name": "palette-mix()",
|
|
1732
|
-
"prose": "With the palette-mix() function defined as follows:",
|
|
1733
|
-
"href": "https://drafts.csswg.org/css-fonts-4/#funcdef-palette-mix",
|
|
1734
|
-
"type": "function",
|
|
1735
|
-
"value": "palette-mix(<color-interpolation-method> , [ [normal | light | dark | <palette-identifier> | <palette-mix()> ] && <percentage [0,100]>? ]#{2})"
|
|
1736
|
-
}
|
|
1737
|
-
],
|
|
1738
|
-
"warnings": [
|
|
1739
|
-
{
|
|
1740
|
-
"msg": "Missing definition",
|
|
1741
|
-
"name": "font-feature-value-type",
|
|
1742
|
-
"value": "<@stylistic> | <@historical-forms> | <@styleset> | <@character-variant> | <@swash> | <@ornaments> | <@annotation>"
|
|
1743
|
-
},
|
|
1744
|
-
{
|
|
1745
|
-
"msg": "Dangling value",
|
|
1746
|
-
"name": "normal",
|
|
1747
|
-
"prose": "specifies that when rendering with OpenType fonts, the content language of the element is used to infer the OpenType language system",
|
|
1748
|
-
"href": "https://drafts.csswg.org/css-fonts-4/#font-language-override-normal-value",
|
|
1749
|
-
"type": "value",
|
|
1750
|
-
"value": "normal",
|
|
1751
|
-
"for": "font-language override"
|
|
1752
|
-
}
|
|
1753
|
-
]
|
|
1754
|
-
}
|