@webref/css 3.0.7 → 3.0.10
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/css-color-5.json +6 -6
- package/css-color-adjust.json +1 -1
- package/css-color.json +4 -4
- package/css-contain-3.json +1 -1
- package/css-images-4.json +30 -0
- package/css-shapes-2.json +1 -1
- package/css-shapes.json +9 -0
- package/css-text-4.json +284 -51
- package/css-text-decor-4.json +1 -1
- package/css-text-decor.json +1 -1
- package/package.json +2 -2
package/css-color-5.json
CHANGED
|
@@ -44,22 +44,22 @@
|
|
|
44
44
|
"value": "<number> | <percentage>"
|
|
45
45
|
},
|
|
46
46
|
"<hsl()>": {
|
|
47
|
-
"value": "hsl(([from <color>]? [<hue> | none] [<percentage> | none] [<percentage> | none] [ / [<alpha-value> | none] ]? )"
|
|
47
|
+
"value": "hsl(([from <color>]? [<hue> | none] [<percentage> | <number> | none] [<percentage> | <number> | none] [ / [<alpha-value> | none] ]? )"
|
|
48
48
|
},
|
|
49
49
|
"<hwb()>": {
|
|
50
|
-
"value": "hwb([from <color>]? [<hue> | none] [<percentage> | none] [<percentage> | none] [ / [<alpha-value> | none] ]? )"
|
|
50
|
+
"value": "hwb([from <color>]? [<hue> | none] [<percentage> | <number> | none] [<percentage> | <number> | none] [ / [<alpha-value> | none] ]? )"
|
|
51
51
|
},
|
|
52
52
|
"<lab()>": {
|
|
53
|
-
"value": "lab([from <color>]? [<percentage> | none] [<number> | none] [<number> | none] [ / [<alpha-value> | none] ]? )"
|
|
53
|
+
"value": "lab([from <color>]? [<percentage> | <number> | none] [<percentage> | <number> | none] [<percentage> | <number> | none] [ / [<alpha-value> | none] ]? )"
|
|
54
54
|
},
|
|
55
55
|
"<oklab()>": {
|
|
56
|
-
"value": "oklab([from <color>]? [<percentage> | none] [<number> | none] [<number> | none] [ / [<alpha-value> | none] ]? )"
|
|
56
|
+
"value": "oklab([from <color>]? [<percentage> | <number> | none] [<percentage> | <number> | none] [<percentage> | <number> | none] [ / [<alpha-value> | none] ]? )"
|
|
57
57
|
},
|
|
58
58
|
"<lch()>": {
|
|
59
|
-
"value": "lch([from <color>]? [<percentage> | none] [<number> | none] [<hue> | none] [ / [<alpha-value> | none] ]? )"
|
|
59
|
+
"value": "lch([from <color>]? [<percentage> | <number> | none] [<percentage> | <number> | none] [<hue> | none] [ / [<alpha-value> | none] ]? )"
|
|
60
60
|
},
|
|
61
61
|
"<oklch()>": {
|
|
62
|
-
"value": "oklch([from <color>]? [<percentage> | none] [<number> | none] [<hue> | none] [ / [<alpha-value> | none] ]? )"
|
|
62
|
+
"value": "oklch([from <color>]? [<percentage> | <number> | none] [<percentage> | <number> | none] [<hue> | none] [ / [<alpha-value> | none] ]? )"
|
|
63
63
|
},
|
|
64
64
|
"<color()>": {
|
|
65
65
|
"value": "color( [from <color>]? <colorspace-params> [ / <alpha-value> ]? )"
|
package/css-color-adjust.json
CHANGED
|
@@ -51,7 +51,7 @@
|
|
|
51
51
|
},
|
|
52
52
|
"color-adjust": {
|
|
53
53
|
"name": "color-adjust",
|
|
54
|
-
"value": "<print-color-adjust>",
|
|
54
|
+
"value": "<'print-color-adjust'>",
|
|
55
55
|
"initial": "see individual properties",
|
|
56
56
|
"appliesTo": "see individual properties",
|
|
57
57
|
"inherited": "see individual properties",
|
package/css-color.json
CHANGED
|
@@ -57,16 +57,16 @@
|
|
|
57
57
|
"value": "hwb( [<hue> | none] [<percentage> | none] [<percentage> | none] [ / [<alpha-value> | none] ]? )"
|
|
58
58
|
},
|
|
59
59
|
"<lab()>": {
|
|
60
|
-
"value": "lab( [<percentage> | none] [<number> | none] [<number> | none] [ / [<alpha-value> | none] ]? )"
|
|
60
|
+
"value": "lab( [<percentage> | <number> | none] [ <percentage> | <number> | none] [ <percentage> | <number> | none] [ / [<alpha-value> | none] ]? )"
|
|
61
61
|
},
|
|
62
62
|
"<lch()>": {
|
|
63
|
-
"value": "lch( [<percentage> | none] [<number> | none] [<hue> | none] [ / [<alpha-value> | none] ]? )"
|
|
63
|
+
"value": "lch( [<percentage> | <number> | none] [ <percentage> | <number> | none] [ <hue> | none] [ / [<alpha-value> | none] ]? )"
|
|
64
64
|
},
|
|
65
65
|
"<oklab()>": {
|
|
66
|
-
"value": "oklab( [<percentage> | none] [<number> | none] [<number> | none] [ / [<alpha-value> | none] ]? )"
|
|
66
|
+
"value": "oklab( [ <percentage> | <number> | none] [ <percentage> | <number> | none] [ <percentage> | <number> | none] [ / [<alpha-value> | none] ]? )"
|
|
67
67
|
},
|
|
68
68
|
"<oklch()>": {
|
|
69
|
-
"value": "oklch( [<percentage> | none] [<number> | none] [<hue> | none] [ / [<alpha-value> | none] ]? )"
|
|
69
|
+
"value": "oklch( [ <percentage> | <number> | none] [ <percentage> | <number> | none] [ <hue> | none] [ / [<alpha-value> | none] ]? )"
|
|
70
70
|
},
|
|
71
71
|
"<color()>": {
|
|
72
72
|
"value": "color( <colorspace-params> [ / <alpha-value> ]? )"
|
package/css-contain-3.json
CHANGED
package/css-images-4.json
CHANGED
|
@@ -4,6 +4,21 @@
|
|
|
4
4
|
"url": "https://drafts.csswg.org/css-images-4/"
|
|
5
5
|
},
|
|
6
6
|
"properties": {
|
|
7
|
+
"object-view-box": {
|
|
8
|
+
"name": "object-view-box",
|
|
9
|
+
"value": "none | <basic-shape-rect>",
|
|
10
|
+
"initial": "none",
|
|
11
|
+
"appliesTo": "replaced elements",
|
|
12
|
+
"inherited": "no",
|
|
13
|
+
"percentages": "n/a",
|
|
14
|
+
"computedValue": "specified keyword, or computed function",
|
|
15
|
+
"canonicalOrder": "per grammar",
|
|
16
|
+
"animationType": "as if possible, otherwise discrete",
|
|
17
|
+
"styleDeclaration": [
|
|
18
|
+
"object-view-box",
|
|
19
|
+
"objectViewBox"
|
|
20
|
+
]
|
|
21
|
+
},
|
|
7
22
|
"object-fit": {
|
|
8
23
|
"name": "object-fit",
|
|
9
24
|
"value": "fill | none | [contain | cover] || scale-down",
|
|
@@ -19,6 +34,21 @@
|
|
|
19
34
|
"objectFit"
|
|
20
35
|
]
|
|
21
36
|
},
|
|
37
|
+
"object-overflow": {
|
|
38
|
+
"name": "object-overflow",
|
|
39
|
+
"value": "clip | visible",
|
|
40
|
+
"initial": "clip",
|
|
41
|
+
"appliesTo": "replaced elements",
|
|
42
|
+
"inherited": "no",
|
|
43
|
+
"percentages": "n/a",
|
|
44
|
+
"computedValue": "as specified",
|
|
45
|
+
"canonicalOrder": "per grammar",
|
|
46
|
+
"animationType": "discrete",
|
|
47
|
+
"styleDeclaration": [
|
|
48
|
+
"object-overflow",
|
|
49
|
+
"objectOverflow"
|
|
50
|
+
]
|
|
51
|
+
},
|
|
22
52
|
"image-resolution": {
|
|
23
53
|
"name": "image-resolution",
|
|
24
54
|
"value": "[ from-image || <resolution> ] && snap?",
|
package/css-shapes-2.json
CHANGED
|
@@ -72,7 +72,7 @@
|
|
|
72
72
|
"prose": "Adds a smooth Bézier curve command to the list of path data commands, ending at the point specified by the first <coordinate-pair>. The via component specifies control points for the curve: if it’s omitted, the command specifies a smooth quadratic curve; if it’s provided, if specifies a smooth cubic curve."
|
|
73
73
|
},
|
|
74
74
|
"<arc-command>": {
|
|
75
|
-
"value": "arc <by-to> <coordinate-pair> of <length-percentage>{1,2} [ <arc-sweep> || <arc-size> || <angle> ]?",
|
|
75
|
+
"value": "arc <by-to> <coordinate-pair> of <length-percentage>{1,2} [ <arc-sweep> || <arc-size> || rotate <angle> ]?",
|
|
76
76
|
"prose": "Add an elliptical arc command to the list of path data commands, ending at the point specified by the <coordinate-pair>. The of component specifies the size of the ellipse that the arc is taken from. The first <length-percentage> provides the horizontal radius of the ellipse and the second provides the vertical radius. Like for <coordinate-pair>s, <percentage> values are resolved against the width or height of the reference box, as appropriate. If only one <length-percentage> is provided, both radiuses use the provided value. In that case, <percentage> values are resolved against the direction-agnostic size of the reference box (similar to the circle() function). The ellipse described by the specified radiuses defaults to being axis-aligned, but can be rotated by specifying an <angle>. Similar to the rotate() transform function, positive angles specify a clockwise rotation, and negative angles specify a counterclockwise rotation. If omitted, this defaults to 0deg. The ending point, radiuses, and angle, taken together, usually define two possible ellipses that intersect the starting point and ending point, and each ellipse can be traced in either direction, for a total of four possible arcs. The <arc-sweep> and <arc-size> components specify which of these arcs is desired: <arc-sweep> can be cw or ccw, indicating that the arc that is traced around the ellipse clockwise or counter-clockwise from the center, respectively, must be chosen. If omitted, this defaults to ccw. Note: In the SVG arc command, cw corresponds to the value 1 for the sweep flag, and ccw to the value 0. <arc-size> can be large or small, indicating that the larger or smaller, respectively, of the two possible arcs must be chosen. If omitted, this defaults to small. Note: In the SVG arc command, large corresponds to the value 1 for the large flag, and small to the 0. Note: If the starting and ending points are on exactly opposite sides of the ellipse, both possible arcs are the same size, but also there is only one possible ellipse. In this case, the <arc-sweep> distinguishes which of the two possible arcs will be chosen, and <arc-size> has no effect. A depiction of the two possible ellipses, and four possible arcs, that can be chosen between."
|
|
77
77
|
},
|
|
78
78
|
"<arc-sweep>": {
|
package/css-shapes.json
CHANGED
|
@@ -52,12 +52,21 @@
|
|
|
52
52
|
},
|
|
53
53
|
"descriptors": {},
|
|
54
54
|
"valuespaces": {
|
|
55
|
+
"<basic-shape-rect>": {
|
|
56
|
+
"value": "<inset()> | <rect()> | <xywh()>"
|
|
57
|
+
},
|
|
55
58
|
"<shape-box>": {
|
|
56
59
|
"value": "<box> | margin-box"
|
|
57
60
|
},
|
|
58
61
|
"<inset()>": {
|
|
59
62
|
"value": "inset( <length-percentage>{1,4} [ round <'border-radius'> ]? )"
|
|
60
63
|
},
|
|
64
|
+
"<xywh()>": {
|
|
65
|
+
"value": "xywh( <length-percentage>{2} <length-percentage [0,∞]>{2} [ round <'border-radius'> ]? )"
|
|
66
|
+
},
|
|
67
|
+
"<rect()>": {
|
|
68
|
+
"value": "rect( [ <length-percentage> | auto ]{4} [ round <'border-radius'> ]? )"
|
|
69
|
+
},
|
|
61
70
|
"<circle()>": {
|
|
62
71
|
"value": "circle( <shape-radius>? [ at <position> ]? )"
|
|
63
72
|
},
|
package/css-text-4.json
CHANGED
|
@@ -4,6 +4,21 @@
|
|
|
4
4
|
"url": "https://drafts.csswg.org/css-text-4/"
|
|
5
5
|
},
|
|
6
6
|
"properties": {
|
|
7
|
+
"text-transform": {
|
|
8
|
+
"name": "text-transform",
|
|
9
|
+
"value": "none | [capitalize | uppercase | lowercase ] || full-width || full-size-kana",
|
|
10
|
+
"initial": "none",
|
|
11
|
+
"appliesTo": "text",
|
|
12
|
+
"inherited": "yes",
|
|
13
|
+
"percentages": "n/a",
|
|
14
|
+
"computedValue": "specified keyword",
|
|
15
|
+
"canonicalOrder": "n/a",
|
|
16
|
+
"animationType": "discrete",
|
|
17
|
+
"styleDeclaration": [
|
|
18
|
+
"text-transform",
|
|
19
|
+
"textTransform"
|
|
20
|
+
]
|
|
21
|
+
},
|
|
7
22
|
"word-boundary-detection": {
|
|
8
23
|
"name": "word-boundary-detection",
|
|
9
24
|
"value": "normal | manual | auto(<lang>)",
|
|
@@ -34,6 +49,21 @@
|
|
|
34
49
|
"wordBoundaryExpansion"
|
|
35
50
|
]
|
|
36
51
|
},
|
|
52
|
+
"white-space": {
|
|
53
|
+
"name": "white-space",
|
|
54
|
+
"value": "normal | pre | nowrap | pre-wrap | break-spaces | pre-line",
|
|
55
|
+
"initial": "normal",
|
|
56
|
+
"appliesTo": "text",
|
|
57
|
+
"inherited": "yes",
|
|
58
|
+
"percentages": "n/a",
|
|
59
|
+
"computedValue": "specified keyword",
|
|
60
|
+
"canonicalOrder": "n/a",
|
|
61
|
+
"animationType": "discrete",
|
|
62
|
+
"styleDeclaration": [
|
|
63
|
+
"white-space",
|
|
64
|
+
"whiteSpace"
|
|
65
|
+
]
|
|
66
|
+
},
|
|
37
67
|
"text-space-collapse": {
|
|
38
68
|
"name": "text-space-collapse",
|
|
39
69
|
"value": "collapse | discard | preserve | preserve-breaks | preserve-spaces",
|
|
@@ -64,79 +94,63 @@
|
|
|
64
94
|
"textSpaceTrim"
|
|
65
95
|
]
|
|
66
96
|
},
|
|
67
|
-
"
|
|
68
|
-
"name": "
|
|
69
|
-
"value": "
|
|
70
|
-
"initial": "
|
|
71
|
-
"appliesTo": "text
|
|
97
|
+
"tab-size": {
|
|
98
|
+
"name": "tab-size",
|
|
99
|
+
"value": "<number> | <length>",
|
|
100
|
+
"initial": "8",
|
|
101
|
+
"appliesTo": "text",
|
|
72
102
|
"inherited": "yes",
|
|
73
103
|
"percentages": "n/a",
|
|
74
|
-
"computedValue": "specified
|
|
75
|
-
"canonicalOrder": "
|
|
76
|
-
"animationType": "
|
|
77
|
-
"styleDeclaration": [
|
|
78
|
-
"text-wrap",
|
|
79
|
-
"textWrap"
|
|
80
|
-
]
|
|
81
|
-
},
|
|
82
|
-
"wrap-before": {
|
|
83
|
-
"name": "wrap-before",
|
|
84
|
-
"value": "auto | avoid | avoid-line | avoid-flex | line | flex",
|
|
85
|
-
"initial": "auto",
|
|
86
|
-
"appliesTo": "inline-level boxes and flex items",
|
|
87
|
-
"inherited": "no",
|
|
88
|
-
"percentages": "n/a",
|
|
89
|
-
"computedValue": "specified keyword",
|
|
90
|
-
"canonicalOrder": "per grammar",
|
|
91
|
-
"animationType": "discrete",
|
|
104
|
+
"computedValue": "the specified number or absolute length",
|
|
105
|
+
"canonicalOrder": "n/a",
|
|
106
|
+
"animationType": "by computed value type",
|
|
92
107
|
"styleDeclaration": [
|
|
93
|
-
"
|
|
94
|
-
"
|
|
108
|
+
"tab-size",
|
|
109
|
+
"tabSize"
|
|
95
110
|
]
|
|
96
111
|
},
|
|
97
|
-
"
|
|
98
|
-
"name": "
|
|
99
|
-
"value": "
|
|
100
|
-
"initial": "
|
|
101
|
-
"appliesTo": "
|
|
102
|
-
"inherited": "
|
|
112
|
+
"word-break": {
|
|
113
|
+
"name": "word-break",
|
|
114
|
+
"value": "normal | keep-all | break-all | break-word",
|
|
115
|
+
"initial": "normal",
|
|
116
|
+
"appliesTo": "text",
|
|
117
|
+
"inherited": "yes",
|
|
103
118
|
"percentages": "n/a",
|
|
104
119
|
"computedValue": "specified keyword",
|
|
105
|
-
"canonicalOrder": "
|
|
120
|
+
"canonicalOrder": "n/a",
|
|
106
121
|
"animationType": "discrete",
|
|
107
122
|
"styleDeclaration": [
|
|
108
|
-
"
|
|
109
|
-
"
|
|
123
|
+
"word-break",
|
|
124
|
+
"wordBreak"
|
|
110
125
|
]
|
|
111
126
|
},
|
|
112
|
-
"
|
|
113
|
-
"name": "
|
|
114
|
-
"value": "auto |
|
|
127
|
+
"line-break": {
|
|
128
|
+
"name": "line-break",
|
|
129
|
+
"value": "auto | loose | normal | strict | anywhere",
|
|
115
130
|
"initial": "auto",
|
|
116
|
-
"appliesTo": "
|
|
117
|
-
"inherited": "
|
|
131
|
+
"appliesTo": "text",
|
|
132
|
+
"inherited": "yes",
|
|
118
133
|
"percentages": "n/a",
|
|
119
134
|
"computedValue": "specified keyword",
|
|
120
|
-
"canonicalOrder": "
|
|
135
|
+
"canonicalOrder": "n/a",
|
|
121
136
|
"animationType": "discrete",
|
|
122
137
|
"styleDeclaration": [
|
|
123
|
-
"
|
|
124
|
-
"
|
|
138
|
+
"line-break",
|
|
139
|
+
"lineBreak"
|
|
125
140
|
]
|
|
126
141
|
},
|
|
127
|
-
"
|
|
128
|
-
"name": "
|
|
129
|
-
"value": "
|
|
130
|
-
"initial": "
|
|
131
|
-
"appliesTo": "
|
|
142
|
+
"hyphens": {
|
|
143
|
+
"name": "hyphens",
|
|
144
|
+
"value": "none | manual | auto",
|
|
145
|
+
"initial": "manual",
|
|
146
|
+
"appliesTo": "text",
|
|
132
147
|
"inherited": "yes",
|
|
133
148
|
"percentages": "n/a",
|
|
134
|
-
"computedValue": "
|
|
149
|
+
"computedValue": "specified keyword",
|
|
150
|
+
"canonicalOrder": "n/a",
|
|
135
151
|
"animationType": "discrete",
|
|
136
|
-
"canonicalOrder": "per grammar",
|
|
137
152
|
"styleDeclaration": [
|
|
138
|
-
"
|
|
139
|
-
"whiteSpace"
|
|
153
|
+
"hyphens"
|
|
140
154
|
]
|
|
141
155
|
},
|
|
142
156
|
"hyphenate-character": {
|
|
@@ -214,6 +228,156 @@
|
|
|
214
228
|
"hyphenateLimitLast"
|
|
215
229
|
]
|
|
216
230
|
},
|
|
231
|
+
"overflow-wrap": {
|
|
232
|
+
"name": "overflow-wrap",
|
|
233
|
+
"value": "normal | break-word | anywhere",
|
|
234
|
+
"initial": "normal",
|
|
235
|
+
"appliesTo": "text",
|
|
236
|
+
"inherited": "yes",
|
|
237
|
+
"percentages": "n/a",
|
|
238
|
+
"computedValue": "specified keyword",
|
|
239
|
+
"canonicalOrder": "n/a",
|
|
240
|
+
"animationType": "discrete",
|
|
241
|
+
"styleDeclaration": [
|
|
242
|
+
"overflow-wrap",
|
|
243
|
+
"overflowWrap"
|
|
244
|
+
]
|
|
245
|
+
},
|
|
246
|
+
"word-wrap": {
|
|
247
|
+
"name": "word-wrap",
|
|
248
|
+
"value": "normal | break-word | anywhere",
|
|
249
|
+
"initial": "normal",
|
|
250
|
+
"appliesTo": "text",
|
|
251
|
+
"inherited": "yes",
|
|
252
|
+
"percentages": "n/a",
|
|
253
|
+
"computedValue": "specified keyword",
|
|
254
|
+
"canonicalOrder": "n/a",
|
|
255
|
+
"animationType": "discrete",
|
|
256
|
+
"styleDeclaration": [
|
|
257
|
+
"word-wrap",
|
|
258
|
+
"wordWrap"
|
|
259
|
+
]
|
|
260
|
+
},
|
|
261
|
+
"text-wrap": {
|
|
262
|
+
"name": "text-wrap",
|
|
263
|
+
"value": "wrap | nowrap | balance | stable | pretty",
|
|
264
|
+
"initial": "wrap",
|
|
265
|
+
"appliesTo": "text and block containers",
|
|
266
|
+
"inherited": "yes",
|
|
267
|
+
"percentages": "n/a",
|
|
268
|
+
"computedValue": "specified keyword",
|
|
269
|
+
"canonicalOrder": "per grammar",
|
|
270
|
+
"animationType": "discrete",
|
|
271
|
+
"styleDeclaration": [
|
|
272
|
+
"text-wrap",
|
|
273
|
+
"textWrap"
|
|
274
|
+
]
|
|
275
|
+
},
|
|
276
|
+
"wrap-before": {
|
|
277
|
+
"name": "wrap-before",
|
|
278
|
+
"value": "auto | avoid | avoid-line | avoid-flex | line | flex",
|
|
279
|
+
"initial": "auto",
|
|
280
|
+
"appliesTo": "inline-level boxes and flex items",
|
|
281
|
+
"inherited": "no",
|
|
282
|
+
"percentages": "n/a",
|
|
283
|
+
"computedValue": "specified keyword",
|
|
284
|
+
"canonicalOrder": "per grammar",
|
|
285
|
+
"animationType": "discrete",
|
|
286
|
+
"styleDeclaration": [
|
|
287
|
+
"wrap-before",
|
|
288
|
+
"wrapBefore"
|
|
289
|
+
]
|
|
290
|
+
},
|
|
291
|
+
"wrap-after": {
|
|
292
|
+
"name": "wrap-after",
|
|
293
|
+
"value": "auto | avoid | avoid-line | avoid-flex | line | flex",
|
|
294
|
+
"initial": "auto",
|
|
295
|
+
"appliesTo": "inline-level boxes and flex items",
|
|
296
|
+
"inherited": "no",
|
|
297
|
+
"percentages": "n/a",
|
|
298
|
+
"computedValue": "specified keyword",
|
|
299
|
+
"canonicalOrder": "per grammar",
|
|
300
|
+
"animationType": "discrete",
|
|
301
|
+
"styleDeclaration": [
|
|
302
|
+
"wrap-after",
|
|
303
|
+
"wrapAfter"
|
|
304
|
+
]
|
|
305
|
+
},
|
|
306
|
+
"wrap-inside": {
|
|
307
|
+
"name": "wrap-inside",
|
|
308
|
+
"value": "auto | avoid",
|
|
309
|
+
"initial": "auto",
|
|
310
|
+
"appliesTo": "inline boxes",
|
|
311
|
+
"inherited": "no",
|
|
312
|
+
"percentages": "n/a",
|
|
313
|
+
"computedValue": "specified keyword",
|
|
314
|
+
"canonicalOrder": "per grammar",
|
|
315
|
+
"animationType": "discrete",
|
|
316
|
+
"styleDeclaration": [
|
|
317
|
+
"wrap-inside",
|
|
318
|
+
"wrapInside"
|
|
319
|
+
]
|
|
320
|
+
},
|
|
321
|
+
"text-align": {
|
|
322
|
+
"name": "text-align",
|
|
323
|
+
"value": "start | end | left | right | center | <string> | justify | match-parent | justify-all",
|
|
324
|
+
"initial": "start",
|
|
325
|
+
"appliesTo": "block containers",
|
|
326
|
+
"inherited": "yes",
|
|
327
|
+
"percentages": "see individual properties",
|
|
328
|
+
"computedValue": "see individual properties",
|
|
329
|
+
"animationType": "discrete",
|
|
330
|
+
"canonicalOrder": "n/a",
|
|
331
|
+
"styleDeclaration": [
|
|
332
|
+
"text-align",
|
|
333
|
+
"textAlign"
|
|
334
|
+
]
|
|
335
|
+
},
|
|
336
|
+
"text-align-all": {
|
|
337
|
+
"name": "text-align-all",
|
|
338
|
+
"value": "start | end | left | right | center | justify | match-parent",
|
|
339
|
+
"initial": "start",
|
|
340
|
+
"appliesTo": "block containers",
|
|
341
|
+
"inherited": "yes",
|
|
342
|
+
"percentages": "n/a",
|
|
343
|
+
"computedValue": "keyword as specified, except for match-parent which computes as defined above",
|
|
344
|
+
"canonicalOrder": "n/a",
|
|
345
|
+
"animationType": "discrete",
|
|
346
|
+
"styleDeclaration": [
|
|
347
|
+
"text-align-all",
|
|
348
|
+
"textAlignAll"
|
|
349
|
+
]
|
|
350
|
+
},
|
|
351
|
+
"text-align-last": {
|
|
352
|
+
"name": "text-align-last",
|
|
353
|
+
"value": "auto | start | end | left | right | center | justify | match-parent",
|
|
354
|
+
"initial": "auto",
|
|
355
|
+
"appliesTo": "block containers",
|
|
356
|
+
"inherited": "yes",
|
|
357
|
+
"percentages": "n/a",
|
|
358
|
+
"computedValue": "specified keyword",
|
|
359
|
+
"canonicalOrder": "n/a",
|
|
360
|
+
"animationType": "discrete",
|
|
361
|
+
"styleDeclaration": [
|
|
362
|
+
"text-align-last",
|
|
363
|
+
"textAlignLast"
|
|
364
|
+
]
|
|
365
|
+
},
|
|
366
|
+
"text-justify": {
|
|
367
|
+
"name": "text-justify",
|
|
368
|
+
"value": "auto | none | inter-word | inter-character",
|
|
369
|
+
"initial": "auto",
|
|
370
|
+
"appliesTo": "text",
|
|
371
|
+
"inherited": "yes",
|
|
372
|
+
"percentages": "n/a",
|
|
373
|
+
"computedValue": "specified keyword (except for the distribute legacy value)",
|
|
374
|
+
"canonicalOrder": "n/a",
|
|
375
|
+
"animationType": "discrete",
|
|
376
|
+
"styleDeclaration": [
|
|
377
|
+
"text-justify",
|
|
378
|
+
"textJustify"
|
|
379
|
+
]
|
|
380
|
+
},
|
|
217
381
|
"text-group-align": {
|
|
218
382
|
"name": "text-group-align",
|
|
219
383
|
"value": "none | start | end | left | right | center",
|
|
@@ -229,6 +393,36 @@
|
|
|
229
393
|
"textGroupAlign"
|
|
230
394
|
]
|
|
231
395
|
},
|
|
396
|
+
"word-spacing": {
|
|
397
|
+
"name": "word-spacing",
|
|
398
|
+
"value": "normal | <length-percentage>",
|
|
399
|
+
"initial": "normal",
|
|
400
|
+
"appliesTo": "text",
|
|
401
|
+
"inherited": "yes",
|
|
402
|
+
"percentages": "relative to computed font-size, i.e. 1em",
|
|
403
|
+
"computedValue": "an absolute length and/or a percentage",
|
|
404
|
+
"canonicalOrder": "n/a",
|
|
405
|
+
"animationType": "by computed value type",
|
|
406
|
+
"styleDeclaration": [
|
|
407
|
+
"word-spacing",
|
|
408
|
+
"wordSpacing"
|
|
409
|
+
]
|
|
410
|
+
},
|
|
411
|
+
"letter-spacing": {
|
|
412
|
+
"name": "letter-spacing",
|
|
413
|
+
"value": "normal | <length-percentage>",
|
|
414
|
+
"initial": "normal",
|
|
415
|
+
"appliesTo": "inline boxes and text",
|
|
416
|
+
"inherited": "yes",
|
|
417
|
+
"percentages": "relative to computed font-size, i.e. 1em",
|
|
418
|
+
"computedValue": "an absolute length and/or a percentage",
|
|
419
|
+
"canonicalOrder": "n/a",
|
|
420
|
+
"animationType": "by computed value type",
|
|
421
|
+
"styleDeclaration": [
|
|
422
|
+
"letter-spacing",
|
|
423
|
+
"letterSpacing"
|
|
424
|
+
]
|
|
425
|
+
},
|
|
232
426
|
"line-padding": {
|
|
233
427
|
"name": "line-padding",
|
|
234
428
|
"value": "<length>",
|
|
@@ -258,12 +452,51 @@
|
|
|
258
452
|
"text-spacing",
|
|
259
453
|
"textSpacing"
|
|
260
454
|
]
|
|
455
|
+
},
|
|
456
|
+
"text-indent": {
|
|
457
|
+
"name": "text-indent",
|
|
458
|
+
"value": "[ <length-percentage> ] && hanging? && each-line?",
|
|
459
|
+
"initial": "0",
|
|
460
|
+
"appliesTo": "block containers",
|
|
461
|
+
"inherited": "yes",
|
|
462
|
+
"percentages": "refers to block container’s own inline-axis inner size",
|
|
463
|
+
"computedValue": "computed <length-percentage> value, plus any specified keywords",
|
|
464
|
+
"canonicalOrder": "per grammar",
|
|
465
|
+
"animationType": "by computed value type",
|
|
466
|
+
"styleDeclaration": [
|
|
467
|
+
"text-indent",
|
|
468
|
+
"textIndent"
|
|
469
|
+
]
|
|
470
|
+
},
|
|
471
|
+
"hanging-punctuation": {
|
|
472
|
+
"name": "hanging-punctuation",
|
|
473
|
+
"value": "none | [ first || [ force-end | allow-end ] || last ]",
|
|
474
|
+
"initial": "none",
|
|
475
|
+
"appliesTo": "text",
|
|
476
|
+
"inherited": "yes",
|
|
477
|
+
"percentages": "n/a",
|
|
478
|
+
"computedValue": "specified keyword(s)",
|
|
479
|
+
"canonicalOrder": "per grammar",
|
|
480
|
+
"animationType": "discrete",
|
|
481
|
+
"styleDeclaration": [
|
|
482
|
+
"hanging-punctuation",
|
|
483
|
+
"hangingPunctuation"
|
|
484
|
+
]
|
|
261
485
|
}
|
|
262
486
|
},
|
|
263
487
|
"descriptors": {},
|
|
264
488
|
"valuespaces": {
|
|
265
489
|
"<auto()>": {
|
|
266
490
|
"value": "auto(<lang>)"
|
|
491
|
+
},
|
|
492
|
+
"<length-percentages>": {
|
|
493
|
+
"prose": "Specifies extra spacing in addition to the intrinsic inter-word spacing defined by the font."
|
|
494
|
+
},
|
|
495
|
+
"<length>": {
|
|
496
|
+
"prose": "Specifies additional spacing between typographic character units. Values may be negative, but there may be implementation-dependent limits."
|
|
497
|
+
},
|
|
498
|
+
"<percentage>": {
|
|
499
|
+
"prose": "Gives the amount of the indent as a percentage of the block container’s own logical width. Percentages must be treated as 0 for the purpose of calculating intrinsic size contributions, but are always resolved normally when performing layout."
|
|
267
500
|
}
|
|
268
501
|
}
|
|
269
502
|
}
|
package/css-text-decor-4.json
CHANGED
|
@@ -283,7 +283,7 @@
|
|
|
283
283
|
"percentages": "n/a",
|
|
284
284
|
"computedValue": "either the keyword none or a list, each item consisting of four absolute lengths plus a computed color",
|
|
285
285
|
"canonicalOrder": "per grammar",
|
|
286
|
-
"animationType": "
|
|
286
|
+
"animationType": "as shadow list",
|
|
287
287
|
"styleDeclaration": [
|
|
288
288
|
"text-shadow",
|
|
289
289
|
"textShadow"
|
package/css-text-decor.json
CHANGED
|
@@ -148,7 +148,7 @@
|
|
|
148
148
|
"percentages": "n/a",
|
|
149
149
|
"computedValue": "either the keyword none or a list, each item consisting of three absolute lengths plus a computed color",
|
|
150
150
|
"canonicalOrder": "per grammar",
|
|
151
|
-
"animationType": "
|
|
151
|
+
"animationType": "as shadow list",
|
|
152
152
|
"styleDeclaration": [
|
|
153
153
|
"text-shadow",
|
|
154
154
|
"textShadow"
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@webref/css",
|
|
3
3
|
"description": "CSS definitions of the web platform",
|
|
4
|
-
"version": "3.0.
|
|
4
|
+
"version": "3.0.10",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
7
7
|
"url": "https://github.com/w3c/webref.git"
|
|
@@ -12,6 +12,6 @@
|
|
|
12
12
|
"license": "MIT",
|
|
13
13
|
"main": "index.js",
|
|
14
14
|
"peerDependencies": {
|
|
15
|
-
"css-tree": "^2.0
|
|
15
|
+
"css-tree": "^2.1.0"
|
|
16
16
|
}
|
|
17
17
|
}
|