@webref/css 5.4.4 → 6.1.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 (108) hide show
  1. package/CHANGELOG.md +66 -0
  2. package/CSS.json +450 -21
  3. package/README.md +4 -4
  4. package/SVG.json +42 -35
  5. package/compat.json +111 -75
  6. package/compositing.json +101 -12
  7. package/css-align.json +300 -30
  8. package/css-anchor.json +177 -19
  9. package/css-animations-2.json +37 -15
  10. package/css-animations.json +155 -31
  11. package/css-backgrounds-4.json +107 -32
  12. package/css-backgrounds.json +426 -59
  13. package/css-box.json +243 -20
  14. package/css-break.json +292 -11
  15. package/css-cascade-6.json +22 -13
  16. package/css-cascade.json +50 -15
  17. package/css-color-5.json +320 -35
  18. package/css-color-adjust.json +75 -8
  19. package/css-color.json +1100 -61
  20. package/css-conditional-4.json +11 -6
  21. package/css-conditional-5.json +38 -19
  22. package/css-conditional.json +28 -15
  23. package/css-contain-3.json +101 -26
  24. package/css-contain.json +71 -6
  25. package/css-content.json +291 -30
  26. package/css-counter-styles.json +455 -18
  27. package/css-display.json +250 -19
  28. package/css-easing.json +137 -25
  29. package/css-env.json +61 -6
  30. package/css-exclusions.json +65 -6
  31. package/css-extensions.json +20 -12
  32. package/css-flexbox.json +132 -11
  33. package/css-fonts-5.json +255 -13
  34. package/css-fonts.json +886 -74
  35. package/css-gcpm-4.json +30 -5
  36. package/css-gcpm.json +76 -15
  37. package/css-grid-3.json +10 -9
  38. package/css-grid.json +442 -42
  39. package/css-highlight-api.json +13 -5
  40. package/css-images-4.json +221 -68
  41. package/css-images-5.json +40 -0
  42. package/css-images.json +278 -33
  43. package/css-inline.json +525 -16
  44. package/css-layout-api.json +20 -0
  45. package/css-line-grid.json +80 -7
  46. package/css-lists.json +176 -21
  47. package/css-logical.json +125 -50
  48. package/css-masking.json +330 -47
  49. package/css-multicol-2.json +32 -5
  50. package/css-multicol.json +84 -13
  51. package/css-namespaces.json +15 -10
  52. package/css-nav.json +63 -7
  53. package/css-nesting.json +15 -0
  54. package/css-overflow-4.json +83 -10
  55. package/css-overflow.json +239 -18
  56. package/css-overscroll.json +110 -9
  57. package/css-page-floats.json +188 -16
  58. package/css-page.json +262 -67
  59. package/css-paint-api.json +8 -5
  60. package/css-position.json +269 -16
  61. package/css-properties-values-api.json +9 -7
  62. package/css-pseudo.json +67 -0
  63. package/css-regions.json +8 -7
  64. package/css-rhythm.json +69 -10
  65. package/css-round-display.json +47 -10
  66. package/css-ruby.json +137 -8
  67. package/css-scoping.json +27 -0
  68. package/css-scroll-anchoring.json +20 -5
  69. package/css-scroll-snap-2.json +272 -10
  70. package/css-scroll-snap.json +218 -29
  71. package/css-scrollbars.json +41 -6
  72. package/css-shadow-parts.json +8 -5
  73. package/css-shapes-2.json +190 -43
  74. package/css-shapes.json +130 -36
  75. package/css-size-adjust.json +26 -5
  76. package/css-sizing-4.json +404 -23
  77. package/css-sizing.json +231 -12
  78. package/css-speech.json +619 -35
  79. package/css-syntax.json +193 -92
  80. package/css-tables.json +10 -9
  81. package/css-text-4.json +800 -40
  82. package/css-text-decor-4.json +394 -23
  83. package/css-text-decor.json +159 -14
  84. package/css-text.json +371 -20
  85. package/css-transforms-2.json +177 -40
  86. package/css-transforms.json +137 -45
  87. package/css-transitions.json +33 -14
  88. package/css-ui.json +437 -42
  89. package/css-values-5.json +99 -14
  90. package/css-values.json +654 -146
  91. package/css-variables.json +12 -7
  92. package/css-view-transitions.json +45 -7
  93. package/css-will-change.json +36 -7
  94. package/css-writing-modes.json +141 -10
  95. package/fill-stroke.json +290 -35
  96. package/filter-effects-2.json +6 -5
  97. package/filter-effects.json +109 -45
  98. package/fullscreen.json +15 -0
  99. package/mathml-core.json +10 -9
  100. package/mediaqueries-5.json +505 -52
  101. package/mediaqueries.json +307 -40
  102. package/motion.json +99 -16
  103. package/package.json +1 -1
  104. package/scroll-animations.json +225 -24
  105. package/selectors.json +368 -30
  106. package/svg-strokes.json +8 -7
  107. package/upgrade-insecure-requests.json +26 -0
  108. package/html.json +0 -19
package/css-position.json CHANGED
@@ -3,8 +3,8 @@
3
3
  "title": "CSS Positioned Layout Module Level 3",
4
4
  "url": "https://drafts.csswg.org/css-position-3/"
5
5
  },
6
- "properties": {
7
- "position": {
6
+ "properties": [
7
+ {
8
8
  "name": "position",
9
9
  "value": "static | relative | absolute | sticky | fixed",
10
10
  "initial": "static",
@@ -15,11 +15,43 @@
15
15
  "canonicalOrder": "per grammar",
16
16
  "animatable": "no",
17
17
  "animationType": "discrete",
18
+ "values": [
19
+ {
20
+ "name": "static",
21
+ "prose": "The box is not a positioned box, and is laid out according to the rules of its parent formatting context. The inset properties do not apply.",
22
+ "type": "value",
23
+ "value": "static"
24
+ },
25
+ {
26
+ "name": "relative",
27
+ "prose": "The box is laid out as for static, then offset from the resulting position. This offsetting is a purely visual effect, and does not affect the size or position of any other box, except insofar as it increases the scrollable overflow area of its ancestors. This positioning scheme is called relative positioning.",
28
+ "type": "value",
29
+ "value": "relative"
30
+ },
31
+ {
32
+ "name": "sticky",
33
+ "prose": "Identical to relative, except that its offsets are automatically adjusted in reference to the nearest ancestor scroll container’s scrollport (as modified by the inset properties) in whichever axes the inset properties are not both auto, to try to keep the box in view within its containing block as the user scrolls. This positioning scheme is called sticky positioning.",
34
+ "type": "value",
35
+ "value": "sticky"
36
+ },
37
+ {
38
+ "name": "absolute",
39
+ "prose": "The box is taken out of flow such that it has no impact on the size or position of its siblings and ancestors, and does not participate in its parent’s formatting context. Instead, the box is positioned and sized solely in reference to its absolute positioning containing block, as modified by the box’s inset properties, see § 4 Absolute Positioning Layout Model. It can overlap in-flow content or other absolutely positioned elements, and is included in the scrollable overflow area of the box that generates is containing block. This positioning scheme is called absolute positioning.",
40
+ "type": "value",
41
+ "value": "absolute"
42
+ },
43
+ {
44
+ "name": "fixed",
45
+ "prose": "Same as absolute, except the box is positioned and sized relative to a fixed positioning containing block (usually the viewport in continuous media, or the page area in paged media). The box’s position is fixed with respect to this reference rectangle: when attached to the viewport it does not move when the document is scrolled, and when attached to the page area is replicated on every page when the document is paginated. This positioning scheme is called fixed positioning and is considered a subset of absolute positioning. Authors may wish to specify fixed in a media-dependent way. For instance, an author may want a box to remain at the top of the viewport on the screen, but not at the top of each printed page. The two specifications may be separated by using an '@media' rule, as in: @media screen { h1#first { position: fixed } } @media print { h1#first { position: static } }",
46
+ "type": "value",
47
+ "value": "fixed"
48
+ }
49
+ ],
18
50
  "styleDeclaration": [
19
51
  "position"
20
52
  ]
21
53
  },
22
- "top": {
54
+ {
23
55
  "name": "top",
24
56
  "value": "auto | <length-percentage>",
25
57
  "initial": "auto",
@@ -29,11 +61,31 @@
29
61
  "computedValue": "the keyword auto or a computed <length-percentage> value",
30
62
  "canonicalOrder": "per grammar",
31
63
  "animationType": "by computed value type",
64
+ "values": [
65
+ {
66
+ "name": "<length>",
67
+ "prose": "The inset is a fixed distance from the reference edge. Negative values are allowed.",
68
+ "type": "value",
69
+ "value": "<length>"
70
+ },
71
+ {
72
+ "name": "<percentage>",
73
+ "prose": "The inset is a percentage relative to the containing block’s size in the corresponding axis (e.g. width for left or right, height for top and bottom). For sticky positioned boxes, the inset is instead relative to the relevant scrollport’s size. Negative values are allowed.",
74
+ "type": "value",
75
+ "value": "<percentage>"
76
+ },
77
+ {
78
+ "name": "auto",
79
+ "prose": "Represents an unconstrained inset; the exact meaning depends on the positioning scheme.",
80
+ "type": "value",
81
+ "value": "auto"
82
+ }
83
+ ],
32
84
  "styleDeclaration": [
33
85
  "top"
34
86
  ]
35
87
  },
36
- "right": {
88
+ {
37
89
  "name": "right",
38
90
  "value": "auto | <length-percentage>",
39
91
  "initial": "auto",
@@ -43,11 +95,31 @@
43
95
  "computedValue": "the keyword auto or a computed <length-percentage> value",
44
96
  "canonicalOrder": "per grammar",
45
97
  "animationType": "by computed value type",
98
+ "values": [
99
+ {
100
+ "name": "<length>",
101
+ "prose": "The inset is a fixed distance from the reference edge. Negative values are allowed.",
102
+ "type": "value",
103
+ "value": "<length>"
104
+ },
105
+ {
106
+ "name": "<percentage>",
107
+ "prose": "The inset is a percentage relative to the containing block’s size in the corresponding axis (e.g. width for left or right, height for top and bottom). For sticky positioned boxes, the inset is instead relative to the relevant scrollport’s size. Negative values are allowed.",
108
+ "type": "value",
109
+ "value": "<percentage>"
110
+ },
111
+ {
112
+ "name": "auto",
113
+ "prose": "Represents an unconstrained inset; the exact meaning depends on the positioning scheme.",
114
+ "type": "value",
115
+ "value": "auto"
116
+ }
117
+ ],
46
118
  "styleDeclaration": [
47
119
  "right"
48
120
  ]
49
121
  },
50
- "bottom": {
122
+ {
51
123
  "name": "bottom",
52
124
  "value": "auto | <length-percentage>",
53
125
  "initial": "auto",
@@ -57,11 +129,31 @@
57
129
  "computedValue": "the keyword auto or a computed <length-percentage> value",
58
130
  "canonicalOrder": "per grammar",
59
131
  "animationType": "by computed value type",
132
+ "values": [
133
+ {
134
+ "name": "<length>",
135
+ "prose": "The inset is a fixed distance from the reference edge. Negative values are allowed.",
136
+ "type": "value",
137
+ "value": "<length>"
138
+ },
139
+ {
140
+ "name": "<percentage>",
141
+ "prose": "The inset is a percentage relative to the containing block’s size in the corresponding axis (e.g. width for left or right, height for top and bottom). For sticky positioned boxes, the inset is instead relative to the relevant scrollport’s size. Negative values are allowed.",
142
+ "type": "value",
143
+ "value": "<percentage>"
144
+ },
145
+ {
146
+ "name": "auto",
147
+ "prose": "Represents an unconstrained inset; the exact meaning depends on the positioning scheme.",
148
+ "type": "value",
149
+ "value": "auto"
150
+ }
151
+ ],
60
152
  "styleDeclaration": [
61
153
  "bottom"
62
154
  ]
63
155
  },
64
- "left": {
156
+ {
65
157
  "name": "left",
66
158
  "value": "auto | <length-percentage>",
67
159
  "initial": "auto",
@@ -71,11 +163,31 @@
71
163
  "computedValue": "the keyword auto or a computed <length-percentage> value",
72
164
  "canonicalOrder": "per grammar",
73
165
  "animationType": "by computed value type",
166
+ "values": [
167
+ {
168
+ "name": "<length>",
169
+ "prose": "The inset is a fixed distance from the reference edge. Negative values are allowed.",
170
+ "type": "value",
171
+ "value": "<length>"
172
+ },
173
+ {
174
+ "name": "<percentage>",
175
+ "prose": "The inset is a percentage relative to the containing block’s size in the corresponding axis (e.g. width for left or right, height for top and bottom). For sticky positioned boxes, the inset is instead relative to the relevant scrollport’s size. Negative values are allowed.",
176
+ "type": "value",
177
+ "value": "<percentage>"
178
+ },
179
+ {
180
+ "name": "auto",
181
+ "prose": "Represents an unconstrained inset; the exact meaning depends on the positioning scheme.",
182
+ "type": "value",
183
+ "value": "auto"
184
+ }
185
+ ],
74
186
  "styleDeclaration": [
75
187
  "left"
76
188
  ]
77
189
  },
78
- "inset-block-start": {
190
+ {
79
191
  "name": "inset-block-start",
80
192
  "value": "auto | <length-percentage>",
81
193
  "initial": "auto",
@@ -85,12 +197,32 @@
85
197
  "computedValue": "the keyword auto or a computed <length-percentage> value",
86
198
  "canonicalOrder": "per grammar",
87
199
  "animationType": "by computed value type",
200
+ "values": [
201
+ {
202
+ "name": "<length>",
203
+ "prose": "The inset is a fixed distance from the reference edge. Negative values are allowed.",
204
+ "type": "value",
205
+ "value": "<length>"
206
+ },
207
+ {
208
+ "name": "<percentage>",
209
+ "prose": "The inset is a percentage relative to the containing block’s size in the corresponding axis (e.g. width for left or right, height for top and bottom). For sticky positioned boxes, the inset is instead relative to the relevant scrollport’s size. Negative values are allowed.",
210
+ "type": "value",
211
+ "value": "<percentage>"
212
+ },
213
+ {
214
+ "name": "auto",
215
+ "prose": "Represents an unconstrained inset; the exact meaning depends on the positioning scheme.",
216
+ "type": "value",
217
+ "value": "auto"
218
+ }
219
+ ],
88
220
  "styleDeclaration": [
89
221
  "inset-block-start",
90
222
  "insetBlockStart"
91
223
  ]
92
224
  },
93
- "inset-inline-start": {
225
+ {
94
226
  "name": "inset-inline-start",
95
227
  "value": "auto | <length-percentage>",
96
228
  "initial": "auto",
@@ -100,12 +232,32 @@
100
232
  "computedValue": "the keyword auto or a computed <length-percentage> value",
101
233
  "canonicalOrder": "per grammar",
102
234
  "animationType": "by computed value type",
235
+ "values": [
236
+ {
237
+ "name": "<length>",
238
+ "prose": "The inset is a fixed distance from the reference edge. Negative values are allowed.",
239
+ "type": "value",
240
+ "value": "<length>"
241
+ },
242
+ {
243
+ "name": "<percentage>",
244
+ "prose": "The inset is a percentage relative to the containing block’s size in the corresponding axis (e.g. width for left or right, height for top and bottom). For sticky positioned boxes, the inset is instead relative to the relevant scrollport’s size. Negative values are allowed.",
245
+ "type": "value",
246
+ "value": "<percentage>"
247
+ },
248
+ {
249
+ "name": "auto",
250
+ "prose": "Represents an unconstrained inset; the exact meaning depends on the positioning scheme.",
251
+ "type": "value",
252
+ "value": "auto"
253
+ }
254
+ ],
103
255
  "styleDeclaration": [
104
256
  "inset-inline-start",
105
257
  "insetInlineStart"
106
258
  ]
107
259
  },
108
- "inset-block-end": {
260
+ {
109
261
  "name": "inset-block-end",
110
262
  "value": "auto | <length-percentage>",
111
263
  "initial": "auto",
@@ -115,12 +267,32 @@
115
267
  "computedValue": "the keyword auto or a computed <length-percentage> value",
116
268
  "canonicalOrder": "per grammar",
117
269
  "animationType": "by computed value type",
270
+ "values": [
271
+ {
272
+ "name": "<length>",
273
+ "prose": "The inset is a fixed distance from the reference edge. Negative values are allowed.",
274
+ "type": "value",
275
+ "value": "<length>"
276
+ },
277
+ {
278
+ "name": "<percentage>",
279
+ "prose": "The inset is a percentage relative to the containing block’s size in the corresponding axis (e.g. width for left or right, height for top and bottom). For sticky positioned boxes, the inset is instead relative to the relevant scrollport’s size. Negative values are allowed.",
280
+ "type": "value",
281
+ "value": "<percentage>"
282
+ },
283
+ {
284
+ "name": "auto",
285
+ "prose": "Represents an unconstrained inset; the exact meaning depends on the positioning scheme.",
286
+ "type": "value",
287
+ "value": "auto"
288
+ }
289
+ ],
118
290
  "styleDeclaration": [
119
291
  "inset-block-end",
120
292
  "insetBlockEnd"
121
293
  ]
122
294
  },
123
- "inset-inline-end": {
295
+ {
124
296
  "name": "inset-inline-end",
125
297
  "value": "auto | <length-percentage>",
126
298
  "initial": "auto",
@@ -130,12 +302,32 @@
130
302
  "computedValue": "the keyword auto or a computed <length-percentage> value",
131
303
  "canonicalOrder": "per grammar",
132
304
  "animationType": "by computed value type",
305
+ "values": [
306
+ {
307
+ "name": "<length>",
308
+ "prose": "The inset is a fixed distance from the reference edge. Negative values are allowed.",
309
+ "type": "value",
310
+ "value": "<length>"
311
+ },
312
+ {
313
+ "name": "<percentage>",
314
+ "prose": "The inset is a percentage relative to the containing block’s size in the corresponding axis (e.g. width for left or right, height for top and bottom). For sticky positioned boxes, the inset is instead relative to the relevant scrollport’s size. Negative values are allowed.",
315
+ "type": "value",
316
+ "value": "<percentage>"
317
+ },
318
+ {
319
+ "name": "auto",
320
+ "prose": "Represents an unconstrained inset; the exact meaning depends on the positioning scheme.",
321
+ "type": "value",
322
+ "value": "auto"
323
+ }
324
+ ],
133
325
  "styleDeclaration": [
134
326
  "inset-inline-end",
135
327
  "insetInlineEnd"
136
328
  ]
137
329
  },
138
- "inset-block": {
330
+ {
139
331
  "name": "inset-block",
140
332
  "value": "<top>{1,2}",
141
333
  "initial": "auto",
@@ -145,12 +337,32 @@
145
337
  "computedValue": "see individual properties",
146
338
  "canonicalOrder": "per grammar",
147
339
  "animationType": "by computed value type",
340
+ "values": [
341
+ {
342
+ "name": "<length>",
343
+ "prose": "The inset is a fixed distance from the reference edge. Negative values are allowed.",
344
+ "type": "value",
345
+ "value": "<length>"
346
+ },
347
+ {
348
+ "name": "<percentage>",
349
+ "prose": "The inset is a percentage relative to the containing block’s size in the corresponding axis (e.g. width for left or right, height for top and bottom). For sticky positioned boxes, the inset is instead relative to the relevant scrollport’s size. Negative values are allowed.",
350
+ "type": "value",
351
+ "value": "<percentage>"
352
+ },
353
+ {
354
+ "name": "auto",
355
+ "prose": "Represents an unconstrained inset; the exact meaning depends on the positioning scheme.",
356
+ "type": "value",
357
+ "value": "auto"
358
+ }
359
+ ],
148
360
  "styleDeclaration": [
149
361
  "inset-block",
150
362
  "insetBlock"
151
363
  ]
152
364
  },
153
- "inset-inline": {
365
+ {
154
366
  "name": "inset-inline",
155
367
  "value": "<top>{1,2}",
156
368
  "initial": "auto",
@@ -160,12 +372,32 @@
160
372
  "computedValue": "see individual properties",
161
373
  "canonicalOrder": "per grammar",
162
374
  "animationType": "by computed value type",
375
+ "values": [
376
+ {
377
+ "name": "<length>",
378
+ "prose": "The inset is a fixed distance from the reference edge. Negative values are allowed.",
379
+ "type": "value",
380
+ "value": "<length>"
381
+ },
382
+ {
383
+ "name": "<percentage>",
384
+ "prose": "The inset is a percentage relative to the containing block’s size in the corresponding axis (e.g. width for left or right, height for top and bottom). For sticky positioned boxes, the inset is instead relative to the relevant scrollport’s size. Negative values are allowed.",
385
+ "type": "value",
386
+ "value": "<percentage>"
387
+ },
388
+ {
389
+ "name": "auto",
390
+ "prose": "Represents an unconstrained inset; the exact meaning depends on the positioning scheme.",
391
+ "type": "value",
392
+ "value": "auto"
393
+ }
394
+ ],
163
395
  "styleDeclaration": [
164
396
  "inset-inline",
165
397
  "insetInline"
166
398
  ]
167
399
  },
168
- "inset": {
400
+ {
169
401
  "name": "inset",
170
402
  "value": "<top>{1,4}",
171
403
  "initial": "auto",
@@ -175,11 +407,32 @@
175
407
  "computedValue": "see individual properties",
176
408
  "canonicalOrder": "per grammar",
177
409
  "animationType": "by computed value type",
410
+ "values": [
411
+ {
412
+ "name": "<length>",
413
+ "prose": "The inset is a fixed distance from the reference edge. Negative values are allowed.",
414
+ "type": "value",
415
+ "value": "<length>"
416
+ },
417
+ {
418
+ "name": "<percentage>",
419
+ "prose": "The inset is a percentage relative to the containing block’s size in the corresponding axis (e.g. width for left or right, height for top and bottom). For sticky positioned boxes, the inset is instead relative to the relevant scrollport’s size. Negative values are allowed.",
420
+ "type": "value",
421
+ "value": "<percentage>"
422
+ },
423
+ {
424
+ "name": "auto",
425
+ "prose": "Represents an unconstrained inset; the exact meaning depends on the positioning scheme.",
426
+ "type": "value",
427
+ "value": "auto"
428
+ }
429
+ ],
178
430
  "styleDeclaration": [
179
431
  "inset"
180
432
  ]
181
433
  }
182
- },
183
- "atrules": {},
184
- "valuespaces": {}
434
+ ],
435
+ "atrules": [],
436
+ "selectors": [],
437
+ "values": []
185
438
  }
@@ -3,10 +3,10 @@
3
3
  "title": "CSS Properties and Values API Level 1",
4
4
  "url": "https://drafts.css-houdini.org/css-properties-values-api-1/"
5
5
  },
6
- "properties": {},
7
- "atrules": {
8
- "@property": {
9
- "value": "@property <custom-property-name> { <declaration-list> }",
6
+ "properties": [],
7
+ "atrules": [
8
+ {
9
+ "name": "@property",
10
10
  "descriptors": [
11
11
  {
12
12
  "name": "syntax",
@@ -26,8 +26,10 @@
26
26
  "value": "<declaration-value>",
27
27
  "initial": "the guaranteed-invalid value (but see prose)"
28
28
  }
29
- ]
29
+ ],
30
+ "value": "@property <custom-property-name> { <declaration-list> }"
30
31
  }
31
- },
32
- "valuespaces": {}
32
+ ],
33
+ "selectors": [],
34
+ "values": []
33
35
  }
@@ -0,0 +1,67 @@
1
+ {
2
+ "spec": {
3
+ "title": "CSS Pseudo-Elements Module Level 4",
4
+ "url": "https://drafts.csswg.org/css-pseudo-4/"
5
+ },
6
+ "properties": [],
7
+ "atrules": [],
8
+ "selectors": [
9
+ {
10
+ "name": "::first-line",
11
+ "prose": "The ::first-line pseudo-element represents the contents of the first formatted line of its originating element."
12
+ },
13
+ {
14
+ "name": "::first-letter",
15
+ "prose": "The ::first-letter pseudo-element represents the first Letter, Number, or Symbol (Unicode category L*, N*, or S*) typographic character unit on the first formatted line of its originating element (the first letter) as well as its associated punctuation. Collectively, this text is the first-letter text. The ::first-letter pseudo-element can be used to create “initial caps” and “drop caps”, which are common typographic effects.",
16
+ "values": [
17
+ {
18
+ "name": "::prefix",
19
+ "prose": "To allow independent styling of the first letter itself and its adjacent punctuation, associated preceding punctuation is represented by the ::prefix sub-pseudo-element of the ::first-letter pseudo-element (::first-letter::prefix); and associated following punctuation is represented by the ::postfix sub-pseudo-element of the ::first-letter pseudo-element (::first-letter::postfix). See § 2.2.1 First Letters and Associated Punctuation, below.",
20
+ "type": "selector"
21
+ },
22
+ {
23
+ "name": "::postfix",
24
+ "prose": "To allow independent styling of the first letter itself and its adjacent punctuation, associated preceding punctuation is represented by the ::prefix sub-pseudo-element of the ::first-letter pseudo-element (::first-letter::prefix); and associated following punctuation is represented by the ::postfix sub-pseudo-element of the ::first-letter pseudo-element (::first-letter::postfix). See § 2.2.1 First Letters and Associated Punctuation, below.",
25
+ "type": "selector"
26
+ }
27
+ ]
28
+ },
29
+ {
30
+ "name": "::selection",
31
+ "prose": "The ::selection pseudo-element represents the portion of a document that has been selected as the target or object of some possible future user-agent operation(s). It applies, for example, to selected text within an editable text field, which would be copied by a copy operation or replaced by a paste operation."
32
+ },
33
+ {
34
+ "name": "::target-text",
35
+ "prose": "The ::target-text pseudo-element represents text directly targeted by the document URL’s fragment, if any."
36
+ },
37
+ {
38
+ "name": "::spelling-error",
39
+ "prose": "The ::spelling-error pseudo-element represents a portion of text that has been flagged by the user agent as misspelled."
40
+ },
41
+ {
42
+ "name": "::grammar-error",
43
+ "prose": "The ::grammar-error pseudo-element represents a portion of text that has been flagged by the user agent as grammatically incorrect."
44
+ },
45
+ {
46
+ "name": "::before",
47
+ "prose": "Represents a styleable child pseudo-element immediately before the originating element’s actual content."
48
+ },
49
+ {
50
+ "name": "::after",
51
+ "prose": "Represents a styleable child pseudo-element immediately after the originating element’s actual content."
52
+ },
53
+ {
54
+ "name": "::marker",
55
+ "prose": "The ::marker pseudo-element represents the automatically generated marker box of a list item. (See [CSS-DISPLAY-3] and [CSS-LISTS-3].)"
56
+ },
57
+ {
58
+ "name": "::placeholder",
59
+ "prose": "The ::placeholder pseudo-element represents placeholder text in an input field: text that represents the input and provides a hint to the user on how to fill out the form. For example, a date-input field might have the placeholder text “YYYY/MM/DD” to clarify that numeric dates are to be entered in year-month-day order."
60
+ },
61
+ {
62
+ "name": "::file-selector-button",
63
+ "prose": "The ::file-selector-button pseudo-element targets the <button> inside an <input> element with type=file, if the UA renders such a button."
64
+ }
65
+ ],
66
+ "values": []
67
+ }
package/css-regions.json CHANGED
@@ -3,8 +3,8 @@
3
3
  "title": "CSS Regions Module Level 1",
4
4
  "url": "https://drafts.csswg.org/css-regions-1/"
5
5
  },
6
- "properties": {
7
- "flow-into": {
6
+ "properties": [
7
+ {
8
8
  "name": "flow-into",
9
9
  "value": "none | <ident> [element|content]?",
10
10
  "initial": "none",
@@ -19,7 +19,7 @@
19
19
  "flowInto"
20
20
  ]
21
21
  },
22
- "flow-from": {
22
+ {
23
23
  "name": "flow-from",
24
24
  "value": "<ident> | none",
25
25
  "initial": "none",
@@ -34,7 +34,7 @@
34
34
  "flowFrom"
35
35
  ]
36
36
  },
37
- "region-fragment": {
37
+ {
38
38
  "name": "region-fragment",
39
39
  "value": "auto | break",
40
40
  "initial": "auto",
@@ -49,7 +49,8 @@
49
49
  "regionFragment"
50
50
  ]
51
51
  }
52
- },
53
- "atrules": {},
54
- "valuespaces": {}
52
+ ],
53
+ "atrules": [],
54
+ "selectors": [],
55
+ "values": []
55
56
  }