@webref/css 4.3.2 → 5.0.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.
Files changed (99) hide show
  1. package/CSS.json +1 -1
  2. package/README.md +2 -2
  3. package/SVG.json +1 -1
  4. package/compat.json +17 -17
  5. package/compositing.json +1 -1
  6. package/css-align.json +1 -1
  7. package/css-animations-2.json +1 -1
  8. package/css-animations.json +6 -1
  9. package/css-backgrounds-4.json +1 -1
  10. package/css-backgrounds.json +1 -1
  11. package/css-box.json +1 -1
  12. package/css-break.json +1 -1
  13. package/css-cascade-6.json +6 -1
  14. package/css-cascade.json +12 -3
  15. package/css-color-5.json +24 -25
  16. package/css-color-adjust.json +1 -1
  17. package/css-color.json +10 -7
  18. package/css-conditional-4.json +1 -1
  19. package/css-conditional-5.json +10 -1
  20. package/css-conditional.json +10 -1
  21. package/css-contain-3.json +42 -49
  22. package/css-contain.json +1 -1
  23. package/css-content.json +1 -1
  24. package/css-counter-styles.json +66 -81
  25. package/css-device-adapt.json +93 -111
  26. package/css-display.json +1 -1
  27. package/css-easing.json +15 -3
  28. package/css-env.json +1 -1
  29. package/css-exclusions.json +1 -1
  30. package/css-extensions.json +6 -1
  31. package/css-flexbox.json +1 -1
  32. package/css-fonts-5.json +59 -73
  33. package/css-fonts.json +124 -141
  34. package/css-gcpm-4.json +1 -1
  35. package/css-gcpm.json +1 -1
  36. package/css-grid-3.json +1 -1
  37. package/css-grid.json +1 -1
  38. package/css-highlight-api.json +1 -1
  39. package/css-images-4.json +1 -1
  40. package/css-images.json +1 -1
  41. package/css-inline.json +1 -1
  42. package/css-line-grid.json +1 -1
  43. package/css-lists.json +1 -1
  44. package/css-logical.json +1 -1
  45. package/css-masking.json +1 -1
  46. package/css-multicol-2.json +1 -1
  47. package/css-multicol.json +1 -1
  48. package/css-namespaces.json +6 -1
  49. package/css-nav.json +1 -1
  50. package/css-nesting.json +14 -0
  51. package/css-overflow-4.json +2 -2
  52. package/css-overflow.json +1 -1
  53. package/css-overscroll.json +1 -1
  54. package/css-page-floats.json +1 -1
  55. package/css-page.json +98 -37
  56. package/css-paint-api.json +1 -1
  57. package/css-position.json +1 -1
  58. package/css-properties-values-api.json +24 -25
  59. package/css-regions.json +1 -1
  60. package/css-rhythm.json +1 -1
  61. package/css-round-display.json +23 -19
  62. package/css-ruby.json +1 -1
  63. package/css-scroll-anchoring.json +1 -1
  64. package/css-scroll-snap-2.json +1 -1
  65. package/css-scroll-snap.json +1 -1
  66. package/css-scrollbars.json +1 -1
  67. package/css-shadow-parts.json +1 -1
  68. package/css-shapes-2.json +1 -1
  69. package/css-shapes.json +1 -1
  70. package/css-size-adjust.json +1 -1
  71. package/css-sizing-4.json +1 -1
  72. package/css-sizing.json +1 -1
  73. package/css-speech.json +5 -2
  74. package/css-syntax.json +1 -1
  75. package/css-tables.json +1 -1
  76. package/css-text-4.json +1 -1
  77. package/css-text-decor-4.json +1 -1
  78. package/css-text-decor.json +1 -1
  79. package/css-text.json +1 -1
  80. package/css-transforms-2.json +2 -2
  81. package/css-transforms.json +1 -1
  82. package/css-transitions.json +1 -1
  83. package/css-ui.json +1 -1
  84. package/css-values-5.json +1 -1
  85. package/css-values.json +1 -1
  86. package/css-variables.json +3 -3
  87. package/css-will-change.json +1 -1
  88. package/css-writing-modes.json +1 -1
  89. package/fill-stroke.json +1 -1
  90. package/filter-effects-2.json +1 -1
  91. package/filter-effects.json +2 -2
  92. package/html.json +1 -1
  93. package/mediaqueries-5.json +232 -298
  94. package/mediaqueries.json +132 -170
  95. package/motion.json +1 -1
  96. package/package.json +2 -2
  97. package/scroll-animations.json +113 -32
  98. package/selectors.json +1 -1
  99. package/svg-strokes.json +1 -1
package/mediaqueries.json CHANGED
@@ -4,175 +4,137 @@
4
4
  "url": "https://drafts.csswg.org/mediaqueries-4/"
5
5
  },
6
6
  "properties": {},
7
- "descriptors": {
8
- "width": [
9
- {
10
- "name": "width",
11
- "for": "@media",
12
- "value": "<length>",
13
- "type": "range"
14
- }
15
- ],
16
- "height": [
17
- {
18
- "name": "height",
19
- "for": "@media",
20
- "value": "<length>",
21
- "type": "range"
22
- }
23
- ],
24
- "aspect-ratio": [
25
- {
26
- "name": "aspect-ratio",
27
- "for": "@media",
28
- "value": "<ratio>",
29
- "type": "range"
30
- }
31
- ],
32
- "orientation": [
33
- {
34
- "name": "orientation",
35
- "for": "@media",
36
- "value": "portrait | landscape",
37
- "type": "discrete"
38
- }
39
- ],
40
- "resolution": [
41
- {
42
- "name": "resolution",
43
- "for": "@media",
44
- "value": "<resolution> | infinite",
45
- "type": "range"
46
- }
47
- ],
48
- "scan": [
49
- {
50
- "name": "scan",
51
- "for": "@media",
52
- "value": "interlace | progressive",
53
- "type": "discrete"
54
- }
55
- ],
56
- "grid": [
57
- {
58
- "name": "grid",
59
- "for": "@media",
60
- "value": "<mq-boolean>",
61
- "type": "discrete"
62
- }
63
- ],
64
- "update": [
65
- {
66
- "name": "update",
67
- "for": "@media",
68
- "value": "none | slow | fast",
69
- "type": "discrete"
70
- }
71
- ],
72
- "overflow-block": [
73
- {
74
- "name": "overflow-block",
75
- "for": "@media",
76
- "value": "none | scroll | paged",
77
- "type": "discrete"
78
- }
79
- ],
80
- "overflow-inline": [
81
- {
82
- "name": "overflow-inline",
83
- "for": "@media",
84
- "value": "none | scroll",
85
- "type": "discrete"
86
- }
87
- ],
88
- "color": [
89
- {
90
- "name": "color",
91
- "for": "@media",
92
- "value": "<integer>",
93
- "type": "range"
94
- }
95
- ],
96
- "color-index": [
97
- {
98
- "name": "color-index",
99
- "for": "@media",
100
- "value": "<integer>",
101
- "type": "range"
102
- }
103
- ],
104
- "monochrome": [
105
- {
106
- "name": "monochrome",
107
- "for": "@media",
108
- "value": "<integer>",
109
- "type": "range"
110
- }
111
- ],
112
- "color-gamut": [
113
- {
114
- "name": "color-gamut",
115
- "for": "@media",
116
- "value": "srgb | p3 | rec2020",
117
- "type": "discrete"
118
- }
119
- ],
120
- "pointer": [
121
- {
122
- "name": "pointer",
123
- "for": "@media",
124
- "value": "none | coarse | fine",
125
- "type": "discrete"
126
- }
127
- ],
128
- "hover": [
129
- {
130
- "name": "hover",
131
- "for": "@media",
132
- "value": "none | hover",
133
- "type": "discrete"
134
- }
135
- ],
136
- "any-pointer": [
137
- {
138
- "name": "any-pointer",
139
- "for": "@media",
140
- "value": "none | coarse | fine",
141
- "type": "discrete"
142
- }
143
- ],
144
- "any-hover": [
145
- {
146
- "name": "any-hover",
147
- "for": "@media",
148
- "value": "none | hover",
149
- "type": "discrete"
150
- }
151
- ],
152
- "device-width": [
153
- {
154
- "name": "device-width",
155
- "for": "@media",
156
- "value": "<length>",
157
- "type": "range"
158
- }
159
- ],
160
- "device-height": [
161
- {
162
- "name": "device-height",
163
- "for": "@media",
164
- "value": "<length>",
165
- "type": "range"
166
- }
167
- ],
168
- "device-aspect-ratio": [
169
- {
170
- "name": "device-aspect-ratio",
171
- "for": "@media",
172
- "value": "<ratio>",
173
- "type": "range"
174
- }
175
- ]
7
+ "atrules": {
8
+ "@media": {
9
+ "descriptors": [
10
+ {
11
+ "name": "width",
12
+ "for": "@media",
13
+ "value": "<length>",
14
+ "type": "range"
15
+ },
16
+ {
17
+ "name": "height",
18
+ "for": "@media",
19
+ "value": "<length>",
20
+ "type": "range"
21
+ },
22
+ {
23
+ "name": "aspect-ratio",
24
+ "for": "@media",
25
+ "value": "<ratio>",
26
+ "type": "range"
27
+ },
28
+ {
29
+ "name": "orientation",
30
+ "for": "@media",
31
+ "value": "portrait | landscape",
32
+ "type": "discrete"
33
+ },
34
+ {
35
+ "name": "resolution",
36
+ "for": "@media",
37
+ "value": "<resolution> | infinite",
38
+ "type": "range"
39
+ },
40
+ {
41
+ "name": "scan",
42
+ "for": "@media",
43
+ "value": "interlace | progressive",
44
+ "type": "discrete"
45
+ },
46
+ {
47
+ "name": "grid",
48
+ "for": "@media",
49
+ "value": "<mq-boolean>",
50
+ "type": "discrete"
51
+ },
52
+ {
53
+ "name": "update",
54
+ "for": "@media",
55
+ "value": "none | slow | fast",
56
+ "type": "discrete"
57
+ },
58
+ {
59
+ "name": "overflow-block",
60
+ "for": "@media",
61
+ "value": "none | scroll | paged",
62
+ "type": "discrete"
63
+ },
64
+ {
65
+ "name": "overflow-inline",
66
+ "for": "@media",
67
+ "value": "none | scroll",
68
+ "type": "discrete"
69
+ },
70
+ {
71
+ "name": "color",
72
+ "for": "@media",
73
+ "value": "<integer>",
74
+ "type": "range"
75
+ },
76
+ {
77
+ "name": "color-index",
78
+ "for": "@media",
79
+ "value": "<integer>",
80
+ "type": "range"
81
+ },
82
+ {
83
+ "name": "monochrome",
84
+ "for": "@media",
85
+ "value": "<integer>",
86
+ "type": "range"
87
+ },
88
+ {
89
+ "name": "color-gamut",
90
+ "for": "@media",
91
+ "value": "srgb | p3 | rec2020",
92
+ "type": "discrete"
93
+ },
94
+ {
95
+ "name": "pointer",
96
+ "for": "@media",
97
+ "value": "none | coarse | fine",
98
+ "type": "discrete"
99
+ },
100
+ {
101
+ "name": "hover",
102
+ "for": "@media",
103
+ "value": "none | hover",
104
+ "type": "discrete"
105
+ },
106
+ {
107
+ "name": "any-pointer",
108
+ "for": "@media",
109
+ "value": "none | coarse | fine",
110
+ "type": "discrete"
111
+ },
112
+ {
113
+ "name": "any-hover",
114
+ "for": "@media",
115
+ "value": "none | hover",
116
+ "type": "discrete"
117
+ },
118
+ {
119
+ "name": "device-width",
120
+ "for": "@media",
121
+ "value": "<length>",
122
+ "type": "range"
123
+ },
124
+ {
125
+ "name": "device-height",
126
+ "for": "@media",
127
+ "value": "<length>",
128
+ "type": "range"
129
+ },
130
+ {
131
+ "name": "device-aspect-ratio",
132
+ "for": "@media",
133
+ "value": "<ratio>",
134
+ "type": "range"
135
+ }
136
+ ]
137
+ }
176
138
  },
177
139
  "valuespaces": {
178
140
  "<media-query-list>": {
@@ -237,7 +199,7 @@
237
199
  "value": "<mf-lt> | <mf-gt> | <mf-eq>"
238
200
  },
239
201
  "<general-enclosed>": {
240
- "value": "[ <function-token> <any-value>? ) ] | ( <any-value>? )"
202
+ "value": "[ <function-token> <any-value>? ) ] | [ ( <any-value>? ) ]"
241
203
  }
242
204
  }
243
205
  }
package/motion.json CHANGED
@@ -99,7 +99,7 @@
99
99
  ]
100
100
  }
101
101
  },
102
- "descriptors": {},
102
+ "atrules": {},
103
103
  "valuespaces": {
104
104
  "<ray()>": {
105
105
  "value": "ray( [ <angle> && <size> && contain? ] )"
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": "4.3.2",
4
+ "version": "5.0.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": "^2.1.0"
15
+ "css-tree": "^2.2.1"
16
16
  }
17
17
  }
@@ -3,42 +3,123 @@
3
3
  "title": "Scroll-linked Animations",
4
4
  "url": "https://drafts.csswg.org/scroll-animations-1/"
5
5
  },
6
- "properties": {},
7
- "descriptors": {
8
- "source": [
9
- {
10
- "name": "source",
11
- "for": "@scroll-timeline",
12
- "value": "selector( <id-selector> ) | auto | none",
13
- "initial": "auto"
14
- }
15
- ],
16
- "orientation": [
17
- {
18
- "name": "orientation",
19
- "for": "@scroll-timeline",
20
- "value": "auto | block | inline | horizontal | vertical",
21
- "initial": "auto"
22
- }
23
- ],
24
- "scroll-offsets": [
25
- {
26
- "name": "scroll-offsets",
27
- "for": "@scroll-timeline",
28
- "value": "none | <scroll-timeline-offset>#",
29
- "initial": "none"
30
- }
31
- ]
6
+ "properties": {
7
+ "scroll-timeline-name": {
8
+ "name": "scroll-timeline-name",
9
+ "value": "none | <custom-ident>",
10
+ "initial": "none",
11
+ "appliesTo": "scroll containers",
12
+ "inherited": "no",
13
+ "percentages": "n/a",
14
+ "computedValue": "the specified keyword",
15
+ "canonicalOrder": "per grammar",
16
+ "animationType": "not animatable",
17
+ "styleDeclaration": [
18
+ "scroll-timeline-name",
19
+ "scrollTimelineName"
20
+ ]
21
+ },
22
+ "scroll-timeline-axis": {
23
+ "name": "scroll-timeline-axis",
24
+ "value": "block | inline | vertical | horizontal",
25
+ "initial": "block",
26
+ "appliesTo": "scroll containers",
27
+ "inherited": "no",
28
+ "percentages": "n/a",
29
+ "computedValue": "the specified keyword",
30
+ "canonicalOrder": "per grammar",
31
+ "animationType": "not animatable",
32
+ "styleDeclaration": [
33
+ "scroll-timeline-axis",
34
+ "scrollTimelineAxis"
35
+ ]
36
+ },
37
+ "scroll-timeline": {
38
+ "name": "scroll-timeline",
39
+ "value": "<'scroll-timeline-axis'> || <'scroll-timeline-name'>",
40
+ "initial": "see individual properties",
41
+ "appliesTo": "scroll containers",
42
+ "inherited": "no",
43
+ "percentages": "see individual properties",
44
+ "computedValue": "see individual properties",
45
+ "animationType": "not animatable",
46
+ "canonicalOrder": "per grammar",
47
+ "styleDeclaration": [
48
+ "scroll-timeline",
49
+ "scrollTimeline"
50
+ ]
51
+ },
52
+ "view-timeline-name": {
53
+ "name": "view-timeline-name",
54
+ "value": "none | <custom-ident>#",
55
+ "initial": "none",
56
+ "appliesTo": "all elements",
57
+ "inherited": "no",
58
+ "percentages": "n/a",
59
+ "computedValue": "the keyword none or a list of <custom-ident>s",
60
+ "canonicalOrder": "per grammar",
61
+ "animationType": "not animatable",
62
+ "styleDeclaration": [
63
+ "view-timeline-name",
64
+ "viewTimelineName"
65
+ ]
66
+ },
67
+ "view-timeline-axis": {
68
+ "name": "view-timeline-axis",
69
+ "value": "[ block | inline | vertical | horizontal ]#",
70
+ "initial": "block",
71
+ "appliesTo": "all elements",
72
+ "inherited": "no",
73
+ "percentages": "n/a",
74
+ "computedValue": "a list of the keywords specified",
75
+ "canonicalOrder": "per grammar",
76
+ "animationType": "not animatable",
77
+ "styleDeclaration": [
78
+ "view-timeline-axis",
79
+ "viewTimelineAxis"
80
+ ]
81
+ },
82
+ "view-timeline-inset": {
83
+ "name": "view-timeline-inset",
84
+ "value": "[ auto | <length-percentage> ]{1,4}",
85
+ "initial": "0",
86
+ "appliesTo": "all elements",
87
+ "inherited": "no",
88
+ "percentages": "relative to the corresponding dimension of the relevant scrollport",
89
+ "computedValue": "per side, the keyword auto or a computed <length-percentage> value",
90
+ "canonicalOrder": "per grammar",
91
+ "animationType": "by computed value type",
92
+ "styleDeclaration": [
93
+ "view-timeline-inset",
94
+ "viewTimelineInset"
95
+ ]
96
+ },
97
+ "view-timeline": {
98
+ "name": "view-timeline",
99
+ "value": "[ <'view-timeline-name'> || <'view-timeline-axis'> ]#",
100
+ "initial": "see individual properties",
101
+ "appliesTo": "all elements",
102
+ "inherited": "see individual properties",
103
+ "percentages": "see individual properties",
104
+ "computedValue": "see individual properties",
105
+ "animationType": "see individual properties",
106
+ "canonicalOrder": "per grammar",
107
+ "styleDeclaration": [
108
+ "view-timeline",
109
+ "viewTimeline"
110
+ ]
111
+ }
32
112
  },
113
+ "atrules": {},
33
114
  "valuespaces": {
34
- "<scroll-timeline-offset>": {
35
- "value": "auto | <length-percentage> | <element-offset>"
115
+ "<scroll()>": {
116
+ "value": "scroll( <axis>? <scroller>? )"
36
117
  },
37
- "<element-offset>": {
38
- "value": "selector( <id-selector> ) [<element-offset-edge> || <number>]?"
118
+ "<axis>": {
119
+ "value": "block | inline | vertical | horizontal"
39
120
  },
40
- "<element-offset-edge>": {
41
- "value": "start | end"
121
+ "<scroller>": {
122
+ "value": "root | nearest | <custom-ident>"
42
123
  }
43
124
  }
44
125
  }
package/selectors.json CHANGED
@@ -4,7 +4,7 @@
4
4
  "url": "https://drafts.csswg.org/selectors/"
5
5
  },
6
6
  "properties": {},
7
- "descriptors": {},
7
+ "atrules": {},
8
8
  "valuespaces": {
9
9
  "<forgiving-selector-list>": {
10
10
  "prose": "The <forgiving-selector-list> production instead parses each selector in the list individually, simply ignoring ones that fail to parse, so the remaining selectors can still be used."
package/svg-strokes.json CHANGED
@@ -50,6 +50,6 @@
50
50
  ]
51
51
  }
52
52
  },
53
- "descriptors": {},
53
+ "atrules": {},
54
54
  "valuespaces": {}
55
55
  }