@webref/css 6.23.0 → 7.0.0-alpha

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (122) hide show
  1. package/CHANGELOG.md +17 -0
  2. package/README.md +37 -22
  3. package/css.json +17754 -0
  4. package/index.js +2 -9
  5. package/package.json +1 -1
  6. package/CSS.json +0 -567
  7. package/SVG.json +0 -387
  8. package/compat.json +0 -784
  9. package/compositing.json +0 -178
  10. package/css-align.json +0 -559
  11. package/css-anchor-position.json +0 -1042
  12. package/css-animations-2.json +0 -377
  13. package/css-animations.json +0 -337
  14. package/css-backgrounds-4.json +0 -402
  15. package/css-backgrounds.json +0 -732
  16. package/css-borders.json +0 -1642
  17. package/css-box.json +0 -484
  18. package/css-break.json +0 -444
  19. package/css-cascade-6.json +0 -31
  20. package/css-cascade.json +0 -91
  21. package/css-color-5.json +0 -527
  22. package/css-color-6.json +0 -60
  23. package/css-color-adjust.json +0 -151
  24. package/css-color-hdr.json +0 -183
  25. package/css-color.json +0 -1759
  26. package/css-conditional-4.json +0 -23
  27. package/css-conditional-5.json +0 -505
  28. package/css-conditional.json +0 -50
  29. package/css-contain.json +0 -123
  30. package/css-content.json +0 -466
  31. package/css-counter-styles.json +0 -613
  32. package/css-display.json +0 -444
  33. package/css-easing.json +0 -149
  34. package/css-env.json +0 -109
  35. package/css-exclusions.json +0 -108
  36. package/css-extensions.json +0 -36
  37. package/css-flexbox.json +0 -259
  38. package/css-fonts-5.json +0 -385
  39. package/css-fonts.json +0 -1754
  40. package/css-forms.json +0 -281
  41. package/css-gaps.json +0 -544
  42. package/css-gcpm-4.json +0 -58
  43. package/css-gcpm.json +0 -138
  44. package/css-grid-3.json +0 -335
  45. package/css-grid.json +0 -824
  46. package/css-images-4.json +0 -367
  47. package/css-images-5.json +0 -43
  48. package/css-images.json +0 -373
  49. package/css-inline.json +0 -903
  50. package/css-layout-api.json +0 -21
  51. package/css-line-grid.json +0 -142
  52. package/css-link-params.json +0 -34
  53. package/css-lists.json +0 -337
  54. package/css-logical.json +0 -396
  55. package/css-masking.json +0 -717
  56. package/css-mixins.json +0 -58
  57. package/css-multicol.json +0 -253
  58. package/css-namespaces.json +0 -25
  59. package/css-nav.json +0 -121
  60. package/css-nesting.json +0 -17
  61. package/css-overflow-4.json +0 -428
  62. package/css-overflow-5.json +0 -226
  63. package/css-overflow.json +0 -379
  64. package/css-overscroll.json +0 -215
  65. package/css-page-floats.json +0 -296
  66. package/css-page.json +0 -382
  67. package/css-paint-api.json +0 -17
  68. package/css-position-4.json +0 -49
  69. package/css-position.json +0 -495
  70. package/css-properties-values-api.json +0 -39
  71. package/css-pseudo.json +0 -98
  72. package/css-regions.json +0 -59
  73. package/css-rhythm.json +0 -181
  74. package/css-round-display.json +0 -85
  75. package/css-ruby.json +0 -221
  76. package/css-scoping.json +0 -38
  77. package/css-scroll-anchoring.json +0 -43
  78. package/css-scroll-snap-2.json +0 -74
  79. package/css-scroll-snap.json +0 -643
  80. package/css-scrollbars.json +0 -82
  81. package/css-shadow-parts.json +0 -17
  82. package/css-shapes-2.json +0 -89
  83. package/css-shapes.json +0 -384
  84. package/css-size-adjust.json +0 -50
  85. package/css-sizing-4.json +0 -601
  86. package/css-sizing.json +0 -427
  87. package/css-speech.json +0 -985
  88. package/css-syntax.json +0 -263
  89. package/css-tables.json +0 -91
  90. package/css-text-4.json +0 -1516
  91. package/css-text-decor-4.json +0 -741
  92. package/css-text-decor.json +0 -337
  93. package/css-text.json +0 -670
  94. package/css-transforms-2.json +0 -329
  95. package/css-transforms.json +0 -213
  96. package/css-transitions-2.json +0 -47
  97. package/css-transitions.json +0 -119
  98. package/css-ui.json +0 -818
  99. package/css-values-5.json +0 -854
  100. package/css-values.json +0 -790
  101. package/css-variables.json +0 -29
  102. package/css-view-transitions-2.json +0 -152
  103. package/css-view-transitions.json +0 -77
  104. package/css-viewport.json +0 -43
  105. package/css-will-change.json +0 -64
  106. package/css-writing-modes.json +0 -256
  107. package/fill-stroke.json +0 -755
  108. package/filter-effects-2.json +0 -28
  109. package/filter-effects.json +0 -220
  110. package/html.json +0 -29
  111. package/mathml-core.json +0 -69
  112. package/mediaqueries-5.json +0 -915
  113. package/mediaqueries.json +0 -549
  114. package/motion.json +0 -303
  115. package/pointer-animations.json +0 -282
  116. package/scroll-animations.json +0 -519
  117. package/selectors-5.json +0 -22
  118. package/selectors.json +0 -604
  119. package/svg-strokes.json +0 -59
  120. package/upgrade-insecure-requests.json +0 -28
  121. package/webvtt.json +0 -33
  122. package/webxr-dom-overlays.json +0 -17
@@ -1,741 +0,0 @@
1
- {
2
- "spec": {
3
- "title": "CSS Text Decoration Module Level 4",
4
- "url": "https://drafts.csswg.org/css-text-decor-4/"
5
- },
6
- "properties": [
7
- {
8
- "name": "text-decoration-line",
9
- "href": "https://drafts.csswg.org/css-text-decor-4/#propdef-text-decoration-line",
10
- "value": "none | [ underline || overline || line-through || blink ] | spelling-error | grammar-error",
11
- "initial": "none",
12
- "appliesTo": "all elements",
13
- "inherited": "no (but see prose, above)",
14
- "percentages": "n/a",
15
- "computedValue": "specified keyword(s)",
16
- "canonicalOrder": "per grammar",
17
- "animationType": "discrete",
18
- "values": [
19
- {
20
- "name": "none",
21
- "prose": "Neither produces nor inhibits text decoration.",
22
- "href": "https://drafts.csswg.org/css-text-decor-4/#valdef-text-decoration-line-none",
23
- "type": "value",
24
- "value": "none"
25
- },
26
- {
27
- "name": "underline",
28
- "prose": "Each line of text is underlined.",
29
- "href": "https://drafts.csswg.org/css-text-decor-4/#valdef-text-decoration-line-underline",
30
- "type": "value",
31
- "value": "underline"
32
- },
33
- {
34
- "name": "overline",
35
- "prose": "Each line of text has a line over it (i.e. on the opposite side from an underline).",
36
- "href": "https://drafts.csswg.org/css-text-decor-4/#valdef-text-decoration-line-overline",
37
- "type": "value",
38
- "value": "overline"
39
- },
40
- {
41
- "name": "line-through",
42
- "prose": "Each line of text has a line through the middle.",
43
- "href": "https://drafts.csswg.org/css-text-decor-4/#valdef-text-decoration-line-line-through",
44
- "type": "value",
45
- "value": "line-through"
46
- },
47
- {
48
- "name": "blink",
49
- "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].",
50
- "href": "https://drafts.csswg.org/css-text-decor-4/#valdef-text-decoration-line-blink",
51
- "type": "value",
52
- "value": "blink"
53
- },
54
- {
55
- "name": "spelling-error",
56
- "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.",
57
- "href": "https://drafts.csswg.org/css-text-decor-4/#valdef-text-decoration-line-spelling-error",
58
- "type": "value",
59
- "value": "spelling-error"
60
- },
61
- {
62
- "name": "grammar-error",
63
- "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.",
64
- "href": "https://drafts.csswg.org/css-text-decor-4/#valdef-text-decoration-line-grammar-error",
65
- "type": "value",
66
- "value": "grammar-error"
67
- }
68
- ],
69
- "styleDeclaration": [
70
- "text-decoration-line",
71
- "textDecorationLine"
72
- ]
73
- },
74
- {
75
- "name": "text-decoration-style",
76
- "href": "https://drafts.csswg.org/css-text-decor-4/#propdef-text-decoration-style",
77
- "value": "solid | double | dotted | dashed | wavy",
78
- "initial": "solid",
79
- "appliesTo": "all elements",
80
- "inherited": "no",
81
- "percentages": "n/a",
82
- "computedValue": "specified keyword",
83
- "canonicalOrder": "per grammar",
84
- "animationType": "discrete",
85
- "values": [
86
- {
87
- "name": "wavy",
88
- "prose": "Values have the same meaning as for the border-style properties [CSS-BACKGROUNDS-3]. wavy indicates a wavy line.",
89
- "href": "https://drafts.csswg.org/css-text-decor-4/#valdef-text-decoration-style-wavy",
90
- "type": "value",
91
- "value": "wavy"
92
- }
93
- ],
94
- "styleDeclaration": [
95
- "text-decoration-style",
96
- "textDecorationStyle"
97
- ]
98
- },
99
- {
100
- "name": "text-decoration-color",
101
- "href": "https://drafts.csswg.org/css-text-decor-4/#propdef-text-decoration-color",
102
- "value": "<color>",
103
- "initial": "currentcolor",
104
- "appliesTo": "all elements",
105
- "inherited": "no",
106
- "percentages": "n/a",
107
- "computedValue": "computed color",
108
- "canonicalOrder": "per grammar",
109
- "animationType": "by computed value type",
110
- "styleDeclaration": [
111
- "text-decoration-color",
112
- "textDecorationColor"
113
- ]
114
- },
115
- {
116
- "name": "text-decoration-thickness",
117
- "href": "https://drafts.csswg.org/css-text-decor-4/#propdef-text-decoration-thickness",
118
- "value": "auto | from-font | <length-percentage>",
119
- "initial": "auto",
120
- "appliesTo": "all elements",
121
- "inherited": "no",
122
- "percentages": "N/A",
123
- "computedValue": "as specified, with <length-percentage> values computed",
124
- "canonicalOrder": "per grammar",
125
- "animationType": "by computed value",
126
- "values": [
127
- {
128
- "name": "auto",
129
- "prose": "The UA chooses an appropriate thickness for text decoration lines; see below.",
130
- "href": "https://drafts.csswg.org/css-text-decor-4/#valdef-text-decoration-thickness-auto",
131
- "type": "value",
132
- "value": "auto"
133
- },
134
- {
135
- "name": "from-font",
136
- "prose": "If the first available font has metrics indicating a preferred underline width, use that width, otherwise behaves as auto.",
137
- "href": "https://drafts.csswg.org/css-text-decor-4/#valdef-text-decoration-thickness-from-font",
138
- "type": "value",
139
- "value": "from-font"
140
- },
141
- {
142
- "name": "<length>",
143
- "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.",
144
- "href": "https://drafts.csswg.org/css-text-decor-4/#valdef-text-decoration-thickness-length",
145
- "type": "value",
146
- "value": "<length>"
147
- },
148
- {
149
- "name": "<percentage>",
150
- "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.",
151
- "href": "https://drafts.csswg.org/css-text-decor-4/#valdef-text-decoration-thickness-percentage",
152
- "type": "value",
153
- "value": "<percentage>"
154
- }
155
- ],
156
- "styleDeclaration": [
157
- "text-decoration-thickness",
158
- "textDecorationThickness"
159
- ]
160
- },
161
- {
162
- "name": "text-decoration",
163
- "href": "https://drafts.csswg.org/css-text-decor-4/#propdef-text-decoration",
164
- "value": "<'text-decoration-line'> || <'text-decoration-thickness'> || <'text-decoration-style'> || <'text-decoration-color'>",
165
- "initial": "see individual properties",
166
- "appliesTo": "see individual properties",
167
- "inherited": "see individual properties",
168
- "percentages": "see individual properties",
169
- "computedValue": "see individual properties",
170
- "animationType": "see individual properties",
171
- "canonicalOrder": "per grammar",
172
- "styleDeclaration": [
173
- "text-decoration",
174
- "textDecoration"
175
- ]
176
- },
177
- {
178
- "name": "text-underline-position",
179
- "href": "https://drafts.csswg.org/css-text-decor-4/#propdef-text-underline-position",
180
- "value": "auto | [ from-font | under ] || [ left | right ]",
181
- "initial": "auto",
182
- "appliesTo": "all elements",
183
- "inherited": "yes",
184
- "percentages": "n/a",
185
- "computedValue": "specified keyword(s)",
186
- "canonicalOrder": "per grammar",
187
- "animationType": "discrete",
188
- "values": [
189
- {
190
- "name": "auto",
191
- "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",
192
- "href": "https://drafts.csswg.org/css-text-decor-4/#underline-auto",
193
- "type": "value",
194
- "value": "auto"
195
- },
196
- {
197
- "name": "from-font",
198
- "prose": "If the first available font has metrics indicating a preferred underline offset, use that offset, otherwise behaves as auto.",
199
- "href": "https://drafts.csswg.org/css-text-decor-4/#valdef-text-underline-position-from-font",
200
- "type": "value",
201
- "value": "from-font"
202
- },
203
- {
204
- "name": "under",
205
- "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; }",
206
- "href": "https://drafts.csswg.org/css-text-decor-4/#underline-under",
207
- "type": "value",
208
- "value": "under"
209
- },
210
- {
211
- "name": "left",
212
- "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.",
213
- "href": "https://drafts.csswg.org/css-text-decor-4/#underline-left",
214
- "type": "value",
215
- "value": "left"
216
- },
217
- {
218
- "name": "right",
219
- "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.",
220
- "href": "https://drafts.csswg.org/css-text-decor-4/#underline-right",
221
- "type": "value",
222
- "value": "right"
223
- }
224
- ],
225
- "styleDeclaration": [
226
- "text-underline-position",
227
- "textUnderlinePosition"
228
- ]
229
- },
230
- {
231
- "name": "text-underline-offset",
232
- "href": "https://drafts.csswg.org/css-text-decor-4/#propdef-text-underline-offset",
233
- "value": "auto | <length-percentage>",
234
- "initial": "auto",
235
- "appliesTo": "all elements",
236
- "inherited": "yes",
237
- "percentages": "N/A",
238
- "computedValue": "as specified, with <length-percentage> values computed",
239
- "canonicalOrder": "per grammar",
240
- "animationType": "by computed value",
241
- "values": [
242
- {
243
- "name": "auto",
244
- "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.",
245
- "href": "https://drafts.csswg.org/css-text-decor-4/#valdef-text-underline-offset-auto",
246
- "type": "value",
247
- "value": "auto"
248
- },
249
- {
250
- "name": "<length>",
251
- "prose": "Specifies the offset of underlines as a fixed length.",
252
- "href": "https://drafts.csswg.org/css-text-decor-4/#valdef-text-underline-offset-length",
253
- "type": "value",
254
- "value": "<length>"
255
- },
256
- {
257
- "name": "<percentage>",
258
- "prose": "Specifies the offset of underlines as a percentage of 1em.",
259
- "href": "https://drafts.csswg.org/css-text-decor-4/#valdef-text-underline-offset-percentage",
260
- "type": "value",
261
- "value": "<percentage>"
262
- }
263
- ],
264
- "styleDeclaration": [
265
- "text-underline-offset",
266
- "textUnderlineOffset"
267
- ]
268
- },
269
- {
270
- "name": "text-decoration-trim",
271
- "href": "https://drafts.csswg.org/css-text-decor-4/#propdef-text-decoration-trim",
272
- "value": "<length>{1,2} | auto",
273
- "initial": "0",
274
- "appliesTo": "all elements",
275
- "inherited": "no",
276
- "percentages": "N/A",
277
- "computedValue": "specified keyword or absolute length",
278
- "canonicalOrder": "per grammar",
279
- "animationType": "by computed value",
280
- "styleDeclaration": [
281
- "text-decoration-trim",
282
- "textDecorationTrim"
283
- ]
284
- },
285
- {
286
- "name": "text-decoration-skip",
287
- "href": "https://drafts.csswg.org/css-text-decor-4/#propdef-text-decoration-skip",
288
- "value": "none | auto",
289
- "initial": "See individual properties",
290
- "appliesTo": "all elements",
291
- "inherited": "yes",
292
- "percentages": "N/A",
293
- "computedValue": "See individual properties",
294
- "canonicalOrder": "per grammar",
295
- "animationType": "discrete",
296
- "values": [
297
- {
298
- "name": "none",
299
- "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.",
300
- "href": "https://drafts.csswg.org/css-text-decor-4/#valdef-text-decoration-skip-none",
301
- "type": "value",
302
- "value": "none"
303
- },
304
- {
305
- "name": "auto",
306
- "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.",
307
- "href": "https://drafts.csswg.org/css-text-decor-4/#valdef-text-decoration-skip-auto",
308
- "type": "value",
309
- "value": "auto"
310
- }
311
- ],
312
- "styleDeclaration": [
313
- "text-decoration-skip",
314
- "textDecorationSkip"
315
- ]
316
- },
317
- {
318
- "name": "text-decoration-skip-self",
319
- "href": "https://drafts.csswg.org/css-text-decor-4/#propdef-text-decoration-skip-self",
320
- "value": "auto | skip-all | [ skip-underline || skip-overline || skip-line-through ] | no-skip",
321
- "initial": "auto",
322
- "appliesTo": "all elements",
323
- "inherited": "no",
324
- "percentages": "N/A",
325
- "computedValue": "specified keyword(s) except for skip-all, see below",
326
- "canonicalOrder": "per grammar",
327
- "animationType": "discrete",
328
- "values": [
329
- {
330
- "name": "auto",
331
- "prose": "Skip this element (its entire margin box) if it is an atomic inline (such as an image or inline-block).",
332
- "href": "https://drafts.csswg.org/css-text-decor-4/#valdef-text-decoration-skip-self-auto",
333
- "type": "value",
334
- "value": "auto"
335
- },
336
- {
337
- "name": "skip-all",
338
- "prose": "Skip this element (its entire margin box) unconditionally. Don’t draw across it, don’t propagate to it.",
339
- "href": "https://drafts.csswg.org/css-text-decor-4/#valdef-text-decoration-skip-self-skip-all",
340
- "type": "value",
341
- "value": "skip-all"
342
- },
343
- {
344
- "name": "skip-underline",
345
- "prose": "Skip this element (its entire margin box) unconditionally when drawing ancestor underlines.",
346
- "href": "https://drafts.csswg.org/css-text-decor-4/#valdef-text-decoration-skip-self-skip-underline",
347
- "type": "value",
348
- "value": "skip-underline"
349
- },
350
- {
351
- "name": "skip-overline",
352
- "prose": "Skip this element (its entire margin box) unconditionally when drawing ancestor overlines.",
353
- "href": "https://drafts.csswg.org/css-text-decor-4/#valdef-text-decoration-skip-self-skip-overline",
354
- "type": "value",
355
- "value": "skip-overline"
356
- },
357
- {
358
- "name": "skip-line-through",
359
- "prose": "Skip this element (its entire margin box) unconditionally when drawing ancestor line-throughs.",
360
- "href": "https://drafts.csswg.org/css-text-decor-4/#valdef-text-decoration-skip-self-skip-line-through",
361
- "type": "value",
362
- "value": "skip-line-through"
363
- },
364
- {
365
- "name": "no-skip",
366
- "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.",
367
- "href": "https://drafts.csswg.org/css-text-decor-4/#valdef-text-decoration-skip-self-no-skip",
368
- "type": "value",
369
- "value": "no-skip"
370
- }
371
- ],
372
- "styleDeclaration": [
373
- "text-decoration-skip-self",
374
- "textDecorationSkipSelf"
375
- ]
376
- },
377
- {
378
- "name": "text-decoration-skip-box",
379
- "href": "https://drafts.csswg.org/css-text-decor-4/#propdef-text-decoration-skip-box",
380
- "value": "none | all",
381
- "initial": "none",
382
- "appliesTo": "all elements",
383
- "inherited": "yes",
384
- "percentages": "N/A",
385
- "computedValue": "specified keyword(s)",
386
- "canonicalOrder": "per grammar",
387
- "animationType": "discrete",
388
- "values": [
389
- {
390
- "name": "none",
391
- "prose": "Skip nothing: line decorations from ancestor decorating boxes are drawn from margin edge to margin edge.",
392
- "href": "https://drafts.csswg.org/css-text-decor-4/#valdef-text-decoration-skip-box-none",
393
- "type": "value",
394
- "value": "none"
395
- },
396
- {
397
- "name": "all",
398
- "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.",
399
- "href": "https://drafts.csswg.org/css-text-decor-4/#valdef-text-decoration-skip-box-all",
400
- "type": "value",
401
- "value": "all"
402
- }
403
- ],
404
- "styleDeclaration": [
405
- "text-decoration-skip-box",
406
- "textDecorationSkipBox"
407
- ]
408
- },
409
- {
410
- "name": "text-decoration-skip-spaces",
411
- "href": "https://drafts.csswg.org/css-text-decor-4/#propdef-text-decoration-skip-spaces",
412
- "value": "none | all | [ start || end ]",
413
- "initial": "start end",
414
- "appliesTo": "all elements",
415
- "inherited": "yes",
416
- "percentages": "N/A",
417
- "computedValue": "specified keyword(s)",
418
- "canonicalOrder": "per grammar",
419
- "animationType": "discrete",
420
- "values": [
421
- {
422
- "name": "none",
423
- "prose": "Spacers are not skipped. They are decorated just like any other character.",
424
- "href": "https://drafts.csswg.org/css-text-decor-4/#valdef-text-decoration-skip-spaces-none",
425
- "type": "value",
426
- "value": "none"
427
- },
428
- {
429
- "name": "all",
430
- "prose": "Skip all spacers and all word separators plus any adjacent letter-spacing or word-spacing.",
431
- "href": "https://drafts.csswg.org/css-text-decor-4/#valdef-text-decoration-skip-spaces-all",
432
- "type": "value",
433
- "value": "all"
434
- },
435
- {
436
- "name": "start",
437
- "prose": "Skip all spacers, plus any adjacent letter-spacing or word-spacing, when located at the start of the line.",
438
- "href": "https://drafts.csswg.org/css-text-decor-4/#valdef-text-decoration-skip-spaces-start",
439
- "type": "value",
440
- "value": "start"
441
- },
442
- {
443
- "name": "end",
444
- "prose": "Skip all spacers, plus any adjacent letter-spacing or word-spacing, when located at the end of the line.",
445
- "href": "https://drafts.csswg.org/css-text-decor-4/#valdef-text-decoration-skip-spaces-end",
446
- "type": "value",
447
- "value": "end"
448
- }
449
- ],
450
- "styleDeclaration": [
451
- "text-decoration-skip-spaces",
452
- "textDecorationSkipSpaces"
453
- ]
454
- },
455
- {
456
- "name": "text-decoration-skip-ink",
457
- "href": "https://drafts.csswg.org/css-text-decor-4/#propdef-text-decoration-skip-ink",
458
- "value": "auto | none | all",
459
- "initial": "auto",
460
- "appliesTo": "all elements",
461
- "inherited": "yes",
462
- "percentages": "N/A",
463
- "computedValue": "specified keyword",
464
- "canonicalOrder": "per grammar",
465
- "animationType": "discrete",
466
- "values": [
467
- {
468
- "name": "auto",
469
- "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.",
470
- "href": "https://drafts.csswg.org/css-text-decor-4/#valdef-text-decoration-skip-ink-auto",
471
- "type": "value",
472
- "value": "auto"
473
- },
474
- {
475
- "name": "all",
476
- "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.",
477
- "href": "https://drafts.csswg.org/css-text-decor-4/#valdef-text-decoration-skip-ink-all",
478
- "type": "value",
479
- "value": "all"
480
- },
481
- {
482
- "name": "none",
483
- "prose": "UA must draw continuous underlines and overlines, without interruptions when they cross over a glyph.",
484
- "href": "https://drafts.csswg.org/css-text-decor-4/#valdef-text-decoration-skip-ink-none",
485
- "type": "value",
486
- "value": "none"
487
- }
488
- ],
489
- "styleDeclaration": [
490
- "text-decoration-skip-ink",
491
- "textDecorationSkipInk"
492
- ]
493
- },
494
- {
495
- "name": "text-emphasis-style",
496
- "href": "https://drafts.csswg.org/css-text-decor-4/#propdef-text-emphasis-style",
497
- "value": "none | [ [ filled | open ] || [ dot | circle | double-circle | triangle | sesame ] ] | <string>",
498
- "initial": "none",
499
- "appliesTo": "text",
500
- "inherited": "yes",
501
- "percentages": "n/a",
502
- "computedValue": "the keyword none, a pair of keywords representing the shape and fill, or a string",
503
- "canonicalOrder": "per grammar",
504
- "animationType": "discrete",
505
- "values": [
506
- {
507
- "name": "none",
508
- "prose": "No emphasis marks.",
509
- "href": "https://drafts.csswg.org/css-text-decor-4/#valdef-text-emphasis-style-none",
510
- "type": "value",
511
- "value": "none"
512
- },
513
- {
514
- "name": "filled",
515
- "prose": "The shape is filled with solid color.",
516
- "href": "https://drafts.csswg.org/css-text-decor-4/#valdef-text-emphasis-style-filled",
517
- "type": "value",
518
- "value": "filled"
519
- },
520
- {
521
- "name": "dot",
522
- "prose": "Display small circles as marks. The filled dot is U+2022 '•', and the open dot is U+25E6 '◦'.",
523
- "href": "https://drafts.csswg.org/css-text-decor-4/#valdef-text-emphasis-style-dot",
524
- "type": "value",
525
- "value": "dot"
526
- },
527
- {
528
- "name": "circle",
529
- "prose": "Display large circles as marks. The filled circle is U+25CF '●', and the open circle is U+25CB '○'.",
530
- "href": "https://drafts.csswg.org/css-text-decor-4/#valdef-text-emphasis-style-circle",
531
- "type": "value",
532
- "value": "circle"
533
- },
534
- {
535
- "name": "double-circle",
536
- "prose": "Display double circles as marks. The filled double-circle is U+25C9 '◉', and the open double-circle is U+25CE '◎'.",
537
- "href": "https://drafts.csswg.org/css-text-decor-4/#valdef-text-emphasis-style-double-circle",
538
- "type": "value",
539
- "value": "double-circle"
540
- },
541
- {
542
- "name": "triangle",
543
- "prose": "Display triangles as marks. The filled triangle is U+25B2 '▲', and the open triangle is U+25B3 '△'.",
544
- "href": "https://drafts.csswg.org/css-text-decor-4/#valdef-text-emphasis-style-triangle",
545
- "type": "value",
546
- "value": "triangle"
547
- },
548
- {
549
- "name": "sesame",
550
- "prose": "Display sesames as marks. The filled sesame is U+FE45 '﹅', and the open sesame is U+FE46 '﹆'.",
551
- "href": "https://drafts.csswg.org/css-text-decor-4/#valdef-text-emphasis-style-sesame",
552
- "type": "value",
553
- "value": "sesame"
554
- },
555
- {
556
- "name": "<string>",
557
- "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.",
558
- "href": "https://drafts.csswg.org/css-text-decor-4/#valdef-text-emphasis-style-string",
559
- "type": "value",
560
- "value": "<string>"
561
- }
562
- ],
563
- "styleDeclaration": [
564
- "text-emphasis-style",
565
- "textEmphasisStyle"
566
- ]
567
- },
568
- {
569
- "name": "text-emphasis-color",
570
- "href": "https://drafts.csswg.org/css-text-decor-4/#propdef-text-emphasis-color",
571
- "value": "<color>",
572
- "initial": "currentcolor",
573
- "appliesTo": "text",
574
- "inherited": "yes",
575
- "percentages": "n/a",
576
- "computedValue": "computed color",
577
- "canonicalOrder": "per grammar",
578
- "animationType": "by computed value type",
579
- "styleDeclaration": [
580
- "text-emphasis-color",
581
- "textEmphasisColor"
582
- ]
583
- },
584
- {
585
- "name": "text-emphasis",
586
- "href": "https://drafts.csswg.org/css-text-decor-4/#propdef-text-emphasis",
587
- "value": "<'text-emphasis-style'> || <'text-emphasis-color'>",
588
- "initial": "see individual properties",
589
- "appliesTo": "see individual properties",
590
- "inherited": "see individual properties",
591
- "percentages": "see individual properties",
592
- "computedValue": "see individual properties",
593
- "animationType": "see individual properties",
594
- "canonicalOrder": "per grammar",
595
- "styleDeclaration": [
596
- "text-emphasis",
597
- "textEmphasis"
598
- ]
599
- },
600
- {
601
- "name": "text-emphasis-position",
602
- "href": "https://drafts.csswg.org/css-text-decor-4/#propdef-text-emphasis-position",
603
- "value": "[ over | under ] && [ right | left ]?",
604
- "initial": "over right",
605
- "appliesTo": "text",
606
- "inherited": "yes",
607
- "percentages": "n/a",
608
- "computedValue": "specified keyword(s)",
609
- "canonicalOrder": "per grammar",
610
- "animationType": "discrete",
611
- "values": [
612
- {
613
- "name": "over",
614
- "prose": "Draw marks over the text in horizontal typographic modes.",
615
- "href": "https://drafts.csswg.org/css-text-decor-4/#valdef-text-emphasis-position-over",
616
- "type": "value",
617
- "value": "over"
618
- },
619
- {
620
- "name": "under",
621
- "prose": "Draw marks under the text in horizontal typographic modes.",
622
- "href": "https://drafts.csswg.org/css-text-decor-4/#valdef-text-emphasis-position-under",
623
- "type": "value",
624
- "value": "under"
625
- },
626
- {
627
- "name": "right",
628
- "prose": "Draw marks to the right of the text in vertical typographic modes.",
629
- "href": "https://drafts.csswg.org/css-text-decor-4/#valdef-text-emphasis-position-right",
630
- "type": "value",
631
- "value": "right"
632
- },
633
- {
634
- "name": "left",
635
- "prose": "Draw marks to the left of the text in vertical typographic modes.",
636
- "href": "https://drafts.csswg.org/css-text-decor-4/#valdef-text-emphasis-position-left",
637
- "type": "value",
638
- "value": "left"
639
- }
640
- ],
641
- "styleDeclaration": [
642
- "text-emphasis-position",
643
- "textEmphasisPosition"
644
- ]
645
- },
646
- {
647
- "name": "text-emphasis-skip",
648
- "href": "https://drafts.csswg.org/css-text-decor-4/#propdef-text-emphasis-skip",
649
- "value": "spaces || punctuation || symbols || narrow",
650
- "initial": "spaces punctuation",
651
- "appliesTo": "text",
652
- "inherited": "yes",
653
- "percentages": "N/A",
654
- "computedValue": "specified keyword(s)",
655
- "canonicalOrder": "per grammar",
656
- "animationType": "discrete",
657
- "values": [
658
- {
659
- "name": "spaces",
660
- "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.)",
661
- "href": "https://drafts.csswg.org/css-text-decor-4/#valdef-text-emphasis-skip-spaces",
662
- "type": "value",
663
- "value": "spaces"
664
- },
665
- {
666
- "name": "punctuation",
667
- "prose": "Skip punctuation. Punctuation in this definition includes characters belonging to the Unicode P* category that are not defined as symbols (see below).",
668
- "href": "https://drafts.csswg.org/css-text-decor-4/#valdef-text-emphasis-skip-punctuation",
669
- "type": "value",
670
- "value": "punctuation"
671
- },
672
- {
673
- "name": "symbols",
674
- "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",
675
- "href": "https://drafts.csswg.org/css-text-decor-4/#valdef-text-emphasis-skip-symbols",
676
- "type": "value",
677
- "value": "symbols"
678
- },
679
- {
680
- "name": "narrow",
681
- "prose": "Skip characters where the East_Asian_Width property [[!UAX11]] of the Unicode database [[!UAX44]] is not F (Fullwidth) or W (Wide).",
682
- "href": "https://drafts.csswg.org/css-text-decor-4/#valdef-text-emphasis-skip-narrow",
683
- "type": "value",
684
- "value": "narrow"
685
- }
686
- ],
687
- "styleDeclaration": [
688
- "text-emphasis-skip",
689
- "textEmphasisSkip"
690
- ]
691
- },
692
- {
693
- "name": "text-shadow",
694
- "href": "https://drafts.csswg.org/css-text-decor-4/#propdef-text-shadow",
695
- "value": "none | <shadow>#",
696
- "initial": "none",
697
- "appliesTo": "text",
698
- "inherited": "yes",
699
- "percentages": "n/a",
700
- "computedValue": "either the keyword none or a list, each item consisting of four absolute lengths plus a computed color and optionally also an inset keyword",
701
- "canonicalOrder": "per grammar",
702
- "animationType": "as shadow list",
703
- "styleDeclaration": [
704
- "text-shadow",
705
- "textShadow"
706
- ]
707
- }
708
- ],
709
- "atrules": [],
710
- "selectors": [],
711
- "values": [],
712
- "warnings": [
713
- {
714
- "msg": "Dangling value",
715
- "name": "<length>",
716
- "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; }",
717
- "href": "https://drafts.csswg.org/css-text-decor-4/#valdef-text-decoration-skip-inset-length",
718
- "type": "value",
719
- "value": "<length>",
720
- "for": "text-decoration-skip-inset"
721
- },
722
- {
723
- "msg": "Dangling value",
724
- "name": "auto",
725
- "prose": "The UA chooses a trim amount that ensures that if two identical underlined elements appear side-by-side they do not appear to have a single underline. (This is important in Chinese, where underlining is a form of punctuation.) text-decoration-skip-inset: auto for <u>石井</u><u>艾俐俐</u>",
726
- "href": "https://drafts.csswg.org/css-text-decor-4/#valdef-text-decoration-skip-inset-auto",
727
- "type": "value",
728
- "value": "auto",
729
- "for": "text-decoration-skip-inset"
730
- },
731
- {
732
- "msg": "Dangling value",
733
- "name": "open",
734
- "prose": "The shape is hollow.",
735
- "href": "https://drafts.csswg.org/css-text-decor-4/#valdef-text-text-emphasis-open",
736
- "type": "value",
737
- "value": "open",
738
- "for": "text-text-emphasis"
739
- }
740
- ]
741
- }