@webref/css 6.10.4 → 6.11.1

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 (114) hide show
  1. package/CSS.json +83 -8
  2. package/README.md +1 -0
  3. package/SVG.json +27 -0
  4. package/compat.json +75 -0
  5. package/compositing.json +22 -0
  6. package/css-align.json +59 -0
  7. package/css-anchor-position.json +247 -81
  8. package/css-animations-2.json +13 -0
  9. package/css-animations.json +34 -0
  10. package/css-backgrounds-4.json +12 -0
  11. package/css-backgrounds.json +78 -0
  12. package/css-borders.json +91 -0
  13. package/css-box.json +48 -0
  14. package/css-break.json +50 -0
  15. package/css-cascade-6.json +3 -0
  16. package/css-cascade.json +10 -0
  17. package/css-color-5.json +74 -0
  18. package/css-color-6.json +6 -0
  19. package/css-color-adjust.json +14 -0
  20. package/css-color.json +272 -0
  21. package/css-conditional-4.json +2 -0
  22. package/css-conditional-5.json +7 -0
  23. package/css-conditional.json +6 -0
  24. package/css-contain-3.json +27 -0
  25. package/css-contain.json +12 -0
  26. package/css-content.json +86 -13
  27. package/css-counter-styles.json +85 -0
  28. package/css-display.json +48 -0
  29. package/css-easing.json +24 -0
  30. package/css-env.json +11 -0
  31. package/css-exclusions.json +11 -0
  32. package/css-extensions.json +4 -0
  33. package/css-flexbox.json +24 -0
  34. package/css-fonts-5.json +49 -3
  35. package/css-fonts.json +207 -2
  36. package/css-gcpm-4.json +10 -4
  37. package/css-gcpm.json +13 -1
  38. package/css-grid-3.json +1 -0
  39. package/css-grid.json +88 -0
  40. package/css-highlight-api.json +3 -1
  41. package/css-images-4.json +49 -0
  42. package/css-images-5.json +3 -0
  43. package/css-images.json +46 -0
  44. package/css-inline.json +93 -0
  45. package/css-layout-api.json +1 -0
  46. package/css-line-grid.json +14 -0
  47. package/css-link-params.json +2 -0
  48. package/css-lists.json +34 -0
  49. package/css-logical.json +27 -0
  50. package/css-masking.json +69 -0
  51. package/css-multicol-2.json +5 -0
  52. package/css-multicol.json +19 -0
  53. package/css-namespaces.json +2 -0
  54. package/css-nav.json +10 -0
  55. package/css-nesting.json +2 -1
  56. package/css-overflow-4.json +37 -1
  57. package/css-overflow.json +38 -0
  58. package/css-overscroll.json +20 -0
  59. package/css-page-floats.json +34 -0
  60. package/css-page.json +52 -0
  61. package/css-paint-api.json +1 -0
  62. package/css-position-4.json +5 -1
  63. package/css-position.json +50 -0
  64. package/css-properties-values-api.json +4 -0
  65. package/css-pseudo.json +23 -10
  66. package/css-regions.json +3 -0
  67. package/css-rhythm.json +15 -0
  68. package/css-round-display.json +8 -0
  69. package/css-ruby.json +22 -0
  70. package/css-scoping.json +8 -4
  71. package/css-scroll-anchoring.json +3 -0
  72. package/css-scroll-snap-2.json +55 -5
  73. package/css-scroll-snap.json +53 -0
  74. package/css-scrollbars.json +7 -0
  75. package/css-shadow-parts.json +1 -0
  76. package/css-shapes-2.json +34 -0
  77. package/css-shapes.json +22 -0
  78. package/css-size-adjust.json +4 -0
  79. package/css-sizing-4.json +59 -0
  80. package/css-sizing.json +42 -0
  81. package/css-speech.json +115 -0
  82. package/css-syntax.json +43 -0
  83. package/css-tables.json +5 -0
  84. package/css-text-4.json +161 -0
  85. package/css-text-decor-4.json +75 -0
  86. package/css-text-decor.json +32 -0
  87. package/css-text.json +70 -0
  88. package/css-transforms-2.json +37 -0
  89. package/css-transforms.json +26 -0
  90. package/css-transitions-2.json +4 -0
  91. package/css-transitions.json +9 -0
  92. package/css-ui.json +92 -0
  93. package/css-values-5.json +59 -0
  94. package/css-values.json +115 -0
  95. package/css-variables.json +2 -0
  96. package/css-view-transitions-2.json +49 -3
  97. package/css-view-transitions.json +16 -13
  98. package/css-viewport.json +43 -0
  99. package/css-will-change.json +6 -0
  100. package/css-writing-modes.json +26 -0
  101. package/fill-stroke.json +66 -0
  102. package/filter-effects-2.json +1 -0
  103. package/filter-effects.json +24 -0
  104. package/html.json +3 -0
  105. package/mathml-core.json +3 -0
  106. package/mediaqueries-5.json +121 -0
  107. package/mediaqueries.json +77 -0
  108. package/motion.json +32 -0
  109. package/package.json +1 -1
  110. package/scroll-animations.json +54 -0
  111. package/selectors.json +173 -72
  112. package/svg-strokes.json +3 -0
  113. package/upgrade-insecure-requests.json +2 -0
  114. package/webvtt.json +8 -4
package/css-inline.json CHANGED
@@ -6,6 +6,7 @@
6
6
  "properties": [
7
7
  {
8
8
  "name": "dominant-baseline",
9
+ "href": "https://drafts.csswg.org/css-inline-3/#propdef-dominant-baseline",
9
10
  "value": "auto | text-bottom | alphabetic | ideographic | middle | central | mathematical | hanging | text-top",
10
11
  "initial": "auto",
11
12
  "appliesTo": "block containers, inline boxes, table rows, grid containers, flex containers, and SVG text content elements",
@@ -18,54 +19,63 @@
18
19
  {
19
20
  "name": "auto",
20
21
  "prose": "Equivalent to alphabetic in horizontal writing modes and in vertical writing modes when text-orientation is sideways. Equivalent to central in vertical writing modes when text-orientation is mixed or upright. However, in SVG text, the origin point of glyphs (used for coordinate-based glyph positioning) is always handled as for central in vertical writing modes.",
22
+ "href": "https://drafts.csswg.org/css-inline-3/#valdef-dominant-baseline-auto",
21
23
  "type": "value",
22
24
  "value": "auto"
23
25
  },
24
26
  {
25
27
  "name": "text-bottom",
26
28
  "prose": "Use the text-under baselines.",
29
+ "href": "https://drafts.csswg.org/css-inline-3/#valdef-dominant-baseline-text-bottom",
27
30
  "type": "value",
28
31
  "value": "text-bottom"
29
32
  },
30
33
  {
31
34
  "name": "alphabetic",
32
35
  "prose": "Use the alphabetic baselines.",
36
+ "href": "https://drafts.csswg.org/css-inline-3/#valdef-dominant-baseline-alphabetic",
33
37
  "type": "value",
34
38
  "value": "alphabetic"
35
39
  },
36
40
  {
37
41
  "name": "ideographic",
38
42
  "prose": "Use the ideographic-under baselines.",
43
+ "href": "https://drafts.csswg.org/css-inline-3/#valdef-dominant-baseline-ideographic",
39
44
  "type": "value",
40
45
  "value": "ideographic"
41
46
  },
42
47
  {
43
48
  "name": "middle",
44
49
  "prose": "Use the x-middle baselines; except under text-orientation: upright (where the alphabetic and x-height baselines are essentially meaningless) use the central baseline.",
50
+ "href": "https://drafts.csswg.org/css-inline-3/#valdef-dominant-baseline-middle",
45
51
  "type": "value",
46
52
  "value": "middle"
47
53
  },
48
54
  {
49
55
  "name": "central",
50
56
  "prose": "Use the central baselines.",
57
+ "href": "https://drafts.csswg.org/css-inline-3/#valdef-dominant-baseline-central",
51
58
  "type": "value",
52
59
  "value": "central"
53
60
  },
54
61
  {
55
62
  "name": "mathematical",
56
63
  "prose": "Use the math baselines.",
64
+ "href": "https://drafts.csswg.org/css-inline-3/#valdef-dominant-baseline-mathematical",
57
65
  "type": "value",
58
66
  "value": "mathematical"
59
67
  },
60
68
  {
61
69
  "name": "hanging",
62
70
  "prose": "Use the hanging baselines.",
71
+ "href": "https://drafts.csswg.org/css-inline-3/#valdef-dominant-baseline-hanging",
63
72
  "type": "value",
64
73
  "value": "hanging"
65
74
  },
66
75
  {
67
76
  "name": "text-top",
68
77
  "prose": "Use the text-over baselines.",
78
+ "href": "https://drafts.csswg.org/css-inline-3/#valdef-dominant-baseline-text-top",
69
79
  "type": "value",
70
80
  "value": "text-top"
71
81
  }
@@ -77,6 +87,7 @@
77
87
  },
78
88
  {
79
89
  "name": "vertical-align",
90
+ "href": "https://drafts.csswg.org/css-inline-3/#propdef-vertical-align",
80
91
  "value": "[ first | last] || <'alignment-baseline'> || <'baseline-shift'>",
81
92
  "initial": "baseline",
82
93
  "appliesTo": "see individual properties",
@@ -89,108 +100,126 @@
89
100
  {
90
101
  "name": "auto",
91
102
  "prose": "Specifies last-baseline alignment for inline-block, first-baseline alignment for everything else.",
103
+ "href": "https://drafts.csswg.org/css-inline-3/#valdef-baseline-source-auto",
92
104
  "type": "value",
93
105
  "value": "auto"
94
106
  },
95
107
  {
96
108
  "name": "first",
97
109
  "prose": "Specifies first-baseline alignment.",
110
+ "href": "https://drafts.csswg.org/css-inline-3/#valdef-baseline-source-first",
98
111
  "type": "value",
99
112
  "value": "first"
100
113
  },
101
114
  {
102
115
  "name": "last",
103
116
  "prose": "Specifies last-baseline alignment.",
117
+ "href": "https://drafts.csswg.org/css-inline-3/#valdef-baseline-source-last",
104
118
  "type": "value",
105
119
  "value": "last"
106
120
  },
107
121
  {
108
122
  "name": "baseline",
109
123
  "prose": "Use the dominant baseline choice of the parent.",
124
+ "href": "https://drafts.csswg.org/css-inline-3/#valdef-alignment-baseline-baseline",
110
125
  "type": "value",
111
126
  "value": "baseline"
112
127
  },
113
128
  {
114
129
  "name": "text-bottom",
115
130
  "prose": "Use the text-under baseline.",
131
+ "href": "https://drafts.csswg.org/css-inline-3/#valdef-alignment-baseline-text-bottom",
116
132
  "type": "value",
117
133
  "value": "text-bottom"
118
134
  },
119
135
  {
120
136
  "name": "alphabetic",
121
137
  "prose": "Use the alphabetic baseline.",
138
+ "href": "https://drafts.csswg.org/css-inline-3/#valdef-alignment-baseline-alphabetic",
122
139
  "type": "value",
123
140
  "value": "alphabetic"
124
141
  },
125
142
  {
126
143
  "name": "ideographic",
127
144
  "prose": "Use the ideographic-under baseline.",
145
+ "href": "https://drafts.csswg.org/css-inline-3/#valdef-alignment-baseline-ideographic",
128
146
  "type": "value",
129
147
  "value": "ideographic"
130
148
  },
131
149
  {
132
150
  "name": "middle",
133
151
  "prose": "In general, use the x-middle baselines; except under text-orientation: upright (where the alphabetic and x-height baselines are essentially meaningless) use the central baseline instead.",
152
+ "href": "https://drafts.csswg.org/css-inline-3/#valdef-alignment-baseline-middle",
134
153
  "type": "value",
135
154
  "value": "middle"
136
155
  },
137
156
  {
138
157
  "name": "central",
139
158
  "prose": "Use the central baseline.",
159
+ "href": "https://drafts.csswg.org/css-inline-3/#valdef-alignment-baseline-central",
140
160
  "type": "value",
141
161
  "value": "central"
142
162
  },
143
163
  {
144
164
  "name": "mathematical",
145
165
  "prose": "Use the math baseline.",
166
+ "href": "https://drafts.csswg.org/css-inline-3/#valdef-alignment-baseline-mathematical",
146
167
  "type": "value",
147
168
  "value": "mathematical"
148
169
  },
149
170
  {
150
171
  "name": "text-top",
151
172
  "prose": "Use the text-over baseline.",
173
+ "href": "https://drafts.csswg.org/css-inline-3/#valdef-alignment-baseline-text-top",
152
174
  "type": "value",
153
175
  "value": "text-top"
154
176
  },
155
177
  {
156
178
  "name": "<length>",
157
179
  "prose": "Raise (positive value) or lower (negative value) by the specified length.",
180
+ "href": "https://drafts.csswg.org/css-inline-3/#valdef-baseline-shift-length",
158
181
  "type": "value",
159
182
  "value": "<length>"
160
183
  },
161
184
  {
162
185
  "name": "<percentage>",
163
186
  "prose": "Raise (positive value) or lower (negative value) by the specified percentage of the line-height.",
187
+ "href": "https://drafts.csswg.org/css-inline-3/#valdef-baseline-shift-percentage",
164
188
  "type": "value",
165
189
  "value": "<percentage>"
166
190
  },
167
191
  {
168
192
  "name": "sub",
169
193
  "prose": "Lower by the offset appropriate for subscripts of the parent’s box. The UA may use the parent’s font metrics to find this offset; otherwise it defaults to dropping by one fifth of the parent’s used font-size.",
194
+ "href": "https://drafts.csswg.org/css-inline-3/#valdef-baseline-shift-sub",
170
195
  "type": "value",
171
196
  "value": "sub"
172
197
  },
173
198
  {
174
199
  "name": "super",
175
200
  "prose": "Raise by the offset appropriate for superscripts of the parent’s box. The UA may use the parent’s font metrics to find this offset; otherwise it defaults to raising by one third of the parent’s used font-size.",
201
+ "href": "https://drafts.csswg.org/css-inline-3/#valdef-baseline-shift-super",
176
202
  "type": "value",
177
203
  "value": "super"
178
204
  },
179
205
  {
180
206
  "name": "top",
181
207
  "prose": "Align the line-over edge of the aligned subtree with the line-over edge of the line box.",
208
+ "href": "https://drafts.csswg.org/css-inline-3/#valdef-baseline-shift-top",
182
209
  "type": "value",
183
210
  "value": "top"
184
211
  },
185
212
  {
186
213
  "name": "center",
187
214
  "prose": "Align the center of the aligned subtree with the center of the line box.",
215
+ "href": "https://drafts.csswg.org/css-inline-3/#valdef-baseline-shift-center",
188
216
  "type": "value",
189
217
  "value": "center"
190
218
  },
191
219
  {
192
220
  "name": "bottom",
193
221
  "prose": "Align the line-under edge of the aligned subtree with the line-under edge of the line box.",
222
+ "href": "https://drafts.csswg.org/css-inline-3/#valdef-baseline-shift-bottom",
194
223
  "type": "value",
195
224
  "value": "bottom"
196
225
  }
@@ -202,6 +231,7 @@
202
231
  },
203
232
  {
204
233
  "name": "baseline-source",
234
+ "href": "https://drafts.csswg.org/css-inline-3/#propdef-baseline-source",
205
235
  "value": "auto | first | last",
206
236
  "initial": "auto",
207
237
  "appliesTo": "inline-level boxes",
@@ -214,18 +244,21 @@
214
244
  {
215
245
  "name": "auto",
216
246
  "prose": "Specifies last-baseline alignment for inline-block, first-baseline alignment for everything else.",
247
+ "href": "https://drafts.csswg.org/css-inline-3/#valdef-baseline-source-auto",
217
248
  "type": "value",
218
249
  "value": "auto"
219
250
  },
220
251
  {
221
252
  "name": "first",
222
253
  "prose": "Specifies first-baseline alignment.",
254
+ "href": "https://drafts.csswg.org/css-inline-3/#valdef-baseline-source-first",
223
255
  "type": "value",
224
256
  "value": "first"
225
257
  },
226
258
  {
227
259
  "name": "last",
228
260
  "prose": "Specifies last-baseline alignment.",
261
+ "href": "https://drafts.csswg.org/css-inline-3/#valdef-baseline-source-last",
229
262
  "type": "value",
230
263
  "value": "last"
231
264
  }
@@ -237,6 +270,7 @@
237
270
  },
238
271
  {
239
272
  "name": "alignment-baseline",
273
+ "href": "https://drafts.csswg.org/css-inline-3/#propdef-alignment-baseline",
240
274
  "value": "baseline | text-bottom | alphabetic | ideographic | middle | central | mathematical | text-top",
241
275
  "initial": "baseline",
242
276
  "appliesTo": "inline-level boxes, flex items, grid items, table cells, and SVG text content elements",
@@ -249,58 +283,68 @@
249
283
  {
250
284
  "name": "baseline",
251
285
  "prose": "Use the dominant baseline choice of the parent.",
286
+ "href": "https://drafts.csswg.org/css-inline-3/#valdef-alignment-baseline-baseline",
252
287
  "type": "value",
253
288
  "value": "baseline"
254
289
  },
255
290
  {
256
291
  "name": "text-bottom",
257
292
  "prose": "Use the text-under baseline.",
293
+ "href": "https://drafts.csswg.org/css-inline-3/#valdef-alignment-baseline-text-bottom",
258
294
  "type": "value",
259
295
  "value": "text-bottom"
260
296
  },
261
297
  {
262
298
  "name": "alphabetic",
263
299
  "prose": "Use the alphabetic baseline.",
300
+ "href": "https://drafts.csswg.org/css-inline-3/#valdef-alignment-baseline-alphabetic",
264
301
  "type": "value",
265
302
  "value": "alphabetic"
266
303
  },
267
304
  {
268
305
  "name": "ideographic",
269
306
  "prose": "Use the ideographic-under baseline.",
307
+ "href": "https://drafts.csswg.org/css-inline-3/#valdef-alignment-baseline-ideographic",
270
308
  "type": "value",
271
309
  "value": "ideographic"
272
310
  },
273
311
  {
274
312
  "name": "middle",
275
313
  "prose": "In general, use the x-middle baselines; except under text-orientation: upright (where the alphabetic and x-height baselines are essentially meaningless) use the central baseline instead.",
314
+ "href": "https://drafts.csswg.org/css-inline-3/#valdef-alignment-baseline-middle",
276
315
  "type": "value",
277
316
  "value": "middle"
278
317
  },
279
318
  {
280
319
  "name": "central",
281
320
  "prose": "Use the central baseline.",
321
+ "href": "https://drafts.csswg.org/css-inline-3/#valdef-alignment-baseline-central",
282
322
  "type": "value",
283
323
  "value": "central"
284
324
  },
285
325
  {
286
326
  "name": "mathematical",
287
327
  "prose": "Use the math baseline.",
328
+ "href": "https://drafts.csswg.org/css-inline-3/#valdef-alignment-baseline-mathematical",
288
329
  "type": "value",
289
330
  "value": "mathematical"
290
331
  },
291
332
  {
292
333
  "name": "text-top",
293
334
  "prose": "Use the text-over baseline.",
335
+ "href": "https://drafts.csswg.org/css-inline-3/#valdef-alignment-baseline-text-top",
294
336
  "type": "value",
295
337
  "value": "text-top"
296
338
  },
297
339
  {
298
340
  "name": "text-before-edge",
341
+ "href": "https://drafts.csswg.org/css-inline-3/#valdef-alignment-baseline-text-before-edge",
299
342
  "type": "value",
300
343
  "value": "text-top"
301
344
  },
302
345
  {
303
346
  "name": "text-after-edge",
347
+ "href": "https://drafts.csswg.org/css-inline-3/#valdef-alignment-baseline-text-after-edge",
304
348
  "type": "value",
305
349
  "value": "text-bottom"
306
350
  }
@@ -312,6 +356,7 @@
312
356
  },
313
357
  {
314
358
  "name": "baseline-shift",
359
+ "href": "https://drafts.csswg.org/css-inline-3/#propdef-baseline-shift",
315
360
  "value": "<length-percentage> | sub | super | top | center | bottom",
316
361
  "initial": "0",
317
362
  "appliesTo": "inline-level boxes and SVG text content elements",
@@ -324,48 +369,56 @@
324
369
  {
325
370
  "name": "<length>",
326
371
  "prose": "Raise (positive value) or lower (negative value) by the specified length.",
372
+ "href": "https://drafts.csswg.org/css-inline-3/#valdef-baseline-shift-length",
327
373
  "type": "value",
328
374
  "value": "<length>"
329
375
  },
330
376
  {
331
377
  "name": "<percentage>",
332
378
  "prose": "Raise (positive value) or lower (negative value) by the specified percentage of the line-height.",
379
+ "href": "https://drafts.csswg.org/css-inline-3/#valdef-baseline-shift-percentage",
333
380
  "type": "value",
334
381
  "value": "<percentage>"
335
382
  },
336
383
  {
337
384
  "name": "sub",
338
385
  "prose": "Lower by the offset appropriate for subscripts of the parent’s box. The UA may use the parent’s font metrics to find this offset; otherwise it defaults to dropping by one fifth of the parent’s used font-size.",
386
+ "href": "https://drafts.csswg.org/css-inline-3/#valdef-baseline-shift-sub",
339
387
  "type": "value",
340
388
  "value": "sub"
341
389
  },
342
390
  {
343
391
  "name": "super",
344
392
  "prose": "Raise by the offset appropriate for superscripts of the parent’s box. The UA may use the parent’s font metrics to find this offset; otherwise it defaults to raising by one third of the parent’s used font-size.",
393
+ "href": "https://drafts.csswg.org/css-inline-3/#valdef-baseline-shift-super",
345
394
  "type": "value",
346
395
  "value": "super"
347
396
  },
348
397
  {
349
398
  "name": "top",
350
399
  "prose": "Align the line-over edge of the aligned subtree with the line-over edge of the line box.",
400
+ "href": "https://drafts.csswg.org/css-inline-3/#valdef-baseline-shift-top",
351
401
  "type": "value",
352
402
  "value": "top"
353
403
  },
354
404
  {
355
405
  "name": "center",
356
406
  "prose": "Align the center of the aligned subtree with the center of the line box.",
407
+ "href": "https://drafts.csswg.org/css-inline-3/#valdef-baseline-shift-center",
357
408
  "type": "value",
358
409
  "value": "center"
359
410
  },
360
411
  {
361
412
  "name": "bottom",
362
413
  "prose": "Align the line-under edge of the aligned subtree with the line-under edge of the line box.",
414
+ "href": "https://drafts.csswg.org/css-inline-3/#valdef-baseline-shift-bottom",
363
415
  "type": "value",
364
416
  "value": "bottom"
365
417
  },
366
418
  {
367
419
  "name": "baseline",
368
420
  "prose": "User agents may additionally support the keyword baseline as computing to 0 if is necessary for them to support legacy SVG content. This value is not allowed in the vertical-align shorthand.",
421
+ "href": "https://drafts.csswg.org/css-inline-3/#valdef-baseline-shift-baseline",
369
422
  "type": "value",
370
423
  "value": "baseline"
371
424
  }
@@ -377,6 +430,7 @@
377
430
  },
378
431
  {
379
432
  "name": "line-height",
433
+ "href": "https://drafts.csswg.org/css-inline-3/#propdef-line-height",
380
434
  "value": "normal | <number [0,∞]> | <length-percentage [0,∞]>",
381
435
  "initial": "normal",
382
436
  "appliesTo": "non-replaced inline boxes and SVG text content elements",
@@ -389,24 +443,28 @@
389
443
  {
390
444
  "name": "normal",
391
445
  "prose": "Determine the preferred line height automatically based on font metrics.",
446
+ "href": "https://drafts.csswg.org/css-inline-3/#valdef-line-height-normal",
392
447
  "type": "value",
393
448
  "value": "normal"
394
449
  },
395
450
  {
396
451
  "name": "<length [0,∞]>",
397
452
  "prose": "The specified length is used as the preferred line height. Negative values are illegal.",
453
+ "href": "https://drafts.csswg.org/css-inline-3/#valdef-line-height-length-0",
398
454
  "type": "value",
399
455
  "value": "<length [0,∞]>"
400
456
  },
401
457
  {
402
458
  "name": "<number [0,∞]>",
403
459
  "prose": "The preferred line height is this number multiplied by the element’s computed font-size. Negative values are illegal. The computed value is the same as the specified value.",
460
+ "href": "https://drafts.csswg.org/css-inline-3/#valdef-line-height-number-0",
404
461
  "type": "value",
405
462
  "value": "<number [0,∞]>"
406
463
  },
407
464
  {
408
465
  "name": "<percentage [0,∞]>",
409
466
  "prose": "The preferred line height and computed value of the property is this percentage of the element’s computed font-size. Negative values are illegal.",
467
+ "href": "https://drafts.csswg.org/css-inline-3/#valdef-line-height-percentage-0",
410
468
  "type": "value",
411
469
  "value": "<percentage [0,∞]>"
412
470
  }
@@ -418,6 +476,7 @@
418
476
  },
419
477
  {
420
478
  "name": "text-box-edge",
479
+ "href": "https://drafts.csswg.org/css-inline-3/#propdef-text-box-edge",
421
480
  "value": "leading | [ text | cap | ex | ideographic | ideographic-ink ] [ text | alphabetic | ideographic | ideographic-ink ]?",
422
481
  "initial": "leading",
423
482
  "appliesTo": "inline boxes",
@@ -430,42 +489,49 @@
430
489
  {
431
490
  "name": "leading",
432
491
  "prose": "Use the ascent/descent plus any positive half-leading. Margin/padding/border is ignored for the purpose of sizing the line box.",
492
+ "href": "https://drafts.csswg.org/css-inline-3/#valdef-text-box-edge-leading",
433
493
  "type": "value",
434
494
  "value": "leading"
435
495
  },
436
496
  {
437
497
  "name": "text",
438
498
  "prose": "Use the text-over baseline/text-under baseline.",
499
+ "href": "https://drafts.csswg.org/css-inline-3/#valdef-text-box-edge-text",
439
500
  "type": "value",
440
501
  "value": "text"
441
502
  },
442
503
  {
443
504
  "name": "cap",
444
505
  "prose": "Use the cap-height baseline.",
506
+ "href": "https://drafts.csswg.org/css-inline-3/#valdef-text-box-edge-cap",
445
507
  "type": "value",
446
508
  "value": "cap"
447
509
  },
448
510
  {
449
511
  "name": "ex",
450
512
  "prose": "Use the x-height baseline.",
513
+ "href": "https://drafts.csswg.org/css-inline-3/#valdef-text-box-edge-ex",
451
514
  "type": "value",
452
515
  "value": "ex"
453
516
  },
454
517
  {
455
518
  "name": "ideographic",
456
519
  "prose": "Use the ideographic-over baseline/ideographic-under baseline.",
520
+ "href": "https://drafts.csswg.org/css-inline-3/#valdef-text-box-edge-ideographic",
457
521
  "type": "value",
458
522
  "value": "ideographic"
459
523
  },
460
524
  {
461
525
  "name": "ideographic-ink",
462
526
  "prose": "Use the ideographic-ink-over baseline/ideographic-ink-under baseline.",
527
+ "href": "https://drafts.csswg.org/css-inline-3/#valdef-text-box-edge-ideographic-ink",
463
528
  "type": "value",
464
529
  "value": "ideographic-ink"
465
530
  },
466
531
  {
467
532
  "name": "alphabetic",
468
533
  "prose": "Use the alphabetic baseline.",
534
+ "href": "https://drafts.csswg.org/css-inline-3/#valdef-text-box-edge-alphabetic",
469
535
  "type": "value",
470
536
  "value": "alphabetic"
471
537
  }
@@ -477,6 +543,7 @@
477
543
  },
478
544
  {
479
545
  "name": "text-box-trim",
546
+ "href": "https://drafts.csswg.org/css-inline-3/#propdef-text-box-trim",
480
547
  "value": "none | start | end | both",
481
548
  "initial": "none",
482
549
  "appliesTo": "block containers and inline boxes",
@@ -489,24 +556,28 @@
489
556
  {
490
557
  "name": "none",
491
558
  "prose": "No special handling of the first/last line box when applied to a block container. When applied to an inline box, specifies that the over/under content edges coincide with the text-over/text-under baselines regardless of text-box-edge (which nonetheless still affects line box sizing).",
559
+ "href": "https://drafts.csswg.org/css-inline-3/#valdef-text-box-trim-none",
492
560
  "type": "value",
493
561
  "value": "none"
494
562
  },
495
563
  {
496
564
  "name": "start",
497
565
  "prose": "For block containers: trim the block-start side of the first formatted line to the corresponding text-box-edge metric of its root inline box. If there is no such line, or if there is intervening non-zero padding or borders, there is no effect. For inline boxes: trims the block-start side of the box to match its content edge to the metric specified by text-box-edge (treating leading as text).",
566
+ "href": "https://drafts.csswg.org/css-inline-3/#valdef-text-box-trim-start",
498
567
  "type": "value",
499
568
  "value": "start"
500
569
  },
501
570
  {
502
571
  "name": "end",
503
572
  "prose": "For block containers: trim the block-end side of the last formatted line to the corresponding text-box-edge metric of its root inline box. If there is no such line, or if there is intervening non-zero padding or borders, there is no effect. For inline boxes: trims the block-end side of the box to match its content edge to the metric specified by text-box-edge (treating leading as text).",
573
+ "href": "https://drafts.csswg.org/css-inline-3/#valdef-text-box-trim-end",
504
574
  "type": "value",
505
575
  "value": "end"
506
576
  },
507
577
  {
508
578
  "name": "both",
509
579
  "prose": "Specifies the behavior of start and end simultaneously.",
580
+ "href": "https://drafts.csswg.org/css-inline-3/#valdef-text-box-trim-both",
510
581
  "type": "value",
511
582
  "value": "both"
512
583
  }
@@ -518,6 +589,7 @@
518
589
  },
519
590
  {
520
591
  "name": "inline-sizing",
592
+ "href": "https://drafts.csswg.org/css-inline-3/#propdef-inline-sizing",
521
593
  "value": "normal | stretch",
522
594
  "initial": "normal",
523
595
  "appliesTo": "inline boxes, but not ruby container boxes nor internal ruby boxes",
@@ -530,12 +602,14 @@
530
602
  {
531
603
  "name": "normal",
532
604
  "prose": "The content area of the inline box is sized and positioned to fit (possibly hypothetical) text from its first available font. This specification does not specify how. A UA may, e.g., use the maximum ascender and descender of the font. (This would ensure that glyphs with parts above or below the em-box still fall within the content area, but leads to differently sized boxes for different fonts.)",
605
+ "href": "https://drafts.csswg.org/css-inline-3/#valdef-inline-sizing-normal",
533
606
  "type": "value",
534
607
  "value": "normal"
535
608
  },
536
609
  {
537
610
  "name": "stretch",
538
611
  "prose": "Once the line box has been sized and its contents positioned as for normal, the inline box’s box edges are shifted such that its over/under margin edges coincide with the corresponding line box’s edges, stretching the inline box’s inner logical height so that its block-axis outer size fills the line box. (The sizes and positions of its in-flow contents are not affected.)",
612
+ "href": "https://drafts.csswg.org/css-inline-3/#valdef-inline-sizing-stretch",
539
613
  "type": "value",
540
614
  "value": "stretch"
541
615
  }
@@ -547,6 +621,7 @@
547
621
  },
548
622
  {
549
623
  "name": "initial-letter",
624
+ "href": "https://drafts.csswg.org/css-inline-3/#propdef-initial-letter",
550
625
  "value": "normal | <number [1,∞]> <integer [1,∞]> | <number [1,∞]> && [ drop | raise ]?",
551
626
  "initial": "normal",
552
627
  "appliesTo": "certain inline-level boxes and ::first-letter and inside ::marker boxes (see prose)",
@@ -559,30 +634,35 @@
559
634
  {
560
635
  "name": "normal",
561
636
  "prose": "No special initial letter effect. Text behaves as normal.",
637
+ "href": "https://drafts.csswg.org/css-inline-3/#valdef-initial-letter-normal",
562
638
  "type": "value",
563
639
  "value": "normal"
564
640
  },
565
641
  {
566
642
  "name": "<number [1,∞]>",
567
643
  "prose": "This first argument defines the size of the initial letter in terms of how many lines it occupies. Values less than one are invalid.",
644
+ "href": "https://drafts.csswg.org/css-inline-3/#valdef-initial-letter-number-1",
568
645
  "type": "value",
569
646
  "value": "<number [1,∞]>"
570
647
  },
571
648
  {
572
649
  "name": "<integer [1,∞]>",
573
650
  "prose": "This optional second argument defines the number of lines the initial letter should sink. A value of 1 indicates a raised initial; values greater than 1 indicate a sunken initial. Values less than one are invalid.",
651
+ "href": "https://drafts.csswg.org/css-inline-3/#valdef-initial-letter-integer-1",
574
652
  "type": "value",
575
653
  "value": "<integer [1,∞]>"
576
654
  },
577
655
  {
578
656
  "name": "raise",
579
657
  "prose": "Computes to an initial letter sink of 1.",
658
+ "href": "https://drafts.csswg.org/css-inline-3/#valdef-initial-letter-raise",
580
659
  "type": "value",
581
660
  "value": "raise"
582
661
  },
583
662
  {
584
663
  "name": "drop",
585
664
  "prose": "Computes to an initial letter sink equal to the initial letter size floored to the nearest positive whole number.",
665
+ "href": "https://drafts.csswg.org/css-inline-3/#valdef-initial-letter-drop",
586
666
  "type": "value",
587
667
  "value": "drop"
588
668
  }
@@ -594,6 +674,7 @@
594
674
  },
595
675
  {
596
676
  "name": "initial-letter-align",
677
+ "href": "https://drafts.csswg.org/css-inline-3/#propdef-initial-letter-align",
597
678
  "value": "[ border-box? [ alphabetic | ideographic | hanging | leading ]? ]!",
598
679
  "initial": "alphabetic",
599
680
  "appliesTo": "certain inline-level boxes and ::first-letter and inside ::marker boxes (see prose)",
@@ -606,30 +687,35 @@
606
687
  {
607
688
  "name": "alphabetic",
608
689
  "prose": "Use the cap-height and alphabetic baselines of the surrounding text to align the initial letter.",
690
+ "href": "https://drafts.csswg.org/css-inline-3/#valdef-initial-letter-align-alphabetic",
609
691
  "type": "value",
610
692
  "value": "alphabetic"
611
693
  },
612
694
  {
613
695
  "name": "ideographic",
614
696
  "prose": "Use the ideographic-ink-over and ideographic-ink-under baselines of the surrounding text to align the initial letter.",
697
+ "href": "https://drafts.csswg.org/css-inline-3/#valdef-initial-letter-align-ideographic",
615
698
  "type": "value",
616
699
  "value": "ideographic"
617
700
  },
618
701
  {
619
702
  "name": "hanging",
620
703
  "prose": "Use the hanging and alphabetic baselines of the surrounding text to align the initial letter.",
704
+ "href": "https://drafts.csswg.org/css-inline-3/#valdef-initial-letter-align-hanging",
621
705
  "type": "value",
622
706
  "value": "hanging"
623
707
  },
624
708
  {
625
709
  "name": "leading",
626
710
  "prose": "Use the over/under half-leading edges (i.e. ascent/descent + half-leading) of the surrounding text to align the initial letter.",
711
+ "href": "https://drafts.csswg.org/css-inline-3/#valdef-initial-letter-align-leading",
627
712
  "type": "value",
628
713
  "value": "leading"
629
714
  },
630
715
  {
631
716
  "name": "border-box",
632
717
  "prose": "Use the initial letter box’s line-under and line-over border edges as the over and under alignment points, respectively.",
718
+ "href": "https://drafts.csswg.org/css-inline-3/#valdef-initial-letter-align-border-box",
633
719
  "type": "value",
634
720
  "value": "border-box"
635
721
  }
@@ -641,6 +727,7 @@
641
727
  },
642
728
  {
643
729
  "name": "initial-letter-wrap",
730
+ "href": "https://drafts.csswg.org/css-inline-3/#propdef-initial-letter-wrap",
644
731
  "value": "none | first | all | grid | <length-percentage>",
645
732
  "initial": "none",
646
733
  "appliesTo": "certain inline-level boxes and ::first-letter and inside ::marker boxes (see prose)",
@@ -653,36 +740,42 @@
653
740
  {
654
741
  "name": "none",
655
742
  "prose": "No contour-fitting is performed: each impacted line is aligned flush to the inline-end margin edge of the initial letter.",
743
+ "href": "https://drafts.csswg.org/css-inline-3/#valdef-initial-letter-wrap-none",
656
744
  "type": "value",
657
745
  "value": "none"
658
746
  },
659
747
  {
660
748
  "name": "first",
661
749
  "prose": "Behaves as none if the first typographic character unit after the initial letter belongs to Unicode General Category Zs. Otherwise behaves as for all on the first line of the block containing the initial letter and as none on the rest. This example shows why contour-fitting the first line is necessary, and why it is dropped when the initial letter is followed by a space: In the top paragraph, the initial letter \"A\" has a word space after it: the gap between the top of the \"A\" and the next letter provides the necessary word separation. In the next paragraph, the initial letter \"A\" is part of the first word, and leaving a gap between the top of the \"A\" and the next letter would create a jarring visual break within the word. In this case, the first line of text should be kerned into the initial letter’s area, as shown in the bottom paragraph. Do we need an unconditional first? (I.e. Should we rename this value to auto and add a first value that does not check for spaces?) See GitHub issue 410",
750
+ "href": "https://drafts.csswg.org/css-inline-3/#valdef-initial-letter-wrap-first",
662
751
  "type": "value",
663
752
  "value": "first"
664
753
  },
665
754
  {
666
755
  "name": "all",
667
756
  "prose": "For each line of text impacted by the initial letter, the line box adjacent to the initial letter starts at the start-most point that does not overlap the initial letter’s glyph outline. If the value of shape-outside is not none, shape-outside is used instead of the glyph outline. In both cases, shape-margin is applied to expand the outline, and the resulting outline is clipped by the initial letter’s margin edges.",
757
+ "href": "https://drafts.csswg.org/css-inline-3/#valdef-initial-letter-wrap-all",
668
758
  "type": "value",
669
759
  "value": "all"
670
760
  },
671
761
  {
672
762
  "name": "grid",
673
763
  "prose": "This value is the same as none, except that the exclusion area of the impacted lines is increased as necessary for its end-edge to land on the character grid, i.e. to be a multiple of (1ic + letter-spacing) as computed on the containing block. The justify-self property can then be used to align the initial letter box within the exclusion area. Diagram of Japanese initial letter in vertical writing mode",
764
+ "href": "https://drafts.csswg.org/css-inline-3/#valdef-initial-letter-wrap-grid",
674
765
  "type": "value",
675
766
  "value": "grid"
676
767
  },
677
768
  {
678
769
  "name": "<length>",
679
770
  "prose": "This value behaves the same as first except that the adjustment to the first line is given explicitly instead of being inferred from the glyph shape. This really needs font-relative lengths to be relative to the used size. In the following example, UAs that support first will use the glyph outline plus the specified margin in order to place the first line, whereas UAs that only support <length> or <percentage> values will pull in the first line by 40% of the initial letter’s width (and then add the margin to that point). h1 + p:first-letter { initial-letter: 3; /* 3-line drop-cap */ initial-letter-wrap: first; margin-right: 0.1em; } @supports (not (initial-letter-wrap: first)) { /* Classes auto-generated on paragraphs to match first letter. */ p.A:first-letter { initial-letter-wrap: -40%; /* Start of glyph outline, assuming correct font. */ } } These values and related annoyance is likely unnecessary if someone submits a patch to Blink to support first.",
771
+ "href": "https://drafts.csswg.org/css-inline-3/#valdef-initial-letter-wrap-length",
680
772
  "type": "value",
681
773
  "value": "<length>"
682
774
  },
683
775
  {
684
776
  "name": "<percentage>",
685
777
  "prose": "This value behaves the same as first except that the adjustment to the first line is given explicitly instead of being inferred from the glyph shape. This really needs font-relative lengths to be relative to the used size. In the following example, UAs that support first will use the glyph outline plus the specified margin in order to place the first line, whereas UAs that only support <length> or <percentage> values will pull in the first line by 40% of the initial letter’s width (and then add the margin to that point). h1 + p:first-letter { initial-letter: 3; /* 3-line drop-cap */ initial-letter-wrap: first; margin-right: 0.1em; } @supports (not (initial-letter-wrap: first)) { /* Classes auto-generated on paragraphs to match first letter. */ p.A:first-letter { initial-letter-wrap: -40%; /* Start of glyph outline, assuming correct font. */ } } These values and related annoyance is likely unnecessary if someone submits a patch to Blink to support first.",
778
+ "href": "https://drafts.csswg.org/css-inline-3/#valdef-initial-letter-wrap-percentage",
686
779
  "type": "value",
687
780
  "value": "<percentage>"
688
781
  }