@webref/css 6.23.0 → 7.0.0-alpha
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +17 -0
- package/README.md +37 -22
- package/css.json +17754 -0
- package/index.js +2 -9
- package/package.json +1 -1
- package/CSS.json +0 -567
- package/SVG.json +0 -387
- package/compat.json +0 -784
- package/compositing.json +0 -178
- package/css-align.json +0 -559
- package/css-anchor-position.json +0 -1042
- package/css-animations-2.json +0 -377
- package/css-animations.json +0 -337
- package/css-backgrounds-4.json +0 -402
- package/css-backgrounds.json +0 -732
- package/css-borders.json +0 -1642
- package/css-box.json +0 -484
- package/css-break.json +0 -444
- package/css-cascade-6.json +0 -31
- package/css-cascade.json +0 -91
- package/css-color-5.json +0 -527
- package/css-color-6.json +0 -60
- package/css-color-adjust.json +0 -151
- package/css-color-hdr.json +0 -183
- package/css-color.json +0 -1759
- package/css-conditional-4.json +0 -23
- package/css-conditional-5.json +0 -505
- package/css-conditional.json +0 -50
- package/css-contain.json +0 -123
- package/css-content.json +0 -466
- package/css-counter-styles.json +0 -613
- package/css-display.json +0 -444
- package/css-easing.json +0 -149
- package/css-env.json +0 -109
- package/css-exclusions.json +0 -108
- package/css-extensions.json +0 -36
- package/css-flexbox.json +0 -259
- package/css-fonts-5.json +0 -385
- package/css-fonts.json +0 -1754
- package/css-forms.json +0 -281
- package/css-gaps.json +0 -544
- package/css-gcpm-4.json +0 -58
- package/css-gcpm.json +0 -138
- package/css-grid-3.json +0 -335
- package/css-grid.json +0 -824
- package/css-images-4.json +0 -367
- package/css-images-5.json +0 -43
- package/css-images.json +0 -373
- package/css-inline.json +0 -903
- package/css-layout-api.json +0 -21
- package/css-line-grid.json +0 -142
- package/css-link-params.json +0 -34
- package/css-lists.json +0 -337
- package/css-logical.json +0 -396
- package/css-masking.json +0 -717
- package/css-mixins.json +0 -58
- package/css-multicol.json +0 -253
- package/css-namespaces.json +0 -25
- package/css-nav.json +0 -121
- package/css-nesting.json +0 -17
- package/css-overflow-4.json +0 -428
- package/css-overflow-5.json +0 -226
- package/css-overflow.json +0 -379
- package/css-overscroll.json +0 -215
- package/css-page-floats.json +0 -296
- package/css-page.json +0 -382
- package/css-paint-api.json +0 -17
- package/css-position-4.json +0 -49
- package/css-position.json +0 -495
- package/css-properties-values-api.json +0 -39
- package/css-pseudo.json +0 -98
- package/css-regions.json +0 -59
- package/css-rhythm.json +0 -181
- package/css-round-display.json +0 -85
- package/css-ruby.json +0 -221
- package/css-scoping.json +0 -38
- package/css-scroll-anchoring.json +0 -43
- package/css-scroll-snap-2.json +0 -74
- package/css-scroll-snap.json +0 -643
- package/css-scrollbars.json +0 -82
- package/css-shadow-parts.json +0 -17
- package/css-shapes-2.json +0 -89
- package/css-shapes.json +0 -384
- package/css-size-adjust.json +0 -50
- package/css-sizing-4.json +0 -601
- package/css-sizing.json +0 -427
- package/css-speech.json +0 -985
- package/css-syntax.json +0 -263
- package/css-tables.json +0 -91
- package/css-text-4.json +0 -1516
- package/css-text-decor-4.json +0 -741
- package/css-text-decor.json +0 -337
- package/css-text.json +0 -670
- package/css-transforms-2.json +0 -329
- package/css-transforms.json +0 -213
- package/css-transitions-2.json +0 -47
- package/css-transitions.json +0 -119
- package/css-ui.json +0 -818
- package/css-values-5.json +0 -854
- package/css-values.json +0 -790
- package/css-variables.json +0 -29
- package/css-view-transitions-2.json +0 -152
- package/css-view-transitions.json +0 -77
- package/css-viewport.json +0 -43
- package/css-will-change.json +0 -64
- package/css-writing-modes.json +0 -256
- package/fill-stroke.json +0 -755
- package/filter-effects-2.json +0 -28
- package/filter-effects.json +0 -220
- package/html.json +0 -29
- package/mathml-core.json +0 -69
- package/mediaqueries-5.json +0 -915
- package/mediaqueries.json +0 -549
- package/motion.json +0 -303
- package/pointer-animations.json +0 -282
- package/scroll-animations.json +0 -519
- package/selectors-5.json +0 -22
- package/selectors.json +0 -604
- package/svg-strokes.json +0 -59
- package/upgrade-insecure-requests.json +0 -28
- package/webvtt.json +0 -33
- package/webxr-dom-overlays.json +0 -17
package/css-inline.json
DELETED
|
@@ -1,903 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"spec": {
|
|
3
|
-
"title": "CSS Inline Layout Module Level 3",
|
|
4
|
-
"url": "https://drafts.csswg.org/css-inline-3/"
|
|
5
|
-
},
|
|
6
|
-
"properties": [
|
|
7
|
-
{
|
|
8
|
-
"name": "dominant-baseline",
|
|
9
|
-
"href": "https://drafts.csswg.org/css-inline-3/#propdef-dominant-baseline",
|
|
10
|
-
"value": "auto | text-bottom | alphabetic | ideographic | middle | central | mathematical | hanging | text-top",
|
|
11
|
-
"initial": "auto",
|
|
12
|
-
"appliesTo": "block containers, inline boxes, table rows, grid containers, flex containers, and SVG text content elements",
|
|
13
|
-
"inherited": "yes",
|
|
14
|
-
"percentages": "N/A",
|
|
15
|
-
"computedValue": "specified keyword",
|
|
16
|
-
"canonicalOrder": "per grammar",
|
|
17
|
-
"animationType": "discrete",
|
|
18
|
-
"values": [
|
|
19
|
-
{
|
|
20
|
-
"name": "auto",
|
|
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",
|
|
23
|
-
"type": "value",
|
|
24
|
-
"value": "auto"
|
|
25
|
-
},
|
|
26
|
-
{
|
|
27
|
-
"name": "text-bottom",
|
|
28
|
-
"prose": "Use the text-under baselines.",
|
|
29
|
-
"href": "https://drafts.csswg.org/css-inline-3/#valdef-dominant-baseline-text-bottom",
|
|
30
|
-
"type": "value",
|
|
31
|
-
"value": "text-bottom"
|
|
32
|
-
},
|
|
33
|
-
{
|
|
34
|
-
"name": "alphabetic",
|
|
35
|
-
"prose": "Use the alphabetic baselines.",
|
|
36
|
-
"href": "https://drafts.csswg.org/css-inline-3/#valdef-dominant-baseline-alphabetic",
|
|
37
|
-
"type": "value",
|
|
38
|
-
"value": "alphabetic"
|
|
39
|
-
},
|
|
40
|
-
{
|
|
41
|
-
"name": "ideographic",
|
|
42
|
-
"prose": "Use the ideographic-under baselines.",
|
|
43
|
-
"href": "https://drafts.csswg.org/css-inline-3/#valdef-dominant-baseline-ideographic",
|
|
44
|
-
"type": "value",
|
|
45
|
-
"value": "ideographic"
|
|
46
|
-
},
|
|
47
|
-
{
|
|
48
|
-
"name": "middle",
|
|
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",
|
|
51
|
-
"type": "value",
|
|
52
|
-
"value": "middle"
|
|
53
|
-
},
|
|
54
|
-
{
|
|
55
|
-
"name": "central",
|
|
56
|
-
"prose": "Use the central baselines.",
|
|
57
|
-
"href": "https://drafts.csswg.org/css-inline-3/#valdef-dominant-baseline-central",
|
|
58
|
-
"type": "value",
|
|
59
|
-
"value": "central"
|
|
60
|
-
},
|
|
61
|
-
{
|
|
62
|
-
"name": "mathematical",
|
|
63
|
-
"prose": "Use the math baselines.",
|
|
64
|
-
"href": "https://drafts.csswg.org/css-inline-3/#valdef-dominant-baseline-mathematical",
|
|
65
|
-
"type": "value",
|
|
66
|
-
"value": "mathematical"
|
|
67
|
-
},
|
|
68
|
-
{
|
|
69
|
-
"name": "hanging",
|
|
70
|
-
"prose": "Use the hanging baselines.",
|
|
71
|
-
"href": "https://drafts.csswg.org/css-inline-3/#valdef-dominant-baseline-hanging",
|
|
72
|
-
"type": "value",
|
|
73
|
-
"value": "hanging"
|
|
74
|
-
},
|
|
75
|
-
{
|
|
76
|
-
"name": "text-top",
|
|
77
|
-
"prose": "Use the text-over baselines.",
|
|
78
|
-
"href": "https://drafts.csswg.org/css-inline-3/#valdef-dominant-baseline-text-top",
|
|
79
|
-
"type": "value",
|
|
80
|
-
"value": "text-top"
|
|
81
|
-
}
|
|
82
|
-
],
|
|
83
|
-
"styleDeclaration": [
|
|
84
|
-
"dominant-baseline",
|
|
85
|
-
"dominantBaseline"
|
|
86
|
-
]
|
|
87
|
-
},
|
|
88
|
-
{
|
|
89
|
-
"name": "vertical-align",
|
|
90
|
-
"href": "https://drafts.csswg.org/css-inline-3/#propdef-vertical-align",
|
|
91
|
-
"value": "[ first | last] || <'alignment-baseline'> || <'baseline-shift'>",
|
|
92
|
-
"initial": "baseline",
|
|
93
|
-
"appliesTo": "see individual properties",
|
|
94
|
-
"inherited": "no",
|
|
95
|
-
"percentages": "N/A",
|
|
96
|
-
"computedValue": "see individual properties",
|
|
97
|
-
"animationType": "see individual properties",
|
|
98
|
-
"canonicalOrder": "per grammar",
|
|
99
|
-
"values": [
|
|
100
|
-
{
|
|
101
|
-
"name": "auto",
|
|
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",
|
|
104
|
-
"type": "value",
|
|
105
|
-
"value": "auto"
|
|
106
|
-
},
|
|
107
|
-
{
|
|
108
|
-
"name": "first",
|
|
109
|
-
"prose": "Specifies first-baseline alignment.",
|
|
110
|
-
"href": "https://drafts.csswg.org/css-inline-3/#valdef-baseline-source-first",
|
|
111
|
-
"type": "value",
|
|
112
|
-
"value": "first"
|
|
113
|
-
},
|
|
114
|
-
{
|
|
115
|
-
"name": "last",
|
|
116
|
-
"prose": "Specifies last-baseline alignment.",
|
|
117
|
-
"href": "https://drafts.csswg.org/css-inline-3/#valdef-baseline-source-last",
|
|
118
|
-
"type": "value",
|
|
119
|
-
"value": "last"
|
|
120
|
-
},
|
|
121
|
-
{
|
|
122
|
-
"name": "baseline",
|
|
123
|
-
"prose": "Use the dominant baseline choice of the parent.",
|
|
124
|
-
"href": "https://drafts.csswg.org/css-inline-3/#valdef-alignment-baseline-baseline",
|
|
125
|
-
"type": "value",
|
|
126
|
-
"value": "baseline"
|
|
127
|
-
},
|
|
128
|
-
{
|
|
129
|
-
"name": "text-bottom",
|
|
130
|
-
"prose": "Use the text-under baseline.",
|
|
131
|
-
"href": "https://drafts.csswg.org/css-inline-3/#valdef-alignment-baseline-text-bottom",
|
|
132
|
-
"type": "value",
|
|
133
|
-
"value": "text-bottom"
|
|
134
|
-
},
|
|
135
|
-
{
|
|
136
|
-
"name": "alphabetic",
|
|
137
|
-
"prose": "Use the alphabetic baseline.",
|
|
138
|
-
"href": "https://drafts.csswg.org/css-inline-3/#valdef-alignment-baseline-alphabetic",
|
|
139
|
-
"type": "value",
|
|
140
|
-
"value": "alphabetic"
|
|
141
|
-
},
|
|
142
|
-
{
|
|
143
|
-
"name": "ideographic",
|
|
144
|
-
"prose": "Use the ideographic-under baseline.",
|
|
145
|
-
"href": "https://drafts.csswg.org/css-inline-3/#valdef-alignment-baseline-ideographic",
|
|
146
|
-
"type": "value",
|
|
147
|
-
"value": "ideographic"
|
|
148
|
-
},
|
|
149
|
-
{
|
|
150
|
-
"name": "middle",
|
|
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",
|
|
153
|
-
"type": "value",
|
|
154
|
-
"value": "middle"
|
|
155
|
-
},
|
|
156
|
-
{
|
|
157
|
-
"name": "central",
|
|
158
|
-
"prose": "Use the central baseline.",
|
|
159
|
-
"href": "https://drafts.csswg.org/css-inline-3/#valdef-alignment-baseline-central",
|
|
160
|
-
"type": "value",
|
|
161
|
-
"value": "central"
|
|
162
|
-
},
|
|
163
|
-
{
|
|
164
|
-
"name": "mathematical",
|
|
165
|
-
"prose": "Use the math baseline.",
|
|
166
|
-
"href": "https://drafts.csswg.org/css-inline-3/#valdef-alignment-baseline-mathematical",
|
|
167
|
-
"type": "value",
|
|
168
|
-
"value": "mathematical"
|
|
169
|
-
},
|
|
170
|
-
{
|
|
171
|
-
"name": "text-top",
|
|
172
|
-
"prose": "Use the text-over baseline.",
|
|
173
|
-
"href": "https://drafts.csswg.org/css-inline-3/#valdef-alignment-baseline-text-top",
|
|
174
|
-
"type": "value",
|
|
175
|
-
"value": "text-top"
|
|
176
|
-
},
|
|
177
|
-
{
|
|
178
|
-
"name": "<length>",
|
|
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",
|
|
181
|
-
"type": "value",
|
|
182
|
-
"value": "<length>"
|
|
183
|
-
},
|
|
184
|
-
{
|
|
185
|
-
"name": "<percentage>",
|
|
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",
|
|
188
|
-
"type": "value",
|
|
189
|
-
"value": "<percentage>"
|
|
190
|
-
},
|
|
191
|
-
{
|
|
192
|
-
"name": "sub",
|
|
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",
|
|
195
|
-
"type": "value",
|
|
196
|
-
"value": "sub"
|
|
197
|
-
},
|
|
198
|
-
{
|
|
199
|
-
"name": "super",
|
|
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",
|
|
202
|
-
"type": "value",
|
|
203
|
-
"value": "super"
|
|
204
|
-
},
|
|
205
|
-
{
|
|
206
|
-
"name": "top",
|
|
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",
|
|
209
|
-
"type": "value",
|
|
210
|
-
"value": "top"
|
|
211
|
-
},
|
|
212
|
-
{
|
|
213
|
-
"name": "center",
|
|
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",
|
|
216
|
-
"type": "value",
|
|
217
|
-
"value": "center"
|
|
218
|
-
},
|
|
219
|
-
{
|
|
220
|
-
"name": "bottom",
|
|
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",
|
|
223
|
-
"type": "value",
|
|
224
|
-
"value": "bottom"
|
|
225
|
-
}
|
|
226
|
-
],
|
|
227
|
-
"styleDeclaration": [
|
|
228
|
-
"vertical-align",
|
|
229
|
-
"verticalAlign"
|
|
230
|
-
]
|
|
231
|
-
},
|
|
232
|
-
{
|
|
233
|
-
"name": "baseline-source",
|
|
234
|
-
"href": "https://drafts.csswg.org/css-inline-3/#propdef-baseline-source",
|
|
235
|
-
"value": "auto | first | last",
|
|
236
|
-
"initial": "auto",
|
|
237
|
-
"appliesTo": "inline-level boxes",
|
|
238
|
-
"inherited": "no",
|
|
239
|
-
"percentages": "N/A",
|
|
240
|
-
"computedValue": "specified keyword",
|
|
241
|
-
"canonicalOrder": "per grammar",
|
|
242
|
-
"animationType": "discrete",
|
|
243
|
-
"values": [
|
|
244
|
-
{
|
|
245
|
-
"name": "auto",
|
|
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",
|
|
248
|
-
"type": "value",
|
|
249
|
-
"value": "auto"
|
|
250
|
-
},
|
|
251
|
-
{
|
|
252
|
-
"name": "first",
|
|
253
|
-
"prose": "Specifies first-baseline alignment.",
|
|
254
|
-
"href": "https://drafts.csswg.org/css-inline-3/#valdef-baseline-source-first",
|
|
255
|
-
"type": "value",
|
|
256
|
-
"value": "first"
|
|
257
|
-
},
|
|
258
|
-
{
|
|
259
|
-
"name": "last",
|
|
260
|
-
"prose": "Specifies last-baseline alignment.",
|
|
261
|
-
"href": "https://drafts.csswg.org/css-inline-3/#valdef-baseline-source-last",
|
|
262
|
-
"type": "value",
|
|
263
|
-
"value": "last"
|
|
264
|
-
}
|
|
265
|
-
],
|
|
266
|
-
"styleDeclaration": [
|
|
267
|
-
"baseline-source",
|
|
268
|
-
"baselineSource"
|
|
269
|
-
]
|
|
270
|
-
},
|
|
271
|
-
{
|
|
272
|
-
"name": "alignment-baseline",
|
|
273
|
-
"href": "https://drafts.csswg.org/css-inline-3/#propdef-alignment-baseline",
|
|
274
|
-
"value": "baseline | text-bottom | alphabetic | ideographic | middle | central | mathematical | text-top",
|
|
275
|
-
"initial": "baseline",
|
|
276
|
-
"appliesTo": "inline-level boxes, flex items, grid items, table cells, and SVG text content elements",
|
|
277
|
-
"inherited": "no",
|
|
278
|
-
"percentages": "N/A",
|
|
279
|
-
"computedValue": "specified keyword",
|
|
280
|
-
"canonicalOrder": "per grammar",
|
|
281
|
-
"animationType": "discrete",
|
|
282
|
-
"values": [
|
|
283
|
-
{
|
|
284
|
-
"name": "baseline",
|
|
285
|
-
"prose": "Use the dominant baseline choice of the parent.",
|
|
286
|
-
"href": "https://drafts.csswg.org/css-inline-3/#valdef-alignment-baseline-baseline",
|
|
287
|
-
"type": "value",
|
|
288
|
-
"value": "baseline"
|
|
289
|
-
},
|
|
290
|
-
{
|
|
291
|
-
"name": "text-bottom",
|
|
292
|
-
"prose": "Use the text-under baseline.",
|
|
293
|
-
"href": "https://drafts.csswg.org/css-inline-3/#valdef-alignment-baseline-text-bottom",
|
|
294
|
-
"type": "value",
|
|
295
|
-
"value": "text-bottom"
|
|
296
|
-
},
|
|
297
|
-
{
|
|
298
|
-
"name": "alphabetic",
|
|
299
|
-
"prose": "Use the alphabetic baseline.",
|
|
300
|
-
"href": "https://drafts.csswg.org/css-inline-3/#valdef-alignment-baseline-alphabetic",
|
|
301
|
-
"type": "value",
|
|
302
|
-
"value": "alphabetic"
|
|
303
|
-
},
|
|
304
|
-
{
|
|
305
|
-
"name": "ideographic",
|
|
306
|
-
"prose": "Use the ideographic-under baseline.",
|
|
307
|
-
"href": "https://drafts.csswg.org/css-inline-3/#valdef-alignment-baseline-ideographic",
|
|
308
|
-
"type": "value",
|
|
309
|
-
"value": "ideographic"
|
|
310
|
-
},
|
|
311
|
-
{
|
|
312
|
-
"name": "middle",
|
|
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",
|
|
315
|
-
"type": "value",
|
|
316
|
-
"value": "middle"
|
|
317
|
-
},
|
|
318
|
-
{
|
|
319
|
-
"name": "central",
|
|
320
|
-
"prose": "Use the central baseline.",
|
|
321
|
-
"href": "https://drafts.csswg.org/css-inline-3/#valdef-alignment-baseline-central",
|
|
322
|
-
"type": "value",
|
|
323
|
-
"value": "central"
|
|
324
|
-
},
|
|
325
|
-
{
|
|
326
|
-
"name": "mathematical",
|
|
327
|
-
"prose": "Use the math baseline.",
|
|
328
|
-
"href": "https://drafts.csswg.org/css-inline-3/#valdef-alignment-baseline-mathematical",
|
|
329
|
-
"type": "value",
|
|
330
|
-
"value": "mathematical"
|
|
331
|
-
},
|
|
332
|
-
{
|
|
333
|
-
"name": "text-top",
|
|
334
|
-
"prose": "Use the text-over baseline.",
|
|
335
|
-
"href": "https://drafts.csswg.org/css-inline-3/#valdef-alignment-baseline-text-top",
|
|
336
|
-
"type": "value",
|
|
337
|
-
"value": "text-top"
|
|
338
|
-
},
|
|
339
|
-
{
|
|
340
|
-
"name": "text-before-edge",
|
|
341
|
-
"prose": "text-before-edge aliasing text-top",
|
|
342
|
-
"href": "https://drafts.csswg.org/css-inline-3/#valdef-alignment-baseline-text-before-edge",
|
|
343
|
-
"type": "value",
|
|
344
|
-
"value": "text-before-edge"
|
|
345
|
-
},
|
|
346
|
-
{
|
|
347
|
-
"name": "text-after-edge",
|
|
348
|
-
"prose": "text-after-edge aliasing text-bottom",
|
|
349
|
-
"href": "https://drafts.csswg.org/css-inline-3/#valdef-alignment-baseline-text-after-edge",
|
|
350
|
-
"type": "value",
|
|
351
|
-
"value": "text-after-edge"
|
|
352
|
-
}
|
|
353
|
-
],
|
|
354
|
-
"styleDeclaration": [
|
|
355
|
-
"alignment-baseline",
|
|
356
|
-
"alignmentBaseline"
|
|
357
|
-
]
|
|
358
|
-
},
|
|
359
|
-
{
|
|
360
|
-
"name": "baseline-shift",
|
|
361
|
-
"href": "https://drafts.csswg.org/css-inline-3/#propdef-baseline-shift",
|
|
362
|
-
"value": "<length-percentage> | sub | super | top | center | bottom",
|
|
363
|
-
"initial": "0",
|
|
364
|
-
"appliesTo": "inline-level boxes and SVG text content elements",
|
|
365
|
-
"inherited": "no",
|
|
366
|
-
"percentages": "refer to the used value of line-height",
|
|
367
|
-
"computedValue": "the specified keyword or a computed <length-percentage> value",
|
|
368
|
-
"canonicalOrder": "per grammar",
|
|
369
|
-
"animationType": "by computed value type",
|
|
370
|
-
"values": [
|
|
371
|
-
{
|
|
372
|
-
"name": "<length>",
|
|
373
|
-
"prose": "Raise (positive value) or lower (negative value) by the specified length.",
|
|
374
|
-
"href": "https://drafts.csswg.org/css-inline-3/#valdef-baseline-shift-length",
|
|
375
|
-
"type": "value",
|
|
376
|
-
"value": "<length>"
|
|
377
|
-
},
|
|
378
|
-
{
|
|
379
|
-
"name": "<percentage>",
|
|
380
|
-
"prose": "Raise (positive value) or lower (negative value) by the specified percentage of the line-height.",
|
|
381
|
-
"href": "https://drafts.csswg.org/css-inline-3/#valdef-baseline-shift-percentage",
|
|
382
|
-
"type": "value",
|
|
383
|
-
"value": "<percentage>"
|
|
384
|
-
},
|
|
385
|
-
{
|
|
386
|
-
"name": "sub",
|
|
387
|
-
"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.",
|
|
388
|
-
"href": "https://drafts.csswg.org/css-inline-3/#valdef-baseline-shift-sub",
|
|
389
|
-
"type": "value",
|
|
390
|
-
"value": "sub"
|
|
391
|
-
},
|
|
392
|
-
{
|
|
393
|
-
"name": "super",
|
|
394
|
-
"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.",
|
|
395
|
-
"href": "https://drafts.csswg.org/css-inline-3/#valdef-baseline-shift-super",
|
|
396
|
-
"type": "value",
|
|
397
|
-
"value": "super"
|
|
398
|
-
},
|
|
399
|
-
{
|
|
400
|
-
"name": "top",
|
|
401
|
-
"prose": "Align the line-over edge of the aligned subtree with the line-over edge of the line box.",
|
|
402
|
-
"href": "https://drafts.csswg.org/css-inline-3/#valdef-baseline-shift-top",
|
|
403
|
-
"type": "value",
|
|
404
|
-
"value": "top"
|
|
405
|
-
},
|
|
406
|
-
{
|
|
407
|
-
"name": "center",
|
|
408
|
-
"prose": "Align the center of the aligned subtree with the center of the line box.",
|
|
409
|
-
"href": "https://drafts.csswg.org/css-inline-3/#valdef-baseline-shift-center",
|
|
410
|
-
"type": "value",
|
|
411
|
-
"value": "center"
|
|
412
|
-
},
|
|
413
|
-
{
|
|
414
|
-
"name": "bottom",
|
|
415
|
-
"prose": "Align the line-under edge of the aligned subtree with the line-under edge of the line box.",
|
|
416
|
-
"href": "https://drafts.csswg.org/css-inline-3/#valdef-baseline-shift-bottom",
|
|
417
|
-
"type": "value",
|
|
418
|
-
"value": "bottom"
|
|
419
|
-
},
|
|
420
|
-
{
|
|
421
|
-
"name": "baseline",
|
|
422
|
-
"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.",
|
|
423
|
-
"href": "https://drafts.csswg.org/css-inline-3/#valdef-baseline-shift-baseline",
|
|
424
|
-
"type": "value",
|
|
425
|
-
"value": "baseline"
|
|
426
|
-
}
|
|
427
|
-
],
|
|
428
|
-
"styleDeclaration": [
|
|
429
|
-
"baseline-shift",
|
|
430
|
-
"baselineShift"
|
|
431
|
-
]
|
|
432
|
-
},
|
|
433
|
-
{
|
|
434
|
-
"name": "line-height",
|
|
435
|
-
"href": "https://drafts.csswg.org/css-inline-3/#propdef-line-height",
|
|
436
|
-
"value": "normal | <number [0,∞]> | <length-percentage [0,∞]>",
|
|
437
|
-
"initial": "normal",
|
|
438
|
-
"appliesTo": "non-replaced inline boxes and SVG text content elements",
|
|
439
|
-
"inherited": "yes",
|
|
440
|
-
"percentages": "computed relative to 1em",
|
|
441
|
-
"computedValue": "the specified keyword, a number, or a computed <length> value",
|
|
442
|
-
"canonicalOrder": "per grammar",
|
|
443
|
-
"animationType": "by computed value type",
|
|
444
|
-
"values": [
|
|
445
|
-
{
|
|
446
|
-
"name": "normal",
|
|
447
|
-
"prose": "Determine the preferred line height automatically based on font metrics.",
|
|
448
|
-
"href": "https://drafts.csswg.org/css-inline-3/#valdef-line-height-normal",
|
|
449
|
-
"type": "value",
|
|
450
|
-
"value": "normal"
|
|
451
|
-
},
|
|
452
|
-
{
|
|
453
|
-
"name": "<length [0,∞]>",
|
|
454
|
-
"prose": "The specified length is used as the preferred line height. Negative values are illegal.",
|
|
455
|
-
"href": "https://drafts.csswg.org/css-inline-3/#valdef-line-height-length-0",
|
|
456
|
-
"type": "value",
|
|
457
|
-
"value": "<length [0,∞]>"
|
|
458
|
-
},
|
|
459
|
-
{
|
|
460
|
-
"name": "<number [0,∞]>",
|
|
461
|
-
"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.",
|
|
462
|
-
"href": "https://drafts.csswg.org/css-inline-3/#valdef-line-height-number-0",
|
|
463
|
-
"type": "value",
|
|
464
|
-
"value": "<number [0,∞]>"
|
|
465
|
-
},
|
|
466
|
-
{
|
|
467
|
-
"name": "<percentage [0,∞]>",
|
|
468
|
-
"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.",
|
|
469
|
-
"href": "https://drafts.csswg.org/css-inline-3/#valdef-line-height-percentage-0",
|
|
470
|
-
"type": "value",
|
|
471
|
-
"value": "<percentage [0,∞]>"
|
|
472
|
-
}
|
|
473
|
-
],
|
|
474
|
-
"styleDeclaration": [
|
|
475
|
-
"line-height",
|
|
476
|
-
"lineHeight"
|
|
477
|
-
]
|
|
478
|
-
},
|
|
479
|
-
{
|
|
480
|
-
"name": "line-fit-edge",
|
|
481
|
-
"href": "https://drafts.csswg.org/css-inline-3/#propdef-line-fit-edge",
|
|
482
|
-
"value": "leading | <text-edge>",
|
|
483
|
-
"initial": "leading",
|
|
484
|
-
"appliesTo": "inline boxes",
|
|
485
|
-
"inherited": "yes",
|
|
486
|
-
"percentages": "N/A",
|
|
487
|
-
"computedValue": "the specified keyword",
|
|
488
|
-
"canonicalOrder": "per grammar",
|
|
489
|
-
"animationType": "discrete",
|
|
490
|
-
"values": [
|
|
491
|
-
{
|
|
492
|
-
"name": "leading",
|
|
493
|
-
"prose": "Use the ascent/descent plus any positive half-leading. Margin/padding/border is ignored for the purpose of sizing the line box.",
|
|
494
|
-
"href": "https://drafts.csswg.org/css-inline-3/#valdef-line-fit-edge-leading",
|
|
495
|
-
"type": "value",
|
|
496
|
-
"value": "leading"
|
|
497
|
-
},
|
|
498
|
-
{
|
|
499
|
-
"name": "text",
|
|
500
|
-
"prose": "Use the text-over baseline/text-under baseline as the over/under edge.",
|
|
501
|
-
"href": "https://drafts.csswg.org/css-inline-3/#valdef-line-fit-edge-text",
|
|
502
|
-
"type": "value",
|
|
503
|
-
"value": "text"
|
|
504
|
-
},
|
|
505
|
-
{
|
|
506
|
-
"name": "cap",
|
|
507
|
-
"prose": "Use the cap-height baseline as the over edge.",
|
|
508
|
-
"href": "https://drafts.csswg.org/css-inline-3/#valdef-line-fit-edge-cap",
|
|
509
|
-
"type": "value",
|
|
510
|
-
"value": "cap"
|
|
511
|
-
},
|
|
512
|
-
{
|
|
513
|
-
"name": "ex",
|
|
514
|
-
"prose": "Use the x-height baseline as the over edge.",
|
|
515
|
-
"href": "https://drafts.csswg.org/css-inline-3/#valdef-line-fit-edge-ex",
|
|
516
|
-
"type": "value",
|
|
517
|
-
"value": "ex"
|
|
518
|
-
},
|
|
519
|
-
{
|
|
520
|
-
"name": "ideographic",
|
|
521
|
-
"prose": "Use the ideographic-over baseline/ideographic-under baseline as the over/under edge.",
|
|
522
|
-
"href": "https://drafts.csswg.org/css-inline-3/#valdef-line-fit-edge-ideographic",
|
|
523
|
-
"type": "value",
|
|
524
|
-
"value": "ideographic"
|
|
525
|
-
},
|
|
526
|
-
{
|
|
527
|
-
"name": "ideographic-ink",
|
|
528
|
-
"prose": "Use the ideographic-ink-over baseline/ideographic-ink-under baseline as the over/under edge.",
|
|
529
|
-
"href": "https://drafts.csswg.org/css-inline-3/#valdef-line-fit-edge-ideographic-ink",
|
|
530
|
-
"type": "value",
|
|
531
|
-
"value": "ideographic-ink"
|
|
532
|
-
},
|
|
533
|
-
{
|
|
534
|
-
"name": "alphabetic",
|
|
535
|
-
"prose": "Use the alphabetic baseline as the under edge.",
|
|
536
|
-
"href": "https://drafts.csswg.org/css-inline-3/#valdef-line-fit-edge-alphabetic",
|
|
537
|
-
"type": "value",
|
|
538
|
-
"value": "alphabetic"
|
|
539
|
-
}
|
|
540
|
-
],
|
|
541
|
-
"styleDeclaration": [
|
|
542
|
-
"line-fit-edge",
|
|
543
|
-
"lineFitEdge"
|
|
544
|
-
]
|
|
545
|
-
},
|
|
546
|
-
{
|
|
547
|
-
"name": "text-box",
|
|
548
|
-
"href": "https://drafts.csswg.org/css-inline-3/#propdef-text-box",
|
|
549
|
-
"value": "normal | <'text-box-trim'> || <'text-box-edge'>",
|
|
550
|
-
"initial": "normal",
|
|
551
|
-
"appliesTo": "block containers, multi-column containers, and inline boxes",
|
|
552
|
-
"inherited": "no",
|
|
553
|
-
"percentages": "N/A",
|
|
554
|
-
"computedValue": "the specified keyword",
|
|
555
|
-
"canonicalOrder": "per grammar",
|
|
556
|
-
"animationType": "discrete",
|
|
557
|
-
"values": [
|
|
558
|
-
{
|
|
559
|
-
"name": "normal",
|
|
560
|
-
"prose": "If the single keyword normal is specified, it sets text-box-trim to none and text-box-edge to auto. Otherwise, omitting the text-box-trim value sets it to both (not the initial value), while omitting the text-box-edge value sets it to auto (the initial value).",
|
|
561
|
-
"href": "https://drafts.csswg.org/css-inline-3/#valdef-text-box-normal",
|
|
562
|
-
"type": "value",
|
|
563
|
-
"value": "normal"
|
|
564
|
-
}
|
|
565
|
-
],
|
|
566
|
-
"styleDeclaration": [
|
|
567
|
-
"text-box",
|
|
568
|
-
"textBox"
|
|
569
|
-
]
|
|
570
|
-
},
|
|
571
|
-
{
|
|
572
|
-
"name": "text-box-trim",
|
|
573
|
-
"href": "https://drafts.csswg.org/css-inline-3/#propdef-text-box-trim",
|
|
574
|
-
"value": "none | trim-start | trim-end | trim-both",
|
|
575
|
-
"initial": "none",
|
|
576
|
-
"appliesTo": "block containers, multi-column containers, and inline boxes",
|
|
577
|
-
"inherited": "no",
|
|
578
|
-
"percentages": "N/A",
|
|
579
|
-
"computedValue": "the specified keyword",
|
|
580
|
-
"canonicalOrder": "per grammar",
|
|
581
|
-
"animationType": "discrete",
|
|
582
|
-
"values": [
|
|
583
|
-
{
|
|
584
|
-
"name": "none",
|
|
585
|
-
"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.",
|
|
586
|
-
"href": "https://drafts.csswg.org/css-inline-3/#valdef-text-box-trim-none",
|
|
587
|
-
"type": "value",
|
|
588
|
-
"value": "none"
|
|
589
|
-
},
|
|
590
|
-
{
|
|
591
|
-
"name": "trim-start",
|
|
592
|
-
"prose": "For block containers and column boxes: trim the block-start side of the first formatted line to the specified 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.",
|
|
593
|
-
"href": "https://drafts.csswg.org/css-inline-3/#valdef-text-box-trim-trim-start",
|
|
594
|
-
"type": "value",
|
|
595
|
-
"value": "trim-start"
|
|
596
|
-
},
|
|
597
|
-
{
|
|
598
|
-
"name": "trim-end",
|
|
599
|
-
"prose": "For block containers and column boxes: trim the block-end side of the last formatted line to the specified 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.",
|
|
600
|
-
"href": "https://drafts.csswg.org/css-inline-3/#valdef-text-box-trim-trim-end",
|
|
601
|
-
"type": "value",
|
|
602
|
-
"value": "trim-end"
|
|
603
|
-
},
|
|
604
|
-
{
|
|
605
|
-
"name": "trim-both",
|
|
606
|
-
"prose": "Specifies the behavior of trim-start and trim-end simultaneously.",
|
|
607
|
-
"href": "https://drafts.csswg.org/css-inline-3/#valdef-text-box-trim-trim-both",
|
|
608
|
-
"type": "value",
|
|
609
|
-
"value": "trim-both"
|
|
610
|
-
}
|
|
611
|
-
],
|
|
612
|
-
"styleDeclaration": [
|
|
613
|
-
"text-box-trim",
|
|
614
|
-
"textBoxTrim"
|
|
615
|
-
]
|
|
616
|
-
},
|
|
617
|
-
{
|
|
618
|
-
"name": "text-box-edge",
|
|
619
|
-
"href": "https://drafts.csswg.org/css-inline-3/#propdef-text-box-edge",
|
|
620
|
-
"value": "auto | <text-edge>",
|
|
621
|
-
"initial": "auto",
|
|
622
|
-
"appliesTo": "block containers and inline boxes",
|
|
623
|
-
"inherited": "yes",
|
|
624
|
-
"percentages": "N/A",
|
|
625
|
-
"computedValue": "the specified keyword",
|
|
626
|
-
"canonicalOrder": "per grammar",
|
|
627
|
-
"animationType": "discrete",
|
|
628
|
-
"values": [
|
|
629
|
-
{
|
|
630
|
-
"name": "auto",
|
|
631
|
-
"prose": "This property specifies the metrics to use for text-box-trim effects. Values have the same meanings as for line-fit-edge; the auto keyword uses the value of line-fit-edge, interpreting leading (the initial value) as text.",
|
|
632
|
-
"href": "https://drafts.csswg.org/css-inline-3/#valdef-text-box-edge-auto",
|
|
633
|
-
"type": "value",
|
|
634
|
-
"value": "auto"
|
|
635
|
-
}
|
|
636
|
-
],
|
|
637
|
-
"styleDeclaration": [
|
|
638
|
-
"text-box-edge",
|
|
639
|
-
"textBoxEdge"
|
|
640
|
-
]
|
|
641
|
-
},
|
|
642
|
-
{
|
|
643
|
-
"name": "inline-sizing",
|
|
644
|
-
"href": "https://drafts.csswg.org/css-inline-3/#propdef-inline-sizing",
|
|
645
|
-
"value": "normal | stretch",
|
|
646
|
-
"initial": "normal",
|
|
647
|
-
"appliesTo": "inline boxes, but not ruby container boxes nor internal ruby boxes",
|
|
648
|
-
"inherited": "yes",
|
|
649
|
-
"percentages": "n/a",
|
|
650
|
-
"computedValue": "specified keyword",
|
|
651
|
-
"canonicalOrder": "per grammar",
|
|
652
|
-
"animationType": "discrete",
|
|
653
|
-
"values": [
|
|
654
|
-
{
|
|
655
|
-
"name": "normal",
|
|
656
|
-
"prose": "The content area of the inline box is sized and positioned to fit (possibly hypothetical) text from its first available font. If text-box-trim indicates trimming, then the specified metric must be used. Otherwise, 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.)",
|
|
657
|
-
"href": "https://drafts.csswg.org/css-inline-3/#valdef-inline-sizing-normal",
|
|
658
|
-
"type": "value",
|
|
659
|
-
"value": "normal"
|
|
660
|
-
},
|
|
661
|
-
{
|
|
662
|
-
"name": "stretch",
|
|
663
|
-
"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.)",
|
|
664
|
-
"href": "https://drafts.csswg.org/css-inline-3/#valdef-inline-sizing-stretch",
|
|
665
|
-
"type": "value",
|
|
666
|
-
"value": "stretch"
|
|
667
|
-
}
|
|
668
|
-
],
|
|
669
|
-
"styleDeclaration": [
|
|
670
|
-
"inline-sizing",
|
|
671
|
-
"inlineSizing"
|
|
672
|
-
]
|
|
673
|
-
},
|
|
674
|
-
{
|
|
675
|
-
"name": "initial-letter",
|
|
676
|
-
"href": "https://drafts.csswg.org/css-inline-3/#propdef-initial-letter",
|
|
677
|
-
"value": "normal | <number [1,∞]> <integer [1,∞]> | <number [1,∞]> && [ drop | raise ]?",
|
|
678
|
-
"initial": "normal",
|
|
679
|
-
"appliesTo": "certain inline-level boxes and ::first-letter and inside ::marker boxes (see prose)",
|
|
680
|
-
"inherited": "no",
|
|
681
|
-
"percentages": "N/A",
|
|
682
|
-
"computedValue": "the keyword normal or a number paired with an integer",
|
|
683
|
-
"canonicalOrder": "per grammar",
|
|
684
|
-
"animationType": "by computed value type",
|
|
685
|
-
"values": [
|
|
686
|
-
{
|
|
687
|
-
"name": "normal",
|
|
688
|
-
"prose": "No special initial letter effect. Text behaves as normal.",
|
|
689
|
-
"href": "https://drafts.csswg.org/css-inline-3/#valdef-initial-letter-normal",
|
|
690
|
-
"type": "value",
|
|
691
|
-
"value": "normal"
|
|
692
|
-
},
|
|
693
|
-
{
|
|
694
|
-
"name": "<number [1,∞]>",
|
|
695
|
-
"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.",
|
|
696
|
-
"href": "https://drafts.csswg.org/css-inline-3/#valdef-initial-letter-number-1",
|
|
697
|
-
"type": "value",
|
|
698
|
-
"value": "<number [1,∞]>"
|
|
699
|
-
},
|
|
700
|
-
{
|
|
701
|
-
"name": "<integer [1,∞]>",
|
|
702
|
-
"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.",
|
|
703
|
-
"href": "https://drafts.csswg.org/css-inline-3/#valdef-initial-letter-integer-1",
|
|
704
|
-
"type": "value",
|
|
705
|
-
"value": "<integer [1,∞]>"
|
|
706
|
-
},
|
|
707
|
-
{
|
|
708
|
-
"name": "raise",
|
|
709
|
-
"prose": "Computes to an initial letter sink of 1.",
|
|
710
|
-
"href": "https://drafts.csswg.org/css-inline-3/#valdef-initial-letter-raise",
|
|
711
|
-
"type": "value",
|
|
712
|
-
"value": "raise"
|
|
713
|
-
},
|
|
714
|
-
{
|
|
715
|
-
"name": "drop",
|
|
716
|
-
"prose": "Computes to an initial letter sink equal to the initial letter size floored to the nearest positive whole number.",
|
|
717
|
-
"href": "https://drafts.csswg.org/css-inline-3/#valdef-initial-letter-drop",
|
|
718
|
-
"type": "value",
|
|
719
|
-
"value": "drop"
|
|
720
|
-
}
|
|
721
|
-
],
|
|
722
|
-
"styleDeclaration": [
|
|
723
|
-
"initial-letter",
|
|
724
|
-
"initialLetter"
|
|
725
|
-
]
|
|
726
|
-
},
|
|
727
|
-
{
|
|
728
|
-
"name": "initial-letter-align",
|
|
729
|
-
"href": "https://drafts.csswg.org/css-inline-3/#propdef-initial-letter-align",
|
|
730
|
-
"value": "[ border-box? [ alphabetic | ideographic | hanging | leading ]? ]!",
|
|
731
|
-
"initial": "alphabetic",
|
|
732
|
-
"appliesTo": "certain inline-level boxes and ::first-letter and inside ::marker boxes (see prose)",
|
|
733
|
-
"inherited": "yes",
|
|
734
|
-
"percentages": "N/A",
|
|
735
|
-
"computedValue": "specified keyword(s)",
|
|
736
|
-
"canonicalOrder": "per grammar",
|
|
737
|
-
"animationType": "discrete",
|
|
738
|
-
"values": [
|
|
739
|
-
{
|
|
740
|
-
"name": "alphabetic",
|
|
741
|
-
"prose": "Use the cap-height and alphabetic baselines of the surrounding text to align the initial letter.",
|
|
742
|
-
"href": "https://drafts.csswg.org/css-inline-3/#valdef-initial-letter-align-alphabetic",
|
|
743
|
-
"type": "value",
|
|
744
|
-
"value": "alphabetic"
|
|
745
|
-
},
|
|
746
|
-
{
|
|
747
|
-
"name": "ideographic",
|
|
748
|
-
"prose": "Use the ideographic-ink-over and ideographic-ink-under baselines of the surrounding text to align the initial letter.",
|
|
749
|
-
"href": "https://drafts.csswg.org/css-inline-3/#valdef-initial-letter-align-ideographic",
|
|
750
|
-
"type": "value",
|
|
751
|
-
"value": "ideographic"
|
|
752
|
-
},
|
|
753
|
-
{
|
|
754
|
-
"name": "hanging",
|
|
755
|
-
"prose": "Use the hanging and alphabetic baselines of the surrounding text to align the initial letter.",
|
|
756
|
-
"href": "https://drafts.csswg.org/css-inline-3/#valdef-initial-letter-align-hanging",
|
|
757
|
-
"type": "value",
|
|
758
|
-
"value": "hanging"
|
|
759
|
-
},
|
|
760
|
-
{
|
|
761
|
-
"name": "leading",
|
|
762
|
-
"prose": "Use the over/under half-leading edges (i.e. ascent/descent + half-leading) of the surrounding text to align the initial letter.",
|
|
763
|
-
"href": "https://drafts.csswg.org/css-inline-3/#valdef-initial-letter-align-leading",
|
|
764
|
-
"type": "value",
|
|
765
|
-
"value": "leading"
|
|
766
|
-
},
|
|
767
|
-
{
|
|
768
|
-
"name": "border-box",
|
|
769
|
-
"prose": "Use the initial letter box’s line-under and line-over border edges as the over and under alignment points, respectively.",
|
|
770
|
-
"href": "https://drafts.csswg.org/css-inline-3/#valdef-initial-letter-align-border-box",
|
|
771
|
-
"type": "value",
|
|
772
|
-
"value": "border-box"
|
|
773
|
-
}
|
|
774
|
-
],
|
|
775
|
-
"styleDeclaration": [
|
|
776
|
-
"initial-letter-align",
|
|
777
|
-
"initialLetterAlign"
|
|
778
|
-
]
|
|
779
|
-
},
|
|
780
|
-
{
|
|
781
|
-
"name": "initial-letter-wrap",
|
|
782
|
-
"href": "https://drafts.csswg.org/css-inline-3/#propdef-initial-letter-wrap",
|
|
783
|
-
"value": "none | first | all | grid | <length-percentage>",
|
|
784
|
-
"initial": "none",
|
|
785
|
-
"appliesTo": "certain inline-level boxes and ::first-letter and inside ::marker boxes (see prose)",
|
|
786
|
-
"inherited": "yes",
|
|
787
|
-
"percentages": "relative to logical width of (last fragment of) initial letter",
|
|
788
|
-
"computedValue": "specified keyword or computed <length-percentage> value",
|
|
789
|
-
"canonicalOrder": "per grammar",
|
|
790
|
-
"animationType": "by computed value type",
|
|
791
|
-
"values": [
|
|
792
|
-
{
|
|
793
|
-
"name": "none",
|
|
794
|
-
"prose": "No contour-fitting is performed: each impacted line is aligned flush to the inline-end margin edge of the initial letter.",
|
|
795
|
-
"href": "https://drafts.csswg.org/css-inline-3/#valdef-initial-letter-wrap-none",
|
|
796
|
-
"type": "value",
|
|
797
|
-
"value": "none"
|
|
798
|
-
},
|
|
799
|
-
{
|
|
800
|
-
"name": "first",
|
|
801
|
-
"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",
|
|
802
|
-
"href": "https://drafts.csswg.org/css-inline-3/#valdef-initial-letter-wrap-first",
|
|
803
|
-
"type": "value",
|
|
804
|
-
"value": "first"
|
|
805
|
-
},
|
|
806
|
-
{
|
|
807
|
-
"name": "all",
|
|
808
|
-
"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.",
|
|
809
|
-
"href": "https://drafts.csswg.org/css-inline-3/#valdef-initial-letter-wrap-all",
|
|
810
|
-
"type": "value",
|
|
811
|
-
"value": "all"
|
|
812
|
-
},
|
|
813
|
-
{
|
|
814
|
-
"name": "grid",
|
|
815
|
-
"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",
|
|
816
|
-
"href": "https://drafts.csswg.org/css-inline-3/#valdef-initial-letter-wrap-grid",
|
|
817
|
-
"type": "value",
|
|
818
|
-
"value": "grid"
|
|
819
|
-
},
|
|
820
|
-
{
|
|
821
|
-
"name": "<length>",
|
|
822
|
-
"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.",
|
|
823
|
-
"href": "https://drafts.csswg.org/css-inline-3/#valdef-initial-letter-wrap-length",
|
|
824
|
-
"type": "value",
|
|
825
|
-
"value": "<length>"
|
|
826
|
-
},
|
|
827
|
-
{
|
|
828
|
-
"name": "<percentage>",
|
|
829
|
-
"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.",
|
|
830
|
-
"href": "https://drafts.csswg.org/css-inline-3/#valdef-initial-letter-wrap-percentage",
|
|
831
|
-
"type": "value",
|
|
832
|
-
"value": "<percentage>"
|
|
833
|
-
}
|
|
834
|
-
],
|
|
835
|
-
"styleDeclaration": [
|
|
836
|
-
"initial-letter-wrap",
|
|
837
|
-
"initialLetterWrap"
|
|
838
|
-
]
|
|
839
|
-
}
|
|
840
|
-
],
|
|
841
|
-
"atrules": [],
|
|
842
|
-
"selectors": [],
|
|
843
|
-
"values": [
|
|
844
|
-
{
|
|
845
|
-
"name": "<text-edge>",
|
|
846
|
-
"prose": "The <text-edge> value, which identifies specific font metrics, expands to",
|
|
847
|
-
"href": "https://drafts.csswg.org/css-inline-3/#typedef-text-edge",
|
|
848
|
-
"type": "type",
|
|
849
|
-
"value": "[ text | ideographic | ideographic-ink ] | [ text | ideographic | ideographic-ink | cap | ex ] [ text | ideographic | ideographic-ink | alphabetic ]",
|
|
850
|
-
"values": [
|
|
851
|
-
{
|
|
852
|
-
"name": "leading",
|
|
853
|
-
"prose": "Use the ascent/descent plus any positive half-leading. Margin/padding/border is ignored for the purpose of sizing the line box.",
|
|
854
|
-
"href": "https://drafts.csswg.org/css-inline-3/#valdef-line-fit-edge-leading",
|
|
855
|
-
"type": "value",
|
|
856
|
-
"value": "leading"
|
|
857
|
-
},
|
|
858
|
-
{
|
|
859
|
-
"name": "text",
|
|
860
|
-
"prose": "Use the text-over baseline/text-under baseline as the over/under edge.",
|
|
861
|
-
"href": "https://drafts.csswg.org/css-inline-3/#valdef-line-fit-edge-text",
|
|
862
|
-
"type": "value",
|
|
863
|
-
"value": "text"
|
|
864
|
-
},
|
|
865
|
-
{
|
|
866
|
-
"name": "cap",
|
|
867
|
-
"prose": "Use the cap-height baseline as the over edge.",
|
|
868
|
-
"href": "https://drafts.csswg.org/css-inline-3/#valdef-line-fit-edge-cap",
|
|
869
|
-
"type": "value",
|
|
870
|
-
"value": "cap"
|
|
871
|
-
},
|
|
872
|
-
{
|
|
873
|
-
"name": "ex",
|
|
874
|
-
"prose": "Use the x-height baseline as the over edge.",
|
|
875
|
-
"href": "https://drafts.csswg.org/css-inline-3/#valdef-line-fit-edge-ex",
|
|
876
|
-
"type": "value",
|
|
877
|
-
"value": "ex"
|
|
878
|
-
},
|
|
879
|
-
{
|
|
880
|
-
"name": "ideographic",
|
|
881
|
-
"prose": "Use the ideographic-over baseline/ideographic-under baseline as the over/under edge.",
|
|
882
|
-
"href": "https://drafts.csswg.org/css-inline-3/#valdef-line-fit-edge-ideographic",
|
|
883
|
-
"type": "value",
|
|
884
|
-
"value": "ideographic"
|
|
885
|
-
},
|
|
886
|
-
{
|
|
887
|
-
"name": "ideographic-ink",
|
|
888
|
-
"prose": "Use the ideographic-ink-over baseline/ideographic-ink-under baseline as the over/under edge.",
|
|
889
|
-
"href": "https://drafts.csswg.org/css-inline-3/#valdef-line-fit-edge-ideographic-ink",
|
|
890
|
-
"type": "value",
|
|
891
|
-
"value": "ideographic-ink"
|
|
892
|
-
},
|
|
893
|
-
{
|
|
894
|
-
"name": "alphabetic",
|
|
895
|
-
"prose": "Use the alphabetic baseline as the under edge.",
|
|
896
|
-
"href": "https://drafts.csswg.org/css-inline-3/#valdef-line-fit-edge-alphabetic",
|
|
897
|
-
"type": "value",
|
|
898
|
-
"value": "alphabetic"
|
|
899
|
-
}
|
|
900
|
-
]
|
|
901
|
-
}
|
|
902
|
-
]
|
|
903
|
-
}
|