mdn-data 1.1.3 → 1.1.4

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.
@@ -3295,9 +3295,7 @@
3295
3295
  "animationType": "discrete",
3296
3296
  "percentages": "no",
3297
3297
  "groups": [
3298
- "CSS Columns",
3299
- "CSS Fragmentation",
3300
- "CSS Regions"
3298
+ "CSS Fragmentation"
3301
3299
  ],
3302
3300
  "initial": "auto",
3303
3301
  "appliesto": "blockLevelElements",
@@ -3312,9 +3310,7 @@
3312
3310
  "animationType": "discrete",
3313
3311
  "percentages": "no",
3314
3312
  "groups": [
3315
- "CSS Columns",
3316
- "CSS Fragmentation",
3317
- "CSS Regions"
3313
+ "CSS Fragmentation"
3318
3314
  ],
3319
3315
  "initial": "auto",
3320
3316
  "appliesto": "blockLevelElements",
@@ -3329,9 +3325,7 @@
3329
3325
  "animationType": "discrete",
3330
3326
  "percentages": "no",
3331
3327
  "groups": [
3332
- "CSS Columns",
3333
- "CSS Fragmentation",
3334
- "CSS Regions"
3328
+ "CSS Fragmentation"
3335
3329
  ],
3336
3330
  "initial": "auto",
3337
3331
  "appliesto": "blockLevelElements",
@@ -3486,7 +3480,6 @@
3486
3480
  "animationType": "lpc",
3487
3481
  "percentages": "referToDimensionOfContentArea",
3488
3482
  "groups": [
3489
- "CSS Columns",
3490
3483
  "CSS Box Alignment"
3491
3484
  ],
3492
3485
  "initial": "normal",
@@ -4105,7 +4098,7 @@
4105
4098
  "status": "standard"
4106
4099
  },
4107
4100
  "font-stretch": {
4108
- "syntax": "normal | ultra-condensed | extra-condensed | condensed | semi-condensed | semi-expanded | expanded | extra-expanded | ultra-expanded",
4101
+ "syntax": "<font-stretch-absolute>",
4109
4102
  "media": "visual",
4110
4103
  "inherited": true,
4111
4104
  "animationType": "fontStretch",
@@ -4125,7 +4118,7 @@
4125
4118
  "status": "standard"
4126
4119
  },
4127
4120
  "font-style": {
4128
- "syntax": "normal | italic | oblique",
4121
+ "syntax": "normal | italic | oblique <angle>?",
4129
4122
  "media": "visual",
4130
4123
  "inherited": true,
4131
4124
  "animationType": "discrete",
@@ -4305,7 +4298,7 @@
4305
4298
  "status": "standard"
4306
4299
  },
4307
4300
  "font-weight": {
4308
- "syntax": "normal | bold | bolder | lighter | 100 | 200 | 300 | 400 | 500 | 600 | 700 | 800 | 900",
4301
+ "syntax": "<font-weight-absolute> | bolder | lighter",
4309
4302
  "media": "visual",
4310
4303
  "inherited": true,
4311
4304
  "animationType": "fontWeight",
@@ -5929,7 +5922,6 @@
5929
5922
  "animationType": "discrete",
5930
5923
  "percentages": "no",
5931
5924
  "groups": [
5932
- "CSS Columns",
5933
5925
  "CSS Fragmentation"
5934
5926
  ],
5935
5927
  "initial": "2",
@@ -7510,7 +7502,6 @@
7510
7502
  "animationType": "discrete",
7511
7503
  "percentages": "no",
7512
7504
  "groups": [
7513
- "CSS Columns",
7514
7505
  "CSS Fragmentation"
7515
7506
  ],
7516
7507
  "initial": "2",
@@ -215,6 +215,14 @@
215
215
  ],
216
216
  "status": "experimental"
217
217
  },
218
+ ":host()": {
219
+ "syntax": ":host( <compound-selector-list> )",
220
+ "groups": [
221
+ "Pseudo-classes",
222
+ "Selectors"
223
+ ],
224
+ "status": "experimental"
225
+ },
218
226
  ":host-context": {
219
227
  "syntax": ":host-context",
220
228
  "groups": [
@@ -223,6 +231,14 @@
223
231
  ],
224
232
  "status": "experimental"
225
233
  },
234
+ ":host-context()": {
235
+ "syntax": ":host-context( <compound-selector-list> )",
236
+ "groups": [
237
+ "Pseudo-classes",
238
+ "Selectors"
239
+ ],
240
+ "status": "experimental"
241
+ },
226
242
  ":hover": {
227
243
  "syntax": ":hover",
228
244
  "groups": [
@@ -729,6 +745,14 @@
729
745
  ],
730
746
  "status": "standard"
731
747
  },
748
+ "::slotted": {
749
+ "syntax": "::slotted(<compound-selector-list>)",
750
+ "groups": [
751
+ "Pseudo-elements",
752
+ "Selectors"
753
+ ],
754
+ "status": "standard"
755
+ },
732
756
  "::spelling-error": {
733
757
  "syntax": "::spelling-error",
734
758
  "groups": [
package/css/syntaxes.json CHANGED
@@ -17,6 +17,15 @@
17
17
  "attr()": {
18
18
  "syntax": "attr( <attr-name> <type-or-unit>? [, <attr-fallback> ]? )"
19
19
  },
20
+ "attr-matcher": {
21
+ "syntax": "[ '~' | '|' | '^' | '$' | '*' ]? '='"
22
+ },
23
+ "attr-modifier": {
24
+ "syntax": "i"
25
+ },
26
+ "attribute-selector": {
27
+ "syntax": "'[' <wq-name> ']' | '[' <wq-name> <attr-matcher> [ <string-token> | <ident-token> ] <attr-modifier>? ']'"
28
+ },
20
29
  "auto-repeat": {
21
30
  "syntax": "repeat( [ auto-fill | auto-fit ] , [ <line-names>? <fixed-size> ]+ <line-names>? )"
22
31
  },
@@ -80,6 +89,9 @@
80
89
  "circle()": {
81
90
  "syntax": "circle( [ <shape-radius> ]? [ at <position> ]? )"
82
91
  },
92
+ "class-selector": {
93
+ "syntax": "'.' <ident-token>"
94
+ },
83
95
  "clip-source": {
84
96
  "syntax": "<url>"
85
97
  },
@@ -101,6 +113,12 @@
101
113
  "compositing-operator": {
102
114
  "syntax": "add | subtract | intersect | exclude"
103
115
  },
116
+ "compound-selector": {
117
+ "syntax": "[ <type-selector>? <subclass-selector>* [ <pseudo-element-selector> <pseudo-class-selector>* ]* ]!"
118
+ },
119
+ "compound-selector-list": {
120
+ "syntax": "<compound-selector>#"
121
+ },
104
122
  "contextual-alt-values": {
105
123
  "syntax": "[ contextual | no-contextual ]"
106
124
  },
@@ -224,9 +242,15 @@
224
242
  "fixed-size": {
225
243
  "syntax": "<fixed-breadth> | minmax( <fixed-breadth> , <track-breadth> ) | minmax( <inflexible-breadth> , <fixed-breadth> )"
226
244
  },
245
+ "font-stretch-absolute": {
246
+ "syntax": "normal | ultra-condensed | extra-condensed | condensed | semi-condensed | semi-expanded | expanded | extra-expanded | ultra-expanded | <percentage>"
247
+ },
227
248
  "font-variant-css21": {
228
249
  "syntax": "[ normal | small-caps ]"
229
250
  },
251
+ "font-weight-absolute": {
252
+ "syntax": "normal | bold | <number>"
253
+ },
230
254
  "frames-timing-function": {
231
255
  "syntax": "frames(<integer>)"
232
256
  },
@@ -269,6 +293,9 @@
269
293
  "hue-rotate()": {
270
294
  "syntax": "hue-rotate( <angle> )"
271
295
  },
296
+ "id-selector": {
297
+ "syntax": "<hash-token>"
298
+ },
272
299
  "image": {
273
300
  "syntax": "<url> | <image()> | <image-set()> | <element()> | <cross-fade()> | <gradient>"
274
301
  },
@@ -395,6 +422,9 @@
395
422
  "namespace-prefix": {
396
423
  "syntax": "<ident>"
397
424
  },
425
+ "ns-prefix": {
426
+ "syntax": "[ <ident-token> | '*' ]? '|'"
427
+ },
398
428
  "number-percentage": {
399
429
  "syntax": "<number> | <percentage>"
400
430
  },
@@ -443,6 +473,12 @@
443
473
  "position": {
444
474
  "syntax": "[ [ left | center | right ] || [ top | center | bottom ] | [ left | center | right | <length-percentage> ] [ top | center | bottom | <length-percentage> ]? | [ [ left | right ] <length-percentage> ] && [ [ top | bottom ] <length-percentage> ] ]"
445
475
  },
476
+ "pseudo-class-selector": {
477
+ "syntax": "':' <ident-token> | ':' <function-token> <any-value> ')'"
478
+ },
479
+ "pseudo-element-selector": {
480
+ "syntax": "':' <pseudo-class-selector>"
481
+ },
446
482
  "pseudo-page": {
447
483
  "syntax": ": [ left | right | first | blank ]"
448
484
  },
@@ -569,6 +605,9 @@
569
605
  "step-timing-function": {
570
606
  "syntax": "step-start | step-end | steps(<integer>[, [ start | end ] ]?)"
571
607
  },
608
+ "subclass-selector": {
609
+ "syntax": "<id-selector> | <class-selector> | <attribute-selector> | <pseudo-class-selector>"
610
+ },
572
611
  "symbol": {
573
612
  "syntax": "<string> | <image> | <custom-ident>"
574
613
  },
@@ -623,10 +662,16 @@
623
662
  "type-or-unit": {
624
663
  "syntax": "string | integer | color | url | integer | number | length | angle | time | frequency | em | ex | px | rem | vw | vh | vmin | vmax | mm | q | cm | in | pt | pc | deg | grad | rad | ms | s | Hz | kHz | %"
625
664
  },
665
+ "type-selector": {
666
+ "syntax": "<wq-name> | <ns-prefix>? '*'"
667
+ },
626
668
  "var()": {
627
669
  "syntax": "var( <custom-property-name> [, <declaration-value> ]? )"
628
670
  },
629
671
  "viewport-length": {
630
672
  "syntax": "auto | <length-percentage>"
673
+ },
674
+ "wq-name": {
675
+ "syntax": "<ns-prefix>? <ident-token>"
631
676
  }
632
677
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "mdn-data",
3
- "version": "1.1.3",
3
+ "version": "1.1.4",
4
4
  "description": "Open Web data by the Mozilla Developer Network",
5
5
  "main": "index.js",
6
6
  "files": [
@@ -25,7 +25,8 @@
25
25
  },
26
26
  "homepage": "https://developer.mozilla.org",
27
27
  "devDependencies": {
28
- "ajv": "^5.0.1"
28
+ "ajv": "^5.0.1",
29
+ "better-ajv-errors": "^0.5.1"
29
30
  },
30
31
  "scripts": {
31
32
  "lint": "node test/lint",