@webref/css 5.1.0 → 5.2.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-align.json +1 -1
- package/css-animations.json +1 -1
- package/css-backgrounds-4.json +2 -2
- package/css-backgrounds.json +1 -1
- package/css-color.json +1 -1
- package/css-contain-3.json +9 -9
- package/css-counter-styles.json +1 -1
- package/css-device-adapt.json +1 -1
- package/css-display.json +1 -1
- package/css-easing.json +1 -1
- package/css-exclusions.json +1 -1
- package/css-fonts.json +4 -4
- package/css-gcpm.json +1 -1
- package/css-line-grid.json +1 -1
- package/css-multicol.json +1 -1
- package/css-namespaces.json +1 -1
- package/css-nesting.json +1 -1
- package/css-overflow.json +1 -1
- package/css-page-floats.json +1 -1
- package/css-position.json +1 -1
- package/css-regions.json +1 -1
- package/css-rhythm.json +1 -1
- package/css-round-display.json +1 -1
- package/css-scroll-anchoring.json +1 -1
- package/css-scrollbars.json +1 -1
- package/css-shadow-parts.json +1 -1
- package/css-shapes.json +1 -1
- package/css-shared-element-transitions.json +29 -0
- package/css-syntax.json +1 -1
- package/css-text-decor-4.json +4 -4
- package/css-transforms.json +1 -1
- package/css-transitions.json +1 -1
- package/css-will-change.json +1 -1
- package/fill-stroke.json +1 -1
- package/filter-effects.json +7 -7
- package/package.json +1 -1
- package/scroll-animations.json +3 -3
- package/selectors.json +1 -1
package/css-align.json
CHANGED
package/css-animations.json
CHANGED
package/css-backgrounds-4.json
CHANGED
|
@@ -52,7 +52,7 @@
|
|
|
52
52
|
"background-position-inline": {
|
|
53
53
|
"name": "background-position-inline",
|
|
54
54
|
"value": "[ center | [ start | end ]? <length-percentage>? ]#",
|
|
55
|
-
"initial": "
|
|
55
|
+
"initial": "0%",
|
|
56
56
|
"appliesTo": "all elements",
|
|
57
57
|
"inherited": "no",
|
|
58
58
|
"percentages": "refer to inline-size of background positioning area minus inline-size of background image",
|
|
@@ -67,7 +67,7 @@
|
|
|
67
67
|
"background-position-block": {
|
|
68
68
|
"name": "background-position-block",
|
|
69
69
|
"value": "[ center | [ start | end ]? <length-percentage>? ]#",
|
|
70
|
-
"initial": "
|
|
70
|
+
"initial": "0%",
|
|
71
71
|
"appliesTo": "all elements",
|
|
72
72
|
"inherited": "no",
|
|
73
73
|
"percentages": "refer to size of background positioning area minus size of background image",
|
package/css-backgrounds.json
CHANGED
package/css-color.json
CHANGED
|
@@ -108,7 +108,7 @@
|
|
|
108
108
|
"value": "srgb | srgb-linear | display-p3 | a98-rgb | prophoto-rgb | rec2020"
|
|
109
109
|
},
|
|
110
110
|
"<xyz-params>": {
|
|
111
|
-
"value": "<xyz-space> [ <number> | none ]{3}"
|
|
111
|
+
"value": "<xyz-space> [ <number> | <percentage> | none ]{3}"
|
|
112
112
|
},
|
|
113
113
|
"<xyz-space>": {
|
|
114
114
|
"value": "xyz | xyz-d50 | xyz-d65"
|
package/css-contain-3.json
CHANGED
|
@@ -13,7 +13,7 @@
|
|
|
13
13
|
},
|
|
14
14
|
"container-type": {
|
|
15
15
|
"name": "container-type",
|
|
16
|
-
"value": "normal
|
|
16
|
+
"value": "normal | size | inline-size",
|
|
17
17
|
"initial": "normal",
|
|
18
18
|
"appliesTo": "all elements",
|
|
19
19
|
"inherited": "no",
|
|
@@ -58,7 +58,7 @@
|
|
|
58
58
|
},
|
|
59
59
|
"atrules": {
|
|
60
60
|
"@container": {
|
|
61
|
-
"value": "@container
|
|
61
|
+
"value": "@container <container-condition> { <stylesheet> }",
|
|
62
62
|
"descriptors": [
|
|
63
63
|
{
|
|
64
64
|
"name": "width",
|
|
@@ -106,23 +106,23 @@
|
|
|
106
106
|
"<style-feature>": {
|
|
107
107
|
"prose": "A container style query allows querying the computed values of the query container. It is a boolean combination of individual style features (<style-feature>) that each query a single, specific property of the query container. The syntax of a <style-feature> is the same as for a declaration [CSS-SYNTAX-3], and its query is true if the computed value of the given property on the query container matches the given value (which is also computed with respect to the query container), unknown if the property or its value is invalid or unsupported, and false otherwise. The boolean syntax and logic combining style features into a style query is the same as for CSS feature queries. (See @supports. [CSS-CONDITIONAL-3])"
|
|
108
108
|
},
|
|
109
|
+
"<container-condition>": {
|
|
110
|
+
"value": "[ <container-name> ]? <container-query>"
|
|
111
|
+
},
|
|
109
112
|
"<container-name>": {
|
|
110
113
|
"value": "<custom-ident>"
|
|
111
114
|
},
|
|
112
|
-
"<container-
|
|
115
|
+
"<container-query>": {
|
|
113
116
|
"value": "not <query-in-parens> | <query-in-parens> [ [ and <query-in-parens> ]* | [ or <query-in-parens> ]* ]"
|
|
114
117
|
},
|
|
115
118
|
"<query-in-parens>": {
|
|
116
|
-
"value": "( <container-
|
|
119
|
+
"value": "( <container-query> ) | ( <size-feature> ) | style( <style-query> ) | <general-enclosed>"
|
|
117
120
|
},
|
|
118
121
|
"<style-query>": {
|
|
119
|
-
"value": "<style-
|
|
120
|
-
},
|
|
121
|
-
"<style-condition>": {
|
|
122
|
-
"value": "not <style-in-parens> | <style-in-parens> [ [ and <style-in-parens> ]* | [ or <style-in-parens> ]* ]"
|
|
122
|
+
"value": "not <style-in-parens> | <style-in-parens> [ [ and <style-in-parens> ]* | [ or <style-in-parens> ]* ] | <style-feature>"
|
|
123
123
|
},
|
|
124
124
|
"<style-in-parens>": {
|
|
125
|
-
"value": "( <style-
|
|
125
|
+
"value": "( <style-query> ) | ( <style-feature> ) | <general-enclosed>"
|
|
126
126
|
}
|
|
127
127
|
}
|
|
128
128
|
}
|
package/css-counter-styles.json
CHANGED
package/css-device-adapt.json
CHANGED
package/css-display.json
CHANGED
package/css-easing.json
CHANGED
package/css-exclusions.json
CHANGED
package/css-fonts.json
CHANGED
|
@@ -58,7 +58,7 @@
|
|
|
58
58
|
"percentages": "n/a",
|
|
59
59
|
"computedValue": "the keyword specified, plus angle in degrees if specified",
|
|
60
60
|
"canonicalOrder": "per grammar",
|
|
61
|
-
"animationType": "by computed value type; normal animates as
|
|
61
|
+
"animationType": "by computed value type; normal animates as oblique 0deg",
|
|
62
62
|
"styleDeclaration": [
|
|
63
63
|
"font-style",
|
|
64
64
|
"fontStyle"
|
|
@@ -277,7 +277,7 @@
|
|
|
277
277
|
},
|
|
278
278
|
"font-variant": {
|
|
279
279
|
"name": "font-variant",
|
|
280
|
-
"value": "normal | none | [ <common-lig-values> || <discretionary-lig-values> || <historical-lig-values> || <contextual-alt-values> || [ small-caps | all-small-caps | petite-caps | all-petite-caps | unicase | titling-caps ] || [ stylistic(<feature-value-name>) || historical-forms || styleset(<feature-value-name>#) || character-variant(<feature-value-name>#) || swash(<feature-value-name>) || ornaments(<feature-value-name>) || annotation(<feature-value-name>) ] || <numeric-figure-values> || <numeric-spacing-values> || <numeric-fraction-values> || ordinal || slashed-zero || <east-asian-variant-values> || <east-asian-width-values> || ruby || [ sub | super ] || [ text | emoji | unicode ] ]",
|
|
280
|
+
"value": "normal | none | [ [ <common-lig-values> || <discretionary-lig-values> || <historical-lig-values> || <contextual-alt-values> ] || [ small-caps | all-small-caps | petite-caps | all-petite-caps | unicase | titling-caps ] || [ stylistic(<feature-value-name>) || historical-forms || styleset(<feature-value-name>#) || character-variant(<feature-value-name>#) || swash(<feature-value-name>) || ornaments(<feature-value-name>) || annotation(<feature-value-name>) ] || [ <numeric-figure-values> || <numeric-spacing-values> || <numeric-fraction-values> || ordinal || slashed-zero ] || [ <east-asian-variant-values> || <east-asian-width-values> || ruby ] || [ sub | super ] || [ text | emoji | unicode ] ]",
|
|
281
281
|
"initial": "normal",
|
|
282
282
|
"appliesTo": "all elements and text",
|
|
283
283
|
"inherited": "yes",
|
|
@@ -368,7 +368,7 @@
|
|
|
368
368
|
"font-variant-emoji": {
|
|
369
369
|
"name": "font-variant-emoji",
|
|
370
370
|
"value": "normal | text | emoji | unicode",
|
|
371
|
-
"initial": "
|
|
371
|
+
"initial": "normal",
|
|
372
372
|
"appliesTo": "all elements and text",
|
|
373
373
|
"inherited": "yes",
|
|
374
374
|
"percentages": "N/a",
|
|
@@ -488,7 +488,7 @@
|
|
|
488
488
|
{
|
|
489
489
|
"name": "font-family",
|
|
490
490
|
"for": "@font-palette-values",
|
|
491
|
-
"value": "<
|
|
491
|
+
"value": "<family-name>#",
|
|
492
492
|
"initial": "N/A"
|
|
493
493
|
},
|
|
494
494
|
{
|
package/css-gcpm.json
CHANGED
package/css-line-grid.json
CHANGED
package/css-multicol.json
CHANGED
package/css-namespaces.json
CHANGED
package/css-nesting.json
CHANGED
package/css-overflow.json
CHANGED
package/css-page-floats.json
CHANGED
package/css-position.json
CHANGED
package/css-regions.json
CHANGED
package/css-rhythm.json
CHANGED
package/css-round-display.json
CHANGED
package/css-scrollbars.json
CHANGED
package/css-shadow-parts.json
CHANGED
package/css-shapes.json
CHANGED
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
{
|
|
2
|
+
"spec": {
|
|
3
|
+
"title": "CSS Shared Element Transitions Module Level 1",
|
|
4
|
+
"url": "https://drafts.csswg.org/css-shared-element-transitions-1/"
|
|
5
|
+
},
|
|
6
|
+
"properties": {
|
|
7
|
+
"page-transition-tag": {
|
|
8
|
+
"name": "page-transition-tag",
|
|
9
|
+
"value": "none | <custom-ident>",
|
|
10
|
+
"initial": "none",
|
|
11
|
+
"appliesTo": "all elements",
|
|
12
|
+
"inherited": "no",
|
|
13
|
+
"percentages": "n/a",
|
|
14
|
+
"computedValue": "as specified",
|
|
15
|
+
"canonicalOrder": "per grammar",
|
|
16
|
+
"animationType": "discrete",
|
|
17
|
+
"styleDeclaration": [
|
|
18
|
+
"page-transition-tag",
|
|
19
|
+
"pageTransitionTag"
|
|
20
|
+
]
|
|
21
|
+
}
|
|
22
|
+
},
|
|
23
|
+
"atrules": {},
|
|
24
|
+
"valuespaces": {
|
|
25
|
+
"<pt-tag-selector>": {
|
|
26
|
+
"value": "'*' | <custom-ident>"
|
|
27
|
+
}
|
|
28
|
+
}
|
|
29
|
+
}
|
package/css-syntax.json
CHANGED
package/css-text-decor-4.json
CHANGED
|
@@ -141,12 +141,12 @@
|
|
|
141
141
|
},
|
|
142
142
|
"text-decoration-skip-self": {
|
|
143
143
|
"name": "text-decoration-skip-self",
|
|
144
|
-
"value": "
|
|
145
|
-
"initial": "
|
|
144
|
+
"value": "auto | skip-all | [ skip-underline || skip-overline || skip-line-through ] | no-skip",
|
|
145
|
+
"initial": "auto",
|
|
146
146
|
"appliesTo": "all elements",
|
|
147
|
-
"inherited": "
|
|
147
|
+
"inherited": "no",
|
|
148
148
|
"percentages": "N/A",
|
|
149
|
-
"computedValue": "specified keyword(s)",
|
|
149
|
+
"computedValue": "specified keyword(s) except for skip-all, see below",
|
|
150
150
|
"canonicalOrder": "per grammar",
|
|
151
151
|
"animationType": "discrete",
|
|
152
152
|
"styleDeclaration": [
|
package/css-transforms.json
CHANGED
package/css-transitions.json
CHANGED
package/css-will-change.json
CHANGED
package/fill-stroke.json
CHANGED
package/filter-effects.json
CHANGED
|
@@ -102,31 +102,31 @@
|
|
|
102
102
|
"value": "blur( <length>? )"
|
|
103
103
|
},
|
|
104
104
|
"<brightness()>": {
|
|
105
|
-
"value": "brightness( <number
|
|
105
|
+
"value": "brightness( [ <number> | <percentage> ]? )"
|
|
106
106
|
},
|
|
107
107
|
"<contrast()>": {
|
|
108
|
-
"value": "contrast( <number
|
|
108
|
+
"value": "contrast( [ <number> | <percentage> ]? )"
|
|
109
109
|
},
|
|
110
110
|
"<drop-shadow()>": {
|
|
111
111
|
"value": "drop-shadow( [ <color>? && <length>{2,3} ] )"
|
|
112
112
|
},
|
|
113
113
|
"<grayscale()>": {
|
|
114
|
-
"value": "grayscale( <number
|
|
114
|
+
"value": "grayscale( [ <number> | <percentage> ]? )"
|
|
115
115
|
},
|
|
116
116
|
"<hue-rotate()>": {
|
|
117
117
|
"value": "hue-rotate( [ <angle> | <zero> ]? )"
|
|
118
118
|
},
|
|
119
119
|
"<invert()>": {
|
|
120
|
-
"value": "invert( <number
|
|
120
|
+
"value": "invert( [ <number> | <percentage> ]? )"
|
|
121
121
|
},
|
|
122
122
|
"<opacity()>": {
|
|
123
|
-
"value": "opacity( <number
|
|
123
|
+
"value": "opacity( [ <number> | <percentage> ]? )"
|
|
124
124
|
},
|
|
125
125
|
"<saturate()>": {
|
|
126
|
-
"value": "saturate( <number
|
|
126
|
+
"value": "saturate( [ <number> | <percentage> ]? )"
|
|
127
127
|
},
|
|
128
128
|
"<sepia()>": {
|
|
129
|
-
"value": "sepia( <number
|
|
129
|
+
"value": "sepia( [ <number> | <percentage> ]? )"
|
|
130
130
|
},
|
|
131
131
|
"<filter()>": {
|
|
132
132
|
"value": "filter( [ <image> | <string> ], <filter-value-list> )"
|
package/package.json
CHANGED
package/scroll-animations.json
CHANGED
|
@@ -36,7 +36,7 @@
|
|
|
36
36
|
},
|
|
37
37
|
"scroll-timeline": {
|
|
38
38
|
"name": "scroll-timeline",
|
|
39
|
-
"value": "<'scroll-timeline-
|
|
39
|
+
"value": "<'scroll-timeline-name'> || <'scroll-timeline-axis'>",
|
|
40
40
|
"initial": "see individual properties",
|
|
41
41
|
"appliesTo": "scroll containers",
|
|
42
42
|
"inherited": "no",
|
|
@@ -81,12 +81,12 @@
|
|
|
81
81
|
},
|
|
82
82
|
"view-timeline-inset": {
|
|
83
83
|
"name": "view-timeline-inset",
|
|
84
|
-
"value": "[ auto | <length-percentage> ]{1,
|
|
84
|
+
"value": "[ [ auto | <length-percentage> ]{1,2} ]#",
|
|
85
85
|
"initial": "0",
|
|
86
86
|
"appliesTo": "all elements",
|
|
87
87
|
"inherited": "no",
|
|
88
88
|
"percentages": "relative to the corresponding dimension of the relevant scrollport",
|
|
89
|
-
"computedValue": "
|
|
89
|
+
"computedValue": "a list consisting of two-value pairs representing the start and end insets each as either the keyword auto or a computed <length-percentage> value",
|
|
90
90
|
"canonicalOrder": "per grammar",
|
|
91
91
|
"animationType": "by computed value type",
|
|
92
92
|
"styleDeclaration": [
|