@webref/css 6.23.0 → 7.0.1-alpha

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 (122) hide show
  1. package/CHANGELOG.md +17 -0
  2. package/README.md +37 -22
  3. package/css.json +17754 -0
  4. package/index.js +2 -9
  5. package/package.json +1 -1
  6. package/CSS.json +0 -567
  7. package/SVG.json +0 -387
  8. package/compat.json +0 -784
  9. package/compositing.json +0 -178
  10. package/css-align.json +0 -559
  11. package/css-anchor-position.json +0 -1042
  12. package/css-animations-2.json +0 -377
  13. package/css-animations.json +0 -337
  14. package/css-backgrounds-4.json +0 -402
  15. package/css-backgrounds.json +0 -732
  16. package/css-borders.json +0 -1642
  17. package/css-box.json +0 -484
  18. package/css-break.json +0 -444
  19. package/css-cascade-6.json +0 -31
  20. package/css-cascade.json +0 -91
  21. package/css-color-5.json +0 -527
  22. package/css-color-6.json +0 -60
  23. package/css-color-adjust.json +0 -151
  24. package/css-color-hdr.json +0 -183
  25. package/css-color.json +0 -1759
  26. package/css-conditional-4.json +0 -23
  27. package/css-conditional-5.json +0 -505
  28. package/css-conditional.json +0 -50
  29. package/css-contain.json +0 -123
  30. package/css-content.json +0 -466
  31. package/css-counter-styles.json +0 -613
  32. package/css-display.json +0 -444
  33. package/css-easing.json +0 -149
  34. package/css-env.json +0 -109
  35. package/css-exclusions.json +0 -108
  36. package/css-extensions.json +0 -36
  37. package/css-flexbox.json +0 -259
  38. package/css-fonts-5.json +0 -385
  39. package/css-fonts.json +0 -1754
  40. package/css-forms.json +0 -281
  41. package/css-gaps.json +0 -544
  42. package/css-gcpm-4.json +0 -58
  43. package/css-gcpm.json +0 -138
  44. package/css-grid-3.json +0 -335
  45. package/css-grid.json +0 -824
  46. package/css-images-4.json +0 -367
  47. package/css-images-5.json +0 -43
  48. package/css-images.json +0 -373
  49. package/css-inline.json +0 -903
  50. package/css-layout-api.json +0 -21
  51. package/css-line-grid.json +0 -142
  52. package/css-link-params.json +0 -34
  53. package/css-lists.json +0 -337
  54. package/css-logical.json +0 -396
  55. package/css-masking.json +0 -717
  56. package/css-mixins.json +0 -58
  57. package/css-multicol.json +0 -253
  58. package/css-namespaces.json +0 -25
  59. package/css-nav.json +0 -121
  60. package/css-nesting.json +0 -17
  61. package/css-overflow-4.json +0 -428
  62. package/css-overflow-5.json +0 -226
  63. package/css-overflow.json +0 -379
  64. package/css-overscroll.json +0 -215
  65. package/css-page-floats.json +0 -296
  66. package/css-page.json +0 -382
  67. package/css-paint-api.json +0 -17
  68. package/css-position-4.json +0 -49
  69. package/css-position.json +0 -495
  70. package/css-properties-values-api.json +0 -39
  71. package/css-pseudo.json +0 -98
  72. package/css-regions.json +0 -59
  73. package/css-rhythm.json +0 -181
  74. package/css-round-display.json +0 -85
  75. package/css-ruby.json +0 -221
  76. package/css-scoping.json +0 -38
  77. package/css-scroll-anchoring.json +0 -43
  78. package/css-scroll-snap-2.json +0 -74
  79. package/css-scroll-snap.json +0 -643
  80. package/css-scrollbars.json +0 -82
  81. package/css-shadow-parts.json +0 -17
  82. package/css-shapes-2.json +0 -89
  83. package/css-shapes.json +0 -384
  84. package/css-size-adjust.json +0 -50
  85. package/css-sizing-4.json +0 -601
  86. package/css-sizing.json +0 -427
  87. package/css-speech.json +0 -985
  88. package/css-syntax.json +0 -263
  89. package/css-tables.json +0 -91
  90. package/css-text-4.json +0 -1516
  91. package/css-text-decor-4.json +0 -741
  92. package/css-text-decor.json +0 -337
  93. package/css-text.json +0 -670
  94. package/css-transforms-2.json +0 -329
  95. package/css-transforms.json +0 -213
  96. package/css-transitions-2.json +0 -47
  97. package/css-transitions.json +0 -119
  98. package/css-ui.json +0 -818
  99. package/css-values-5.json +0 -854
  100. package/css-values.json +0 -790
  101. package/css-variables.json +0 -29
  102. package/css-view-transitions-2.json +0 -152
  103. package/css-view-transitions.json +0 -77
  104. package/css-viewport.json +0 -43
  105. package/css-will-change.json +0 -64
  106. package/css-writing-modes.json +0 -256
  107. package/fill-stroke.json +0 -755
  108. package/filter-effects-2.json +0 -28
  109. package/filter-effects.json +0 -220
  110. package/html.json +0 -29
  111. package/mathml-core.json +0 -69
  112. package/mediaqueries-5.json +0 -915
  113. package/mediaqueries.json +0 -549
  114. package/motion.json +0 -303
  115. package/pointer-animations.json +0 -282
  116. package/scroll-animations.json +0 -519
  117. package/selectors-5.json +0 -22
  118. package/selectors.json +0 -604
  119. package/svg-strokes.json +0 -59
  120. package/upgrade-insecure-requests.json +0 -28
  121. package/webvtt.json +0 -33
  122. package/webxr-dom-overlays.json +0 -17
package/css-position.json DELETED
@@ -1,495 +0,0 @@
1
- {
2
- "spec": {
3
- "title": "CSS Positioned Layout Module Level 3",
4
- "url": "https://drafts.csswg.org/css-position-3/"
5
- },
6
- "properties": [
7
- {
8
- "name": "position",
9
- "href": "https://drafts.csswg.org/css-position-3/#propdef-position",
10
- "value": "static | relative | absolute | sticky | fixed",
11
- "initial": "static",
12
- "appliesTo": "all elements except table-column-group and table-column",
13
- "inherited": "no",
14
- "percentages": "N/A",
15
- "computedValue": "specified keyword",
16
- "canonicalOrder": "per grammar",
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
- "href": "https://drafts.csswg.org/css-position-3/#valdef-position-static",
23
- "type": "value",
24
- "value": "static"
25
- },
26
- {
27
- "name": "relative",
28
- "prose": "The box is laid out as for static, then offset from the resulting position. This offsetting is a purely visual effect, and, unless otherwise specified, does not affect the size or position of any other non-descendant box except insofar as it increases the scrollable overflow area of its ancestors. This positioning scheme is called relative positioning.",
29
- "href": "https://drafts.csswg.org/css-position-3/#valdef-position-relative",
30
- "type": "value",
31
- "value": "relative"
32
- },
33
- {
34
- "name": "sticky",
35
- "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.",
36
- "href": "https://drafts.csswg.org/css-position-3/#valdef-position-sticky",
37
- "type": "value",
38
- "value": "sticky"
39
- },
40
- {
41
- "name": "absolute",
42
- "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.",
43
- "href": "https://drafts.csswg.org/css-position-3/#valdef-position-absolute",
44
- "type": "value",
45
- "value": "absolute"
46
- },
47
- {
48
- "name": "fixed",
49
- "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 } }",
50
- "href": "https://drafts.csswg.org/css-position-3/#valdef-position-fixed",
51
- "type": "value",
52
- "value": "fixed"
53
- }
54
- ],
55
- "styleDeclaration": [
56
- "position"
57
- ]
58
- },
59
- {
60
- "name": "top",
61
- "href": "https://drafts.csswg.org/css-position-3/#propdef-top",
62
- "value": "auto | <length-percentage>",
63
- "initial": "auto",
64
- "appliesTo": "positioned elements",
65
- "inherited": "no",
66
- "percentages": "refer to size of containing block; see prose",
67
- "computedValue": "the keyword auto or a computed <length-percentage> value",
68
- "canonicalOrder": "per grammar",
69
- "animationType": "by computed value type",
70
- "logicalPropertyGroup": "inset",
71
- "values": [
72
- {
73
- "name": "<length>",
74
- "prose": "The inset is a fixed distance from the reference edge. Negative values are allowed.",
75
- "href": "https://drafts.csswg.org/css-position-3/#valdef-top-length",
76
- "type": "value",
77
- "value": "<length>"
78
- },
79
- {
80
- "name": "<percentage>",
81
- "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.",
82
- "href": "https://drafts.csswg.org/css-position-3/#valdef-top-percentage",
83
- "type": "value",
84
- "value": "<percentage>"
85
- },
86
- {
87
- "name": "auto",
88
- "prose": "Represents an unconstrained inset; the exact meaning depends on the positioning scheme.",
89
- "href": "https://drafts.csswg.org/css-position-3/#valdef-top-auto",
90
- "type": "value",
91
- "value": "auto"
92
- }
93
- ],
94
- "styleDeclaration": [
95
- "top"
96
- ]
97
- },
98
- {
99
- "name": "right",
100
- "href": "https://drafts.csswg.org/css-position-3/#propdef-right",
101
- "value": "auto | <length-percentage>",
102
- "initial": "auto",
103
- "appliesTo": "positioned elements",
104
- "inherited": "no",
105
- "percentages": "refer to size of containing block; see prose",
106
- "computedValue": "the keyword auto or a computed <length-percentage> value",
107
- "canonicalOrder": "per grammar",
108
- "animationType": "by computed value type",
109
- "logicalPropertyGroup": "inset",
110
- "values": [
111
- {
112
- "name": "<length>",
113
- "prose": "The inset is a fixed distance from the reference edge. Negative values are allowed.",
114
- "href": "https://drafts.csswg.org/css-position-3/#valdef-top-length",
115
- "type": "value",
116
- "value": "<length>"
117
- },
118
- {
119
- "name": "<percentage>",
120
- "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.",
121
- "href": "https://drafts.csswg.org/css-position-3/#valdef-top-percentage",
122
- "type": "value",
123
- "value": "<percentage>"
124
- },
125
- {
126
- "name": "auto",
127
- "prose": "Represents an unconstrained inset; the exact meaning depends on the positioning scheme.",
128
- "href": "https://drafts.csswg.org/css-position-3/#valdef-top-auto",
129
- "type": "value",
130
- "value": "auto"
131
- }
132
- ],
133
- "styleDeclaration": [
134
- "right"
135
- ]
136
- },
137
- {
138
- "name": "bottom",
139
- "href": "https://drafts.csswg.org/css-position-3/#propdef-bottom",
140
- "value": "auto | <length-percentage>",
141
- "initial": "auto",
142
- "appliesTo": "positioned elements",
143
- "inherited": "no",
144
- "percentages": "refer to size of containing block; see prose",
145
- "computedValue": "the keyword auto or a computed <length-percentage> value",
146
- "canonicalOrder": "per grammar",
147
- "animationType": "by computed value type",
148
- "logicalPropertyGroup": "inset",
149
- "values": [
150
- {
151
- "name": "<length>",
152
- "prose": "The inset is a fixed distance from the reference edge. Negative values are allowed.",
153
- "href": "https://drafts.csswg.org/css-position-3/#valdef-top-length",
154
- "type": "value",
155
- "value": "<length>"
156
- },
157
- {
158
- "name": "<percentage>",
159
- "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.",
160
- "href": "https://drafts.csswg.org/css-position-3/#valdef-top-percentage",
161
- "type": "value",
162
- "value": "<percentage>"
163
- },
164
- {
165
- "name": "auto",
166
- "prose": "Represents an unconstrained inset; the exact meaning depends on the positioning scheme.",
167
- "href": "https://drafts.csswg.org/css-position-3/#valdef-top-auto",
168
- "type": "value",
169
- "value": "auto"
170
- }
171
- ],
172
- "styleDeclaration": [
173
- "bottom"
174
- ]
175
- },
176
- {
177
- "name": "left",
178
- "href": "https://drafts.csswg.org/css-position-3/#propdef-left",
179
- "value": "auto | <length-percentage>",
180
- "initial": "auto",
181
- "appliesTo": "positioned elements",
182
- "inherited": "no",
183
- "percentages": "refer to size of containing block; see prose",
184
- "computedValue": "the keyword auto or a computed <length-percentage> value",
185
- "canonicalOrder": "per grammar",
186
- "animationType": "by computed value type",
187
- "logicalPropertyGroup": "inset",
188
- "values": [
189
- {
190
- "name": "<length>",
191
- "prose": "The inset is a fixed distance from the reference edge. Negative values are allowed.",
192
- "href": "https://drafts.csswg.org/css-position-3/#valdef-top-length",
193
- "type": "value",
194
- "value": "<length>"
195
- },
196
- {
197
- "name": "<percentage>",
198
- "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.",
199
- "href": "https://drafts.csswg.org/css-position-3/#valdef-top-percentage",
200
- "type": "value",
201
- "value": "<percentage>"
202
- },
203
- {
204
- "name": "auto",
205
- "prose": "Represents an unconstrained inset; the exact meaning depends on the positioning scheme.",
206
- "href": "https://drafts.csswg.org/css-position-3/#valdef-top-auto",
207
- "type": "value",
208
- "value": "auto"
209
- }
210
- ],
211
- "styleDeclaration": [
212
- "left"
213
- ]
214
- },
215
- {
216
- "name": "inset-block-start",
217
- "href": "https://drafts.csswg.org/css-position-3/#propdef-inset-block-start",
218
- "value": "auto | <length-percentage>",
219
- "initial": "auto",
220
- "appliesTo": "positioned elements",
221
- "inherited": "no",
222
- "percentages": "refer to size of containing block; see prose",
223
- "computedValue": "the keyword auto or a computed <length-percentage> value",
224
- "canonicalOrder": "per grammar",
225
- "animationType": "by computed value type",
226
- "logicalPropertyGroup": "inset",
227
- "values": [
228
- {
229
- "name": "<length>",
230
- "prose": "The inset is a fixed distance from the reference edge. Negative values are allowed.",
231
- "href": "https://drafts.csswg.org/css-position-3/#valdef-top-length",
232
- "type": "value",
233
- "value": "<length>"
234
- },
235
- {
236
- "name": "<percentage>",
237
- "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.",
238
- "href": "https://drafts.csswg.org/css-position-3/#valdef-top-percentage",
239
- "type": "value",
240
- "value": "<percentage>"
241
- },
242
- {
243
- "name": "auto",
244
- "prose": "Represents an unconstrained inset; the exact meaning depends on the positioning scheme.",
245
- "href": "https://drafts.csswg.org/css-position-3/#valdef-top-auto",
246
- "type": "value",
247
- "value": "auto"
248
- }
249
- ],
250
- "styleDeclaration": [
251
- "inset-block-start",
252
- "insetBlockStart"
253
- ]
254
- },
255
- {
256
- "name": "inset-inline-start",
257
- "href": "https://drafts.csswg.org/css-position-3/#propdef-inset-inline-start",
258
- "value": "auto | <length-percentage>",
259
- "initial": "auto",
260
- "appliesTo": "positioned elements",
261
- "inherited": "no",
262
- "percentages": "refer to size of containing block; see prose",
263
- "computedValue": "the keyword auto or a computed <length-percentage> value",
264
- "canonicalOrder": "per grammar",
265
- "animationType": "by computed value type",
266
- "logicalPropertyGroup": "inset",
267
- "values": [
268
- {
269
- "name": "<length>",
270
- "prose": "The inset is a fixed distance from the reference edge. Negative values are allowed.",
271
- "href": "https://drafts.csswg.org/css-position-3/#valdef-top-length",
272
- "type": "value",
273
- "value": "<length>"
274
- },
275
- {
276
- "name": "<percentage>",
277
- "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.",
278
- "href": "https://drafts.csswg.org/css-position-3/#valdef-top-percentage",
279
- "type": "value",
280
- "value": "<percentage>"
281
- },
282
- {
283
- "name": "auto",
284
- "prose": "Represents an unconstrained inset; the exact meaning depends on the positioning scheme.",
285
- "href": "https://drafts.csswg.org/css-position-3/#valdef-top-auto",
286
- "type": "value",
287
- "value": "auto"
288
- }
289
- ],
290
- "styleDeclaration": [
291
- "inset-inline-start",
292
- "insetInlineStart"
293
- ]
294
- },
295
- {
296
- "name": "inset-block-end",
297
- "href": "https://drafts.csswg.org/css-position-3/#propdef-inset-block-end",
298
- "value": "auto | <length-percentage>",
299
- "initial": "auto",
300
- "appliesTo": "positioned elements",
301
- "inherited": "no",
302
- "percentages": "refer to size of containing block; see prose",
303
- "computedValue": "the keyword auto or a computed <length-percentage> value",
304
- "canonicalOrder": "per grammar",
305
- "animationType": "by computed value type",
306
- "logicalPropertyGroup": "inset",
307
- "values": [
308
- {
309
- "name": "<length>",
310
- "prose": "The inset is a fixed distance from the reference edge. Negative values are allowed.",
311
- "href": "https://drafts.csswg.org/css-position-3/#valdef-top-length",
312
- "type": "value",
313
- "value": "<length>"
314
- },
315
- {
316
- "name": "<percentage>",
317
- "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.",
318
- "href": "https://drafts.csswg.org/css-position-3/#valdef-top-percentage",
319
- "type": "value",
320
- "value": "<percentage>"
321
- },
322
- {
323
- "name": "auto",
324
- "prose": "Represents an unconstrained inset; the exact meaning depends on the positioning scheme.",
325
- "href": "https://drafts.csswg.org/css-position-3/#valdef-top-auto",
326
- "type": "value",
327
- "value": "auto"
328
- }
329
- ],
330
- "styleDeclaration": [
331
- "inset-block-end",
332
- "insetBlockEnd"
333
- ]
334
- },
335
- {
336
- "name": "inset-inline-end",
337
- "href": "https://drafts.csswg.org/css-position-3/#propdef-inset-inline-end",
338
- "value": "auto | <length-percentage>",
339
- "initial": "auto",
340
- "appliesTo": "positioned elements",
341
- "inherited": "no",
342
- "percentages": "refer to size of containing block; see prose",
343
- "computedValue": "the keyword auto or a computed <length-percentage> value",
344
- "canonicalOrder": "per grammar",
345
- "animationType": "by computed value type",
346
- "logicalPropertyGroup": "inset",
347
- "values": [
348
- {
349
- "name": "<length>",
350
- "prose": "The inset is a fixed distance from the reference edge. Negative values are allowed.",
351
- "href": "https://drafts.csswg.org/css-position-3/#valdef-top-length",
352
- "type": "value",
353
- "value": "<length>"
354
- },
355
- {
356
- "name": "<percentage>",
357
- "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.",
358
- "href": "https://drafts.csswg.org/css-position-3/#valdef-top-percentage",
359
- "type": "value",
360
- "value": "<percentage>"
361
- },
362
- {
363
- "name": "auto",
364
- "prose": "Represents an unconstrained inset; the exact meaning depends on the positioning scheme.",
365
- "href": "https://drafts.csswg.org/css-position-3/#valdef-top-auto",
366
- "type": "value",
367
- "value": "auto"
368
- }
369
- ],
370
- "styleDeclaration": [
371
- "inset-inline-end",
372
- "insetInlineEnd"
373
- ]
374
- },
375
- {
376
- "name": "inset-block",
377
- "href": "https://drafts.csswg.org/css-position-3/#propdef-inset-block",
378
- "value": "<'top'>{1,2}",
379
- "initial": "auto",
380
- "appliesTo": "positioned elements",
381
- "inherited": "no",
382
- "percentages": "see individual properties",
383
- "computedValue": "see individual properties",
384
- "canonicalOrder": "per grammar",
385
- "animationType": "by computed value type",
386
- "values": [
387
- {
388
- "name": "<length>",
389
- "prose": "The inset is a fixed distance from the reference edge. Negative values are allowed.",
390
- "href": "https://drafts.csswg.org/css-position-3/#valdef-top-length",
391
- "type": "value",
392
- "value": "<length>"
393
- },
394
- {
395
- "name": "<percentage>",
396
- "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.",
397
- "href": "https://drafts.csswg.org/css-position-3/#valdef-top-percentage",
398
- "type": "value",
399
- "value": "<percentage>"
400
- },
401
- {
402
- "name": "auto",
403
- "prose": "Represents an unconstrained inset; the exact meaning depends on the positioning scheme.",
404
- "href": "https://drafts.csswg.org/css-position-3/#valdef-top-auto",
405
- "type": "value",
406
- "value": "auto"
407
- }
408
- ],
409
- "styleDeclaration": [
410
- "inset-block",
411
- "insetBlock"
412
- ]
413
- },
414
- {
415
- "name": "inset-inline",
416
- "href": "https://drafts.csswg.org/css-position-3/#propdef-inset-inline",
417
- "value": "<'top'>{1,2}",
418
- "initial": "auto",
419
- "appliesTo": "positioned elements",
420
- "inherited": "no",
421
- "percentages": "see individual properties",
422
- "computedValue": "see individual properties",
423
- "canonicalOrder": "per grammar",
424
- "animationType": "by computed value type",
425
- "values": [
426
- {
427
- "name": "<length>",
428
- "prose": "The inset is a fixed distance from the reference edge. Negative values are allowed.",
429
- "href": "https://drafts.csswg.org/css-position-3/#valdef-top-length",
430
- "type": "value",
431
- "value": "<length>"
432
- },
433
- {
434
- "name": "<percentage>",
435
- "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.",
436
- "href": "https://drafts.csswg.org/css-position-3/#valdef-top-percentage",
437
- "type": "value",
438
- "value": "<percentage>"
439
- },
440
- {
441
- "name": "auto",
442
- "prose": "Represents an unconstrained inset; the exact meaning depends on the positioning scheme.",
443
- "href": "https://drafts.csswg.org/css-position-3/#valdef-top-auto",
444
- "type": "value",
445
- "value": "auto"
446
- }
447
- ],
448
- "styleDeclaration": [
449
- "inset-inline",
450
- "insetInline"
451
- ]
452
- },
453
- {
454
- "name": "inset",
455
- "href": "https://drafts.csswg.org/css-position-3/#propdef-inset",
456
- "value": "<'top'>{1,4}",
457
- "initial": "auto",
458
- "appliesTo": "positioned elements",
459
- "inherited": "no",
460
- "percentages": "see individual properties",
461
- "computedValue": "see individual properties",
462
- "canonicalOrder": "per grammar",
463
- "animationType": "by computed value type",
464
- "values": [
465
- {
466
- "name": "<length>",
467
- "prose": "The inset is a fixed distance from the reference edge. Negative values are allowed.",
468
- "href": "https://drafts.csswg.org/css-position-3/#valdef-top-length",
469
- "type": "value",
470
- "value": "<length>"
471
- },
472
- {
473
- "name": "<percentage>",
474
- "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.",
475
- "href": "https://drafts.csswg.org/css-position-3/#valdef-top-percentage",
476
- "type": "value",
477
- "value": "<percentage>"
478
- },
479
- {
480
- "name": "auto",
481
- "prose": "Represents an unconstrained inset; the exact meaning depends on the positioning scheme.",
482
- "href": "https://drafts.csswg.org/css-position-3/#valdef-top-auto",
483
- "type": "value",
484
- "value": "auto"
485
- }
486
- ],
487
- "styleDeclaration": [
488
- "inset"
489
- ]
490
- }
491
- ],
492
- "atrules": [],
493
- "selectors": [],
494
- "values": []
495
- }
@@ -1,39 +0,0 @@
1
- {
2
- "spec": {
3
- "title": "CSS Properties and Values API Level 1",
4
- "url": "https://drafts.css-houdini.org/css-properties-values-api-1/"
5
- },
6
- "properties": [],
7
- "atrules": [
8
- {
9
- "name": "@property",
10
- "href": "https://drafts.css-houdini.org/css-properties-values-api-1/#at-ruledef-property",
11
- "descriptors": [
12
- {
13
- "name": "syntax",
14
- "href": "https://drafts.css-houdini.org/css-properties-values-api-1/#descdef-property-syntax",
15
- "for": "@property",
16
- "value": "<string>",
17
- "initial": "n/a (see prose)"
18
- },
19
- {
20
- "name": "inherits",
21
- "href": "https://drafts.css-houdini.org/css-properties-values-api-1/#descdef-property-inherits",
22
- "for": "@property",
23
- "value": "true | false",
24
- "initial": "n/a (see prose)"
25
- },
26
- {
27
- "name": "initial-value",
28
- "href": "https://drafts.css-houdini.org/css-properties-values-api-1/#descdef-property-initial-value",
29
- "for": "@property",
30
- "value": "<declaration-value>?",
31
- "initial": "the guaranteed-invalid value (but see prose)"
32
- }
33
- ],
34
- "value": "@property <custom-property-name> { <declaration-list> }"
35
- }
36
- ],
37
- "selectors": [],
38
- "values": []
39
- }
package/css-pseudo.json DELETED
@@ -1,98 +0,0 @@
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
- "href": "https://drafts.csswg.org/css-pseudo-4/#selectordef-first-line",
13
- "value": "::first-line"
14
- },
15
- {
16
- "name": "::first-letter",
17
- "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.",
18
- "href": "https://drafts.csswg.org/css-pseudo-4/#selectordef-first-letter",
19
- "values": [
20
- {
21
- "name": "::prefix",
22
- "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 ::suffix sub-pseudo-element of the ::first-letter pseudo-element (::first-letter::suffix). See § 2.2.1 First Letters and Associated Punctuation, below.",
23
- "href": "https://drafts.csswg.org/css-pseudo-4/#selectordef-first-letter-prefix",
24
- "type": "selector",
25
- "value": "::prefix"
26
- },
27
- {
28
- "name": "::suffix",
29
- "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 ::suffix sub-pseudo-element of the ::first-letter pseudo-element (::first-letter::suffix). See § 2.2.1 First Letters and Associated Punctuation, below.",
30
- "href": "https://drafts.csswg.org/css-pseudo-4/#selectordef-first-letter-suffix",
31
- "type": "selector",
32
- "value": "::suffix"
33
- }
34
- ],
35
- "value": "::first-letter"
36
- },
37
- {
38
- "name": "::selection",
39
- "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.",
40
- "href": "https://drafts.csswg.org/css-pseudo-4/#selectordef-selection",
41
- "value": "::selection"
42
- },
43
- {
44
- "name": "::search-text",
45
- "prose": "The ::search-text pseudo-element represents text identified by the user agent’s find-in-page feature. Since not all UAs style matched text in ways expressible with the highlight pseudo-elements, this pseudo-element is optional to implement. The :current pseudo-class (but not ::current()) may be combined with ::search-text to represent the currently focused match instance. The :past and :future pseudo-classes are reserved for analogous use in the future. Any unsupported combination of these pseudo-classes with ::search-text must be treated as invalid.",
46
- "href": "https://drafts.csswg.org/css-pseudo-4/#selectordef-search-text",
47
- "value": "::search-text"
48
- },
49
- {
50
- "name": "::target-text",
51
- "prose": "The ::target-text pseudo-element represents text directly targeted by the document URL’s fragment, if any.",
52
- "href": "https://drafts.csswg.org/css-pseudo-4/#selectordef-target-text",
53
- "value": "::target-text"
54
- },
55
- {
56
- "name": "::spelling-error",
57
- "prose": "The ::spelling-error pseudo-element represents a portion of text that has been flagged by the user agent as misspelled.",
58
- "href": "https://drafts.csswg.org/css-pseudo-4/#selectordef-spelling-error",
59
- "value": "::spelling-error"
60
- },
61
- {
62
- "name": "::grammar-error",
63
- "prose": "The ::grammar-error pseudo-element represents a portion of text that has been flagged by the user agent as grammatically incorrect.",
64
- "href": "https://drafts.csswg.org/css-pseudo-4/#selectordef-grammar-error",
65
- "value": "::grammar-error"
66
- },
67
- {
68
- "name": "::highlight()",
69
- "value": "::highlight(<custom-ident>)",
70
- "href": "https://drafts.csswg.org/css-pseudo-4/#selectordef-highlight-custom-ident"
71
- },
72
- {
73
- "name": "::before",
74
- "prose": "Represents a styleable child pseudo-element immediately before the originating element’s actual content.",
75
- "href": "https://drafts.csswg.org/css-pseudo-4/#selectordef-before",
76
- "value": "::before"
77
- },
78
- {
79
- "name": "::after",
80
- "prose": "Represents a styleable child pseudo-element immediately after the originating element’s actual content.",
81
- "href": "https://drafts.csswg.org/css-pseudo-4/#selectordef-after",
82
- "value": "::after"
83
- },
84
- {
85
- "name": "::marker",
86
- "prose": "The ::marker pseudo-element represents the automatically generated marker box of a list item. (See [CSS-DISPLAY-3] and [CSS-LISTS-3].)",
87
- "href": "https://drafts.csswg.org/css-pseudo-4/#selectordef-marker",
88
- "value": "::marker"
89
- },
90
- {
91
- "name": "::details-content",
92
- "prose": "The ::details-content pseudo-element targets the additional information in a a details element that can be expanded or collapsed. It is an element-backed pseudo-element.",
93
- "href": "https://drafts.csswg.org/css-pseudo-4/#selectordef-details-content",
94
- "value": "::details-content"
95
- }
96
- ],
97
- "values": []
98
- }