@webref/css 5.4.4 → 6.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +66 -0
- package/CSS.json +416 -21
- package/README.md +4 -4
- package/SVG.json +42 -35
- package/compat.json +111 -75
- package/compositing.json +101 -12
- package/css-align.json +237 -29
- package/css-anchor.json +177 -19
- package/css-animations-2.json +37 -15
- package/css-animations.json +155 -31
- package/css-backgrounds-4.json +107 -32
- package/css-backgrounds.json +426 -59
- package/css-box.json +243 -20
- package/css-break.json +292 -11
- package/css-cascade-6.json +22 -13
- package/css-cascade.json +50 -15
- package/css-color-5.json +320 -35
- package/css-color-adjust.json +75 -8
- package/css-color.json +1100 -61
- package/css-conditional-4.json +11 -6
- package/css-conditional-5.json +38 -19
- package/css-conditional.json +28 -15
- package/css-contain-3.json +101 -26
- package/css-contain.json +71 -6
- package/css-content.json +263 -30
- package/css-counter-styles.json +455 -18
- package/css-display.json +250 -19
- package/css-easing.json +137 -25
- package/css-env.json +61 -6
- package/css-exclusions.json +65 -6
- package/css-extensions.json +20 -12
- package/css-flexbox.json +132 -11
- package/css-fonts-5.json +255 -13
- package/css-fonts.json +886 -74
- package/css-gcpm-4.json +30 -5
- package/css-gcpm.json +76 -15
- package/css-grid-3.json +10 -9
- package/css-grid.json +442 -42
- package/css-highlight-api.json +13 -5
- package/css-images-4.json +192 -67
- package/css-images.json +152 -33
- package/css-inline.json +525 -16
- package/css-layout-api.json +20 -0
- package/css-line-grid.json +80 -7
- package/css-lists.json +140 -19
- package/css-logical.json +125 -50
- package/css-masking.json +330 -47
- package/css-multicol-2.json +32 -5
- package/css-multicol.json +84 -13
- package/css-namespaces.json +15 -10
- package/css-nav.json +62 -7
- package/css-nesting.json +15 -0
- package/css-overflow-4.json +83 -10
- package/css-overflow.json +239 -18
- package/css-overscroll.json +110 -9
- package/css-page-floats.json +188 -16
- package/css-page.json +262 -67
- package/css-paint-api.json +8 -5
- package/css-position.json +269 -16
- package/css-properties-values-api.json +9 -7
- package/css-pseudo.json +67 -0
- package/css-regions.json +8 -7
- package/css-rhythm.json +69 -10
- package/css-round-display.json +47 -10
- package/css-ruby.json +136 -8
- package/css-scoping.json +27 -0
- package/css-scroll-anchoring.json +20 -5
- package/css-scroll-snap-2.json +272 -10
- package/css-scroll-snap.json +218 -29
- package/css-scrollbars.json +41 -6
- package/css-shadow-parts.json +8 -5
- package/css-shapes-2.json +190 -43
- package/css-shapes.json +130 -36
- package/css-size-adjust.json +26 -5
- package/css-sizing-4.json +404 -23
- package/css-sizing.json +231 -12
- package/css-speech.json +619 -35
- package/css-syntax.json +193 -92
- package/css-tables.json +10 -9
- package/css-text-4.json +800 -40
- package/css-text-decor-4.json +394 -23
- package/css-text-decor.json +159 -14
- package/css-text.json +371 -20
- package/css-transforms-2.json +177 -40
- package/css-transforms.json +137 -45
- package/css-transitions.json +33 -14
- package/css-ui.json +436 -42
- package/css-values-5.json +99 -14
- package/css-values.json +653 -146
- package/css-variables.json +12 -7
- package/css-view-transitions.json +45 -7
- package/css-will-change.json +36 -7
- package/css-writing-modes.json +141 -10
- package/fill-stroke.json +290 -35
- package/filter-effects-2.json +6 -5
- package/filter-effects.json +109 -45
- package/fullscreen.json +15 -0
- package/mathml-core.json +10 -9
- package/mediaqueries-5.json +505 -52
- package/mediaqueries.json +307 -40
- package/motion.json +99 -16
- package/package.json +1 -1
- package/scroll-animations.json +225 -24
- package/selectors.json +368 -30
- package/svg-strokes.json +8 -7
- package/upgrade-insecure-requests.json +26 -0
- package/html.json +0 -19
package/css-shapes-2.json
CHANGED
|
@@ -3,8 +3,8 @@
|
|
|
3
3
|
"title": "CSS Shapes Module Level 2",
|
|
4
4
|
"url": "https://drafts.csswg.org/css-shapes-2/"
|
|
5
5
|
},
|
|
6
|
-
"properties":
|
|
7
|
-
|
|
6
|
+
"properties": [
|
|
7
|
+
{
|
|
8
8
|
"name": "shape-inside",
|
|
9
9
|
"value": "auto | outside-shape | [ <basic-shape> || shape-box ] | <image> | display",
|
|
10
10
|
"initial": "auto",
|
|
@@ -14,12 +14,44 @@
|
|
|
14
14
|
"computedValue": "computed lengths for <basic-shape>, the absolute URL for <url>, otherwise as specified",
|
|
15
15
|
"canonicalOrder": "per grammar",
|
|
16
16
|
"animationType": "as defined for <basic-shape>, otherwise discrete",
|
|
17
|
+
"values": [
|
|
18
|
+
{
|
|
19
|
+
"name": "auto",
|
|
20
|
+
"prose": "The shape is computed based on the content box of the element.",
|
|
21
|
+
"type": "value",
|
|
22
|
+
"value": "auto"
|
|
23
|
+
},
|
|
24
|
+
{
|
|
25
|
+
"name": "outside-shape",
|
|
26
|
+
"prose": "The shape is computed based on the shape defined by the shape-outside and shape-margin properties.",
|
|
27
|
+
"type": "value",
|
|
28
|
+
"value": "outside-shape"
|
|
29
|
+
},
|
|
30
|
+
{
|
|
31
|
+
"name": "<basic-shape>",
|
|
32
|
+
"prose": "The shape is computed based on the values of one of inset(), circle(), ellipse() or polygon().",
|
|
33
|
+
"type": "value",
|
|
34
|
+
"value": "<basic-shape>"
|
|
35
|
+
},
|
|
36
|
+
{
|
|
37
|
+
"name": "<url>",
|
|
38
|
+
"prose": "If the <uri> references an SVG shape element, that element defines the shape. Otherwise, if the <uri> references an image, the shape is extracted and computed based on the alpha channel of the specified image. If the <uri> does not reference an SVG shape element or an image, the effect is as if the value auto had been specified.",
|
|
39
|
+
"type": "value",
|
|
40
|
+
"value": "<url>"
|
|
41
|
+
},
|
|
42
|
+
{
|
|
43
|
+
"name": "display",
|
|
44
|
+
"prose": "The shape is computed based on the shape of the display as described in css-round-display.",
|
|
45
|
+
"type": "value",
|
|
46
|
+
"value": "display"
|
|
47
|
+
}
|
|
48
|
+
],
|
|
17
49
|
"styleDeclaration": [
|
|
18
50
|
"shape-inside",
|
|
19
51
|
"shapeInside"
|
|
20
52
|
]
|
|
21
53
|
},
|
|
22
|
-
|
|
54
|
+
{
|
|
23
55
|
"name": "shape-padding",
|
|
24
56
|
"value": "<length>",
|
|
25
57
|
"initial": "none",
|
|
@@ -34,47 +66,162 @@
|
|
|
34
66
|
"shapePadding"
|
|
35
67
|
]
|
|
36
68
|
}
|
|
37
|
-
|
|
38
|
-
"atrules":
|
|
39
|
-
"
|
|
40
|
-
|
|
69
|
+
],
|
|
70
|
+
"atrules": [],
|
|
71
|
+
"selectors": [],
|
|
72
|
+
"values": [
|
|
73
|
+
{
|
|
74
|
+
"name": "shape()",
|
|
75
|
+
"type": "function",
|
|
76
|
+
"value": "shape( <'fill-rule'>? from <coordinate-pair>, <shape-command>#)",
|
|
77
|
+
"values": [
|
|
78
|
+
{
|
|
79
|
+
"name": "<coordinate-pair>",
|
|
80
|
+
"value": "<length-percentage>{2}",
|
|
81
|
+
"type": "type"
|
|
82
|
+
},
|
|
83
|
+
{
|
|
84
|
+
"name": "<by-to>",
|
|
85
|
+
"value": "by | to",
|
|
86
|
+
"type": "type",
|
|
87
|
+
"values": [
|
|
88
|
+
{
|
|
89
|
+
"name": "by",
|
|
90
|
+
"prose": "<by-to> = by | to",
|
|
91
|
+
"type": "value",
|
|
92
|
+
"value": "by"
|
|
93
|
+
},
|
|
94
|
+
{
|
|
95
|
+
"name": "to",
|
|
96
|
+
"prose": "<by-to> = by | to",
|
|
97
|
+
"type": "value",
|
|
98
|
+
"value": "to"
|
|
99
|
+
}
|
|
100
|
+
]
|
|
101
|
+
},
|
|
102
|
+
{
|
|
103
|
+
"name": "<move-command>",
|
|
104
|
+
"value": "move <by-to> <coordinate-pair>",
|
|
105
|
+
"type": "type"
|
|
106
|
+
},
|
|
107
|
+
{
|
|
108
|
+
"name": "move",
|
|
109
|
+
"prose": "<move-command> = move <by-to> <coordinate-pair>",
|
|
110
|
+
"type": "value",
|
|
111
|
+
"value": "move"
|
|
112
|
+
},
|
|
113
|
+
{
|
|
114
|
+
"name": "<line-command>",
|
|
115
|
+
"value": "line <by-to> <coordinate-pair>",
|
|
116
|
+
"type": "type"
|
|
117
|
+
},
|
|
118
|
+
{
|
|
119
|
+
"name": "line",
|
|
120
|
+
"prose": "<line-command> = line <by-to> <coordinate-pair>",
|
|
121
|
+
"type": "value",
|
|
122
|
+
"value": "line"
|
|
123
|
+
},
|
|
124
|
+
{
|
|
125
|
+
"name": "<hv-line-command>",
|
|
126
|
+
"value": "[hline | vline] <by-to> <length-percentage>",
|
|
127
|
+
"type": "type"
|
|
128
|
+
},
|
|
129
|
+
{
|
|
130
|
+
"name": "hline",
|
|
131
|
+
"prose": "<hv-line-command> = [hline | vline] <by-to> <length-percentage>",
|
|
132
|
+
"type": "value",
|
|
133
|
+
"value": "hline"
|
|
134
|
+
},
|
|
135
|
+
{
|
|
136
|
+
"name": "vline",
|
|
137
|
+
"prose": "<hv-line-command> = [hline | vline] <by-to> <length-percentage>",
|
|
138
|
+
"type": "value",
|
|
139
|
+
"value": "vline"
|
|
140
|
+
},
|
|
141
|
+
{
|
|
142
|
+
"name": "<curve-command>",
|
|
143
|
+
"value": "curve <by-to> <coordinate-pair> via <coordinate-pair>{1,2}",
|
|
144
|
+
"type": "type"
|
|
145
|
+
},
|
|
146
|
+
{
|
|
147
|
+
"name": "curve",
|
|
148
|
+
"prose": "<curve-command> = curve <by-to> <coordinate-pair> via <coordinate-pair>{1,2}",
|
|
149
|
+
"type": "value",
|
|
150
|
+
"value": "curve"
|
|
151
|
+
},
|
|
152
|
+
{
|
|
153
|
+
"name": "<smooth-command>",
|
|
154
|
+
"value": "smooth <by-to> <coordinate-pair> [via <coordinate-pair>]?",
|
|
155
|
+
"type": "type"
|
|
156
|
+
},
|
|
157
|
+
{
|
|
158
|
+
"name": "smooth",
|
|
159
|
+
"prose": "<smooth-command> = smooth <by-to> <coordinate-pair> [via <coordinate-pair>]?",
|
|
160
|
+
"type": "value",
|
|
161
|
+
"value": "smooth"
|
|
162
|
+
},
|
|
163
|
+
{
|
|
164
|
+
"name": "<arc-command>",
|
|
165
|
+
"value": "arc <by-to> <coordinate-pair> of <length-percentage>{1,2} [ <arc-sweep> || <arc-size> || rotate <angle> ]?",
|
|
166
|
+
"type": "type"
|
|
167
|
+
},
|
|
168
|
+
{
|
|
169
|
+
"name": "arc",
|
|
170
|
+
"prose": "<arc-command> = arc <by-to> <coordinate-pair> of <length-percentage>{1,2} [ <arc-sweep> || <arc-size> || rotate <angle> ]",
|
|
171
|
+
"type": "value",
|
|
172
|
+
"value": "arc",
|
|
173
|
+
"values": [
|
|
174
|
+
{
|
|
175
|
+
"name": "cw",
|
|
176
|
+
"prose": "<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.",
|
|
177
|
+
"type": "value",
|
|
178
|
+
"value": "cw"
|
|
179
|
+
},
|
|
180
|
+
{
|
|
181
|
+
"name": "ccw",
|
|
182
|
+
"prose": "<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.",
|
|
183
|
+
"type": "value",
|
|
184
|
+
"value": "ccw"
|
|
185
|
+
},
|
|
186
|
+
{
|
|
187
|
+
"name": "large",
|
|
188
|
+
"prose": "<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.",
|
|
189
|
+
"type": "value",
|
|
190
|
+
"value": "large"
|
|
191
|
+
},
|
|
192
|
+
{
|
|
193
|
+
"name": "small",
|
|
194
|
+
"prose": "<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.",
|
|
195
|
+
"type": "value",
|
|
196
|
+
"value": "small"
|
|
197
|
+
}
|
|
198
|
+
]
|
|
199
|
+
},
|
|
200
|
+
{
|
|
201
|
+
"name": "<arc-sweep>",
|
|
202
|
+
"prose": "<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.",
|
|
203
|
+
"type": "type",
|
|
204
|
+
"value": "cw | ccw"
|
|
205
|
+
},
|
|
206
|
+
{
|
|
207
|
+
"name": "<arc-size>",
|
|
208
|
+
"prose": "<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.",
|
|
209
|
+
"type": "type",
|
|
210
|
+
"value": "large | small"
|
|
211
|
+
},
|
|
212
|
+
{
|
|
213
|
+
"name": "close",
|
|
214
|
+
"prose": "Adds a closepath command to the list of path data commands.",
|
|
215
|
+
"type": "value",
|
|
216
|
+
"value": "close"
|
|
217
|
+
}
|
|
218
|
+
]
|
|
219
|
+
},
|
|
220
|
+
{
|
|
221
|
+
"name": "<shape-command>",
|
|
41
222
|
"prose": "The sequence of <shape-command>s represent further path data commands. Each command’s starting point is the previous command’s ending point.",
|
|
223
|
+
"type": "type",
|
|
42
224
|
"value": "<move-command> | <line-command> | <hv-line-command> | <curve-command> | <smooth-command> | <arc-command> | close"
|
|
43
|
-
},
|
|
44
|
-
"<coordinate-pair>": {
|
|
45
|
-
"value": "<length-percentage>{2}"
|
|
46
|
-
},
|
|
47
|
-
"<by-to>": {
|
|
48
|
-
"value": "by | to"
|
|
49
|
-
},
|
|
50
|
-
"<move-command>": {
|
|
51
|
-
"value": "move <by-to> <coordinate-pair>"
|
|
52
|
-
},
|
|
53
|
-
"<line-command>": {
|
|
54
|
-
"value": "line <by-to> <coordinate-pair>"
|
|
55
|
-
},
|
|
56
|
-
"<hv-line-command>": {
|
|
57
|
-
"value": "[hline | vline] <by-to> <length-percentage>"
|
|
58
|
-
},
|
|
59
|
-
"<curve-command>": {
|
|
60
|
-
"value": "curve <by-to> <coordinate-pair> via <coordinate-pair>{1,2}"
|
|
61
|
-
},
|
|
62
|
-
"<smooth-command>": {
|
|
63
|
-
"value": "smooth <by-to> <coordinate-pair> [via <coordinate-pair>]?"
|
|
64
|
-
},
|
|
65
|
-
"<arc-command>": {
|
|
66
|
-
"value": "arc <by-to> <coordinate-pair> of <length-percentage>{1,2} [ <arc-sweep> || <arc-size> || rotate <angle> ] | arc <by-to> <coordinate-pair> of <length-percentage>{1,2} [ <arc-sweep> || <arc-size> || rotate <angle> ]?"
|
|
67
|
-
},
|
|
68
|
-
"<arc-sweep>": {
|
|
69
|
-
"prose": "<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.",
|
|
70
|
-
"value": "cw | ccw"
|
|
71
|
-
},
|
|
72
|
-
"<arc-size>": {
|
|
73
|
-
"prose": "<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.",
|
|
74
|
-
"value": "large | small"
|
|
75
|
-
},
|
|
76
|
-
"<shape()>": {
|
|
77
|
-
"value": "shape( <'fill-rule'>? from <coordinate-pair>, <shape-command>#)"
|
|
78
225
|
}
|
|
79
|
-
|
|
226
|
+
]
|
|
80
227
|
}
|
package/css-shapes.json
CHANGED
|
@@ -3,8 +3,8 @@
|
|
|
3
3
|
"title": "CSS Shapes Module Level 1",
|
|
4
4
|
"url": "https://drafts.csswg.org/css-shapes-1/"
|
|
5
5
|
},
|
|
6
|
-
"properties":
|
|
7
|
-
|
|
6
|
+
"properties": [
|
|
7
|
+
{
|
|
8
8
|
"name": "shape-outside",
|
|
9
9
|
"value": "none | [ <basic-shape> || <shape-box> ] | <image>",
|
|
10
10
|
"initial": "none",
|
|
@@ -14,12 +14,32 @@
|
|
|
14
14
|
"computedValue": "as defined for <basic-shape> (with <shape-box> following, if supplied); else the computed <image>; else the keyword as specified",
|
|
15
15
|
"canonicalOrder": "per grammar",
|
|
16
16
|
"animationType": "as defined for <basic-shape>, otherwise discrete",
|
|
17
|
+
"values": [
|
|
18
|
+
{
|
|
19
|
+
"name": "none",
|
|
20
|
+
"prose": "The float area is unaffected.",
|
|
21
|
+
"type": "value",
|
|
22
|
+
"value": "none"
|
|
23
|
+
},
|
|
24
|
+
{
|
|
25
|
+
"name": "<basic-shape>",
|
|
26
|
+
"prose": "The shape is computed based on the values of one of inset(), circle(), ellipse() or polygon(). If a <shape-box> is also supplied, this defines the reference box for the <basic-shape> function. If <shape-box> is not supplied, then the reference box defaults to margin-box.",
|
|
27
|
+
"type": "value",
|
|
28
|
+
"value": "<basic-shape>"
|
|
29
|
+
},
|
|
30
|
+
{
|
|
31
|
+
"name": "<image>",
|
|
32
|
+
"prose": "The shape is extracted and computed based on the alpha channel of the specified <image> as defined by shape-image-threshold. User agents must use the CORS protocol defined by the [FETCH] specification for all URLs in a shape-outside value. When fetching, user agents must use \"Anonymous\" mode, set the referrer source to the stylesheet’s URL and set the origin to the URL of the containing document. If this results in network errors such that there is no valid fallback image, the effect is as if the value none had been specified.",
|
|
33
|
+
"type": "value",
|
|
34
|
+
"value": "<image>"
|
|
35
|
+
}
|
|
36
|
+
],
|
|
17
37
|
"styleDeclaration": [
|
|
18
38
|
"shape-outside",
|
|
19
39
|
"shapeOutside"
|
|
20
40
|
]
|
|
21
41
|
},
|
|
22
|
-
|
|
42
|
+
{
|
|
23
43
|
"name": "shape-image-threshold",
|
|
24
44
|
"value": "<alpha-value>",
|
|
25
45
|
"initial": "0",
|
|
@@ -29,12 +49,20 @@
|
|
|
29
49
|
"computedValue": "specified number, clamped to the range [0,1]",
|
|
30
50
|
"canonicalOrder": "per grammar",
|
|
31
51
|
"animationType": "by computed value",
|
|
52
|
+
"values": [
|
|
53
|
+
{
|
|
54
|
+
"name": "<number>",
|
|
55
|
+
"prose": "Sets the threshold used for extracting a shape from an image. The shape is defined by the pixels whose alpha value is greater than the threshold. A threshold value outside the range 0.0 (fully transparent) to 1.0 (fully opaque) will be clamped to this range.",
|
|
56
|
+
"type": "value",
|
|
57
|
+
"value": "<number>"
|
|
58
|
+
}
|
|
59
|
+
],
|
|
32
60
|
"styleDeclaration": [
|
|
33
61
|
"shape-image-threshold",
|
|
34
62
|
"shapeImageThreshold"
|
|
35
63
|
]
|
|
36
64
|
},
|
|
37
|
-
|
|
65
|
+
{
|
|
38
66
|
"name": "shape-margin",
|
|
39
67
|
"value": "<length-percentage>",
|
|
40
68
|
"initial": "0",
|
|
@@ -44,46 +72,112 @@
|
|
|
44
72
|
"computedValue": "computed <length-percentage> value",
|
|
45
73
|
"canonicalOrder": "per grammar",
|
|
46
74
|
"animationType": "by computed value",
|
|
75
|
+
"values": [
|
|
76
|
+
{
|
|
77
|
+
"name": "<length-percentage>",
|
|
78
|
+
"prose": "Sets the margin of the shape to the specified value.",
|
|
79
|
+
"type": "value",
|
|
80
|
+
"value": "<length-percentage>"
|
|
81
|
+
}
|
|
82
|
+
],
|
|
47
83
|
"styleDeclaration": [
|
|
48
84
|
"shape-margin",
|
|
49
85
|
"shapeMargin"
|
|
50
86
|
]
|
|
51
87
|
}
|
|
52
|
-
|
|
53
|
-
"atrules":
|
|
54
|
-
"
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
"
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
88
|
+
],
|
|
89
|
+
"atrules": [],
|
|
90
|
+
"selectors": [],
|
|
91
|
+
"values": [
|
|
92
|
+
{
|
|
93
|
+
"name": "<basic-shape>",
|
|
94
|
+
"prose": "The <basic-shape> type can be specified using basic shape functions. When using this syntax to define shapes, the reference box is defined by each property that uses <basic-shape> values. The coordinate system for the shape has its origin on the top-left corner of the reference box with the x-axis running to the right and the y-axis running downwards. All the lengths expressed in percentages are resolved from the used dimensions of the reference box.",
|
|
95
|
+
"type": "type",
|
|
96
|
+
"values": [
|
|
97
|
+
{
|
|
98
|
+
"name": "inset()",
|
|
99
|
+
"value": "inset( <length-percentage>{1,4} [ round <'border-radius'> ]? )",
|
|
100
|
+
"type": "function"
|
|
101
|
+
},
|
|
102
|
+
{
|
|
103
|
+
"name": "xywh()",
|
|
104
|
+
"value": "xywh( <length-percentage>{2} <length-percentage [0,∞]>{2} [ round <'border-radius'> ]? )",
|
|
105
|
+
"type": "function"
|
|
106
|
+
},
|
|
107
|
+
{
|
|
108
|
+
"name": "rect()",
|
|
109
|
+
"value": "rect( [ <length-percentage> | auto ]{4} [ round <'border-radius'> ]? )",
|
|
110
|
+
"type": "function"
|
|
111
|
+
},
|
|
112
|
+
{
|
|
113
|
+
"name": "circle()",
|
|
114
|
+
"value": "circle( <shape-radius>? [ at <position> ]? )",
|
|
115
|
+
"type": "function"
|
|
116
|
+
},
|
|
117
|
+
{
|
|
118
|
+
"name": "ellipse()",
|
|
119
|
+
"value": "ellipse( [ <shape-radius>{2} ]? [ at <position> ]? )",
|
|
120
|
+
"type": "function"
|
|
121
|
+
},
|
|
122
|
+
{
|
|
123
|
+
"name": "polygon()",
|
|
124
|
+
"value": "polygon( <'fill-rule'>? , [<length-percentage> <length-percentage>]# )",
|
|
125
|
+
"type": "function"
|
|
126
|
+
},
|
|
127
|
+
{
|
|
128
|
+
"name": "path()",
|
|
129
|
+
"value": "path( [<'fill-rule'>,]? <string> )",
|
|
130
|
+
"type": "function",
|
|
131
|
+
"values": [
|
|
132
|
+
{
|
|
133
|
+
"name": "<string>",
|
|
134
|
+
"type": "value",
|
|
135
|
+
"value": "<string>"
|
|
136
|
+
}
|
|
137
|
+
]
|
|
138
|
+
}
|
|
139
|
+
]
|
|
78
140
|
},
|
|
79
|
-
|
|
80
|
-
"
|
|
141
|
+
{
|
|
142
|
+
"name": "<shape-radius>",
|
|
143
|
+
"value": "<length-percentage [0,∞]> | closest-side | farthest-side",
|
|
144
|
+
"type": "type"
|
|
81
145
|
},
|
|
82
|
-
|
|
146
|
+
{
|
|
147
|
+
"name": "<basic-shape-rect>",
|
|
148
|
+
"type": "type",
|
|
83
149
|
"value": "<inset()> | <rect()> | <xywh()>"
|
|
84
150
|
},
|
|
85
|
-
|
|
86
|
-
"
|
|
151
|
+
{
|
|
152
|
+
"name": "<shape-box>",
|
|
153
|
+
"type": "type",
|
|
154
|
+
"value": "<box> | margin-box",
|
|
155
|
+
"values": [
|
|
156
|
+
{
|
|
157
|
+
"name": "margin-box",
|
|
158
|
+
"prose": "The margin-box value defines the shape enclosed by the outside margin edge. The corner radii of this shape are determined by the corresponding border-radius and margin values. If the ratio of border-radius/margin is 1 or more, or margin is negative or zero, then the margin box corner radius is max(border-radius + margin, 0). If the ratio of border-radius/margin is less than 1, and margin is positive, then the margin box corner radius is border-radius + margin * (1 + (ratio-1)^3).",
|
|
159
|
+
"type": "value",
|
|
160
|
+
"value": "margin-box"
|
|
161
|
+
},
|
|
162
|
+
{
|
|
163
|
+
"name": "border-box",
|
|
164
|
+
"prose": "The border-box value defines the shape enclosed by the outside border edge. This shape follows all of the normal border radius shaping rules for the outside of the border.",
|
|
165
|
+
"type": "value",
|
|
166
|
+
"value": "border-box"
|
|
167
|
+
},
|
|
168
|
+
{
|
|
169
|
+
"name": "padding-box",
|
|
170
|
+
"prose": "The padding-box value defines the shape enclosed by the outside padding edge. This shape follows all of the normal border radius shaping rules for the inside of the border.",
|
|
171
|
+
"type": "value",
|
|
172
|
+
"value": "padding-box"
|
|
173
|
+
},
|
|
174
|
+
{
|
|
175
|
+
"name": "content-box",
|
|
176
|
+
"prose": "The content-box value defines the shape enclosed by the outside content edge. Each corner radius of this box is the larger of 0 or border-radius - border-width - padding.",
|
|
177
|
+
"type": "value",
|
|
178
|
+
"value": "content-box"
|
|
179
|
+
}
|
|
180
|
+
]
|
|
87
181
|
}
|
|
88
|
-
|
|
182
|
+
]
|
|
89
183
|
}
|
package/css-size-adjust.json
CHANGED
|
@@ -3,8 +3,8 @@
|
|
|
3
3
|
"title": "CSS Mobile Text Size Adjustment Module Level 1",
|
|
4
4
|
"url": "https://drafts.csswg.org/css-size-adjust-1/"
|
|
5
5
|
},
|
|
6
|
-
"properties":
|
|
7
|
-
|
|
6
|
+
"properties": [
|
|
7
|
+
{
|
|
8
8
|
"name": "text-size-adjust",
|
|
9
9
|
"value": "auto | none | <percentage [0,∞]>",
|
|
10
10
|
"initial": "auto",
|
|
@@ -14,12 +14,33 @@
|
|
|
14
14
|
"computedValue": "specified keyword or percentage",
|
|
15
15
|
"canonicalOrder": "N/A",
|
|
16
16
|
"animationType": "by computed value",
|
|
17
|
+
"values": [
|
|
18
|
+
{
|
|
19
|
+
"name": "auto",
|
|
20
|
+
"prose": "Renderers must use the default size adjustment when displaying on a small device.",
|
|
21
|
+
"type": "value",
|
|
22
|
+
"value": "auto"
|
|
23
|
+
},
|
|
24
|
+
{
|
|
25
|
+
"name": "none",
|
|
26
|
+
"prose": "Renderers must not do size adjustment when displaying on a small device.",
|
|
27
|
+
"type": "value",
|
|
28
|
+
"value": "none"
|
|
29
|
+
},
|
|
30
|
+
{
|
|
31
|
+
"name": "<percentage [0,∞]>",
|
|
32
|
+
"prose": "When displaying on a small device, renderers must not do size adjustment but instead the computed value of font-size must be multiplied by this percentage. Negative values are invalid.",
|
|
33
|
+
"type": "value",
|
|
34
|
+
"value": "<percentage [0,∞]>"
|
|
35
|
+
}
|
|
36
|
+
],
|
|
17
37
|
"styleDeclaration": [
|
|
18
38
|
"text-size-adjust",
|
|
19
39
|
"textSizeAdjust"
|
|
20
40
|
]
|
|
21
41
|
}
|
|
22
|
-
|
|
23
|
-
"atrules":
|
|
24
|
-
"
|
|
42
|
+
],
|
|
43
|
+
"atrules": [],
|
|
44
|
+
"selectors": [],
|
|
45
|
+
"values": []
|
|
25
46
|
}
|