@webref/css 8.4.0 → 8.5.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.json +55 -14
- package/package.json +2 -2
package/css.json
CHANGED
|
@@ -566,6 +566,7 @@
|
|
|
566
566
|
"name": "@macro",
|
|
567
567
|
"href": "https://drafts.csswg.org/css-mixins-1/#macro-rule",
|
|
568
568
|
"descriptors": [],
|
|
569
|
+
"syntax": "@macro <dashed-ident> { <declaration-rule-list> }",
|
|
569
570
|
"extended": []
|
|
570
571
|
},
|
|
571
572
|
{
|
|
@@ -861,7 +862,7 @@
|
|
|
861
862
|
"name": "@mixin",
|
|
862
863
|
"href": "https://drafts.csswg.org/css-mixins-1/#at-ruledef-mixin",
|
|
863
864
|
"descriptors": [],
|
|
864
|
-
"syntax": "@mixin <function-token> <function-parameter>#? ) { <declaration-rule-list> }
|
|
865
|
+
"syntax": "@mixin <function-token> <function-parameter>#? ) { <declaration-rule-list> }",
|
|
865
866
|
"extended": []
|
|
866
867
|
},
|
|
867
868
|
{
|
|
@@ -1615,7 +1616,7 @@
|
|
|
1615
1616
|
{
|
|
1616
1617
|
"name": "light-dark()",
|
|
1617
1618
|
"href": "https://drafts.csswg.org/css-color-5/#funcdef-light-dark",
|
|
1618
|
-
"syntax": "light-dark( <color>, <color> )",
|
|
1619
|
+
"syntax": "light-dark( [<color>, <color>] | [<image>, <image>])",
|
|
1619
1620
|
"extended": []
|
|
1620
1621
|
},
|
|
1621
1622
|
{
|
|
@@ -1784,14 +1785,14 @@
|
|
|
1784
1785
|
"name": "random-item()",
|
|
1785
1786
|
"prose": "The random-item() function resolves to a random item from among its list of items.",
|
|
1786
1787
|
"href": "https://drafts.csswg.org/css-values-5/#funcdef-random-item",
|
|
1787
|
-
"syntax": "random-item( <random-
|
|
1788
|
+
"syntax": "random-item( <random-cache-key> , [ <declaration-value>? ]# )",
|
|
1788
1789
|
"extended": []
|
|
1789
1790
|
},
|
|
1790
1791
|
{
|
|
1791
1792
|
"name": "random()",
|
|
1792
1793
|
"prose": "The random() function is a math function that represents a random value between a minimum and maximum value, drawn from a uniform distribution, optionally limiting the possible values to a step between those limits:",
|
|
1793
1794
|
"href": "https://drafts.csswg.org/css-values-5/#funcdef-random",
|
|
1794
|
-
"syntax": "random( <random-
|
|
1795
|
+
"syntax": "random( <random-cache-key>? , <calc-sum>, <calc-sum>, <calc-sum>? )",
|
|
1795
1796
|
"extended": []
|
|
1796
1797
|
},
|
|
1797
1798
|
{
|
|
@@ -2360,6 +2361,10 @@
|
|
|
2360
2361
|
"animation-play-state",
|
|
2361
2362
|
"animation-timeline"
|
|
2362
2363
|
],
|
|
2364
|
+
"resetLonghands": [
|
|
2365
|
+
"animation-range",
|
|
2366
|
+
"animation-trigger"
|
|
2367
|
+
],
|
|
2363
2368
|
"syntax": "<single-animation>#",
|
|
2364
2369
|
"extended": []
|
|
2365
2370
|
},
|
|
@@ -2825,6 +2830,9 @@
|
|
|
2825
2830
|
"mask-composite",
|
|
2826
2831
|
"mask-mode"
|
|
2827
2832
|
],
|
|
2833
|
+
"resetLonghands": [
|
|
2834
|
+
"mask-border"
|
|
2835
|
+
],
|
|
2828
2836
|
"syntax": "<mask-layer>#",
|
|
2829
2837
|
"extended": []
|
|
2830
2838
|
},
|
|
@@ -3397,6 +3405,10 @@
|
|
|
3397
3405
|
"animation-play-state",
|
|
3398
3406
|
"animation-timeline"
|
|
3399
3407
|
],
|
|
3408
|
+
"resetLonghands": [
|
|
3409
|
+
"animation-range",
|
|
3410
|
+
"animation-trigger"
|
|
3411
|
+
],
|
|
3400
3412
|
"syntax": "<single-animation>#",
|
|
3401
3413
|
"extended": []
|
|
3402
3414
|
},
|
|
@@ -3752,6 +3764,9 @@
|
|
|
3752
3764
|
"background-clip",
|
|
3753
3765
|
"background-color"
|
|
3754
3766
|
],
|
|
3767
|
+
"resetLonghands": [
|
|
3768
|
+
"background-blend-mode"
|
|
3769
|
+
],
|
|
3755
3770
|
"syntax": "<bg-layer>#? , <final-bg-layer>",
|
|
3756
3771
|
"extended": []
|
|
3757
3772
|
},
|
|
@@ -4303,6 +4318,9 @@
|
|
|
4303
4318
|
"border-style",
|
|
4304
4319
|
"border-color"
|
|
4305
4320
|
],
|
|
4321
|
+
"resetLonghands": [
|
|
4322
|
+
"border-image"
|
|
4323
|
+
],
|
|
4306
4324
|
"syntax": "<line-width> || <line-style> || <color>",
|
|
4307
4325
|
"extended": []
|
|
4308
4326
|
},
|
|
@@ -8537,6 +8555,14 @@
|
|
|
8537
8555
|
"line-height",
|
|
8538
8556
|
"font-family"
|
|
8539
8557
|
],
|
|
8558
|
+
"resetLonghands": [
|
|
8559
|
+
"font-feature-settings",
|
|
8560
|
+
"font-kerning",
|
|
8561
|
+
"font-language-override",
|
|
8562
|
+
"font-optical-sizing",
|
|
8563
|
+
"font-size-adjust",
|
|
8564
|
+
"font-variation-settings"
|
|
8565
|
+
],
|
|
8540
8566
|
"syntax": "[ [ <'font-style'> || <font-variant-css2> || <'font-weight'> || <font-width-css3> ]? <'font-size'> [ / <'line-height'> ]? <'font-family'># ] | <system-family-name>",
|
|
8541
8567
|
"extended": []
|
|
8542
8568
|
},
|
|
@@ -9550,7 +9576,7 @@
|
|
|
9550
9576
|
"image-animation",
|
|
9551
9577
|
"imageAnimation"
|
|
9552
9578
|
],
|
|
9553
|
-
"syntax": "normal | paused | running",
|
|
9579
|
+
"syntax": "normal | paused | stopped | running",
|
|
9554
9580
|
"extended": []
|
|
9555
9581
|
},
|
|
9556
9582
|
{
|
|
@@ -10651,6 +10677,9 @@
|
|
|
10651
10677
|
"mask-composite",
|
|
10652
10678
|
"mask-mode"
|
|
10653
10679
|
],
|
|
10680
|
+
"resetLonghands": [
|
|
10681
|
+
"mask-border"
|
|
10682
|
+
],
|
|
10654
10683
|
"syntax": "<mask-layer>#",
|
|
10655
10684
|
"extended": []
|
|
10656
10685
|
},
|
|
@@ -13787,14 +13816,14 @@
|
|
|
13787
13816
|
"appliesTo": "scroll containers",
|
|
13788
13817
|
"inherited": "no",
|
|
13789
13818
|
"percentages": "n/a",
|
|
13790
|
-
"computedValue": "specified
|
|
13819
|
+
"computedValue": "specified keyword(s)",
|
|
13791
13820
|
"canonicalOrder": "per grammar",
|
|
13792
13821
|
"animationType": "discrete",
|
|
13793
13822
|
"styleDeclaration": [
|
|
13794
13823
|
"scroll-marker-group",
|
|
13795
13824
|
"scrollMarkerGroup"
|
|
13796
13825
|
],
|
|
13797
|
-
"syntax": "none | before | after",
|
|
13826
|
+
"syntax": "none | [ [ before | after ] || [ links | tabs ] ]",
|
|
13798
13827
|
"extended": []
|
|
13799
13828
|
},
|
|
13800
13829
|
{
|
|
@@ -15576,7 +15605,7 @@
|
|
|
15576
15605
|
"appliesTo": "all elements",
|
|
15577
15606
|
"inherited": "no",
|
|
15578
15607
|
"percentages": "n/a",
|
|
15579
|
-
"computedValue": "the keyword none or a list of CSS identifiers",
|
|
15608
|
+
"computedValue": "the keyword none, the keyword all, or a list of CSS identifiers",
|
|
15580
15609
|
"canonicalOrder": "per grammar",
|
|
15581
15610
|
"animationType": "not animatable",
|
|
15582
15611
|
"styleDeclaration": [
|
|
@@ -16209,7 +16238,7 @@
|
|
|
16209
16238
|
"view-transition-scope",
|
|
16210
16239
|
"viewTransitionScope"
|
|
16211
16240
|
],
|
|
16212
|
-
"syntax": "none |
|
|
16241
|
+
"syntax": "none | all",
|
|
16213
16242
|
"extended": []
|
|
16214
16243
|
},
|
|
16215
16244
|
{
|
|
@@ -18595,7 +18624,7 @@
|
|
|
18595
18624
|
],
|
|
18596
18625
|
"name": "cursor-image",
|
|
18597
18626
|
"href": "https://drafts.csswg.org/css-ui-4/#typedef-cursor-cursor-image",
|
|
18598
|
-
"syntax": "[ <url> | <url-set> ]
|
|
18627
|
+
"syntax": "[ <url> | <url-set> ] <number>{2}?",
|
|
18599
18628
|
"extended": []
|
|
18600
18629
|
},
|
|
18601
18630
|
{
|
|
@@ -18791,6 +18820,12 @@
|
|
|
18791
18820
|
"syntax": "[ full-width | proportional-width ]",
|
|
18792
18821
|
"extended": []
|
|
18793
18822
|
},
|
|
18823
|
+
{
|
|
18824
|
+
"name": "env-args",
|
|
18825
|
+
"href": "https://drafts.csswg.org/css-env-1/#typedef-env-args",
|
|
18826
|
+
"syntax": "env( <declaration-value>, <declaration-value>? )",
|
|
18827
|
+
"extended": []
|
|
18828
|
+
},
|
|
18794
18829
|
{
|
|
18795
18830
|
"name": "eof-token",
|
|
18796
18831
|
"prose": "An <eof-token> is a conceptual token, not actually produced by the tokenizer, used to indicate that the token stream has been exhausted.",
|
|
@@ -20156,6 +20191,12 @@
|
|
|
20156
20191
|
"syntax": "<radial-extent> | <length [0,∞]> | <length-percentage [0,∞]>{2}",
|
|
20157
20192
|
"extended": []
|
|
20158
20193
|
},
|
|
20194
|
+
{
|
|
20195
|
+
"name": "random-cache-key",
|
|
20196
|
+
"href": "https://drafts.csswg.org/css-values-5/#typedef-random-cache-key",
|
|
20197
|
+
"syntax": "auto | <random-name> | fixed <number [0,1]>",
|
|
20198
|
+
"extended": []
|
|
20199
|
+
},
|
|
20159
20200
|
{
|
|
20160
20201
|
"name": "random-item-args",
|
|
20161
20202
|
"href": "https://drafts.csswg.org/css-values-5/#typedef-random-item-args",
|
|
@@ -20163,9 +20204,9 @@
|
|
|
20163
20204
|
"extended": []
|
|
20164
20205
|
},
|
|
20165
20206
|
{
|
|
20166
|
-
"name": "random-
|
|
20167
|
-
"href": "https://drafts.csswg.org/css-values-5/#typedef-random-
|
|
20168
|
-
"syntax": "
|
|
20207
|
+
"name": "random-name",
|
|
20208
|
+
"href": "https://drafts.csswg.org/css-values-5/#typedef-random-name",
|
|
20209
|
+
"syntax": "<dashed-ident> [ element | property index? ]?",
|
|
20169
20210
|
"extended": []
|
|
20170
20211
|
},
|
|
20171
20212
|
{
|
|
@@ -20294,7 +20335,7 @@
|
|
|
20294
20335
|
"name": "rounding-strategy",
|
|
20295
20336
|
"prose": "If A is exactly equal to an integer multiple of B, round() resolves to A exactly (preserving whether A is 0⁻ or 0⁺, if relevant). Otherwise, there are two integer multiples of B that are potentially \"closest\" to A, lower B which is closer to −∞ and upper B which is closer to +∞. The following <rounding-strategy>s dictate how to choose between them:",
|
|
20296
20337
|
"href": "https://drafts.csswg.org/css-values-4/#typedef-rounding-strategy",
|
|
20297
|
-
"syntax": "nearest | up | down | to-zero",
|
|
20338
|
+
"syntax": "nearest | up | down | to-zero | line-width",
|
|
20298
20339
|
"extended": []
|
|
20299
20340
|
},
|
|
20300
20341
|
{
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@webref/css",
|
|
3
3
|
"description": "CSS definitions of the web platform",
|
|
4
|
-
"version": "8.
|
|
4
|
+
"version": "8.5.0",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
7
7
|
"url": "https://github.com/w3c/webref.git"
|
|
@@ -12,6 +12,6 @@
|
|
|
12
12
|
"license": "MIT",
|
|
13
13
|
"main": "index.js",
|
|
14
14
|
"peerDependencies": {
|
|
15
|
-
"css-tree": "^3.1
|
|
15
|
+
"css-tree": "^3.2.1"
|
|
16
16
|
}
|
|
17
17
|
}
|