@webref/css 6.23.5 → 6.23.7
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.json +0 -5
- package/css-align.json +14 -0
- package/css-borders.json +2 -2
- package/css-color-5.json +14 -14
- package/css-color-hdr.json +7 -7
- package/css-color.json +13 -13
- package/css-conditional-5.json +10 -4
- package/css-content.json +9 -9
- package/css-counter-styles.json +2 -2
- package/css-easing.json +5 -5
- package/css-env.json +1 -1
- package/css-gaps.json +4 -4
- package/css-gcpm.json +4 -4
- package/css-grid.json +7 -0
- package/css-images-4.json +7 -7
- package/css-layout-api.json +0 -1
- package/css-link-params.json +6 -5
- package/css-masking.json +8 -8
- package/css-mixins.json +1 -1
- package/css-multicol.json +1 -1
- package/css-page-floats.json +4 -4
- package/css-paint-api.json +2 -2
- package/css-pseudo.json +1 -1
- package/css-shapes.json +0 -8
- package/css-sizing.json +0 -6
- package/css-values-5.json +50 -34
- package/css-values.json +84 -0
- package/css-variables.json +2 -2
- package/motion.json +1 -1
- package/package.json +1 -1
- package/selectors.json +12 -0
package/css-values.json
CHANGED
|
@@ -131,6 +131,13 @@
|
|
|
131
131
|
"type": "value",
|
|
132
132
|
"value": "em"
|
|
133
133
|
},
|
|
134
|
+
{
|
|
135
|
+
"name": "em unit",
|
|
136
|
+
"prose": "Equal to the computed value of the font-size property of the element on which it is used. The rule: h1 { line-height: 1.2em } means that the line height of h1 elements will be 20% greater than the font size of h1 element. On the other hand: h1 { font-size: 1.2em } means that the font size of h1 elements will be 20% greater than the computed font size inherited by h1 elements.",
|
|
137
|
+
"href": "https://drafts.csswg.org/css-values-4/#em",
|
|
138
|
+
"type": "value",
|
|
139
|
+
"value": "em unit"
|
|
140
|
+
},
|
|
134
141
|
{
|
|
135
142
|
"name": "rem",
|
|
136
143
|
"prose": "Equal to the computed value of the em unit on the root element.",
|
|
@@ -138,6 +145,13 @@
|
|
|
138
145
|
"type": "value",
|
|
139
146
|
"value": "rem"
|
|
140
147
|
},
|
|
148
|
+
{
|
|
149
|
+
"name": "rem unit",
|
|
150
|
+
"prose": "Equal to the computed value of the em unit on the root element.",
|
|
151
|
+
"href": "https://drafts.csswg.org/css-values-4/#rem",
|
|
152
|
+
"type": "value",
|
|
153
|
+
"value": "rem unit"
|
|
154
|
+
},
|
|
141
155
|
{
|
|
142
156
|
"name": "ex",
|
|
143
157
|
"prose": "Equal to the used x-height of the first available font [CSS3-FONTS]. The x-height is so called because it is often equal to the height of the lowercase \"x\". However, an ex is defined even for fonts that do not contain an \"x\". The x-height of a font can be found in different ways. Some fonts contain reliable metrics for the x-height. If reliable font metrics are not available, UAs may determine the x-height from the height of a lowercase glyph. One possible heuristic is to look at how far the glyph for the lowercase \"o\" extends below the baseline, and subtract that value from the top of its bounding box. In the cases where it is impossible or impractical to determine the x-height, a value of 0.5em must be assumed.",
|
|
@@ -145,6 +159,13 @@
|
|
|
145
159
|
"type": "value",
|
|
146
160
|
"value": "ex"
|
|
147
161
|
},
|
|
162
|
+
{
|
|
163
|
+
"name": "ex unit",
|
|
164
|
+
"prose": "Equal to the used x-height of the first available font [CSS3-FONTS]. The x-height is so called because it is often equal to the height of the lowercase \"x\". However, an ex is defined even for fonts that do not contain an \"x\". The x-height of a font can be found in different ways. Some fonts contain reliable metrics for the x-height. If reliable font metrics are not available, UAs may determine the x-height from the height of a lowercase glyph. One possible heuristic is to look at how far the glyph for the lowercase \"o\" extends below the baseline, and subtract that value from the top of its bounding box. In the cases where it is impossible or impractical to determine the x-height, a value of 0.5em must be assumed.",
|
|
165
|
+
"href": "https://drafts.csswg.org/css-values-4/#ex",
|
|
166
|
+
"type": "value",
|
|
167
|
+
"value": "ex unit"
|
|
168
|
+
},
|
|
148
169
|
{
|
|
149
170
|
"name": "rex",
|
|
150
171
|
"prose": "Equal to the value of the ex unit on the root element.",
|
|
@@ -152,6 +173,13 @@
|
|
|
152
173
|
"type": "value",
|
|
153
174
|
"value": "rex"
|
|
154
175
|
},
|
|
176
|
+
{
|
|
177
|
+
"name": "rex unit",
|
|
178
|
+
"prose": "Equal to the value of the ex unit on the root element.",
|
|
179
|
+
"href": "https://drafts.csswg.org/css-values-4/#rex",
|
|
180
|
+
"type": "value",
|
|
181
|
+
"value": "rex unit"
|
|
182
|
+
},
|
|
155
183
|
{
|
|
156
184
|
"name": "cap",
|
|
157
185
|
"prose": "Equal to the used cap-height of the first available font [CSS3-FONTS]. The cap-height is so called because it is approximately equal to the height of a capital Latin letter. However, a cap is defined even for fonts that do not contain Latin letters. The cap-height of a font can be found in different ways. Some fonts contain reliable metrics for the cap-height. If reliable font metrics are not available, UAs may determine the cap-height from the height of an uppercase glyph. One possible heuristic is to look at how far the glyph for the uppercase “O” extends below the baseline, and subtract that value from the top of its bounding box. In the cases where it is impossible or impractical to determine the cap-height, the font’s ascent must be used.",
|
|
@@ -159,6 +187,13 @@
|
|
|
159
187
|
"type": "value",
|
|
160
188
|
"value": "cap"
|
|
161
189
|
},
|
|
190
|
+
{
|
|
191
|
+
"name": "cap unit",
|
|
192
|
+
"prose": "Equal to the used cap-height of the first available font [CSS3-FONTS]. The cap-height is so called because it is approximately equal to the height of a capital Latin letter. However, a cap is defined even for fonts that do not contain Latin letters. The cap-height of a font can be found in different ways. Some fonts contain reliable metrics for the cap-height. If reliable font metrics are not available, UAs may determine the cap-height from the height of an uppercase glyph. One possible heuristic is to look at how far the glyph for the uppercase “O” extends below the baseline, and subtract that value from the top of its bounding box. In the cases where it is impossible or impractical to determine the cap-height, the font’s ascent must be used.",
|
|
193
|
+
"href": "https://drafts.csswg.org/css-values-4/#cap",
|
|
194
|
+
"type": "value",
|
|
195
|
+
"value": "cap unit"
|
|
196
|
+
},
|
|
162
197
|
{
|
|
163
198
|
"name": "rcap",
|
|
164
199
|
"prose": "Equal to the value of the cap unit on the root element.",
|
|
@@ -166,6 +201,13 @@
|
|
|
166
201
|
"type": "value",
|
|
167
202
|
"value": "rcap"
|
|
168
203
|
},
|
|
204
|
+
{
|
|
205
|
+
"name": "rcap unit",
|
|
206
|
+
"prose": "Equal to the value of the cap unit on the root element.",
|
|
207
|
+
"href": "https://drafts.csswg.org/css-values-4/#rcap",
|
|
208
|
+
"type": "value",
|
|
209
|
+
"value": "rcap unit"
|
|
210
|
+
},
|
|
169
211
|
{
|
|
170
212
|
"name": "ch",
|
|
171
213
|
"prose": "Represents the typical advance measure of European alphanumeric characters, and measured as the used advance measure of the “0” (ZERO, U+0030) glyph in the font used to render it. (The advance measure of a glyph is its advance width or height, whichever is in the inline axis of the element.) In the cases where it is impossible or impractical to determine the measure of the “0” glyph, it must be assumed to be 0.5em wide by 1em tall. Thus, the ch unit falls back to 0.5em in the general case, and to 1em when it would be typeset upright (i.e. writing-mode is vertical-rl or vertical-lr and text-orientation is upright).",
|
|
@@ -173,6 +215,13 @@
|
|
|
173
215
|
"type": "value",
|
|
174
216
|
"value": "ch"
|
|
175
217
|
},
|
|
218
|
+
{
|
|
219
|
+
"name": "ch unit",
|
|
220
|
+
"prose": "Represents the typical advance measure of European alphanumeric characters, and measured as the used advance measure of the “0” (ZERO, U+0030) glyph in the font used to render it. (The advance measure of a glyph is its advance width or height, whichever is in the inline axis of the element.) In the cases where it is impossible or impractical to determine the measure of the “0” glyph, it must be assumed to be 0.5em wide by 1em tall. Thus, the ch unit falls back to 0.5em in the general case, and to 1em when it would be typeset upright (i.e. writing-mode is vertical-rl or vertical-lr and text-orientation is upright).",
|
|
221
|
+
"href": "https://drafts.csswg.org/css-values-4/#ch",
|
|
222
|
+
"type": "value",
|
|
223
|
+
"value": "ch unit"
|
|
224
|
+
},
|
|
176
225
|
{
|
|
177
226
|
"name": "rch",
|
|
178
227
|
"prose": "Equal to the value of the ch unit on the root element.",
|
|
@@ -180,6 +229,13 @@
|
|
|
180
229
|
"type": "value",
|
|
181
230
|
"value": "rch"
|
|
182
231
|
},
|
|
232
|
+
{
|
|
233
|
+
"name": "rch unit",
|
|
234
|
+
"prose": "Equal to the value of the ch unit on the root element.",
|
|
235
|
+
"href": "https://drafts.csswg.org/css-values-4/#rch",
|
|
236
|
+
"type": "value",
|
|
237
|
+
"value": "rch unit"
|
|
238
|
+
},
|
|
183
239
|
{
|
|
184
240
|
"name": "ic",
|
|
185
241
|
"prose": "Represents the typical advance measure of CJK letters, and measured as the used advance measure of the “水” (CJK water ideograph, U+6C34) glyph found in the font used to render it. In the cases where it is impossible or impractical to determine the ideographic advance measure, it must be assumed to be 1em.",
|
|
@@ -187,6 +243,13 @@
|
|
|
187
243
|
"type": "value",
|
|
188
244
|
"value": "ic"
|
|
189
245
|
},
|
|
246
|
+
{
|
|
247
|
+
"name": "ic unit",
|
|
248
|
+
"prose": "Represents the typical advance measure of CJK letters, and measured as the used advance measure of the “水” (CJK water ideograph, U+6C34) glyph found in the font used to render it. In the cases where it is impossible or impractical to determine the ideographic advance measure, it must be assumed to be 1em.",
|
|
249
|
+
"href": "https://drafts.csswg.org/css-values-4/#ic",
|
|
250
|
+
"type": "value",
|
|
251
|
+
"value": "ic unit"
|
|
252
|
+
},
|
|
190
253
|
{
|
|
191
254
|
"name": "ric",
|
|
192
255
|
"prose": "Equal to the value of the ic unit on the root element.",
|
|
@@ -194,6 +257,13 @@
|
|
|
194
257
|
"type": "value",
|
|
195
258
|
"value": "ric"
|
|
196
259
|
},
|
|
260
|
+
{
|
|
261
|
+
"name": "ric unit",
|
|
262
|
+
"prose": "Equal to the value of the ic unit on the root element.",
|
|
263
|
+
"href": "https://drafts.csswg.org/css-values-4/#ric",
|
|
264
|
+
"type": "value",
|
|
265
|
+
"value": "ric unit"
|
|
266
|
+
},
|
|
197
267
|
{
|
|
198
268
|
"name": "lh",
|
|
199
269
|
"prose": "Equal to the computed value of the line-height property of the element on which it is used, converting normal to an absolute length by using only the metrics of the first available font.",
|
|
@@ -201,6 +271,13 @@
|
|
|
201
271
|
"type": "value",
|
|
202
272
|
"value": "lh"
|
|
203
273
|
},
|
|
274
|
+
{
|
|
275
|
+
"name": "lh unit",
|
|
276
|
+
"prose": "Equal to the computed value of the line-height property of the element on which it is used, converting normal to an absolute length by using only the metrics of the first available font.",
|
|
277
|
+
"href": "https://drafts.csswg.org/css-values-4/#lh",
|
|
278
|
+
"type": "value",
|
|
279
|
+
"value": "lh unit"
|
|
280
|
+
},
|
|
204
281
|
{
|
|
205
282
|
"name": "rlh",
|
|
206
283
|
"prose": "Equal to the value of the lh unit on the root element.",
|
|
@@ -208,6 +285,13 @@
|
|
|
208
285
|
"type": "value",
|
|
209
286
|
"value": "rlh"
|
|
210
287
|
},
|
|
288
|
+
{
|
|
289
|
+
"name": "rlh unit",
|
|
290
|
+
"prose": "Equal to the value of the lh unit on the root element.",
|
|
291
|
+
"href": "https://drafts.csswg.org/css-values-4/#rlh",
|
|
292
|
+
"type": "value",
|
|
293
|
+
"value": "rlh unit"
|
|
294
|
+
},
|
|
211
295
|
{
|
|
212
296
|
"name": "vw",
|
|
213
297
|
"prose": "Equal to 1% of the width of the large viewport size, small viewport size, large viewport size, and dynamic viewport size, respectively. In the example below, if the width of the viewport is 200mm, the font size of h1 elements will be 16mm (i.e. (8×200mm)/100). h1 { font-size: 8vw }",
|
package/css-variables.json
CHANGED
|
@@ -15,9 +15,9 @@
|
|
|
15
15
|
},
|
|
16
16
|
{
|
|
17
17
|
"name": "var()",
|
|
18
|
+
"value": "var( <custom-property-name> , <declaration-value>? )",
|
|
18
19
|
"href": "https://drafts.csswg.org/css-variables-2/#funcdef-var",
|
|
19
|
-
"type": "function"
|
|
20
|
-
"value": "var( <custom-property-name> , <declaration-value>? )"
|
|
20
|
+
"type": "function"
|
|
21
21
|
},
|
|
22
22
|
{
|
|
23
23
|
"name": "<var-args>",
|
package/motion.json
CHANGED
|
@@ -222,9 +222,9 @@
|
|
|
222
222
|
},
|
|
223
223
|
{
|
|
224
224
|
"name": "ray()",
|
|
225
|
+
"value": "ray( <angle> && <ray-size>? && contain? && [at <position>]? )",
|
|
225
226
|
"href": "https://drafts.fxtf.org/motion-1/#funcdef-ray",
|
|
226
227
|
"type": "function",
|
|
227
|
-
"value": "ray( <angle> && <ray-size>? && contain? && [at <position>]? )",
|
|
228
228
|
"values": [
|
|
229
229
|
{
|
|
230
230
|
"name": "<angle>",
|
package/package.json
CHANGED
package/selectors.json
CHANGED
|
@@ -113,6 +113,18 @@
|
|
|
113
113
|
"href": "https://drafts.csswg.org/selectors-4/#focus-within-pseudo",
|
|
114
114
|
"value": ":focus-within"
|
|
115
115
|
},
|
|
116
|
+
{
|
|
117
|
+
"name": ":interest-source",
|
|
118
|
+
"prose": "The :interest-source pseudo-class applies to any element (or pseudo-element) that is capable of \"showing interest\" in another element, as defined by the host language. (It applies regardless of whether the element is currently showing interest or not.)",
|
|
119
|
+
"href": "https://drafts.csswg.org/selectors-4/#selectordef-interest-source",
|
|
120
|
+
"value": ":interest-source"
|
|
121
|
+
},
|
|
122
|
+
{
|
|
123
|
+
"name": ":interest-target",
|
|
124
|
+
"prose": "The :interest-target pseudo-class applies to the \"other element\" that an :interest-source element is currently showing interest in. (It only applies to an element that is currently having interest shown in it.)",
|
|
125
|
+
"href": "https://drafts.csswg.org/selectors-4/#selectordef-interest-target",
|
|
126
|
+
"value": ":interest-target"
|
|
127
|
+
},
|
|
116
128
|
{
|
|
117
129
|
"name": ":current",
|
|
118
130
|
"prose": "The :current pseudo-class represents the element, or an ancestor of the element, that is currently being displayed.",
|