mdn-data 2.0.23 → 2.0.24
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 +8 -0
- package/css/at-rules.json +14 -1
- package/css/definitions.json +2 -1
- package/css/properties.json +20 -5
- package/css/properties.schema.json +1 -0
- package/css/syntaxes.json +12 -3
- package/package.json +3 -3
package/CHANGELOG.md
ADDED
package/css/at-rules.json
CHANGED
|
@@ -273,8 +273,9 @@
|
|
|
273
273
|
"mdn_url": "https://developer.mozilla.org/docs/Web/CSS/@font-feature-values"
|
|
274
274
|
},
|
|
275
275
|
"@import": {
|
|
276
|
-
"syntax": "@import [ <string> | <url> ] [ <media-query-list
|
|
276
|
+
"syntax": "@import [ <string> | <url> ]\n [ layer | layer(<layer-name>) ]?\n [ supports( [ <supports-condition> | <declaration> ] ) ]?\n <media-query-list>? ;",
|
|
277
277
|
"groups": [
|
|
278
|
+
"CSS Conditional Rules",
|
|
278
279
|
"Media Queries"
|
|
279
280
|
],
|
|
280
281
|
"status": "standard",
|
|
@@ -292,6 +293,18 @@
|
|
|
292
293
|
"status": "standard",
|
|
293
294
|
"mdn_url": "https://developer.mozilla.org/docs/Web/CSS/@keyframes"
|
|
294
295
|
},
|
|
296
|
+
"@layer": {
|
|
297
|
+
"syntax": "@layer [ <layer-name># | <layer-name>? {\n <stylesheet>\n} ]",
|
|
298
|
+
"interfaces": [
|
|
299
|
+
"CSSLayerBlockRule",
|
|
300
|
+
"CSSLayerStatementRule"
|
|
301
|
+
],
|
|
302
|
+
"groups": [
|
|
303
|
+
"CSS Cascading and Inheritance"
|
|
304
|
+
],
|
|
305
|
+
"status": "standard",
|
|
306
|
+
"mdn_url": "https://developer.mozilla.org/docs/Web/CSS/@layer"
|
|
307
|
+
},
|
|
295
308
|
"@media": {
|
|
296
309
|
"syntax": "@media <media-query-list> {\n <group-rule-body>\n}",
|
|
297
310
|
"interfaces": [
|
package/css/definitions.json
CHANGED
|
@@ -7,9 +7,11 @@
|
|
|
7
7
|
"CSS Angles",
|
|
8
8
|
"CSS Animations",
|
|
9
9
|
"CSS Backgrounds and Borders",
|
|
10
|
+
"CSS Basic User Interface",
|
|
10
11
|
"CSS Box Model",
|
|
11
12
|
"CSS Box Alignment",
|
|
12
13
|
"CSS Break",
|
|
14
|
+
"CSS Cascading and Inheritance",
|
|
13
15
|
"CSS Charsets",
|
|
14
16
|
"CSS Color",
|
|
15
17
|
"CSS Columns",
|
|
@@ -55,7 +57,6 @@
|
|
|
55
57
|
"CSS Transitions",
|
|
56
58
|
"CSS Types",
|
|
57
59
|
"CSS Units",
|
|
58
|
-
"CSS Basic User Interface",
|
|
59
60
|
"CSS Variables",
|
|
60
61
|
"CSS Will Change",
|
|
61
62
|
"CSS Writing Modes",
|
package/css/properties.json
CHANGED
|
@@ -1570,7 +1570,7 @@
|
|
|
1570
1570
|
"-webkit-tap-highlight-color": {
|
|
1571
1571
|
"syntax": "<color>",
|
|
1572
1572
|
"media": "visual",
|
|
1573
|
-
"inherited":
|
|
1573
|
+
"inherited": true,
|
|
1574
1574
|
"animationType": "discrete",
|
|
1575
1575
|
"percentages": "no",
|
|
1576
1576
|
"groups": [
|
|
@@ -4187,7 +4187,7 @@
|
|
|
4187
4187
|
"mdn_url": "https://developer.mozilla.org/docs/Web/CSS/contain"
|
|
4188
4188
|
},
|
|
4189
4189
|
"content": {
|
|
4190
|
-
"syntax": "normal | none | [ <content-replacement> | <content-list> ] [/ <string> ]?",
|
|
4190
|
+
"syntax": "normal | none | [ <content-replacement> | <content-list> ] [/ [ <string> | <counter> ]+ ]?",
|
|
4191
4191
|
"media": "all",
|
|
4192
4192
|
"inherited": false,
|
|
4193
4193
|
"animationType": "discrete",
|
|
@@ -4219,7 +4219,7 @@
|
|
|
4219
4219
|
"mdn_url": "https://developer.mozilla.org/docs/Web/CSS/content-visibility"
|
|
4220
4220
|
},
|
|
4221
4221
|
"counter-increment": {
|
|
4222
|
-
"syntax": "[ <
|
|
4222
|
+
"syntax": "[ <counter-name> <integer>? ]+ | none",
|
|
4223
4223
|
"media": "all",
|
|
4224
4224
|
"inherited": false,
|
|
4225
4225
|
"animationType": "discrete",
|
|
@@ -4235,7 +4235,7 @@
|
|
|
4235
4235
|
"mdn_url": "https://developer.mozilla.org/docs/Web/CSS/counter-increment"
|
|
4236
4236
|
},
|
|
4237
4237
|
"counter-reset": {
|
|
4238
|
-
"syntax": "[ <
|
|
4238
|
+
"syntax": "[ <counter-name> <integer>? ]+ | none",
|
|
4239
4239
|
"media": "all",
|
|
4240
4240
|
"inherited": false,
|
|
4241
4241
|
"animationType": "discrete",
|
|
@@ -4251,7 +4251,7 @@
|
|
|
4251
4251
|
"mdn_url": "https://developer.mozilla.org/docs/Web/CSS/counter-reset"
|
|
4252
4252
|
},
|
|
4253
4253
|
"counter-set": {
|
|
4254
|
-
"syntax": "[ <
|
|
4254
|
+
"syntax": "[ <counter-name> <integer>? ]+ | none",
|
|
4255
4255
|
"media": "all",
|
|
4256
4256
|
"inherited": false,
|
|
4257
4257
|
"animationType": "discrete",
|
|
@@ -5515,6 +5515,21 @@
|
|
|
5515
5515
|
"status": "standard",
|
|
5516
5516
|
"mdn_url": "https://developer.mozilla.org/docs/Web/CSS/inline-size"
|
|
5517
5517
|
},
|
|
5518
|
+
"input-security": {
|
|
5519
|
+
"syntax": "auto | none",
|
|
5520
|
+
"media": "interactive",
|
|
5521
|
+
"inherited": false,
|
|
5522
|
+
"animationType": "byComputedValueType",
|
|
5523
|
+
"percentages": "no",
|
|
5524
|
+
"groups": [
|
|
5525
|
+
"CSS Basic User Interface"
|
|
5526
|
+
],
|
|
5527
|
+
"initial": "auto",
|
|
5528
|
+
"appliesto": "sensitiveTextInputs",
|
|
5529
|
+
"computed": "asSpecified",
|
|
5530
|
+
"order": "perGrammar",
|
|
5531
|
+
"status": "standard"
|
|
5532
|
+
},
|
|
5518
5533
|
"inset": {
|
|
5519
5534
|
"syntax": "<'top'>{1,4}",
|
|
5520
5535
|
"media": "visual",
|
package/css/syntaxes.json
CHANGED
|
@@ -153,7 +153,7 @@
|
|
|
153
153
|
"syntax": "space-between | space-around | space-evenly | stretch"
|
|
154
154
|
},
|
|
155
155
|
"content-list": {
|
|
156
|
-
"syntax": "[ <string> | contents | <image> | <quote> | <target> | <leader()> ]+"
|
|
156
|
+
"syntax": "[ <string> | contents | <image> | <counter> | <quote> | <target> | <leader()> ]+"
|
|
157
157
|
},
|
|
158
158
|
"content-position": {
|
|
159
159
|
"syntax": "center | start | end | flex-start | flex-end"
|
|
@@ -164,8 +164,14 @@
|
|
|
164
164
|
"contrast()": {
|
|
165
165
|
"syntax": "contrast( [ <number-percentage> ] )"
|
|
166
166
|
},
|
|
167
|
+
"counter": {
|
|
168
|
+
"syntax": "<counter()> | <counters()>"
|
|
169
|
+
},
|
|
167
170
|
"counter()": {
|
|
168
|
-
"syntax": "counter( <
|
|
171
|
+
"syntax": "counter( <counter-name>, <counter-style>? )"
|
|
172
|
+
},
|
|
173
|
+
"counter-name": {
|
|
174
|
+
"syntax": "<custom-ident>"
|
|
169
175
|
},
|
|
170
176
|
"counter-style": {
|
|
171
177
|
"syntax": "<counter-style-name> | symbols()"
|
|
@@ -174,7 +180,7 @@
|
|
|
174
180
|
"syntax": "<custom-ident>"
|
|
175
181
|
},
|
|
176
182
|
"counters()": {
|
|
177
|
-
"syntax": "counters( <
|
|
183
|
+
"syntax": "counters( <counter-name>, <string>, <counter-style>? )"
|
|
178
184
|
},
|
|
179
185
|
"cross-fade()": {
|
|
180
186
|
"syntax": "cross-fade( <cf-mixing-image> , <cf-final-image>? )"
|
|
@@ -368,6 +374,9 @@
|
|
|
368
374
|
"keyframe-selector": {
|
|
369
375
|
"syntax": "from | to | <percentage>"
|
|
370
376
|
},
|
|
377
|
+
"layer()": {
|
|
378
|
+
"syntax": "layer( <layer-name> )"
|
|
379
|
+
},
|
|
371
380
|
"leader()": {
|
|
372
381
|
"syntax": "leader( <leader-type> )"
|
|
373
382
|
},
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "mdn-data",
|
|
3
|
-
"version": "2.0.
|
|
3
|
+
"version": "2.0.24",
|
|
4
4
|
"description": "Open Web data by the Mozilla Developer Network",
|
|
5
5
|
"main": "index.js",
|
|
6
6
|
"files": [
|
|
@@ -28,8 +28,8 @@
|
|
|
28
28
|
},
|
|
29
29
|
"homepage": "https://developer.mozilla.org",
|
|
30
30
|
"devDependencies": {
|
|
31
|
-
"ajv": "^
|
|
32
|
-
"better-ajv-errors": "^
|
|
31
|
+
"ajv": "^6.12.6",
|
|
32
|
+
"better-ajv-errors": "^1.1.2"
|
|
33
33
|
},
|
|
34
34
|
"scripts": {
|
|
35
35
|
"lint": "node test/lint",
|