@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-text-decor-4.json
CHANGED
|
@@ -3,8 +3,8 @@
|
|
|
3
3
|
"title": "CSS Text Decoration Module Level 4",
|
|
4
4
|
"url": "https://drafts.csswg.org/css-text-decor-4/"
|
|
5
5
|
},
|
|
6
|
-
"properties":
|
|
7
|
-
|
|
6
|
+
"properties": [
|
|
7
|
+
{
|
|
8
8
|
"name": "text-decoration-line",
|
|
9
9
|
"value": "none | [ underline || overline || line-through || blink ] | spelling-error | grammar-error",
|
|
10
10
|
"initial": "none",
|
|
@@ -14,12 +14,56 @@
|
|
|
14
14
|
"computedValue": "specified keyword(s)",
|
|
15
15
|
"canonicalOrder": "per grammar",
|
|
16
16
|
"animationType": "discrete",
|
|
17
|
+
"values": [
|
|
18
|
+
{
|
|
19
|
+
"name": "none",
|
|
20
|
+
"prose": "Neither produces nor inhibits text decoration.",
|
|
21
|
+
"type": "value",
|
|
22
|
+
"value": "none"
|
|
23
|
+
},
|
|
24
|
+
{
|
|
25
|
+
"name": "underline",
|
|
26
|
+
"prose": "Each line of text is underlined.",
|
|
27
|
+
"type": "value",
|
|
28
|
+
"value": "underline"
|
|
29
|
+
},
|
|
30
|
+
{
|
|
31
|
+
"name": "overline",
|
|
32
|
+
"prose": "Each line of text has a line over it (i.e. on the opposite side from an underline).",
|
|
33
|
+
"type": "value",
|
|
34
|
+
"value": "overline"
|
|
35
|
+
},
|
|
36
|
+
{
|
|
37
|
+
"name": "line-through",
|
|
38
|
+
"prose": "Each line of text has a line through the middle.",
|
|
39
|
+
"type": "value",
|
|
40
|
+
"value": "line-through"
|
|
41
|
+
},
|
|
42
|
+
{
|
|
43
|
+
"name": "blink",
|
|
44
|
+
"prose": "The text blinks (alternates between visible and invisible). Conforming user agents may simply not blink the text. Note that not blinking the text is one technique to satisfy checkpoint 3.3 of WAI-UAAG. This value is deprecated in favor of Animations [CSS3-ANIMATIONS].",
|
|
45
|
+
"type": "value",
|
|
46
|
+
"value": "blink"
|
|
47
|
+
},
|
|
48
|
+
{
|
|
49
|
+
"name": "spelling-error",
|
|
50
|
+
"prose": "This value indicates the type of text decoration used by the user agent to highlight spelling mistakes. Its appearance is UA-defined, and may be platform-dependent.",
|
|
51
|
+
"type": "value",
|
|
52
|
+
"value": "spelling-error"
|
|
53
|
+
},
|
|
54
|
+
{
|
|
55
|
+
"name": "grammar-error",
|
|
56
|
+
"prose": "This value indicates the type of text decoration used by the user agent to highlight grammar mistakes. Its appearance is UA defined, and may be platform-dependent.",
|
|
57
|
+
"type": "value",
|
|
58
|
+
"value": "grammar-error"
|
|
59
|
+
}
|
|
60
|
+
],
|
|
17
61
|
"styleDeclaration": [
|
|
18
62
|
"text-decoration-line",
|
|
19
63
|
"textDecorationLine"
|
|
20
64
|
]
|
|
21
65
|
},
|
|
22
|
-
|
|
66
|
+
{
|
|
23
67
|
"name": "text-decoration-style",
|
|
24
68
|
"value": "solid | double | dotted | dashed | wavy",
|
|
25
69
|
"initial": "solid",
|
|
@@ -29,12 +73,20 @@
|
|
|
29
73
|
"computedValue": "specified keyword",
|
|
30
74
|
"canonicalOrder": "per grammar",
|
|
31
75
|
"animationType": "discrete",
|
|
76
|
+
"values": [
|
|
77
|
+
{
|
|
78
|
+
"name": "wavy",
|
|
79
|
+
"prose": "Values have the same meaning as for the border-style properties [CSS-BACKGROUNDS-3]. wavy indicates a wavy line.",
|
|
80
|
+
"type": "value",
|
|
81
|
+
"value": "wavy"
|
|
82
|
+
}
|
|
83
|
+
],
|
|
32
84
|
"styleDeclaration": [
|
|
33
85
|
"text-decoration-style",
|
|
34
86
|
"textDecorationStyle"
|
|
35
87
|
]
|
|
36
88
|
},
|
|
37
|
-
|
|
89
|
+
{
|
|
38
90
|
"name": "text-decoration-color",
|
|
39
91
|
"value": "<color>",
|
|
40
92
|
"initial": "currentcolor",
|
|
@@ -49,7 +101,7 @@
|
|
|
49
101
|
"textDecorationColor"
|
|
50
102
|
]
|
|
51
103
|
},
|
|
52
|
-
|
|
104
|
+
{
|
|
53
105
|
"name": "text-decoration-thickness",
|
|
54
106
|
"value": "auto | from-font | <length> | <percentage>",
|
|
55
107
|
"initial": "auto",
|
|
@@ -59,12 +111,38 @@
|
|
|
59
111
|
"computedValue": "specified keyword or absolute length",
|
|
60
112
|
"canonicalOrder": "per grammar",
|
|
61
113
|
"animationType": "by computed value",
|
|
114
|
+
"values": [
|
|
115
|
+
{
|
|
116
|
+
"name": "auto",
|
|
117
|
+
"prose": "The UA chooses an appropriate thickness for text decoration lines; see below.",
|
|
118
|
+
"type": "value",
|
|
119
|
+
"value": "auto"
|
|
120
|
+
},
|
|
121
|
+
{
|
|
122
|
+
"name": "from-font",
|
|
123
|
+
"prose": "If the first available font has metrics indicating a preferred underline width, use that width, otherwise behaves as auto.",
|
|
124
|
+
"type": "value",
|
|
125
|
+
"value": "from-font"
|
|
126
|
+
},
|
|
127
|
+
{
|
|
128
|
+
"name": "<length>",
|
|
129
|
+
"prose": "Specifies the thickness of text decoration lines as a fixed length. The UA should round the actual value to the nearest integer device pixel, and ensure it is at least one device pixel.",
|
|
130
|
+
"type": "value",
|
|
131
|
+
"value": "<length>"
|
|
132
|
+
},
|
|
133
|
+
{
|
|
134
|
+
"name": "<percentage>",
|
|
135
|
+
"prose": "Specifies the thickness of text decoration lines as a percentage of 1em. The UA should round the actual value to the nearest integer device pixel, and ensure it is at least one device pixel.",
|
|
136
|
+
"type": "value",
|
|
137
|
+
"value": "<percentage>"
|
|
138
|
+
}
|
|
139
|
+
],
|
|
62
140
|
"styleDeclaration": [
|
|
63
141
|
"text-decoration-thickness",
|
|
64
142
|
"textDecorationThickness"
|
|
65
143
|
]
|
|
66
144
|
},
|
|
67
|
-
|
|
145
|
+
{
|
|
68
146
|
"name": "text-decoration",
|
|
69
147
|
"value": "<'text-decoration-line'> || <'text-decoration-thickness'> || <'text-decoration-style'> || <'text-decoration-color'>",
|
|
70
148
|
"initial": "see individual properties",
|
|
@@ -79,7 +157,7 @@
|
|
|
79
157
|
"textDecoration"
|
|
80
158
|
]
|
|
81
159
|
},
|
|
82
|
-
|
|
160
|
+
{
|
|
83
161
|
"name": "text-underline-position",
|
|
84
162
|
"value": "auto | [ from-font | under ] || [ left | right ]",
|
|
85
163
|
"initial": "auto",
|
|
@@ -89,12 +167,44 @@
|
|
|
89
167
|
"computedValue": "specified keyword(s)",
|
|
90
168
|
"canonicalOrder": "per grammar",
|
|
91
169
|
"animationType": "discrete",
|
|
170
|
+
"values": [
|
|
171
|
+
{
|
|
172
|
+
"name": "auto",
|
|
173
|
+
"prose": "The user agent may use any algorithm to determine the underline’s position; however it must be placed at or under the alphabetic baseline. A typical “alphabetic” underline is positioned just below the alphabetic baseline",
|
|
174
|
+
"type": "value",
|
|
175
|
+
"value": "auto"
|
|
176
|
+
},
|
|
177
|
+
{
|
|
178
|
+
"name": "from-font",
|
|
179
|
+
"prose": "If the first available font has metrics indicating a preferred underline offset, use that offset, otherwise behaves as auto.",
|
|
180
|
+
"type": "value",
|
|
181
|
+
"value": "from-font"
|
|
182
|
+
},
|
|
183
|
+
{
|
|
184
|
+
"name": "under",
|
|
185
|
+
"prose": "The underline is positioned under the element’s text content. In this case the underline usually does not cross the descenders. (This is sometimes called “accounting” underline.) This value can be combined with left or right if a particular side is preferred in vertical typographic modes. text-underline-position: under Because text-underline-position inherits, and is not reset by the text-decoration shorthand, the following example switches the document to use under underlining, which can be more appropriate for writing systems with long, complicated descenders. It is also often useful for mathematical or chemical texts that use many subscripts. :root { text-underline-position: under; }",
|
|
186
|
+
"type": "value",
|
|
187
|
+
"value": "under"
|
|
188
|
+
},
|
|
189
|
+
{
|
|
190
|
+
"name": "left",
|
|
191
|
+
"prose": "In vertical typographic modes, the underline is aligned as for under, except it is always aligned to the left edge of the text. If this causes the underline to be drawn on the \"over\" side of the text, then an overline also switches sides and is drawn on the \"under\" side.",
|
|
192
|
+
"type": "value",
|
|
193
|
+
"value": "left"
|
|
194
|
+
},
|
|
195
|
+
{
|
|
196
|
+
"name": "right",
|
|
197
|
+
"prose": "In vertical typographic modes, the underline is aligned as for under, except it is always aligned to the right edge of the text. If this causes the underline to be drawn on the \"over\" side of the text, then an overline also switches sides and is drawn on the \"under\" side.",
|
|
198
|
+
"type": "value",
|
|
199
|
+
"value": "right"
|
|
200
|
+
}
|
|
201
|
+
],
|
|
92
202
|
"styleDeclaration": [
|
|
93
203
|
"text-underline-position",
|
|
94
204
|
"textUnderlinePosition"
|
|
95
205
|
]
|
|
96
206
|
},
|
|
97
|
-
|
|
207
|
+
{
|
|
98
208
|
"name": "text-underline-offset",
|
|
99
209
|
"value": "auto | <length> | <percentage>",
|
|
100
210
|
"initial": "auto",
|
|
@@ -104,12 +214,32 @@
|
|
|
104
214
|
"computedValue": "specified keyword or absolute length",
|
|
105
215
|
"canonicalOrder": "per grammar",
|
|
106
216
|
"animationType": "by computed value",
|
|
217
|
+
"values": [
|
|
218
|
+
{
|
|
219
|
+
"name": "auto",
|
|
220
|
+
"prose": "The UA chooses an appropriate offset for underlines. However, this offset must be zero if the computed value of text-underline-position is from-font and the UA was able to extract an appropriate metric to use from the font.",
|
|
221
|
+
"type": "value",
|
|
222
|
+
"value": "auto"
|
|
223
|
+
},
|
|
224
|
+
{
|
|
225
|
+
"name": "<length>",
|
|
226
|
+
"prose": "Specifies the offset of underlines as a fixed length.",
|
|
227
|
+
"type": "value",
|
|
228
|
+
"value": "<length>"
|
|
229
|
+
},
|
|
230
|
+
{
|
|
231
|
+
"name": "<percentage>",
|
|
232
|
+
"prose": "Specifies the offset of underlines as a percentage of 1em.",
|
|
233
|
+
"type": "value",
|
|
234
|
+
"value": "<percentage>"
|
|
235
|
+
}
|
|
236
|
+
],
|
|
107
237
|
"styleDeclaration": [
|
|
108
238
|
"text-underline-offset",
|
|
109
239
|
"textUnderlineOffset"
|
|
110
240
|
]
|
|
111
241
|
},
|
|
112
|
-
|
|
242
|
+
{
|
|
113
243
|
"name": "text-decoration-trim",
|
|
114
244
|
"value": "<length>{1,2} | auto",
|
|
115
245
|
"initial": "0",
|
|
@@ -124,7 +254,7 @@
|
|
|
124
254
|
"textDecorationTrim"
|
|
125
255
|
]
|
|
126
256
|
},
|
|
127
|
-
|
|
257
|
+
{
|
|
128
258
|
"name": "text-decoration-skip",
|
|
129
259
|
"value": "none | auto",
|
|
130
260
|
"initial": "See individual properties",
|
|
@@ -134,12 +264,26 @@
|
|
|
134
264
|
"computedValue": "See individual properties",
|
|
135
265
|
"canonicalOrder": "per grammar",
|
|
136
266
|
"animationType": "discrete",
|
|
267
|
+
"values": [
|
|
268
|
+
{
|
|
269
|
+
"name": "none",
|
|
270
|
+
"prose": "The text-decoration-skip property and its sub-properties (text-decoration-skip-self, text-decoration-skip-box, text-decoration-skip-inset, text-decoration-skip-spaces, text-decoration-skip-ink) control interruptions in line decorations for which the element or an ancestor is the decorating box. The none value sets all sub-properties to none, and the auto value sets all sub-properties to their initial values.",
|
|
271
|
+
"type": "value",
|
|
272
|
+
"value": "none"
|
|
273
|
+
},
|
|
274
|
+
{
|
|
275
|
+
"name": "auto",
|
|
276
|
+
"prose": "The text-decoration-skip property and its sub-properties (text-decoration-skip-self, text-decoration-skip-box, text-decoration-skip-inset, text-decoration-skip-spaces, text-decoration-skip-ink) control interruptions in line decorations for which the element or an ancestor is the decorating box. The none value sets all sub-properties to none, and the auto value sets all sub-properties to their initial values.",
|
|
277
|
+
"type": "value",
|
|
278
|
+
"value": "auto"
|
|
279
|
+
}
|
|
280
|
+
],
|
|
137
281
|
"styleDeclaration": [
|
|
138
282
|
"text-decoration-skip",
|
|
139
283
|
"textDecorationSkip"
|
|
140
284
|
]
|
|
141
285
|
},
|
|
142
|
-
|
|
286
|
+
{
|
|
143
287
|
"name": "text-decoration-skip-self",
|
|
144
288
|
"value": "auto | skip-all | [ skip-underline || skip-overline || skip-line-through ] | no-skip",
|
|
145
289
|
"initial": "auto",
|
|
@@ -149,12 +293,50 @@
|
|
|
149
293
|
"computedValue": "specified keyword(s) except for skip-all, see below",
|
|
150
294
|
"canonicalOrder": "per grammar",
|
|
151
295
|
"animationType": "discrete",
|
|
296
|
+
"values": [
|
|
297
|
+
{
|
|
298
|
+
"name": "auto",
|
|
299
|
+
"prose": "Skip this element (its entire margin box) if it is an atomic inline (such as an image or inline-block).",
|
|
300
|
+
"type": "value",
|
|
301
|
+
"value": "auto"
|
|
302
|
+
},
|
|
303
|
+
{
|
|
304
|
+
"name": "skip-all",
|
|
305
|
+
"prose": "Skip this element (its entire margin box) unconditionally. Don’t draw across it, don’t propagate to it.",
|
|
306
|
+
"type": "value",
|
|
307
|
+
"value": "skip-all"
|
|
308
|
+
},
|
|
309
|
+
{
|
|
310
|
+
"name": "skip-underline",
|
|
311
|
+
"prose": "Skip this element (its entire margin box) unconditionally when drawing ancestor underlines.",
|
|
312
|
+
"type": "value",
|
|
313
|
+
"value": "skip-underline"
|
|
314
|
+
},
|
|
315
|
+
{
|
|
316
|
+
"name": "skip-overline",
|
|
317
|
+
"prose": "Skip this element (its entire margin box) unconditionally when drawing ancestor overlines.",
|
|
318
|
+
"type": "value",
|
|
319
|
+
"value": "skip-overline"
|
|
320
|
+
},
|
|
321
|
+
{
|
|
322
|
+
"name": "skip-line-through",
|
|
323
|
+
"prose": "Skip this element (its entire margin box) unconditionally when drawing ancestor line-throughs.",
|
|
324
|
+
"type": "value",
|
|
325
|
+
"value": "skip-line-through"
|
|
326
|
+
},
|
|
327
|
+
{
|
|
328
|
+
"name": "no-skip",
|
|
329
|
+
"prose": "Line decorations from ancestor decorating boxes are applied to this box unconditionally: drawn across it as if it were text if it is an atomic inline, or propagated to it according to the usual rules if it is not.",
|
|
330
|
+
"type": "value",
|
|
331
|
+
"value": "no-skip"
|
|
332
|
+
}
|
|
333
|
+
],
|
|
152
334
|
"styleDeclaration": [
|
|
153
335
|
"text-decoration-skip-self",
|
|
154
336
|
"textDecorationSkipSelf"
|
|
155
337
|
]
|
|
156
338
|
},
|
|
157
|
-
|
|
339
|
+
{
|
|
158
340
|
"name": "text-decoration-skip-box",
|
|
159
341
|
"value": "none | all",
|
|
160
342
|
"initial": "none",
|
|
@@ -164,12 +346,26 @@
|
|
|
164
346
|
"computedValue": "specified keyword(s)",
|
|
165
347
|
"canonicalOrder": "per grammar",
|
|
166
348
|
"animationType": "discrete",
|
|
349
|
+
"values": [
|
|
350
|
+
{
|
|
351
|
+
"name": "none",
|
|
352
|
+
"prose": "Skip nothing: line decorations from ancestor decorating boxes are drawn from margin edge to margin edge.",
|
|
353
|
+
"type": "value",
|
|
354
|
+
"value": "none"
|
|
355
|
+
},
|
|
356
|
+
{
|
|
357
|
+
"name": "all",
|
|
358
|
+
"prose": "When drawing text decoration lines applied to an ancestor decorating box, skip over the box’s own margin, border, and padding areas and only draw line decorations within its content area. This value only has an effect for decorations imposed by an ancestor; a decorating box never draws over its own box decoration.",
|
|
359
|
+
"type": "value",
|
|
360
|
+
"value": "all"
|
|
361
|
+
}
|
|
362
|
+
],
|
|
167
363
|
"styleDeclaration": [
|
|
168
364
|
"text-decoration-skip-box",
|
|
169
365
|
"textDecorationSkipBox"
|
|
170
366
|
]
|
|
171
367
|
},
|
|
172
|
-
|
|
368
|
+
{
|
|
173
369
|
"name": "text-decoration-skip-spaces",
|
|
174
370
|
"value": "none | all | [ start || end ]",
|
|
175
371
|
"initial": "start end",
|
|
@@ -179,12 +375,38 @@
|
|
|
179
375
|
"computedValue": "specified keyword(s)",
|
|
180
376
|
"canonicalOrder": "per grammar",
|
|
181
377
|
"animationType": "discrete",
|
|
378
|
+
"values": [
|
|
379
|
+
{
|
|
380
|
+
"name": "none",
|
|
381
|
+
"prose": "Spacers are not skipped. They are decorated just like any other character.",
|
|
382
|
+
"type": "value",
|
|
383
|
+
"value": "none"
|
|
384
|
+
},
|
|
385
|
+
{
|
|
386
|
+
"name": "all",
|
|
387
|
+
"prose": "Skip all spacers and all word separators plus any adjacent letter-spacing or word-spacing.",
|
|
388
|
+
"type": "value",
|
|
389
|
+
"value": "all"
|
|
390
|
+
},
|
|
391
|
+
{
|
|
392
|
+
"name": "start",
|
|
393
|
+
"prose": "Skip all spacers, plus any adjacent letter-spacing or word-spacing, when located at the start of the line.",
|
|
394
|
+
"type": "value",
|
|
395
|
+
"value": "start"
|
|
396
|
+
},
|
|
397
|
+
{
|
|
398
|
+
"name": "end",
|
|
399
|
+
"prose": "Skip all spacers, plus any adjacent letter-spacing or word-spacing, when located at the end of the line.",
|
|
400
|
+
"type": "value",
|
|
401
|
+
"value": "end"
|
|
402
|
+
}
|
|
403
|
+
],
|
|
182
404
|
"styleDeclaration": [
|
|
183
405
|
"text-decoration-skip-spaces",
|
|
184
406
|
"textDecorationSkipSpaces"
|
|
185
407
|
]
|
|
186
408
|
},
|
|
187
|
-
|
|
409
|
+
{
|
|
188
410
|
"name": "text-decoration-skip-ink",
|
|
189
411
|
"value": "auto | none | all",
|
|
190
412
|
"initial": "auto",
|
|
@@ -194,12 +416,32 @@
|
|
|
194
416
|
"computedValue": "specified keyword",
|
|
195
417
|
"canonicalOrder": "per grammar",
|
|
196
418
|
"animationType": "discrete",
|
|
419
|
+
"values": [
|
|
420
|
+
{
|
|
421
|
+
"name": "auto",
|
|
422
|
+
"prose": "UAs may interrupt underlines and overlines where the line would cross glyph ink and to some distance to either side of the glyph outline. UAs should consider the script of the text (see note below) when determining whether to apply ink-skipping behavior to a given range of content.",
|
|
423
|
+
"type": "value",
|
|
424
|
+
"value": "auto"
|
|
425
|
+
},
|
|
426
|
+
{
|
|
427
|
+
"name": "all",
|
|
428
|
+
"prose": "UAs must interrupt underlines and overlines where the line would cross glyph ink and to some distance to either side of the glyph outline.",
|
|
429
|
+
"type": "value",
|
|
430
|
+
"value": "all"
|
|
431
|
+
},
|
|
432
|
+
{
|
|
433
|
+
"name": "none",
|
|
434
|
+
"prose": "UA must draw continuous underlines and overlines, without interruptions when they cross over a glyph.",
|
|
435
|
+
"type": "value",
|
|
436
|
+
"value": "none"
|
|
437
|
+
}
|
|
438
|
+
],
|
|
197
439
|
"styleDeclaration": [
|
|
198
440
|
"text-decoration-skip-ink",
|
|
199
441
|
"textDecorationSkipInk"
|
|
200
442
|
]
|
|
201
443
|
},
|
|
202
|
-
|
|
444
|
+
{
|
|
203
445
|
"name": "text-emphasis-style",
|
|
204
446
|
"value": "none | [ [ filled | open ] || [ dot | circle | double-circle | triangle | sesame ] ] | <string>",
|
|
205
447
|
"initial": "none",
|
|
@@ -209,12 +451,62 @@
|
|
|
209
451
|
"computedValue": "the keyword none, a pair of keywords representing the shape and fill, or a string",
|
|
210
452
|
"canonicalOrder": "per grammar",
|
|
211
453
|
"animationType": "discrete",
|
|
454
|
+
"values": [
|
|
455
|
+
{
|
|
456
|
+
"name": "none",
|
|
457
|
+
"prose": "No emphasis marks.",
|
|
458
|
+
"type": "value",
|
|
459
|
+
"value": "none"
|
|
460
|
+
},
|
|
461
|
+
{
|
|
462
|
+
"name": "filled",
|
|
463
|
+
"prose": "The shape is filled with solid color.",
|
|
464
|
+
"type": "value",
|
|
465
|
+
"value": "filled"
|
|
466
|
+
},
|
|
467
|
+
{
|
|
468
|
+
"name": "dot",
|
|
469
|
+
"prose": "Display small circles as marks. The filled dot is U+2022 '•', and the open dot is U+25E6 '◦'.",
|
|
470
|
+
"type": "value",
|
|
471
|
+
"value": "dot"
|
|
472
|
+
},
|
|
473
|
+
{
|
|
474
|
+
"name": "circle",
|
|
475
|
+
"prose": "Display large circles as marks. The filled circle is U+25CF '●', and the open circle is U+25CB '○'.",
|
|
476
|
+
"type": "value",
|
|
477
|
+
"value": "circle"
|
|
478
|
+
},
|
|
479
|
+
{
|
|
480
|
+
"name": "double-circle",
|
|
481
|
+
"prose": "Display double circles as marks. The filled double-circle is U+25C9 '◉', and the open double-circle is U+25CE '◎'.",
|
|
482
|
+
"type": "value",
|
|
483
|
+
"value": "double-circle"
|
|
484
|
+
},
|
|
485
|
+
{
|
|
486
|
+
"name": "triangle",
|
|
487
|
+
"prose": "Display triangles as marks. The filled triangle is U+25B2 '▲', and the open triangle is U+25B3 '△'.",
|
|
488
|
+
"type": "value",
|
|
489
|
+
"value": "triangle"
|
|
490
|
+
},
|
|
491
|
+
{
|
|
492
|
+
"name": "sesame",
|
|
493
|
+
"prose": "Display sesames as marks. The filled sesame is U+FE45 '﹅', and the open sesame is U+FE46 '﹆'.",
|
|
494
|
+
"type": "value",
|
|
495
|
+
"value": "sesame"
|
|
496
|
+
},
|
|
497
|
+
{
|
|
498
|
+
"name": "<string>",
|
|
499
|
+
"prose": "Display the given string as marks. Authors should not specify more than one character in <string>. The UA may truncate or ignore strings consisting of more than one grapheme cluster.",
|
|
500
|
+
"type": "value",
|
|
501
|
+
"value": "<string>"
|
|
502
|
+
}
|
|
503
|
+
],
|
|
212
504
|
"styleDeclaration": [
|
|
213
505
|
"text-emphasis-style",
|
|
214
506
|
"textEmphasisStyle"
|
|
215
507
|
]
|
|
216
508
|
},
|
|
217
|
-
|
|
509
|
+
{
|
|
218
510
|
"name": "text-emphasis-color",
|
|
219
511
|
"value": "<color>",
|
|
220
512
|
"initial": "currentcolor",
|
|
@@ -229,7 +521,7 @@
|
|
|
229
521
|
"textEmphasisColor"
|
|
230
522
|
]
|
|
231
523
|
},
|
|
232
|
-
|
|
524
|
+
{
|
|
233
525
|
"name": "text-emphasis",
|
|
234
526
|
"value": "<'text-emphasis-style'> || <'text-emphasis-color'>",
|
|
235
527
|
"initial": "see individual properties",
|
|
@@ -244,7 +536,7 @@
|
|
|
244
536
|
"textEmphasis"
|
|
245
537
|
]
|
|
246
538
|
},
|
|
247
|
-
|
|
539
|
+
{
|
|
248
540
|
"name": "text-emphasis-position",
|
|
249
541
|
"value": "[ over | under ] && [ right | left ]?",
|
|
250
542
|
"initial": "over right",
|
|
@@ -254,12 +546,38 @@
|
|
|
254
546
|
"computedValue": "specified keyword(s)",
|
|
255
547
|
"canonicalOrder": "per grammar",
|
|
256
548
|
"animationType": "discrete",
|
|
549
|
+
"values": [
|
|
550
|
+
{
|
|
551
|
+
"name": "over",
|
|
552
|
+
"prose": "Draw marks over the text in horizontal typographic modes.",
|
|
553
|
+
"type": "value",
|
|
554
|
+
"value": "over"
|
|
555
|
+
},
|
|
556
|
+
{
|
|
557
|
+
"name": "under",
|
|
558
|
+
"prose": "Draw marks under the text in horizontal typographic modes.",
|
|
559
|
+
"type": "value",
|
|
560
|
+
"value": "under"
|
|
561
|
+
},
|
|
562
|
+
{
|
|
563
|
+
"name": "right",
|
|
564
|
+
"prose": "Draw marks to the right of the text in vertical typographic modes.",
|
|
565
|
+
"type": "value",
|
|
566
|
+
"value": "right"
|
|
567
|
+
},
|
|
568
|
+
{
|
|
569
|
+
"name": "left",
|
|
570
|
+
"prose": "Draw marks to the left of the text in vertical typographic modes.",
|
|
571
|
+
"type": "value",
|
|
572
|
+
"value": "left"
|
|
573
|
+
}
|
|
574
|
+
],
|
|
257
575
|
"styleDeclaration": [
|
|
258
576
|
"text-emphasis-position",
|
|
259
577
|
"textEmphasisPosition"
|
|
260
578
|
]
|
|
261
579
|
},
|
|
262
|
-
|
|
580
|
+
{
|
|
263
581
|
"name": "text-emphasis-skip",
|
|
264
582
|
"value": "spaces || punctuation || symbols || narrow",
|
|
265
583
|
"initial": "spaces punctuation",
|
|
@@ -269,12 +587,38 @@
|
|
|
269
587
|
"computedValue": "specified keyword(s)",
|
|
270
588
|
"canonicalOrder": "per grammar",
|
|
271
589
|
"animationType": "discrete",
|
|
590
|
+
"values": [
|
|
591
|
+
{
|
|
592
|
+
"name": "spaces",
|
|
593
|
+
"prose": "Skip word separators or other characters belonging to the Unicode separator category (Z*). (But note that emphasis marks are drawn for a space that combines with any combining characters.)",
|
|
594
|
+
"type": "value",
|
|
595
|
+
"value": "spaces"
|
|
596
|
+
},
|
|
597
|
+
{
|
|
598
|
+
"name": "punctuation",
|
|
599
|
+
"prose": "Skip punctuation. Punctuation in this definition includes characters belonging to the Unicode P* category that are not defined as symbols (see below).",
|
|
600
|
+
"type": "value",
|
|
601
|
+
"value": "punctuation"
|
|
602
|
+
},
|
|
603
|
+
{
|
|
604
|
+
"name": "symbols",
|
|
605
|
+
"prose": "Skip symbols. Symbols in this definition includes all typographic character units belonging to the Unicode S* general category as well as any which are NFKD-equivalent [UAX15] to the following characters from the Unicode Po category: # U+0023 NUMBER SIGN % U+0025 PERCENT SIGN ‰ U+2030 PER MILLE SIGN ‱ U+2031 PER TEN THOUSAND SIGN ٪ U+066A ARABIC PERCENT SIGN ؉ U+0609 ARABIC-INDIC PER MILLE SIGN ؊ U+060A ARABIC-INDIC PER TEN THOUSAND SIGN & U+0026 AMPERSAND ⁊ U+204A TIRONIAN SIGN E[[ @ U+0040 COMMERCIAL AT § U+00A7 SECTION SIGN ¶ U+00B6 PILCROW SIGN ⁋ U+204B REVERSED PILCROW SIGN ⁓ U+2053 SWUNG DASH 〽️ U+303D PART ALTERNATION MARK",
|
|
606
|
+
"type": "value",
|
|
607
|
+
"value": "symbols"
|
|
608
|
+
},
|
|
609
|
+
{
|
|
610
|
+
"name": "narrow",
|
|
611
|
+
"prose": "Skip characters where the East_Asian_Width property [UAX11] of the Unicode database [UAX44] is not F (Fullwidth) or W (Wide).",
|
|
612
|
+
"type": "value",
|
|
613
|
+
"value": "narrow"
|
|
614
|
+
}
|
|
615
|
+
],
|
|
272
616
|
"styleDeclaration": [
|
|
273
617
|
"text-emphasis-skip",
|
|
274
618
|
"textEmphasisSkip"
|
|
275
619
|
]
|
|
276
620
|
},
|
|
277
|
-
|
|
621
|
+
{
|
|
278
622
|
"name": "text-shadow",
|
|
279
623
|
"value": "none | <shadow>#",
|
|
280
624
|
"initial": "none",
|
|
@@ -289,7 +633,34 @@
|
|
|
289
633
|
"textShadow"
|
|
290
634
|
]
|
|
291
635
|
}
|
|
292
|
-
|
|
293
|
-
"atrules":
|
|
294
|
-
"
|
|
636
|
+
],
|
|
637
|
+
"atrules": [],
|
|
638
|
+
"selectors": [],
|
|
639
|
+
"values": [],
|
|
640
|
+
"warnings": [
|
|
641
|
+
{
|
|
642
|
+
"msg": "Dangling value",
|
|
643
|
+
"name": "<length>",
|
|
644
|
+
"prose": "Inset (positive) or outset (negative) the start/end of the affected line decorations. The following example offsets an extra thick underline 1em endwards with respect to the text h1 { text-decoration: underline 0.3em rgba(36,148,187,0.25); text-decoration-trim: 1em -1em; }",
|
|
645
|
+
"type": "value",
|
|
646
|
+
"value": "<length>",
|
|
647
|
+
"for": "text-decoration-skip-inset"
|
|
648
|
+
},
|
|
649
|
+
{
|
|
650
|
+
"msg": "Dangling value",
|
|
651
|
+
"name": "auto",
|
|
652
|
+
"value": "auto",
|
|
653
|
+
"pureSyntax": false,
|
|
654
|
+
"type": "value",
|
|
655
|
+
"for": "text-decoration-skip-inset"
|
|
656
|
+
},
|
|
657
|
+
{
|
|
658
|
+
"msg": "Dangling value",
|
|
659
|
+
"name": "open",
|
|
660
|
+
"prose": "The shape is hollow.",
|
|
661
|
+
"type": "value",
|
|
662
|
+
"value": "open",
|
|
663
|
+
"for": "text-text-emphasis"
|
|
664
|
+
}
|
|
665
|
+
]
|
|
295
666
|
}
|