@webref/css 5.4.4 → 6.0.0
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 +66 -0
- package/CSS.json +416 -21
- package/README.md +4 -4
- package/SVG.json +42 -35
- package/compat.json +111 -75
- package/compositing.json +101 -12
- package/css-align.json +237 -29
- package/css-anchor.json +177 -19
- package/css-animations-2.json +37 -15
- package/css-animations.json +155 -31
- package/css-backgrounds-4.json +107 -32
- package/css-backgrounds.json +426 -59
- package/css-box.json +243 -20
- package/css-break.json +292 -11
- package/css-cascade-6.json +22 -13
- package/css-cascade.json +50 -15
- package/css-color-5.json +320 -35
- package/css-color-adjust.json +75 -8
- package/css-color.json +1100 -61
- package/css-conditional-4.json +11 -6
- package/css-conditional-5.json +38 -19
- package/css-conditional.json +28 -15
- package/css-contain-3.json +101 -26
- package/css-contain.json +71 -6
- package/css-content.json +263 -30
- package/css-counter-styles.json +455 -18
- package/css-display.json +250 -19
- package/css-easing.json +137 -25
- package/css-env.json +61 -6
- package/css-exclusions.json +65 -6
- package/css-extensions.json +20 -12
- package/css-flexbox.json +132 -11
- package/css-fonts-5.json +255 -13
- package/css-fonts.json +886 -74
- package/css-gcpm-4.json +30 -5
- package/css-gcpm.json +76 -15
- package/css-grid-3.json +10 -9
- package/css-grid.json +442 -42
- package/css-highlight-api.json +13 -5
- package/css-images-4.json +192 -67
- package/css-images.json +152 -33
- package/css-inline.json +525 -16
- package/css-layout-api.json +20 -0
- package/css-line-grid.json +80 -7
- package/css-lists.json +140 -19
- package/css-logical.json +125 -50
- package/css-masking.json +330 -47
- package/css-multicol-2.json +32 -5
- package/css-multicol.json +84 -13
- package/css-namespaces.json +15 -10
- package/css-nav.json +62 -7
- package/css-nesting.json +15 -0
- package/css-overflow-4.json +83 -10
- package/css-overflow.json +239 -18
- package/css-overscroll.json +110 -9
- package/css-page-floats.json +188 -16
- package/css-page.json +262 -67
- package/css-paint-api.json +8 -5
- package/css-position.json +269 -16
- package/css-properties-values-api.json +9 -7
- package/css-pseudo.json +67 -0
- package/css-regions.json +8 -7
- package/css-rhythm.json +69 -10
- package/css-round-display.json +47 -10
- package/css-ruby.json +136 -8
- package/css-scoping.json +27 -0
- package/css-scroll-anchoring.json +20 -5
- package/css-scroll-snap-2.json +272 -10
- package/css-scroll-snap.json +218 -29
- package/css-scrollbars.json +41 -6
- package/css-shadow-parts.json +8 -5
- package/css-shapes-2.json +190 -43
- package/css-shapes.json +130 -36
- package/css-size-adjust.json +26 -5
- package/css-sizing-4.json +404 -23
- package/css-sizing.json +231 -12
- package/css-speech.json +619 -35
- package/css-syntax.json +193 -92
- package/css-tables.json +10 -9
- package/css-text-4.json +800 -40
- package/css-text-decor-4.json +394 -23
- package/css-text-decor.json +159 -14
- package/css-text.json +371 -20
- package/css-transforms-2.json +177 -40
- package/css-transforms.json +137 -45
- package/css-transitions.json +33 -14
- package/css-ui.json +436 -42
- package/css-values-5.json +99 -14
- package/css-values.json +653 -146
- package/css-variables.json +12 -7
- package/css-view-transitions.json +45 -7
- package/css-will-change.json +36 -7
- package/css-writing-modes.json +141 -10
- package/fill-stroke.json +290 -35
- package/filter-effects-2.json +6 -5
- package/filter-effects.json +109 -45
- package/fullscreen.json +15 -0
- package/mathml-core.json +10 -9
- package/mediaqueries-5.json +505 -52
- package/mediaqueries.json +307 -40
- package/motion.json +99 -16
- package/package.json +1 -1
- package/scroll-animations.json +225 -24
- package/selectors.json +368 -30
- package/svg-strokes.json +8 -7
- package/upgrade-insecure-requests.json +26 -0
- package/html.json +0 -19
package/css-fonts.json
CHANGED
|
@@ -3,8 +3,8 @@
|
|
|
3
3
|
"title": "CSS Fonts Module Level 4",
|
|
4
4
|
"url": "https://drafts.csswg.org/css-fonts-4/"
|
|
5
5
|
},
|
|
6
|
-
"properties":
|
|
7
|
-
|
|
6
|
+
"properties": [
|
|
7
|
+
{
|
|
8
8
|
"name": "font-family",
|
|
9
9
|
"value": "[ <family-name> | <generic-family> ]#",
|
|
10
10
|
"initial": "depends on user agent",
|
|
@@ -19,7 +19,7 @@
|
|
|
19
19
|
"fontFamily"
|
|
20
20
|
]
|
|
21
21
|
},
|
|
22
|
-
|
|
22
|
+
{
|
|
23
23
|
"name": "font-weight",
|
|
24
24
|
"value": "<font-weight-absolute> | bolder | lighter",
|
|
25
25
|
"initial": "normal",
|
|
@@ -29,12 +29,44 @@
|
|
|
29
29
|
"computedValue": "a number, see below",
|
|
30
30
|
"canonicalOrder": "per grammar",
|
|
31
31
|
"animationType": "by computed value type",
|
|
32
|
+
"values": [
|
|
33
|
+
{
|
|
34
|
+
"name": "<number [1,1000]>",
|
|
35
|
+
"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)",
|
|
36
|
+
"type": "value",
|
|
37
|
+
"value": "<number [1,1000]>"
|
|
38
|
+
},
|
|
39
|
+
{
|
|
40
|
+
"name": "normal",
|
|
41
|
+
"prose": "Same as 400.",
|
|
42
|
+
"type": "value",
|
|
43
|
+
"value": "normal"
|
|
44
|
+
},
|
|
45
|
+
{
|
|
46
|
+
"name": "bold",
|
|
47
|
+
"prose": "Same as 700.",
|
|
48
|
+
"type": "value",
|
|
49
|
+
"value": "bold"
|
|
50
|
+
},
|
|
51
|
+
{
|
|
52
|
+
"name": "bolder",
|
|
53
|
+
"prose": "Specifies a bolder weight than the inherited value. See § 2.2.1 Relative Weights.",
|
|
54
|
+
"type": "value",
|
|
55
|
+
"value": "bolder"
|
|
56
|
+
},
|
|
57
|
+
{
|
|
58
|
+
"name": "lighter",
|
|
59
|
+
"prose": "Specifies a lighter weight than the inherited value. See § 2.2.1 Relative Weights.",
|
|
60
|
+
"type": "value",
|
|
61
|
+
"value": "lighter"
|
|
62
|
+
}
|
|
63
|
+
],
|
|
32
64
|
"styleDeclaration": [
|
|
33
65
|
"font-weight",
|
|
34
66
|
"fontWeight"
|
|
35
67
|
]
|
|
36
68
|
},
|
|
37
|
-
|
|
69
|
+
{
|
|
38
70
|
"name": "font-stretch",
|
|
39
71
|
"value": "normal | <percentage [0,∞]> | ultra-condensed | extra-condensed | condensed | semi-condensed | semi-expanded | expanded | extra-expanded | ultra-expanded",
|
|
40
72
|
"initial": "normal",
|
|
@@ -44,12 +76,65 @@
|
|
|
44
76
|
"computedValue": "a percentage, see below",
|
|
45
77
|
"canonicalOrder": "per grammar",
|
|
46
78
|
"animationType": "by computed value type",
|
|
79
|
+
"values": [
|
|
80
|
+
{
|
|
81
|
+
"name": "ultra-condensed",
|
|
82
|
+
"type": "value",
|
|
83
|
+
"value": "ultra-condensed"
|
|
84
|
+
},
|
|
85
|
+
{
|
|
86
|
+
"name": "extra-condensed",
|
|
87
|
+
"type": "value",
|
|
88
|
+
"value": "extra-condensed"
|
|
89
|
+
},
|
|
90
|
+
{
|
|
91
|
+
"name": "condensed",
|
|
92
|
+
"type": "value",
|
|
93
|
+
"value": "condensed"
|
|
94
|
+
},
|
|
95
|
+
{
|
|
96
|
+
"name": "semi-condensed",
|
|
97
|
+
"type": "value",
|
|
98
|
+
"value": "semi-condensed"
|
|
99
|
+
},
|
|
100
|
+
{
|
|
101
|
+
"name": "normal",
|
|
102
|
+
"type": "value",
|
|
103
|
+
"value": "normal"
|
|
104
|
+
},
|
|
105
|
+
{
|
|
106
|
+
"name": "semi-expanded",
|
|
107
|
+
"type": "value",
|
|
108
|
+
"value": "semi-expanded"
|
|
109
|
+
},
|
|
110
|
+
{
|
|
111
|
+
"name": "expanded",
|
|
112
|
+
"type": "value",
|
|
113
|
+
"value": "expanded"
|
|
114
|
+
},
|
|
115
|
+
{
|
|
116
|
+
"name": "extra-expanded",
|
|
117
|
+
"type": "value",
|
|
118
|
+
"value": "extra-expanded"
|
|
119
|
+
},
|
|
120
|
+
{
|
|
121
|
+
"name": "ultra-expanded",
|
|
122
|
+
"type": "value",
|
|
123
|
+
"value": "ultra-expanded"
|
|
124
|
+
},
|
|
125
|
+
{
|
|
126
|
+
"name": "<percentage [0,∞]>",
|
|
127
|
+
"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.",
|
|
128
|
+
"type": "value",
|
|
129
|
+
"value": "<percentage [0,∞]>"
|
|
130
|
+
}
|
|
131
|
+
],
|
|
47
132
|
"styleDeclaration": [
|
|
48
133
|
"font-stretch",
|
|
49
134
|
"fontStretch"
|
|
50
135
|
]
|
|
51
136
|
},
|
|
52
|
-
|
|
137
|
+
{
|
|
53
138
|
"name": "font-style",
|
|
54
139
|
"value": "normal | italic | oblique <angle [-90deg,90deg]>?",
|
|
55
140
|
"initial": "normal",
|
|
@@ -59,12 +144,32 @@
|
|
|
59
144
|
"computedValue": "the keyword specified, plus angle in degrees if specified",
|
|
60
145
|
"canonicalOrder": "per grammar",
|
|
61
146
|
"animationType": "by computed value type; normal animates as oblique 0deg",
|
|
147
|
+
"values": [
|
|
148
|
+
{
|
|
149
|
+
"name": "normal",
|
|
150
|
+
"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\".",
|
|
151
|
+
"type": "value",
|
|
152
|
+
"value": "normal"
|
|
153
|
+
},
|
|
154
|
+
{
|
|
155
|
+
"name": "italic",
|
|
156
|
+
"prose": "Matches against a font that is labeled as an italic face, or an oblique face if one does not exist.",
|
|
157
|
+
"type": "value",
|
|
158
|
+
"value": "italic"
|
|
159
|
+
},
|
|
160
|
+
{
|
|
161
|
+
"name": "oblique <angle [−90deg,90deg]>?",
|
|
162
|
+
"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.",
|
|
163
|
+
"type": "value",
|
|
164
|
+
"value": "oblique <angle [-90deg,90deg]>?"
|
|
165
|
+
}
|
|
166
|
+
],
|
|
62
167
|
"styleDeclaration": [
|
|
63
168
|
"font-style",
|
|
64
169
|
"fontStyle"
|
|
65
170
|
]
|
|
66
171
|
},
|
|
67
|
-
|
|
172
|
+
{
|
|
68
173
|
"name": "font-size",
|
|
69
174
|
"value": "<absolute-size> | <relative-size> | <length-percentage [0,∞]> | math",
|
|
70
175
|
"initial": "medium",
|
|
@@ -74,12 +179,36 @@
|
|
|
74
179
|
"computedValue": "an absolute length",
|
|
75
180
|
"canonicalOrder": "per grammar",
|
|
76
181
|
"animationType": "by computed value type",
|
|
182
|
+
"values": [
|
|
183
|
+
{
|
|
184
|
+
"name": "<absolute-size>",
|
|
185
|
+
"value": "<absolute-size>",
|
|
186
|
+
"type": "value"
|
|
187
|
+
},
|
|
188
|
+
{
|
|
189
|
+
"name": "<relative-size>",
|
|
190
|
+
"value": "<relative-size>",
|
|
191
|
+
"type": "value"
|
|
192
|
+
},
|
|
193
|
+
{
|
|
194
|
+
"name": "<length-percentage [0,∞]>",
|
|
195
|
+
"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.",
|
|
196
|
+
"type": "value",
|
|
197
|
+
"value": "<length-percentage [0,∞]>"
|
|
198
|
+
},
|
|
199
|
+
{
|
|
200
|
+
"name": "math",
|
|
201
|
+
"prose": "Special mathematical scaling rules must be applied when determining the computed value of the font-size property.",
|
|
202
|
+
"type": "value",
|
|
203
|
+
"value": "math"
|
|
204
|
+
}
|
|
205
|
+
],
|
|
77
206
|
"styleDeclaration": [
|
|
78
207
|
"font-size",
|
|
79
208
|
"fontSize"
|
|
80
209
|
]
|
|
81
210
|
},
|
|
82
|
-
|
|
211
|
+
{
|
|
83
212
|
"name": "font-size-adjust",
|
|
84
213
|
"value": "none | <number [0,∞]>",
|
|
85
214
|
"initial": "none",
|
|
@@ -89,12 +218,25 @@
|
|
|
89
218
|
"computedValue": "a number or the keyword none",
|
|
90
219
|
"canonicalOrder": "per grammar",
|
|
91
220
|
"animationType": "by computed value type",
|
|
221
|
+
"values": [
|
|
222
|
+
{
|
|
223
|
+
"name": "none",
|
|
224
|
+
"prose": "Do not preserve the font’s x-height.",
|
|
225
|
+
"type": "value",
|
|
226
|
+
"value": "none"
|
|
227
|
+
},
|
|
228
|
+
{
|
|
229
|
+
"name": "<number [0,∞]>",
|
|
230
|
+
"value": "<number [0,∞]>",
|
|
231
|
+
"type": "value"
|
|
232
|
+
}
|
|
233
|
+
],
|
|
92
234
|
"styleDeclaration": [
|
|
93
235
|
"font-size-adjust",
|
|
94
236
|
"fontSizeAdjust"
|
|
95
237
|
]
|
|
96
238
|
},
|
|
97
|
-
|
|
239
|
+
{
|
|
98
240
|
"name": "font",
|
|
99
241
|
"value": "[ [ <'font-style'> || <font-variant-css2> || <'font-weight'> || <font-stretch-css3> ]? <'font-size'> [ / <'line-height'> ]? <'font-family'> ] | caption | icon | menu | message-box | small-caption | status-bar",
|
|
100
242
|
"initial": "see individual properties",
|
|
@@ -104,11 +246,49 @@
|
|
|
104
246
|
"computedValue": "see individual properties",
|
|
105
247
|
"canonicalOrder": "per grammar",
|
|
106
248
|
"animationType": "see individual properties",
|
|
249
|
+
"values": [
|
|
250
|
+
{
|
|
251
|
+
"name": "caption",
|
|
252
|
+
"prose": "The font used for captioned controls (e.g., buttons, drop-downs, etc.).",
|
|
253
|
+
"type": "value",
|
|
254
|
+
"value": "caption"
|
|
255
|
+
},
|
|
256
|
+
{
|
|
257
|
+
"name": "icon",
|
|
258
|
+
"prose": "The font used to label icons.",
|
|
259
|
+
"type": "value",
|
|
260
|
+
"value": "icon"
|
|
261
|
+
},
|
|
262
|
+
{
|
|
263
|
+
"name": "menu",
|
|
264
|
+
"prose": "The font used in menus (e.g., dropdown menus and menu lists).",
|
|
265
|
+
"type": "value",
|
|
266
|
+
"value": "menu"
|
|
267
|
+
},
|
|
268
|
+
{
|
|
269
|
+
"name": "message-box",
|
|
270
|
+
"prose": "The font used in dialog boxes.",
|
|
271
|
+
"type": "value",
|
|
272
|
+
"value": "message-box"
|
|
273
|
+
},
|
|
274
|
+
{
|
|
275
|
+
"name": "small-caption",
|
|
276
|
+
"prose": "The font used for labeling small controls.",
|
|
277
|
+
"type": "value",
|
|
278
|
+
"value": "small-caption"
|
|
279
|
+
},
|
|
280
|
+
{
|
|
281
|
+
"name": "status-bar",
|
|
282
|
+
"prose": "The font used in window status bars.",
|
|
283
|
+
"type": "value",
|
|
284
|
+
"value": "status-bar"
|
|
285
|
+
}
|
|
286
|
+
],
|
|
107
287
|
"styleDeclaration": [
|
|
108
288
|
"font"
|
|
109
289
|
]
|
|
110
290
|
},
|
|
111
|
-
|
|
291
|
+
{
|
|
112
292
|
"name": "font-synthesis-weight",
|
|
113
293
|
"value": "auto | none",
|
|
114
294
|
"initial": "auto",
|
|
@@ -119,12 +299,26 @@
|
|
|
119
299
|
"canonicalOrder": "per grammar",
|
|
120
300
|
"animationType": "discrete",
|
|
121
301
|
"media": "visual",
|
|
302
|
+
"values": [
|
|
303
|
+
{
|
|
304
|
+
"name": "auto",
|
|
305
|
+
"prose": "Synthesis of bold faces is allowed",
|
|
306
|
+
"type": "value",
|
|
307
|
+
"value": "auto"
|
|
308
|
+
},
|
|
309
|
+
{
|
|
310
|
+
"name": "none",
|
|
311
|
+
"prose": "Synthesis of bold faces is not allowed",
|
|
312
|
+
"type": "value",
|
|
313
|
+
"value": "none"
|
|
314
|
+
}
|
|
315
|
+
],
|
|
122
316
|
"styleDeclaration": [
|
|
123
317
|
"font-synthesis-weight",
|
|
124
318
|
"fontSynthesisWeight"
|
|
125
319
|
]
|
|
126
320
|
},
|
|
127
|
-
|
|
321
|
+
{
|
|
128
322
|
"name": "font-synthesis-style",
|
|
129
323
|
"value": "auto | none",
|
|
130
324
|
"initial": "auto",
|
|
@@ -135,12 +329,26 @@
|
|
|
135
329
|
"canonicalOrder": "per grammar",
|
|
136
330
|
"animationType": "discrete",
|
|
137
331
|
"media": "visual",
|
|
332
|
+
"values": [
|
|
333
|
+
{
|
|
334
|
+
"name": "auto",
|
|
335
|
+
"prose": "Synthesis of oblique faces is allowed",
|
|
336
|
+
"type": "value",
|
|
337
|
+
"value": "auto"
|
|
338
|
+
},
|
|
339
|
+
{
|
|
340
|
+
"name": "none",
|
|
341
|
+
"prose": "Synthesis of oblique faces is not allowed",
|
|
342
|
+
"type": "value",
|
|
343
|
+
"value": "none"
|
|
344
|
+
}
|
|
345
|
+
],
|
|
138
346
|
"styleDeclaration": [
|
|
139
347
|
"font-synthesis-style",
|
|
140
348
|
"fontSynthesisStyle"
|
|
141
349
|
]
|
|
142
350
|
},
|
|
143
|
-
|
|
351
|
+
{
|
|
144
352
|
"name": "font-synthesis-small-caps",
|
|
145
353
|
"value": "auto | none",
|
|
146
354
|
"initial": "auto",
|
|
@@ -150,12 +358,26 @@
|
|
|
150
358
|
"computedValue": "specified keyword",
|
|
151
359
|
"canonicalOrder": "per grammar",
|
|
152
360
|
"animationType": "discrete",
|
|
361
|
+
"values": [
|
|
362
|
+
{
|
|
363
|
+
"name": "auto",
|
|
364
|
+
"prose": "Synthesis of small caps faces is allowed",
|
|
365
|
+
"type": "value",
|
|
366
|
+
"value": "auto"
|
|
367
|
+
},
|
|
368
|
+
{
|
|
369
|
+
"name": "none",
|
|
370
|
+
"prose": "Synthesis of small caps faces is not allowed",
|
|
371
|
+
"type": "value",
|
|
372
|
+
"value": "none"
|
|
373
|
+
}
|
|
374
|
+
],
|
|
153
375
|
"styleDeclaration": [
|
|
154
376
|
"font-synthesis-small-caps",
|
|
155
377
|
"fontSynthesisSmallCaps"
|
|
156
378
|
]
|
|
157
379
|
},
|
|
158
|
-
|
|
380
|
+
{
|
|
159
381
|
"name": "font-synthesis",
|
|
160
382
|
"value": "none | [ weight || style || small-caps]",
|
|
161
383
|
"initial": "weight style small-caps",
|
|
@@ -170,7 +392,7 @@
|
|
|
170
392
|
"fontSynthesis"
|
|
171
393
|
]
|
|
172
394
|
},
|
|
173
|
-
|
|
395
|
+
{
|
|
174
396
|
"name": "font-kerning",
|
|
175
397
|
"value": "auto | normal | none",
|
|
176
398
|
"initial": "auto",
|
|
@@ -180,12 +402,32 @@
|
|
|
180
402
|
"computedValue": "as specified",
|
|
181
403
|
"canonicalOrder": "per grammar",
|
|
182
404
|
"animationType": "discrete",
|
|
405
|
+
"values": [
|
|
406
|
+
{
|
|
407
|
+
"name": "auto",
|
|
408
|
+
"prose": "Specifies that kerning is applied at the discretion of the user agent",
|
|
409
|
+
"type": "value",
|
|
410
|
+
"value": "auto"
|
|
411
|
+
},
|
|
412
|
+
{
|
|
413
|
+
"name": "normal",
|
|
414
|
+
"prose": "Specifies that kerning is applied",
|
|
415
|
+
"type": "value",
|
|
416
|
+
"value": "normal"
|
|
417
|
+
},
|
|
418
|
+
{
|
|
419
|
+
"name": "none",
|
|
420
|
+
"prose": "Specifies that kerning is not applied",
|
|
421
|
+
"type": "value",
|
|
422
|
+
"value": "none"
|
|
423
|
+
}
|
|
424
|
+
],
|
|
183
425
|
"styleDeclaration": [
|
|
184
426
|
"font-kerning",
|
|
185
427
|
"fontKerning"
|
|
186
428
|
]
|
|
187
429
|
},
|
|
188
|
-
|
|
430
|
+
{
|
|
189
431
|
"name": "font-variant-ligatures",
|
|
190
432
|
"value": "normal | none | [ <common-lig-values> || <discretionary-lig-values> || <historical-lig-values> || <contextual-alt-values> ]",
|
|
191
433
|
"initial": "normal",
|
|
@@ -195,12 +437,74 @@
|
|
|
195
437
|
"computedValue": "as specified",
|
|
196
438
|
"canonicalOrder": "per grammar",
|
|
197
439
|
"animationType": "discrete",
|
|
440
|
+
"values": [
|
|
441
|
+
{
|
|
442
|
+
"name": "normal",
|
|
443
|
+
"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.",
|
|
444
|
+
"type": "value",
|
|
445
|
+
"value": "normal"
|
|
446
|
+
},
|
|
447
|
+
{
|
|
448
|
+
"name": "none",
|
|
449
|
+
"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.",
|
|
450
|
+
"type": "value",
|
|
451
|
+
"value": "none"
|
|
452
|
+
},
|
|
453
|
+
{
|
|
454
|
+
"name": "common-ligatures",
|
|
455
|
+
"prose": "Enables display of common ligatures (OpenType features: liga, clig). For OpenType fonts, common ligatures are enabled by default.",
|
|
456
|
+
"type": "value",
|
|
457
|
+
"value": "common-ligatures"
|
|
458
|
+
},
|
|
459
|
+
{
|
|
460
|
+
"name": "no-common-ligatures",
|
|
461
|
+
"prose": "Disables display of common ligatures (OpenType features: liga, clig).",
|
|
462
|
+
"type": "value",
|
|
463
|
+
"value": "no-common-ligatures"
|
|
464
|
+
},
|
|
465
|
+
{
|
|
466
|
+
"name": "discretionary-ligatures",
|
|
467
|
+
"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.",
|
|
468
|
+
"type": "value",
|
|
469
|
+
"value": "discretionary-ligatures"
|
|
470
|
+
},
|
|
471
|
+
{
|
|
472
|
+
"name": "no-discretionary-ligatures",
|
|
473
|
+
"prose": "Disables display of discretionary ligatures (OpenType feature: dlig).",
|
|
474
|
+
"type": "value",
|
|
475
|
+
"value": "no-discretionary-ligatures"
|
|
476
|
+
},
|
|
477
|
+
{
|
|
478
|
+
"name": "historical-ligatures",
|
|
479
|
+
"prose": "Enables display of historical ligatures (OpenType feature: hlig).",
|
|
480
|
+
"type": "value",
|
|
481
|
+
"value": "historical-ligatures"
|
|
482
|
+
},
|
|
483
|
+
{
|
|
484
|
+
"name": "no-historical-ligatures",
|
|
485
|
+
"prose": "Disables display of historical ligatures (OpenType feature: hlig).",
|
|
486
|
+
"type": "value",
|
|
487
|
+
"value": "no-historical-ligatures"
|
|
488
|
+
},
|
|
489
|
+
{
|
|
490
|
+
"name": "contextual",
|
|
491
|
+
"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.",
|
|
492
|
+
"type": "value",
|
|
493
|
+
"value": "contextual"
|
|
494
|
+
},
|
|
495
|
+
{
|
|
496
|
+
"name": "no-contextual",
|
|
497
|
+
"prose": "Disables display of contextual alternates (OpenType feature: calt).",
|
|
498
|
+
"type": "value",
|
|
499
|
+
"value": "no-contextual"
|
|
500
|
+
}
|
|
501
|
+
],
|
|
198
502
|
"styleDeclaration": [
|
|
199
503
|
"font-variant-ligatures",
|
|
200
504
|
"fontVariantLigatures"
|
|
201
505
|
]
|
|
202
506
|
},
|
|
203
|
-
|
|
507
|
+
{
|
|
204
508
|
"name": "font-variant-position",
|
|
205
509
|
"value": "normal | sub | super",
|
|
206
510
|
"initial": "normal",
|
|
@@ -210,12 +514,32 @@
|
|
|
210
514
|
"computedValue": "as specified",
|
|
211
515
|
"canonicalOrder": "per grammar",
|
|
212
516
|
"animationType": "discrete",
|
|
517
|
+
"values": [
|
|
518
|
+
{
|
|
519
|
+
"name": "normal",
|
|
520
|
+
"prose": "None of the features listed below are enabled.",
|
|
521
|
+
"type": "value",
|
|
522
|
+
"value": "normal"
|
|
523
|
+
},
|
|
524
|
+
{
|
|
525
|
+
"name": "sub",
|
|
526
|
+
"prose": "Enables display of subscript variants (OpenType feature: subs).",
|
|
527
|
+
"type": "value",
|
|
528
|
+
"value": "sub"
|
|
529
|
+
},
|
|
530
|
+
{
|
|
531
|
+
"name": "super",
|
|
532
|
+
"prose": "Enables display of superscript variants (OpenType feature: sups).",
|
|
533
|
+
"type": "value",
|
|
534
|
+
"value": "super"
|
|
535
|
+
}
|
|
536
|
+
],
|
|
213
537
|
"styleDeclaration": [
|
|
214
538
|
"font-variant-position",
|
|
215
539
|
"fontVariantPosition"
|
|
216
540
|
]
|
|
217
541
|
},
|
|
218
|
-
|
|
542
|
+
{
|
|
219
543
|
"name": "font-variant-caps",
|
|
220
544
|
"value": "normal | small-caps | all-small-caps | petite-caps | all-petite-caps | unicase | titling-caps",
|
|
221
545
|
"initial": "normal",
|
|
@@ -225,12 +549,56 @@
|
|
|
225
549
|
"computedValue": "as specified",
|
|
226
550
|
"canonicalOrder": "per grammar",
|
|
227
551
|
"animationType": "discrete",
|
|
552
|
+
"values": [
|
|
553
|
+
{
|
|
554
|
+
"name": "normal",
|
|
555
|
+
"prose": "None of the features listed below are enabled.",
|
|
556
|
+
"type": "value",
|
|
557
|
+
"value": "normal"
|
|
558
|
+
},
|
|
559
|
+
{
|
|
560
|
+
"name": "small-caps",
|
|
561
|
+
"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.",
|
|
562
|
+
"type": "value",
|
|
563
|
+
"value": "small-caps"
|
|
564
|
+
},
|
|
565
|
+
{
|
|
566
|
+
"name": "all-small-caps",
|
|
567
|
+
"prose": "Enables display of small capitals for both upper and lowercase letters (OpenType features: c2sc, smcp).",
|
|
568
|
+
"type": "value",
|
|
569
|
+
"value": "all-small-caps"
|
|
570
|
+
},
|
|
571
|
+
{
|
|
572
|
+
"name": "petite-caps",
|
|
573
|
+
"prose": "Enables display of petite capitals (OpenType feature: pcap).",
|
|
574
|
+
"type": "value",
|
|
575
|
+
"value": "petite-caps"
|
|
576
|
+
},
|
|
577
|
+
{
|
|
578
|
+
"name": "all-petite-caps",
|
|
579
|
+
"prose": "Enables display of petite capitals for both upper and lowercase letters (OpenType features: c2pc, pcap).",
|
|
580
|
+
"type": "value",
|
|
581
|
+
"value": "all-petite-caps"
|
|
582
|
+
},
|
|
583
|
+
{
|
|
584
|
+
"name": "unicase",
|
|
585
|
+
"prose": "Enables display of mixture of small capitals for uppercase letters with normal lowercase letters (OpenType feature: unic).",
|
|
586
|
+
"type": "value",
|
|
587
|
+
"value": "unicase"
|
|
588
|
+
},
|
|
589
|
+
{
|
|
590
|
+
"name": "titling-caps",
|
|
591
|
+
"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.",
|
|
592
|
+
"type": "value",
|
|
593
|
+
"value": "titling-caps"
|
|
594
|
+
}
|
|
595
|
+
],
|
|
228
596
|
"styleDeclaration": [
|
|
229
597
|
"font-variant-caps",
|
|
230
598
|
"fontVariantCaps"
|
|
231
599
|
]
|
|
232
600
|
},
|
|
233
|
-
|
|
601
|
+
{
|
|
234
602
|
"name": "font-variant-numeric",
|
|
235
603
|
"value": "normal | [ <numeric-figure-values> || <numeric-spacing-values> || <numeric-fraction-values> || ordinal || slashed-zero ]",
|
|
236
604
|
"initial": "normal",
|
|
@@ -240,12 +608,68 @@
|
|
|
240
608
|
"computedValue": "as specified",
|
|
241
609
|
"canonicalOrder": "per grammar",
|
|
242
610
|
"animationType": "discrete",
|
|
611
|
+
"values": [
|
|
612
|
+
{
|
|
613
|
+
"name": "normal",
|
|
614
|
+
"prose": "None of the features listed below are enabled.",
|
|
615
|
+
"type": "value",
|
|
616
|
+
"value": "normal"
|
|
617
|
+
},
|
|
618
|
+
{
|
|
619
|
+
"name": "lining-nums",
|
|
620
|
+
"prose": "Enables display of lining numerals (OpenType feature: lnum).",
|
|
621
|
+
"type": "value",
|
|
622
|
+
"value": "lining-nums"
|
|
623
|
+
},
|
|
624
|
+
{
|
|
625
|
+
"name": "oldstyle-nums",
|
|
626
|
+
"prose": "Enables display of old-style numerals (OpenType feature: onum).",
|
|
627
|
+
"type": "value",
|
|
628
|
+
"value": "oldstyle-nums"
|
|
629
|
+
},
|
|
630
|
+
{
|
|
631
|
+
"name": "proportional-nums",
|
|
632
|
+
"prose": "Enables display of proportional numerals (OpenType feature: pnum).",
|
|
633
|
+
"type": "value",
|
|
634
|
+
"value": "proportional-nums"
|
|
635
|
+
},
|
|
636
|
+
{
|
|
637
|
+
"name": "tabular-nums",
|
|
638
|
+
"prose": "Enables display of tabular numerals (OpenType feature: tnum).",
|
|
639
|
+
"type": "value",
|
|
640
|
+
"value": "tabular-nums"
|
|
641
|
+
},
|
|
642
|
+
{
|
|
643
|
+
"name": "diagonal-fractions",
|
|
644
|
+
"prose": "Enables display of lining diagonal fractions (OpenType feature: frac).",
|
|
645
|
+
"type": "value",
|
|
646
|
+
"value": "diagonal-fractions"
|
|
647
|
+
},
|
|
648
|
+
{
|
|
649
|
+
"name": "stacked-fractions",
|
|
650
|
+
"prose": "Enables display of lining stacked fractions (OpenType feature: afrc).",
|
|
651
|
+
"type": "value",
|
|
652
|
+
"value": "stacked-fractions"
|
|
653
|
+
},
|
|
654
|
+
{
|
|
655
|
+
"name": "ordinal",
|
|
656
|
+
"prose": "Enables display of letter forms used with ordinal numbers (OpenType feature: ordn).",
|
|
657
|
+
"type": "value",
|
|
658
|
+
"value": "ordinal"
|
|
659
|
+
},
|
|
660
|
+
{
|
|
661
|
+
"name": "slashed-zero",
|
|
662
|
+
"prose": "Enables display of slashed zeros (OpenType feature: zero).",
|
|
663
|
+
"type": "value",
|
|
664
|
+
"value": "slashed-zero"
|
|
665
|
+
}
|
|
666
|
+
],
|
|
243
667
|
"styleDeclaration": [
|
|
244
668
|
"font-variant-numeric",
|
|
245
669
|
"fontVariantNumeric"
|
|
246
670
|
]
|
|
247
671
|
},
|
|
248
|
-
|
|
672
|
+
{
|
|
249
673
|
"name": "font-variant-alternates",
|
|
250
674
|
"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>) ]",
|
|
251
675
|
"initial": "normal",
|
|
@@ -255,12 +679,56 @@
|
|
|
255
679
|
"computedValue": "as specified",
|
|
256
680
|
"canonicalOrder": "per grammar",
|
|
257
681
|
"animationType": "discrete",
|
|
682
|
+
"values": [
|
|
683
|
+
{
|
|
684
|
+
"name": "normal",
|
|
685
|
+
"prose": "None of the features listed below are enabled.",
|
|
686
|
+
"type": "value",
|
|
687
|
+
"value": "normal"
|
|
688
|
+
},
|
|
689
|
+
{
|
|
690
|
+
"name": "historical-forms",
|
|
691
|
+
"prose": "Enables display of historical forms (OpenType feature: hist).",
|
|
692
|
+
"type": "value",
|
|
693
|
+
"value": "historical-forms"
|
|
694
|
+
},
|
|
695
|
+
{
|
|
696
|
+
"name": "stylistic()",
|
|
697
|
+
"value": "stylistic()",
|
|
698
|
+
"type": "value"
|
|
699
|
+
},
|
|
700
|
+
{
|
|
701
|
+
"name": "styleset()",
|
|
702
|
+
"value": "styleset()",
|
|
703
|
+
"type": "value"
|
|
704
|
+
},
|
|
705
|
+
{
|
|
706
|
+
"name": "character-variant()",
|
|
707
|
+
"value": "character-variant()",
|
|
708
|
+
"type": "value"
|
|
709
|
+
},
|
|
710
|
+
{
|
|
711
|
+
"name": "swash()",
|
|
712
|
+
"value": "swash()",
|
|
713
|
+
"type": "value"
|
|
714
|
+
},
|
|
715
|
+
{
|
|
716
|
+
"name": "ornaments()",
|
|
717
|
+
"value": "ornaments()",
|
|
718
|
+
"type": "value"
|
|
719
|
+
},
|
|
720
|
+
{
|
|
721
|
+
"name": "annotation()",
|
|
722
|
+
"value": "annotation()",
|
|
723
|
+
"type": "value"
|
|
724
|
+
}
|
|
725
|
+
],
|
|
258
726
|
"styleDeclaration": [
|
|
259
727
|
"font-variant-alternates",
|
|
260
728
|
"fontVariantAlternates"
|
|
261
729
|
]
|
|
262
730
|
},
|
|
263
|
-
|
|
731
|
+
{
|
|
264
732
|
"name": "font-variant-east-asian",
|
|
265
733
|
"value": "normal | [ <east-asian-variant-values> || <east-asian-width-values> || ruby ]",
|
|
266
734
|
"initial": "normal",
|
|
@@ -270,12 +738,74 @@
|
|
|
270
738
|
"computedValue": "as specified",
|
|
271
739
|
"canonicalOrder": "per grammar",
|
|
272
740
|
"animationType": "discrete",
|
|
741
|
+
"values": [
|
|
742
|
+
{
|
|
743
|
+
"name": "normal",
|
|
744
|
+
"prose": "None of the features listed below are enabled.",
|
|
745
|
+
"type": "value",
|
|
746
|
+
"value": "normal"
|
|
747
|
+
},
|
|
748
|
+
{
|
|
749
|
+
"name": "jis78",
|
|
750
|
+
"prose": "Enables rendering of JIS78 forms (OpenType feature: jp78).",
|
|
751
|
+
"type": "value",
|
|
752
|
+
"value": "jis78"
|
|
753
|
+
},
|
|
754
|
+
{
|
|
755
|
+
"name": "jis83",
|
|
756
|
+
"prose": "Enables rendering of JIS83 forms (OpenType feature: jp83).",
|
|
757
|
+
"type": "value",
|
|
758
|
+
"value": "jis83"
|
|
759
|
+
},
|
|
760
|
+
{
|
|
761
|
+
"name": "jis90",
|
|
762
|
+
"prose": "Enables rendering of JIS90 forms (OpenType feature: jp90).",
|
|
763
|
+
"type": "value",
|
|
764
|
+
"value": "jis90"
|
|
765
|
+
},
|
|
766
|
+
{
|
|
767
|
+
"name": "jis04",
|
|
768
|
+
"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.",
|
|
769
|
+
"type": "value",
|
|
770
|
+
"value": "jis04"
|
|
771
|
+
},
|
|
772
|
+
{
|
|
773
|
+
"name": "simplified",
|
|
774
|
+
"prose": "Enables rendering of simplified forms (OpenType feature: smpl).",
|
|
775
|
+
"type": "value",
|
|
776
|
+
"value": "simplified"
|
|
777
|
+
},
|
|
778
|
+
{
|
|
779
|
+
"name": "traditional",
|
|
780
|
+
"prose": "Enables rendering of traditional forms (OpenType feature: trad).",
|
|
781
|
+
"type": "value",
|
|
782
|
+
"value": "traditional"
|
|
783
|
+
},
|
|
784
|
+
{
|
|
785
|
+
"name": "full-width",
|
|
786
|
+
"prose": "Enables rendering of full-width variants (OpenType feature: fwid).",
|
|
787
|
+
"type": "value",
|
|
788
|
+
"value": "full-width"
|
|
789
|
+
},
|
|
790
|
+
{
|
|
791
|
+
"name": "proportional-width",
|
|
792
|
+
"prose": "Enables rendering of proportionally-spaced variants (OpenType feature: pwid).",
|
|
793
|
+
"type": "value",
|
|
794
|
+
"value": "proportional-width"
|
|
795
|
+
},
|
|
796
|
+
{
|
|
797
|
+
"name": "ruby",
|
|
798
|
+
"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.",
|
|
799
|
+
"type": "value",
|
|
800
|
+
"value": "ruby"
|
|
801
|
+
}
|
|
802
|
+
],
|
|
273
803
|
"styleDeclaration": [
|
|
274
804
|
"font-variant-east-asian",
|
|
275
805
|
"fontVariantEastAsian"
|
|
276
806
|
]
|
|
277
807
|
},
|
|
278
|
-
|
|
808
|
+
{
|
|
279
809
|
"name": "font-variant",
|
|
280
810
|
"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 ] ]",
|
|
281
811
|
"initial": "normal",
|
|
@@ -285,12 +815,26 @@
|
|
|
285
815
|
"computedValue": "as specified",
|
|
286
816
|
"canonicalOrder": "per grammar",
|
|
287
817
|
"animationType": "discrete",
|
|
818
|
+
"values": [
|
|
819
|
+
{
|
|
820
|
+
"name": "normal",
|
|
821
|
+
"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.",
|
|
822
|
+
"type": "value",
|
|
823
|
+
"value": "normal"
|
|
824
|
+
},
|
|
825
|
+
{
|
|
826
|
+
"name": "none",
|
|
827
|
+
"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.",
|
|
828
|
+
"type": "value",
|
|
829
|
+
"value": "none"
|
|
830
|
+
}
|
|
831
|
+
],
|
|
288
832
|
"styleDeclaration": [
|
|
289
833
|
"font-variant",
|
|
290
834
|
"fontVariant"
|
|
291
835
|
]
|
|
292
836
|
},
|
|
293
|
-
|
|
837
|
+
{
|
|
294
838
|
"name": "font-feature-settings",
|
|
295
839
|
"value": "normal | <feature-tag-value>#",
|
|
296
840
|
"initial": "normal",
|
|
@@ -300,12 +844,25 @@
|
|
|
300
844
|
"computedValue": "as specified",
|
|
301
845
|
"canonicalOrder": "per grammar",
|
|
302
846
|
"animationType": "discrete",
|
|
847
|
+
"values": [
|
|
848
|
+
{
|
|
849
|
+
"name": "normal",
|
|
850
|
+
"prose": "A value of normal means that no change in glyph selection or positioning occurs due to this property.",
|
|
851
|
+
"type": "value",
|
|
852
|
+
"value": "normal"
|
|
853
|
+
},
|
|
854
|
+
{
|
|
855
|
+
"name": "<feature-tag-value>",
|
|
856
|
+
"type": "value",
|
|
857
|
+
"value": "<string> [ <integer> | on | off ]?"
|
|
858
|
+
}
|
|
859
|
+
],
|
|
303
860
|
"styleDeclaration": [
|
|
304
861
|
"font-feature-settings",
|
|
305
862
|
"fontFeatureSettings"
|
|
306
863
|
]
|
|
307
864
|
},
|
|
308
|
-
|
|
865
|
+
{
|
|
309
866
|
"name": "font-language-override",
|
|
310
867
|
"value": "normal | <string>",
|
|
311
868
|
"initial": "normal",
|
|
@@ -315,12 +872,20 @@
|
|
|
315
872
|
"computedValue": "specified string or the keyword none",
|
|
316
873
|
"canonicalOrder": "per grammar",
|
|
317
874
|
"animationType": "discrete",
|
|
875
|
+
"values": [
|
|
876
|
+
{
|
|
877
|
+
"name": "<string>",
|
|
878
|
+
"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.",
|
|
879
|
+
"type": "value",
|
|
880
|
+
"value": "<string>"
|
|
881
|
+
}
|
|
882
|
+
],
|
|
318
883
|
"styleDeclaration": [
|
|
319
884
|
"font-language-override",
|
|
320
885
|
"fontLanguageOverride"
|
|
321
886
|
]
|
|
322
887
|
},
|
|
323
|
-
|
|
888
|
+
{
|
|
324
889
|
"name": "font-optical-sizing",
|
|
325
890
|
"value": "auto | none",
|
|
326
891
|
"initial": "auto",
|
|
@@ -330,12 +895,26 @@
|
|
|
330
895
|
"computedValue": "specified keyword",
|
|
331
896
|
"canonicalOrder": "per grammar",
|
|
332
897
|
"animationType": "discrete",
|
|
898
|
+
"values": [
|
|
899
|
+
{
|
|
900
|
+
"name": "auto",
|
|
901
|
+
"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.",
|
|
902
|
+
"type": "value",
|
|
903
|
+
"value": "auto"
|
|
904
|
+
},
|
|
905
|
+
{
|
|
906
|
+
"name": "none",
|
|
907
|
+
"prose": "The user agent must not modify the shape of glyphs for optical size.",
|
|
908
|
+
"type": "value",
|
|
909
|
+
"value": "none"
|
|
910
|
+
}
|
|
911
|
+
],
|
|
333
912
|
"styleDeclaration": [
|
|
334
913
|
"font-optical-sizing",
|
|
335
914
|
"fontOpticalSizing"
|
|
336
915
|
]
|
|
337
916
|
},
|
|
338
|
-
|
|
917
|
+
{
|
|
339
918
|
"name": "font-variation-settings",
|
|
340
919
|
"value": "normal | [ <string> <number>]#",
|
|
341
920
|
"initial": "normal",
|
|
@@ -350,7 +929,7 @@
|
|
|
350
929
|
"fontVariationSettings"
|
|
351
930
|
]
|
|
352
931
|
},
|
|
353
|
-
|
|
932
|
+
{
|
|
354
933
|
"name": "font-palette",
|
|
355
934
|
"value": "normal | light | dark | <palette-identifier>",
|
|
356
935
|
"initial": "normal",
|
|
@@ -360,12 +939,37 @@
|
|
|
360
939
|
"computedValue": "specified keyword or identifier",
|
|
361
940
|
"canonicalOrder": "per grammar",
|
|
362
941
|
"animationType": "discrete",
|
|
942
|
+
"values": [
|
|
943
|
+
{
|
|
944
|
+
"name": "normal",
|
|
945
|
+
"prose": "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.",
|
|
946
|
+
"type": "value",
|
|
947
|
+
"value": "normal"
|
|
948
|
+
},
|
|
949
|
+
{
|
|
950
|
+
"name": "light",
|
|
951
|
+
"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.",
|
|
952
|
+
"type": "value",
|
|
953
|
+
"value": "light"
|
|
954
|
+
},
|
|
955
|
+
{
|
|
956
|
+
"name": "dark",
|
|
957
|
+
"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.",
|
|
958
|
+
"type": "value",
|
|
959
|
+
"value": "dark"
|
|
960
|
+
},
|
|
961
|
+
{
|
|
962
|
+
"name": "<palette-identifier>",
|
|
963
|
+
"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>.",
|
|
964
|
+
"type": "type"
|
|
965
|
+
}
|
|
966
|
+
],
|
|
363
967
|
"styleDeclaration": [
|
|
364
968
|
"font-palette",
|
|
365
969
|
"fontPalette"
|
|
366
970
|
]
|
|
367
971
|
},
|
|
368
|
-
|
|
972
|
+
{
|
|
369
973
|
"name": "font-variant-emoji",
|
|
370
974
|
"value": "normal | text | emoji | unicode",
|
|
371
975
|
"initial": "normal",
|
|
@@ -375,15 +979,41 @@
|
|
|
375
979
|
"computedValue": "specified keyword",
|
|
376
980
|
"canonicalOrder": "per grammar",
|
|
377
981
|
"animationType": "discrete",
|
|
982
|
+
"values": [
|
|
983
|
+
{
|
|
984
|
+
"name": "normal",
|
|
985
|
+
"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.",
|
|
986
|
+
"type": "value",
|
|
987
|
+
"value": "normal"
|
|
988
|
+
},
|
|
989
|
+
{
|
|
990
|
+
"name": "text",
|
|
991
|
+
"prose": "Code points are rendered as if U+FE0E VARIATION SELECTOR-15 was appended to every Presentation Participating Code Point.",
|
|
992
|
+
"type": "value",
|
|
993
|
+
"value": "text"
|
|
994
|
+
},
|
|
995
|
+
{
|
|
996
|
+
"name": "emoji",
|
|
997
|
+
"prose": "Code points are rendered as if U+FE0F VARIATION SELECTOR-16 was appended to every Presentation Participating Code Point.",
|
|
998
|
+
"type": "value",
|
|
999
|
+
"value": "emoji"
|
|
1000
|
+
},
|
|
1001
|
+
{
|
|
1002
|
+
"name": "unicode",
|
|
1003
|
+
"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.",
|
|
1004
|
+
"type": "value",
|
|
1005
|
+
"value": "unicode"
|
|
1006
|
+
}
|
|
1007
|
+
],
|
|
378
1008
|
"styleDeclaration": [
|
|
379
1009
|
"font-variant-emoji",
|
|
380
1010
|
"fontVariantEmoji"
|
|
381
1011
|
]
|
|
382
1012
|
}
|
|
383
|
-
|
|
384
|
-
"atrules":
|
|
385
|
-
|
|
386
|
-
"
|
|
1013
|
+
],
|
|
1014
|
+
"atrules": [
|
|
1015
|
+
{
|
|
1016
|
+
"name": "@font-face",
|
|
387
1017
|
"descriptors": [
|
|
388
1018
|
{
|
|
389
1019
|
"name": "font-family",
|
|
@@ -443,7 +1073,39 @@
|
|
|
443
1073
|
"name": "font-display",
|
|
444
1074
|
"for": "@font-face",
|
|
445
1075
|
"value": "auto | block | swap | fallback | optional",
|
|
446
|
-
"initial": "auto"
|
|
1076
|
+
"initial": "auto",
|
|
1077
|
+
"values": [
|
|
1078
|
+
{
|
|
1079
|
+
"name": "auto",
|
|
1080
|
+
"prose": "The font display policy is user-agent-defined.",
|
|
1081
|
+
"type": "value",
|
|
1082
|
+
"value": "auto"
|
|
1083
|
+
},
|
|
1084
|
+
{
|
|
1085
|
+
"name": "block",
|
|
1086
|
+
"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.",
|
|
1087
|
+
"type": "value",
|
|
1088
|
+
"value": "block"
|
|
1089
|
+
},
|
|
1090
|
+
{
|
|
1091
|
+
"name": "swap",
|
|
1092
|
+
"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.",
|
|
1093
|
+
"type": "value",
|
|
1094
|
+
"value": "swap"
|
|
1095
|
+
},
|
|
1096
|
+
{
|
|
1097
|
+
"name": "fallback",
|
|
1098
|
+
"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.",
|
|
1099
|
+
"type": "value",
|
|
1100
|
+
"value": "fallback"
|
|
1101
|
+
},
|
|
1102
|
+
{
|
|
1103
|
+
"name": "optional",
|
|
1104
|
+
"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.",
|
|
1105
|
+
"type": "value",
|
|
1106
|
+
"value": "optional"
|
|
1107
|
+
}
|
|
1108
|
+
]
|
|
447
1109
|
},
|
|
448
1110
|
{
|
|
449
1111
|
"name": "font-language-override",
|
|
@@ -469,10 +1131,11 @@
|
|
|
469
1131
|
"value": "normal | <percentage [0,∞]>",
|
|
470
1132
|
"initial": "normal"
|
|
471
1133
|
}
|
|
472
|
-
]
|
|
1134
|
+
],
|
|
1135
|
+
"value": "@font-face { <declaration-list> }"
|
|
473
1136
|
},
|
|
474
|
-
|
|
475
|
-
"
|
|
1137
|
+
{
|
|
1138
|
+
"name": "@font-feature-values",
|
|
476
1139
|
"descriptors": [
|
|
477
1140
|
{
|
|
478
1141
|
"name": "font-display",
|
|
@@ -480,10 +1143,12 @@
|
|
|
480
1143
|
"value": "auto | block | swap | fallback | optional",
|
|
481
1144
|
"initial": "auto"
|
|
482
1145
|
}
|
|
483
|
-
]
|
|
1146
|
+
],
|
|
1147
|
+
"value": "@font-feature-values <family-name># { <declaration-list> }"
|
|
484
1148
|
},
|
|
485
|
-
|
|
486
|
-
"
|
|
1149
|
+
{
|
|
1150
|
+
"name": "@font-palette-values",
|
|
1151
|
+
"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 colors to use inside a color font rather than being limited to the preexisting palettes inside font files. In addition, this rule’s association with a specific font allows a name of a palette to apply differently to different fonts, which allows similar colors to be used across multiple fonts when multiple fonts are used in an element (i.e. for font fallback).",
|
|
487
1152
|
"descriptors": [
|
|
488
1153
|
{
|
|
489
1154
|
"name": "font-family",
|
|
@@ -495,7 +1160,26 @@
|
|
|
495
1160
|
"name": "base-palette",
|
|
496
1161
|
"for": "@font-palette-values",
|
|
497
1162
|
"value": "light | dark | <integer [0,∞]>",
|
|
498
|
-
"initial": "N/A"
|
|
1163
|
+
"initial": "N/A",
|
|
1164
|
+
"values": [
|
|
1165
|
+
{
|
|
1166
|
+
"name": "light",
|
|
1167
|
+
"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.",
|
|
1168
|
+
"type": "value",
|
|
1169
|
+
"value": "light"
|
|
1170
|
+
},
|
|
1171
|
+
{
|
|
1172
|
+
"name": "dark",
|
|
1173
|
+
"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.",
|
|
1174
|
+
"type": "value",
|
|
1175
|
+
"value": "dark"
|
|
1176
|
+
},
|
|
1177
|
+
{
|
|
1178
|
+
"name": "<integer>",
|
|
1179
|
+
"prose": "Identifies a (zero-based) numerical palette index within the font.",
|
|
1180
|
+
"type": "type"
|
|
1181
|
+
}
|
|
1182
|
+
]
|
|
499
1183
|
},
|
|
500
1184
|
{
|
|
501
1185
|
"name": "override-colors",
|
|
@@ -503,78 +1187,206 @@
|
|
|
503
1187
|
"value": "[ <integer [0,∞]> <absolute-color-base> ]#",
|
|
504
1188
|
"initial": "N/A"
|
|
505
1189
|
}
|
|
506
|
-
]
|
|
1190
|
+
],
|
|
1191
|
+
"value": "@font-palette-values <dashed-ident> { <declaration-list> }"
|
|
507
1192
|
}
|
|
508
|
-
|
|
509
|
-
"
|
|
510
|
-
|
|
511
|
-
|
|
512
|
-
|
|
513
|
-
|
|
514
|
-
"
|
|
1193
|
+
],
|
|
1194
|
+
"selectors": [],
|
|
1195
|
+
"values": [
|
|
1196
|
+
{
|
|
1197
|
+
"name": "<family-name>",
|
|
1198
|
+
"prose": "The name of a font family, such as Helvetica or Verdana in the previous example.",
|
|
1199
|
+
"type": "type"
|
|
515
1200
|
},
|
|
516
|
-
|
|
517
|
-
"
|
|
1201
|
+
{
|
|
1202
|
+
"name": "<generic-family>",
|
|
1203
|
+
"prose": "Each <generic-family> keyword represents a generic font choice, and behaves as an alias for one or more locally-installed fonts belonging to the specified generic font category. A <generic-family> can thus be used as a reliable fallback for when an author’s more specific font choices are not available. Authors are encouraged to append a generic font family as a last alternative for improved robustness. Note that <generic-family> keywords cannot be quoted (otherwise they are interpreted as a <family-name>). The set of generic family keywords is defined in § 2.1.3 Generic font families.",
|
|
1204
|
+
"type": "type",
|
|
1205
|
+
"values": [
|
|
1206
|
+
{
|
|
1207
|
+
"name": "serif",
|
|
1208
|
+
"prose": "Serif fonts represent the formal text style for a script. This often means, but is not limited to, 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. This is due to its typographic role, rather than its design style. Any font that fits this typographic role may be used to represent the generic serif family. serif must always map to at least one matched font face. Sample serif fonts",
|
|
1209
|
+
"type": "value",
|
|
1210
|
+
"value": "serif"
|
|
1211
|
+
},
|
|
1212
|
+
{
|
|
1213
|
+
"name": "sans-serif",
|
|
1214
|
+
"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). Any font that fits this typographic role may be used to represent the generic sans-serif family. sans-serif must always map to at least one matched font face. Sample sans-serif fonts",
|
|
1215
|
+
"type": "value",
|
|
1216
|
+
"value": "sans-serif"
|
|
1217
|
+
},
|
|
1218
|
+
{
|
|
1219
|
+
"name": "cursive",
|
|
1220
|
+
"prose": "Glyphs in cursive fonts generally use a more informal script style, and the result looks more like handwritten pen or brush writing than printed letterwork. For example, Kaiti (Chinese), which uses a brush-based style, would be classified as a CSS cursive font family. 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",
|
|
1221
|
+
"type": "value",
|
|
1222
|
+
"value": "cursive"
|
|
1223
|
+
},
|
|
1224
|
+
{
|
|
1225
|
+
"name": "fantasy",
|
|
1226
|
+
"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",
|
|
1227
|
+
"type": "value",
|
|
1228
|
+
"value": "fantasy"
|
|
1229
|
+
},
|
|
1230
|
+
{
|
|
1231
|
+
"name": "monospace",
|
|
1232
|
+
"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",
|
|
1233
|
+
"type": "value",
|
|
1234
|
+
"value": "monospace"
|
|
1235
|
+
},
|
|
1236
|
+
{
|
|
1237
|
+
"name": "system-ui",
|
|
1238
|
+
"prose": "This generic font family lets text render with the default user interface 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. 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.",
|
|
1239
|
+
"type": "value",
|
|
1240
|
+
"value": "system-ui"
|
|
1241
|
+
},
|
|
1242
|
+
{
|
|
1243
|
+
"name": "emoji",
|
|
1244
|
+
"prose": "This font family is intended for use with emoji characters. Emoji are pictographs (pictorial symbols) that are typically presented in a colorful form and used inline in text. They represent things such as faces, weather, vehicles and buildings, food and drink, animals and plants, or icons that represent emotions, feelings, or activities.",
|
|
1245
|
+
"type": "value",
|
|
1246
|
+
"value": "emoji"
|
|
1247
|
+
},
|
|
1248
|
+
{
|
|
1249
|
+
"name": "math",
|
|
1250
|
+
"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.",
|
|
1251
|
+
"type": "value",
|
|
1252
|
+
"value": "math"
|
|
1253
|
+
},
|
|
1254
|
+
{
|
|
1255
|
+
"name": "fangsong",
|
|
1256
|
+
"prose": "This font family is used for Fang Song (仿宋) typefaces in Chinese. Fang Song is a relaxed, intermediate form between Song (serif) and Kai (cursive). Typically, the horizontal lines are tilted, the endpoint flourishes are smaller, and there is less variation in stroke width, compared to a Song style. Fang Song is often used for official Chinese Government documents.",
|
|
1257
|
+
"type": "value",
|
|
1258
|
+
"value": "fangsong"
|
|
1259
|
+
},
|
|
1260
|
+
{
|
|
1261
|
+
"name": "ui-serif",
|
|
1262
|
+
"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",
|
|
1263
|
+
"type": "value",
|
|
1264
|
+
"value": "ui-serif"
|
|
1265
|
+
},
|
|
1266
|
+
{
|
|
1267
|
+
"name": "ui-sans-serif",
|
|
1268
|
+
"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",
|
|
1269
|
+
"type": "value",
|
|
1270
|
+
"value": "ui-sans-serif"
|
|
1271
|
+
},
|
|
1272
|
+
{
|
|
1273
|
+
"name": "ui-monospace",
|
|
1274
|
+
"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",
|
|
1275
|
+
"type": "value",
|
|
1276
|
+
"value": "ui-monospace"
|
|
1277
|
+
},
|
|
1278
|
+
{
|
|
1279
|
+
"name": "ui-rounded",
|
|
1280
|
+
"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",
|
|
1281
|
+
"type": "value",
|
|
1282
|
+
"value": "ui-rounded"
|
|
1283
|
+
}
|
|
1284
|
+
]
|
|
518
1285
|
},
|
|
519
|
-
|
|
1286
|
+
{
|
|
1287
|
+
"name": "<font-weight-absolute>",
|
|
1288
|
+
"type": "type",
|
|
520
1289
|
"value": "[normal | bold | <number [1,1000]>]"
|
|
521
1290
|
},
|
|
522
|
-
|
|
1291
|
+
{
|
|
1292
|
+
"name": "<font-variant-css2>",
|
|
1293
|
+
"type": "type",
|
|
523
1294
|
"value": "[normal | small-caps]"
|
|
524
1295
|
},
|
|
525
|
-
|
|
1296
|
+
{
|
|
1297
|
+
"name": "<font-stretch-css3>",
|
|
1298
|
+
"type": "type",
|
|
526
1299
|
"value": "[normal | ultra-condensed | extra-condensed | condensed | semi-condensed | semi-expanded | expanded | extra-expanded | ultra-expanded]"
|
|
527
1300
|
},
|
|
528
|
-
|
|
1301
|
+
{
|
|
1302
|
+
"name": "<font-format>",
|
|
1303
|
+
"type": "type",
|
|
529
1304
|
"value": "[<string> | collection | embedded-opentype | opentype | svg | truetype | woff | woff2 ]"
|
|
530
1305
|
},
|
|
531
|
-
|
|
1306
|
+
{
|
|
1307
|
+
"name": "<font-tech>",
|
|
1308
|
+
"type": "type",
|
|
532
1309
|
"value": "[<font-features-tech> | <color-font-tech> | variations | palettes | incremental ]"
|
|
533
1310
|
},
|
|
534
|
-
|
|
1311
|
+
{
|
|
1312
|
+
"name": "<font-features-tech>",
|
|
1313
|
+
"type": "type",
|
|
535
1314
|
"value": "[features-opentype | features-aat | features-graphite]"
|
|
536
1315
|
},
|
|
537
|
-
|
|
1316
|
+
{
|
|
1317
|
+
"name": "<color-font-tech>",
|
|
1318
|
+
"type": "type",
|
|
538
1319
|
"value": "[color-COLRv0 | color-COLRv1 | color-SVG | color-sbix | color-CBDT ]"
|
|
539
1320
|
},
|
|
540
|
-
|
|
1321
|
+
{
|
|
1322
|
+
"name": "<common-lig-values>",
|
|
1323
|
+
"type": "type",
|
|
541
1324
|
"value": "[ common-ligatures | no-common-ligatures ]"
|
|
542
1325
|
},
|
|
543
|
-
|
|
1326
|
+
{
|
|
1327
|
+
"name": "<discretionary-lig-values>",
|
|
1328
|
+
"type": "type",
|
|
544
1329
|
"value": "[ discretionary-ligatures | no-discretionary-ligatures ]"
|
|
545
1330
|
},
|
|
546
|
-
|
|
1331
|
+
{
|
|
1332
|
+
"name": "<historical-lig-values>",
|
|
1333
|
+
"type": "type",
|
|
547
1334
|
"value": "[ historical-ligatures | no-historical-ligatures ]"
|
|
548
1335
|
},
|
|
549
|
-
|
|
1336
|
+
{
|
|
1337
|
+
"name": "<contextual-alt-values>",
|
|
1338
|
+
"type": "type",
|
|
550
1339
|
"value": "[ contextual | no-contextual ]"
|
|
551
1340
|
},
|
|
552
|
-
|
|
1341
|
+
{
|
|
1342
|
+
"name": "<numeric-figure-values>",
|
|
1343
|
+
"type": "type",
|
|
553
1344
|
"value": "[ lining-nums | oldstyle-nums ]"
|
|
554
1345
|
},
|
|
555
|
-
|
|
1346
|
+
{
|
|
1347
|
+
"name": "<numeric-spacing-values>",
|
|
1348
|
+
"type": "type",
|
|
556
1349
|
"value": "[ proportional-nums | tabular-nums ]"
|
|
557
1350
|
},
|
|
558
|
-
|
|
1351
|
+
{
|
|
1352
|
+
"name": "<numeric-fraction-values>",
|
|
1353
|
+
"type": "type",
|
|
559
1354
|
"value": "[ diagonal-fractions | stacked-fractions ]"
|
|
560
1355
|
},
|
|
561
|
-
|
|
1356
|
+
{
|
|
1357
|
+
"name": "<feature-value-name>",
|
|
1358
|
+
"type": "type",
|
|
562
1359
|
"value": "<ident>"
|
|
563
1360
|
},
|
|
564
|
-
|
|
565
|
-
"
|
|
566
|
-
|
|
567
|
-
"<font-feature-value-type>": {
|
|
568
|
-
"value": "@stylistic | @historical-forms | @styleset | @character-variant | @swash | @ornaments | @annotation"
|
|
569
|
-
},
|
|
570
|
-
"<east-asian-variant-values>": {
|
|
1361
|
+
{
|
|
1362
|
+
"name": "<east-asian-variant-values>",
|
|
1363
|
+
"type": "type",
|
|
571
1364
|
"value": "[ jis78 | jis83 | jis90 | jis04 | simplified | traditional ]"
|
|
572
1365
|
},
|
|
573
|
-
|
|
1366
|
+
{
|
|
1367
|
+
"name": "<east-asian-width-values>",
|
|
1368
|
+
"type": "type",
|
|
574
1369
|
"value": "[ full-width | proportional-width ]"
|
|
1370
|
+
}
|
|
1371
|
+
],
|
|
1372
|
+
"warnings": [
|
|
1373
|
+
{
|
|
1374
|
+
"msg": "Missing definition",
|
|
1375
|
+
"name": "<feature-value-block>",
|
|
1376
|
+
"value": "<font-feature-value-type> { <declaration-list> }"
|
|
1377
|
+
},
|
|
1378
|
+
{
|
|
1379
|
+
"msg": "Missing definition",
|
|
1380
|
+
"name": "<font-feature-value-type>",
|
|
1381
|
+
"value": "@stylistic | @historical-forms | @styleset | @character-variant | @swash | @ornaments | @annotation"
|
|
575
1382
|
},
|
|
576
|
-
|
|
577
|
-
"
|
|
1383
|
+
{
|
|
1384
|
+
"msg": "Dangling value",
|
|
1385
|
+
"name": "normal",
|
|
1386
|
+
"prose": "specifies that when rendering with OpenType fonts, the content language of the element is used to infer the OpenType language system",
|
|
1387
|
+
"type": "value",
|
|
1388
|
+
"value": "normal",
|
|
1389
|
+
"for": "font-language override"
|
|
578
1390
|
}
|
|
579
|
-
|
|
1391
|
+
]
|
|
580
1392
|
}
|