mdn-data 2.18.0 → 2.19.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/css/at-rules.json +11 -0
- package/css/definitions.json +1 -0
- package/css/functions.json +24 -0
- package/css/properties.json +16 -0
- package/css/properties.schema.json +2 -1
- package/css/selectors.json +9 -0
- package/css/syntaxes.json +70 -22
- package/css/types.json +1 -2
- package/l10n/css.json +3 -0
- package/package.json +1 -1
package/css/at-rules.json
CHANGED
|
@@ -120,6 +120,17 @@
|
|
|
120
120
|
"status": "standard",
|
|
121
121
|
"mdn_url": "https://developer.mozilla.org/docs/Web/CSS/@counter-style"
|
|
122
122
|
},
|
|
123
|
+
"@container": {
|
|
124
|
+
"syntax": "@container <container-condition># {\n <block-contents>\n}",
|
|
125
|
+
"interfaces": [
|
|
126
|
+
"CSSContainerRule"
|
|
127
|
+
],
|
|
128
|
+
"groups": [
|
|
129
|
+
"CSS Conditional Rules"
|
|
130
|
+
],
|
|
131
|
+
"status": "standard",
|
|
132
|
+
"mdn_url": "https://developer.mozilla.org/docs/Web/CSS/@container"
|
|
133
|
+
},
|
|
123
134
|
"@document": {
|
|
124
135
|
"syntax": "@document [ <url> | url-prefix(<string>) | domain(<string>) | media-document(<string>) | regexp(<string>) ]# {\n <group-rule-body>\n}",
|
|
125
136
|
"interfaces": [
|
package/css/definitions.json
CHANGED
package/css/functions.json
CHANGED
|
@@ -184,6 +184,14 @@
|
|
|
184
184
|
"status": "standard",
|
|
185
185
|
"mdn_url": "https://developer.mozilla.org/docs/Web/CSS/cross-fade"
|
|
186
186
|
},
|
|
187
|
+
"cubic-bezier()": {
|
|
188
|
+
"syntax": "cubic-bezier( [ <number [0,1]>, <number> ]#{2} )",
|
|
189
|
+
"groups": [
|
|
190
|
+
"CSS Easing Functions"
|
|
191
|
+
],
|
|
192
|
+
"status": "standard",
|
|
193
|
+
"mdn_url": "https://developer.mozilla.org/docs/Web/CSS/easing-function/cubic-bezier"
|
|
194
|
+
},
|
|
187
195
|
"drop-shadow()": {
|
|
188
196
|
"syntax": "drop-shadow( [ <color>? && <length>{2,3} ] )",
|
|
189
197
|
"groups": [
|
|
@@ -354,6 +362,14 @@
|
|
|
354
362
|
"status": "standard",
|
|
355
363
|
"mdn_url": "https://developer.mozilla.org/docs/Web/CSS/color_value/light-dark"
|
|
356
364
|
},
|
|
365
|
+
"linear()": {
|
|
366
|
+
"syntax": "linear( [ <number> && <percentage>{0,2} ]# )",
|
|
367
|
+
"groups": [
|
|
368
|
+
"CSS Easing Functions"
|
|
369
|
+
],
|
|
370
|
+
"status": "standard",
|
|
371
|
+
"mdn_url": "https://developer.mozilla.org/docs/Web/CSS/easing-function/linear"
|
|
372
|
+
},
|
|
357
373
|
"linear-gradient()": {
|
|
358
374
|
"syntax": "linear-gradient( [ <angle> | to <side-or-corner> ]? , <color-stop-list> )",
|
|
359
375
|
"groups": [
|
|
@@ -733,6 +749,14 @@
|
|
|
733
749
|
"status": "standard",
|
|
734
750
|
"mdn_url": "https://developer.mozilla.org/docs/Web/CSS/sqrt"
|
|
735
751
|
},
|
|
752
|
+
"steps()": {
|
|
753
|
+
"syntax": "steps( <integer>, <step-position>? )",
|
|
754
|
+
"groups": [
|
|
755
|
+
"CSS Easing Functions"
|
|
756
|
+
],
|
|
757
|
+
"status": "standard",
|
|
758
|
+
"mdn_url": "https://developer.mozilla.org/docs/Web/CSS/easing-function/steps"
|
|
759
|
+
},
|
|
736
760
|
"symbols()": {
|
|
737
761
|
"syntax": "symbols( <symbols-type>? [ <string> | <image> ]+ )",
|
|
738
762
|
"groups": [
|
package/css/properties.json
CHANGED
|
@@ -1720,6 +1720,22 @@
|
|
|
1720
1720
|
"order": "uniqueOrder",
|
|
1721
1721
|
"status": "nonstandard"
|
|
1722
1722
|
},
|
|
1723
|
+
"alignment-baseline": {
|
|
1724
|
+
"syntax": "baseline | alphabetic | ideographic | middle | central | mathematical | text-before-edge | text-after-edge",
|
|
1725
|
+
"media": "none",
|
|
1726
|
+
"inherited": false,
|
|
1727
|
+
"animationType": "discrete",
|
|
1728
|
+
"percentages": "no",
|
|
1729
|
+
"groups": [
|
|
1730
|
+
"CSS Inline"
|
|
1731
|
+
],
|
|
1732
|
+
"initial": "baseline",
|
|
1733
|
+
"appliesto": "inlineLevelBoxesFlexItemsGridItemsTableCellsAndSVGTextContentElements",
|
|
1734
|
+
"computed": "theSpecifiedKeyword",
|
|
1735
|
+
"order": "perGrammar",
|
|
1736
|
+
"status": "standard",
|
|
1737
|
+
"mdn_url": "https://developer.mozilla.org/docs/Web/CSS/alignment-baseline"
|
|
1738
|
+
},
|
|
1723
1739
|
"all": {
|
|
1724
1740
|
"syntax": "initial | inherit | unset | revert | revert-layer",
|
|
1725
1741
|
"media": "noPracticalMedia",
|
|
@@ -248,9 +248,10 @@
|
|
|
248
248
|
"iframeElements",
|
|
249
249
|
"images",
|
|
250
250
|
"inFlowBlockLevelElements",
|
|
251
|
-
"inFlowChildrenOfBoxElements",
|
|
252
251
|
"inlineBoxesAndBlockContainers",
|
|
252
|
+
"inFlowChildrenOfBoxElements",
|
|
253
253
|
"inlineLevelAndTableCellElements",
|
|
254
|
+
"inlineLevelBoxesFlexItemsGridItemsTableCellsAndSVGTextContentElements",
|
|
254
255
|
"limitedSVGElements",
|
|
255
256
|
"limitedSVGElementsCircle",
|
|
256
257
|
"limitedSVGElementsEllipse",
|
package/css/selectors.json
CHANGED
|
@@ -569,6 +569,15 @@
|
|
|
569
569
|
"status": "standard",
|
|
570
570
|
"mdn_url": "https://developer.mozilla.org/docs/Web/CSS/:only-of-type"
|
|
571
571
|
},
|
|
572
|
+
":open": {
|
|
573
|
+
"syntax": ":open",
|
|
574
|
+
"groups": [
|
|
575
|
+
"Pseudo-classes",
|
|
576
|
+
"Selectors"
|
|
577
|
+
],
|
|
578
|
+
"status": "standard",
|
|
579
|
+
"mdn_url": "https://developer.mozilla.org/docs/Web/CSS/:open"
|
|
580
|
+
},
|
|
572
581
|
":optional": {
|
|
573
582
|
"syntax": ":optional",
|
|
574
583
|
"groups": [
|
package/css/syntaxes.json
CHANGED
|
@@ -209,6 +209,15 @@
|
|
|
209
209
|
"conic-gradient()": {
|
|
210
210
|
"syntax": "conic-gradient( [ from <angle> ]? [ at <position> ]?, <angular-color-stop-list> )"
|
|
211
211
|
},
|
|
212
|
+
"container-condition": {
|
|
213
|
+
"syntax": "[ <container-name>? <container-query>? ]!"
|
|
214
|
+
},
|
|
215
|
+
"container-name": {
|
|
216
|
+
"syntax": "<custom-ident>"
|
|
217
|
+
},
|
|
218
|
+
"container-query": {
|
|
219
|
+
"syntax": "not <query-in-parens> | <query-in-parens> [ [ and <query-in-parens> ]* | [ or <query-in-parens> ]* ]"
|
|
220
|
+
},
|
|
212
221
|
"content-distribution": {
|
|
213
222
|
"syntax": "space-between | space-around | space-evenly | stretch"
|
|
214
223
|
},
|
|
@@ -254,8 +263,11 @@
|
|
|
254
263
|
"cross-fade()": {
|
|
255
264
|
"syntax": "cross-fade( <cf-mixing-image> , <cf-final-image>? )"
|
|
256
265
|
},
|
|
266
|
+
"cubic-bezier()": {
|
|
267
|
+
"syntax": "cubic-bezier( [ <number [0,1]>, <number> ]#{2} )"
|
|
268
|
+
},
|
|
257
269
|
"cubic-bezier-timing-function": {
|
|
258
|
-
"syntax": "ease | ease-in | ease-out | ease-in-out | cubic-bezier(
|
|
270
|
+
"syntax": "ease | ease-in | ease-out | ease-in-out | <cubic-bezier()>"
|
|
259
271
|
},
|
|
260
272
|
"custom-color-space": {
|
|
261
273
|
"syntax": "<dashed-ident>"
|
|
@@ -297,7 +309,7 @@
|
|
|
297
309
|
"syntax": "drop-shadow( [ <color>? && <length>{2,3} ] )"
|
|
298
310
|
},
|
|
299
311
|
"easing-function": {
|
|
300
|
-
"syntax": "linear | <cubic-bezier-
|
|
312
|
+
"syntax": "<linear-easing-function> | <cubic-bezier-easing-function> | <step-easing-function>"
|
|
301
313
|
},
|
|
302
314
|
"east-asian-variant-values": {
|
|
303
315
|
"syntax": "[ jis78 | jis83 | jis90 | jis04 | simplified | traditional ]"
|
|
@@ -380,14 +392,17 @@
|
|
|
380
392
|
"frequency-percentage": {
|
|
381
393
|
"syntax": "<frequency> | <percentage>"
|
|
382
394
|
},
|
|
395
|
+
"generic-complete": {
|
|
396
|
+
"syntax": "serif | sans-serif | system-ui | cursive | fantasy | math | monospace"
|
|
397
|
+
},
|
|
383
398
|
"general-enclosed": {
|
|
384
399
|
"syntax": "[ <function-token> <any-value> ) ] | ( <ident> <any-value> )"
|
|
385
400
|
},
|
|
386
401
|
"generic-family": {
|
|
387
|
-
"syntax": "
|
|
402
|
+
"syntax": "<generic-complete> | <generic-incomplete> | emoji | fangsong"
|
|
388
403
|
},
|
|
389
|
-
"generic-
|
|
390
|
-
"syntax": "serif | sans-serif |
|
|
404
|
+
"generic-incomplete": {
|
|
405
|
+
"syntax": "ui-serif | ui-sans-serif | ui-monospace | ui-rounded"
|
|
391
406
|
},
|
|
392
407
|
"geometry-box": {
|
|
393
408
|
"syntax": "<shape-box> | fill-box | stroke-box | view-box"
|
|
@@ -428,9 +443,6 @@
|
|
|
428
443
|
"id-selector": {
|
|
429
444
|
"syntax": "<hash-token>"
|
|
430
445
|
},
|
|
431
|
-
"integer": {
|
|
432
|
-
"syntax": "<number-token>"
|
|
433
|
-
},
|
|
434
446
|
"image": {
|
|
435
447
|
"syntax": "<url> | <image()> | <image-set()> | <element()> | <paint()> | <cross-fade()> | <gradient>"
|
|
436
448
|
},
|
|
@@ -455,6 +467,9 @@
|
|
|
455
467
|
"inset()": {
|
|
456
468
|
"syntax": "inset( <length-percentage>{1,4} [ round <'border-radius'> ]? )"
|
|
457
469
|
},
|
|
470
|
+
"integer": {
|
|
471
|
+
"syntax": "<number-token>"
|
|
472
|
+
},
|
|
458
473
|
"invert()": {
|
|
459
474
|
"syntax": "invert( [ <number> | <percentage> ]? )"
|
|
460
475
|
},
|
|
@@ -506,12 +521,18 @@
|
|
|
506
521
|
"line-width": {
|
|
507
522
|
"syntax": "<length> | thin | medium | thick"
|
|
508
523
|
},
|
|
524
|
+
"linear()": {
|
|
525
|
+
"syntax": "linear( [ <number> && <percentage>{0,2} ]# )"
|
|
526
|
+
},
|
|
509
527
|
"linear-color-hint": {
|
|
510
528
|
"syntax": "<length-percentage>"
|
|
511
529
|
},
|
|
512
530
|
"linear-color-stop": {
|
|
513
531
|
"syntax": "<color> <color-stop-length>?"
|
|
514
532
|
},
|
|
533
|
+
"linear-easing-function": {
|
|
534
|
+
"syntax": "linear | <linear()>"
|
|
535
|
+
},
|
|
515
536
|
"linear-gradient()": {
|
|
516
537
|
"syntax": "linear-gradient( [ [ <angle> | to <side-or-corner> ] || <color-interpolation-method> ]? , <color-stop-list> )"
|
|
517
538
|
},
|
|
@@ -599,15 +620,6 @@
|
|
|
599
620
|
"n-dimension": {
|
|
600
621
|
"syntax": "<dimension-token>"
|
|
601
622
|
},
|
|
602
|
-
"ndash-dimension": {
|
|
603
|
-
"syntax": "<dimension-token>"
|
|
604
|
-
},
|
|
605
|
-
"ndashdigit-dimension": {
|
|
606
|
-
"syntax": "<dimension-token>"
|
|
607
|
-
},
|
|
608
|
-
"ndashdigit-ident": {
|
|
609
|
-
"syntax": "<ident-token>"
|
|
610
|
-
},
|
|
611
623
|
"name-repeat": {
|
|
612
624
|
"syntax": "repeat( [ <integer [1,∞]> | auto-fill ], <line-names>+ )"
|
|
613
625
|
},
|
|
@@ -617,6 +629,15 @@
|
|
|
617
629
|
"namespace-prefix": {
|
|
618
630
|
"syntax": "<ident>"
|
|
619
631
|
},
|
|
632
|
+
"ndash-dimension": {
|
|
633
|
+
"syntax": "<dimension-token>"
|
|
634
|
+
},
|
|
635
|
+
"ndashdigit-dimension": {
|
|
636
|
+
"syntax": "<dimension-token>"
|
|
637
|
+
},
|
|
638
|
+
"ndashdigit-ident": {
|
|
639
|
+
"syntax": "<ident-token>"
|
|
640
|
+
},
|
|
620
641
|
"ns-prefix": {
|
|
621
642
|
"syntax": "[ <ident-token> | '*' ]? '|'"
|
|
622
643
|
},
|
|
@@ -725,6 +746,9 @@
|
|
|
725
746
|
"pseudo-page": {
|
|
726
747
|
"syntax": ": [ left | right | first | blank ]"
|
|
727
748
|
},
|
|
749
|
+
"query-in-parens": {
|
|
750
|
+
"syntax": "( <container-query> ) | ( <size-feature> ) | style( <style-query> ) | scroll-state( <scroll-state-query> ) | <general-enclosed>"
|
|
751
|
+
},
|
|
728
752
|
"quote": {
|
|
729
753
|
"syntax": "open-quote | close-quote | no-open-quote | no-close-quote"
|
|
730
754
|
},
|
|
@@ -746,6 +770,9 @@
|
|
|
746
770
|
"ray-size": {
|
|
747
771
|
"syntax": "closest-side | closest-corner | farthest-side | farthest-corner | sides"
|
|
748
772
|
},
|
|
773
|
+
"rect()": {
|
|
774
|
+
"syntax": "rect( [ <length-percentage> | auto ]{4} [ round <'border-radius'> ]? )"
|
|
775
|
+
},
|
|
749
776
|
"rectangular-color-space": {
|
|
750
777
|
"syntax": "srgb | srgb-linear | display-p3 | a98-rgb | prophoto-rgb | rec2020 | lab | oklab | xyz | xyz-d50 | xyz-d65"
|
|
751
778
|
},
|
|
@@ -758,9 +785,6 @@
|
|
|
758
785
|
"relative-size": {
|
|
759
786
|
"syntax": "larger | smaller"
|
|
760
787
|
},
|
|
761
|
-
"rect()": {
|
|
762
|
-
"syntax": "rect( [ <length-percentage> | auto ]{4} [ round <'border-radius'> ]? )"
|
|
763
|
-
},
|
|
764
788
|
"rem()": {
|
|
765
789
|
"syntax": "rem( <calc-sum>, <calc-sum> )"
|
|
766
790
|
},
|
|
@@ -836,6 +860,15 @@
|
|
|
836
860
|
"scroller": {
|
|
837
861
|
"syntax": "root | nearest | self"
|
|
838
862
|
},
|
|
863
|
+
"scroll-state-feature": {
|
|
864
|
+
"syntax": "<media-query-list>"
|
|
865
|
+
},
|
|
866
|
+
"scroll-state-in-parens": {
|
|
867
|
+
"syntax": "( <scroll-state-query> ) | ( <scroll-state-feature> ) | <general-enclosed>"
|
|
868
|
+
},
|
|
869
|
+
"scroll-state-query": {
|
|
870
|
+
"syntax": "not <scroll-state-in-parens> | <scroll-state-in-parens> [ [ and <scroll-state-in-parens> ]* | [ or <scroll-state-in-parens> ]* ] | <scroll-state-feature> "
|
|
871
|
+
},
|
|
839
872
|
"selector-list": {
|
|
840
873
|
"syntax": "<complex-selector-list>"
|
|
841
874
|
},
|
|
@@ -902,6 +935,9 @@
|
|
|
902
935
|
"size": {
|
|
903
936
|
"syntax": "closest-side | farthest-side | closest-corner | farthest-corner | <length> | <length-percentage>{2}"
|
|
904
937
|
},
|
|
938
|
+
"size-feature": {
|
|
939
|
+
"syntax": "<media-query-list>"
|
|
940
|
+
},
|
|
905
941
|
"skew()": {
|
|
906
942
|
"syntax": "skew( [ <angle> | <zero> ] , [ <angle> | <zero> ]? )"
|
|
907
943
|
},
|
|
@@ -917,8 +953,20 @@
|
|
|
917
953
|
"step-position": {
|
|
918
954
|
"syntax": "jump-start | jump-end | jump-none | jump-both | start | end"
|
|
919
955
|
},
|
|
920
|
-
"step-
|
|
921
|
-
"syntax": "step-start | step-end | steps(
|
|
956
|
+
"step-easing-function": {
|
|
957
|
+
"syntax": "step-start | step-end | <steps()>"
|
|
958
|
+
},
|
|
959
|
+
"steps()": {
|
|
960
|
+
"syntax": "steps( <integer>, <step-position>? )"
|
|
961
|
+
},
|
|
962
|
+
"style-feature": {
|
|
963
|
+
"syntax": "<declaration>"
|
|
964
|
+
},
|
|
965
|
+
"style-in-parens": {
|
|
966
|
+
"syntax": "( <style-query> ) | ( <style-feature> ) | <general-enclosed>"
|
|
967
|
+
},
|
|
968
|
+
"style-query": {
|
|
969
|
+
"syntax": "not <style-in-parens> | <style-in-parens> [ [ and <style-in-parens> ]* | [ or <style-in-parens> ]* ] | <style-feature> "
|
|
922
970
|
},
|
|
923
971
|
"subclass-selector": {
|
|
924
972
|
"syntax": "<id-selector> | <class-selector> | <attribute-selector> | <pseudo-class-selector>"
|
package/css/types.json
CHANGED
package/l10n/css.json
CHANGED
|
@@ -924,6 +924,9 @@
|
|
|
924
924
|
"ja": "インラインレベルおよびテーブルセル要素",
|
|
925
925
|
"ru": "строчным элементам и ячейкам таблиц"
|
|
926
926
|
},
|
|
927
|
+
"inlineLevelBoxesFlexItemsGridItemsTableCellsAndSVGTextContentElements": {
|
|
928
|
+
"en-US": "inline-level boxes, flex items, grid items, table cells, and SVG text content elements"
|
|
929
|
+
},
|
|
927
930
|
"inlineSizeOfContainingBlock": {
|
|
928
931
|
"de": "Inlinegröße des beinhaltenden Blocks",
|
|
929
932
|
"en-US": "inline-size of containing block",
|