@webref/css 6.17.4 → 6.17.6

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-color-5.json CHANGED
@@ -268,21 +268,21 @@
268
268
  "values": [
269
269
  {
270
270
  "name": "l",
271
- "prose": "l is a <number> that corresponds to the origin color’s Oklab Lightness after conversion, if required, to Oklch. 1.0 is equivalent to 100%.",
271
+ "prose": "l is a <number> that corresponds to the origin color’s Oklab Lightness after conversion, if required, to OKLCh. 1.0 is equivalent to 100%.",
272
272
  "href": "https://drafts.csswg.org/css-color-5/#valdef-oklch-l",
273
273
  "type": "value",
274
274
  "value": "l"
275
275
  },
276
276
  {
277
277
  "name": "c",
278
- "prose": "c is a <number> that corresponds to the origin color’s Oklch chroma after conversion, if required, to Oklch. 0.4 is equivalent to 100%.",
278
+ "prose": "c is a <number> that corresponds to the origin color’s OKLCh chroma after conversion, if required, to OKLCh. 0.4 is equivalent to 100%.",
279
279
  "href": "https://drafts.csswg.org/css-color-5/#valdef-oklch-c",
280
280
  "type": "value",
281
281
  "value": "c"
282
282
  },
283
283
  {
284
284
  "name": "h",
285
- "prose": "h is a <number> that corresponds to the origin color’s Oklch hue, in degrees, after conversion, if required, to Oklch, normalized to a [0, 360] range. 90 is equivalent to 90deg.",
285
+ "prose": "h is a <number> that corresponds to the origin color’s OKLCh hue, in degrees, after conversion, if required, to OKLCh, normalized to a [0, 360] range. 90 is equivalent to 90deg.",
286
286
  "href": "https://drafts.csswg.org/css-color-5/#valdef-oklch-h",
287
287
  "type": "value",
288
288
  "value": "h"
package/css-color.json CHANGED
@@ -1453,11 +1453,11 @@
1453
1453
  "value": "oklch( [ <percentage> | <number> | none] [ <percentage> | <number> | none] [ <hue> | none] [ / [<alpha-value> | none] ]? )",
1454
1454
  "values": [
1455
1455
  {
1456
- "name": "Oklch",
1457
- "prose": "In Oklch the first argument specifies the Oklch Lightness L, interpreted identically to the Lightness argument of oklab().",
1456
+ "name": "OKLCh",
1457
+ "prose": "In OKLCh the first argument specifies the OKLCh Lightness L, interpreted identically to the Lightness argument of oklab().",
1458
1458
  "href": "https://drafts.csswg.org/css-color-4/#valdef-oklch-oklch",
1459
1459
  "type": "value",
1460
- "value": "Oklch"
1460
+ "value": "OKLCh"
1461
1461
  }
1462
1462
  ]
1463
1463
  },
@@ -252,7 +252,7 @@
252
252
  "name": "snapped",
253
253
  "href": "https://drafts.csswg.org/css-conditional-5/#descdef-container-snapped",
254
254
  "for": "@container",
255
- "value": "none | x | y | block | inline",
255
+ "value": "none | x | y | block | inline | both",
256
256
  "type": "discrete",
257
257
  "values": [
258
258
  {
@@ -289,6 +289,13 @@
289
289
  "href": "https://drafts.csswg.org/css-conditional-5/#valdef-container-snapped-inline",
290
290
  "type": "value",
291
291
  "value": "inline"
292
+ },
293
+ {
294
+ "name": "both",
295
+ "prose": "snapped container feature matches both if the query container is a snap target for its scroll container in both directions of the snap container.",
296
+ "href": "https://drafts.csswg.org/css-conditional-5/#valdef-container-snapped-both",
297
+ "type": "value",
298
+ "value": "both"
292
299
  }
293
300
  ]
294
301
  },
@@ -296,7 +303,7 @@
296
303
  "name": "scrollable",
297
304
  "href": "https://drafts.csswg.org/css-conditional-5/#descdef-container-scrollable",
298
305
  "for": "@container",
299
- "value": "none | top | right | bottom | left | block-start | inline-start | block-end | inline-end",
306
+ "value": "none | top | right | bottom | left | block-start | inline-start | block-end | inline-end | x | y | block | inline",
300
307
  "type": "discrete",
301
308
  "values": [
302
309
  {
@@ -361,6 +368,34 @@
361
368
  "href": "https://drafts.csswg.org/css-conditional-5/#valdef-container-scrollable-inline-end",
362
369
  "type": "value",
363
370
  "value": "inline-end"
371
+ },
372
+ {
373
+ "name": "x",
374
+ "prose": "The scroll container has horizontally scrollable overflow.",
375
+ "href": "https://drafts.csswg.org/css-conditional-5/#valdef-container-scrollable-x",
376
+ "type": "value",
377
+ "value": "x"
378
+ },
379
+ {
380
+ "name": "y",
381
+ "prose": "The scroll container has vertically scrollable overflow.",
382
+ "href": "https://drafts.csswg.org/css-conditional-5/#valdef-container-scrollable-y",
383
+ "type": "value",
384
+ "value": "y"
385
+ },
386
+ {
387
+ "name": "block",
388
+ "prose": "The scroll container has scrollable overflow in its block direction.",
389
+ "href": "https://drafts.csswg.org/css-conditional-5/#valdef-container-scrollable-block",
390
+ "type": "value",
391
+ "value": "block"
392
+ },
393
+ {
394
+ "name": "inline",
395
+ "prose": "The scroll container has scrollable overflow in its inline direction.",
396
+ "href": "https://drafts.csswg.org/css-conditional-5/#valdef-container-scrollable-inline",
397
+ "type": "value",
398
+ "value": "inline"
364
399
  }
365
400
  ]
366
401
  }
@@ -84,7 +84,7 @@
84
84
  "selectors": [
85
85
  {
86
86
  "name": "::scroll-marker-group",
87
- "prose": "The ::scroll-marker-group fully stylable pseudo-element is generated by a scroll container element having a computed scroll-marker-group property that is not none, adjacent to the scroll container.",
87
+ "prose": "The ::scroll-marker-group fully styleable pseudo-element is generated by a scroll container element having a computed scroll-marker-group property that is not none.",
88
88
  "href": "https://drafts.csswg.org/css-overflow-5/#selectordef-scroll-marker-group"
89
89
  },
90
90
  {
package/css-rhythm.json CHANGED
@@ -73,7 +73,7 @@
73
73
  "values": [
74
74
  {
75
75
  "name": "auto",
76
- "prose": "If block-step-insert is margin: if align-self is start, end, or center, treat as that value, otherwise treat as center.",
76
+ "prose": "If block-step-insert is margin-box: if align-self is start, end, or center, treat as that value, otherwise treat as center.",
77
77
  "href": "https://drafts.csswg.org/css-rhythm-1/#valdef-block-step-align-auto",
78
78
  "type": "value",
79
79
  "value": "auto"
package/css-shapes-2.json CHANGED
@@ -99,21 +99,21 @@
99
99
  "type": "type"
100
100
  },
101
101
  {
102
- "name": "<by-to>",
103
- "value": "by | to",
104
- "href": "https://drafts.csswg.org/css-shapes-2/#typedef-shape-by-to",
102
+ "name": "<command-end-point>",
103
+ "value": "[ to <position> | by <coordinate-pair> ]",
104
+ "href": "https://drafts.csswg.org/css-shapes-2/#typedef-shape-command-end-point",
105
105
  "type": "type",
106
106
  "values": [
107
107
  {
108
108
  "name": "by",
109
- "prose": "<by-to> = by | to",
109
+ "prose": "<command-end-point> = [ by <position> | to <coordinate-pair> ]",
110
110
  "href": "https://drafts.csswg.org/css-shapes-2/#valdef-shape-by",
111
111
  "type": "value",
112
112
  "value": "by"
113
113
  },
114
114
  {
115
115
  "name": "to",
116
- "prose": "<by-to> = by | to",
116
+ "prose": "<command-end-point> = [ by <position> | to <coordinate-pair> ]",
117
117
  "href": "https://drafts.csswg.org/css-shapes-2/#valdef-shape-to",
118
118
  "type": "value",
119
119
  "value": "to"
@@ -122,79 +122,83 @@
122
122
  },
123
123
  {
124
124
  "name": "<move-command>",
125
- "value": "move <by-to> <coordinate-pair>",
125
+ "value": "move <command-end-point>",
126
126
  "href": "https://drafts.csswg.org/css-shapes-2/#typedef-shape-move-command",
127
127
  "type": "type"
128
128
  },
129
129
  {
130
130
  "name": "move",
131
- "prose": "<move-command> = move <by-to> <coordinate-pair>",
131
+ "prose": "<move-command> = move <command-end-point>",
132
132
  "href": "https://drafts.csswg.org/css-shapes-2/#valdef-shape-move",
133
133
  "type": "value",
134
134
  "value": "move"
135
135
  },
136
136
  {
137
137
  "name": "<line-command>",
138
- "value": "line <by-to> <coordinate-pair>",
138
+ "value": "line <command-end-point>",
139
139
  "href": "https://drafts.csswg.org/css-shapes-2/#typedef-shape-line-command",
140
140
  "type": "type"
141
141
  },
142
142
  {
143
143
  "name": "line",
144
- "prose": "<line-command> = line <by-to> <coordinate-pair>",
144
+ "prose": "<line-command> = line <command-end-point>",
145
145
  "href": "https://drafts.csswg.org/css-shapes-2/#valdef-shape-line",
146
146
  "type": "value",
147
147
  "value": "line"
148
148
  },
149
149
  {
150
- "name": "<hv-line-command>",
151
- "value": "[hline | vline] <by-to> <length-percentage>",
152
- "href": "https://drafts.csswg.org/css-shapes-2/#typedef-shape-hv-line-command",
150
+ "name": "<horizontal-line-command>",
151
+ "value": "hline [ to [ <length-percentage> | left | center | right | x-start | x-end ] | by <length-percentage> ]",
152
+ "href": "https://drafts.csswg.org/css-shapes-2/#typedef-shape-horizontal-line-command",
153
153
  "type": "type"
154
154
  },
155
155
  {
156
- "name": "hline",
157
- "prose": "<hv-line-command> = [hline | vline] <by-to> <length-percentage>",
158
- "href": "https://drafts.csswg.org/css-shapes-2/#valdef-shape-hline",
159
- "type": "value",
160
- "value": "hline"
161
- },
162
- {
163
- "name": "vline",
164
- "prose": "<hv-line-command> = [hline | vline] <by-to> <length-percentage>",
165
- "href": "https://drafts.csswg.org/css-shapes-2/#valdef-shape-vline",
166
- "type": "value",
167
- "value": "vline"
156
+ "name": "<vertical-line-command>",
157
+ "value": "vline [ to [ <length-percentage> | top | center | bottom | y-start | y-end ] | by <length-percentage> ]",
158
+ "href": "https://drafts.csswg.org/css-shapes-2/#typedef-shape-vertical-line-command",
159
+ "type": "type"
168
160
  },
169
161
  {
170
162
  "name": "<curve-command>",
171
- "value": "curve [<by-to> <coordinate-pair> using <coordinate-pair>{1,2}]",
163
+ "value": "curve [ [ to <position> && [ with <control-point> [ / <control-point> ]? ] ] | [ by <coordinate-pair> && [ with <relative-control-point> [ / <relative-control-point> ]? ] ] ]",
172
164
  "href": "https://drafts.csswg.org/css-shapes-2/#typedef-shape-curve-command",
173
165
  "type": "type"
174
166
  },
175
167
  {
176
168
  "name": "curve",
177
- "prose": "<curve-command> = curve [[<by-to> <coordinate-pair>] || [using <coordinate-pair>{1,2}]]",
169
+ "prose": "<curve-command> = curve [ [ to <position> && with <control-point> [ / <control-point> ]? ] | [ by <coordinate-pair> && with <relative-control-point> [ / <relative-control-point> ]? ] ]",
178
170
  "href": "https://drafts.csswg.org/css-shapes-2/#valdef-shape-curve",
179
171
  "type": "value",
180
172
  "value": "curve"
181
173
  },
182
174
  {
183
175
  "name": "<smooth-command>",
184
- "value": "smooth [[<by-to> <coordinate-pair>] || [using <coordinate-pair>]?]",
176
+ "value": "smooth [ [ to <position> && [ with <control-point> ]? ] | [ by <coordinate-pair> && [ with <relative-control-point> ]? ] ]",
185
177
  "href": "https://drafts.csswg.org/css-shapes-2/#typedef-shape-smooth-command",
186
178
  "type": "type"
187
179
  },
188
180
  {
189
181
  "name": "smooth",
190
- "prose": "<smooth-command> = smooth [[<by-to> <coordinate-pair>] || [using <coordinate-pair>]?]",
182
+ "prose": "<smooth-command> = smooth [ [ to <position> && [with <control-point> ]? ] | [ by <coordinate-pair> && [ with <relative-control-point> ]? ] ]",
191
183
  "href": "https://drafts.csswg.org/css-shapes-2/#valdef-shape-smooth",
192
184
  "type": "value",
193
185
  "value": "smooth"
194
186
  },
187
+ {
188
+ "name": "<control-point>",
189
+ "value": "[ <position> | <relative-control-point> ]",
190
+ "href": "https://drafts.csswg.org/css-shapes-2/#typedef-shape-control-point",
191
+ "type": "type"
192
+ },
193
+ {
194
+ "name": "<relative-control-point>",
195
+ "value": "<coordinate-pair> [ from [ start | end | origin ] ]?",
196
+ "href": "https://drafts.csswg.org/css-shapes-2/#typedef-shape-relative-control-point",
197
+ "type": "type"
198
+ },
195
199
  {
196
200
  "name": "<arc-command>",
197
- "value": "arc [[<by-to> <coordinate-pair>] || [of <length-percentage>{1,2}] || <arc-sweep>? || <arc-size>? || [rotate <angle>]?]",
201
+ "value": "arc [ <command-end-point> && [ of <coordinate-pair> ] && <arc-sweep>? && <arc-size>? && [rotate <angle>]? ]",
198
202
  "href": "https://drafts.csswg.org/css-shapes-2/#typedef-shape-arc-command",
199
203
  "type": "type"
200
204
  },
@@ -263,7 +267,7 @@
263
267
  "prose": "The sequence of <shape-command>s represent further path data commands. Each command’s starting point is the previous command’s ending point.",
264
268
  "href": "https://drafts.csswg.org/css-shapes-2/#typedef-shape-command",
265
269
  "type": "type",
266
- "value": "<move-command> | <line-command> | <hv-line-command> | <curve-command> | <smooth-command> | <arc-command> | close"
270
+ "value": "<move-command> | <line-command> | close | <horizontal-line-command> | <vertical-line-command> | <curve-command> | <smooth-command> | <arc-command>"
267
271
  }
268
272
  ]
269
273
  }
package/css-values-5.json CHANGED
@@ -468,12 +468,13 @@
468
468
  "name": "<if()>",
469
469
  "href": "https://drafts.csswg.org/css-values-5/#typedef-if",
470
470
  "type": "type",
471
- "value": "if( [ <if-condition> : <declaration-value>? ; ]* <if-condition> : <declaration-value>? ';'? )"
471
+ "value": "if( [ <if-condition> : <declaration-value>? ; ]* <if-condition> : <declaration-value>? ;? )"
472
472
  },
473
473
  {
474
474
  "name": "<if-condition>",
475
475
  "href": "https://drafts.csswg.org/css-values-5/#typedef-if-condition",
476
- "type": "type"
476
+ "type": "type",
477
+ "value": "<boolean-expr[ <if-test> ]> | else"
477
478
  },
478
479
  {
479
480
  "name": "<if-test>",
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": "6.17.4",
4
+ "version": "6.17.6",
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.3.1"
15
+ "css-tree": "^3.1.0"
16
16
  }
17
17
  }
package/selectors.json CHANGED
@@ -166,11 +166,6 @@
166
166
  "prose": "The :open pseudo-class represents an element that has both “open” and “closed” states, and which is currently in the “open” state.",
167
167
  "href": "https://drafts.csswg.org/selectors-4/#selectordef-open"
168
168
  },
169
- {
170
- "name": ":closed",
171
- "prose": "The :closed pseudo-class represents an element that has both “open” and “closed” states, and which is currently in the closed state.",
172
- "href": "https://drafts.csswg.org/selectors-4/#selectordef-closed"
173
- },
174
169
  {
175
170
  "name": ":modal",
176
171
  "prose": "The :modal pseudo-class represents an element which is in a state that excludes all interaction with elements outside it until it has been dismissed. Multiple elements can be :modal simultaneously, with only one of them active (able to receive input).",