@webref/css 6.10.4 → 6.11.1

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 (114) hide show
  1. package/CSS.json +83 -8
  2. package/README.md +1 -0
  3. package/SVG.json +27 -0
  4. package/compat.json +75 -0
  5. package/compositing.json +22 -0
  6. package/css-align.json +59 -0
  7. package/css-anchor-position.json +247 -81
  8. package/css-animations-2.json +13 -0
  9. package/css-animations.json +34 -0
  10. package/css-backgrounds-4.json +12 -0
  11. package/css-backgrounds.json +78 -0
  12. package/css-borders.json +91 -0
  13. package/css-box.json +48 -0
  14. package/css-break.json +50 -0
  15. package/css-cascade-6.json +3 -0
  16. package/css-cascade.json +10 -0
  17. package/css-color-5.json +74 -0
  18. package/css-color-6.json +6 -0
  19. package/css-color-adjust.json +14 -0
  20. package/css-color.json +272 -0
  21. package/css-conditional-4.json +2 -0
  22. package/css-conditional-5.json +7 -0
  23. package/css-conditional.json +6 -0
  24. package/css-contain-3.json +27 -0
  25. package/css-contain.json +12 -0
  26. package/css-content.json +86 -13
  27. package/css-counter-styles.json +85 -0
  28. package/css-display.json +48 -0
  29. package/css-easing.json +24 -0
  30. package/css-env.json +11 -0
  31. package/css-exclusions.json +11 -0
  32. package/css-extensions.json +4 -0
  33. package/css-flexbox.json +24 -0
  34. package/css-fonts-5.json +49 -3
  35. package/css-fonts.json +207 -2
  36. package/css-gcpm-4.json +10 -4
  37. package/css-gcpm.json +13 -1
  38. package/css-grid-3.json +1 -0
  39. package/css-grid.json +88 -0
  40. package/css-highlight-api.json +3 -1
  41. package/css-images-4.json +49 -0
  42. package/css-images-5.json +3 -0
  43. package/css-images.json +46 -0
  44. package/css-inline.json +93 -0
  45. package/css-layout-api.json +1 -0
  46. package/css-line-grid.json +14 -0
  47. package/css-link-params.json +2 -0
  48. package/css-lists.json +34 -0
  49. package/css-logical.json +27 -0
  50. package/css-masking.json +69 -0
  51. package/css-multicol-2.json +5 -0
  52. package/css-multicol.json +19 -0
  53. package/css-namespaces.json +2 -0
  54. package/css-nav.json +10 -0
  55. package/css-nesting.json +2 -1
  56. package/css-overflow-4.json +37 -1
  57. package/css-overflow.json +38 -0
  58. package/css-overscroll.json +20 -0
  59. package/css-page-floats.json +34 -0
  60. package/css-page.json +52 -0
  61. package/css-paint-api.json +1 -0
  62. package/css-position-4.json +5 -1
  63. package/css-position.json +50 -0
  64. package/css-properties-values-api.json +4 -0
  65. package/css-pseudo.json +23 -10
  66. package/css-regions.json +3 -0
  67. package/css-rhythm.json +15 -0
  68. package/css-round-display.json +8 -0
  69. package/css-ruby.json +22 -0
  70. package/css-scoping.json +8 -4
  71. package/css-scroll-anchoring.json +3 -0
  72. package/css-scroll-snap-2.json +55 -5
  73. package/css-scroll-snap.json +53 -0
  74. package/css-scrollbars.json +7 -0
  75. package/css-shadow-parts.json +1 -0
  76. package/css-shapes-2.json +34 -0
  77. package/css-shapes.json +22 -0
  78. package/css-size-adjust.json +4 -0
  79. package/css-sizing-4.json +59 -0
  80. package/css-sizing.json +42 -0
  81. package/css-speech.json +115 -0
  82. package/css-syntax.json +43 -0
  83. package/css-tables.json +5 -0
  84. package/css-text-4.json +161 -0
  85. package/css-text-decor-4.json +75 -0
  86. package/css-text-decor.json +32 -0
  87. package/css-text.json +70 -0
  88. package/css-transforms-2.json +37 -0
  89. package/css-transforms.json +26 -0
  90. package/css-transitions-2.json +4 -0
  91. package/css-transitions.json +9 -0
  92. package/css-ui.json +92 -0
  93. package/css-values-5.json +59 -0
  94. package/css-values.json +115 -0
  95. package/css-variables.json +2 -0
  96. package/css-view-transitions-2.json +49 -3
  97. package/css-view-transitions.json +16 -13
  98. package/css-viewport.json +43 -0
  99. package/css-will-change.json +6 -0
  100. package/css-writing-modes.json +26 -0
  101. package/fill-stroke.json +66 -0
  102. package/filter-effects-2.json +1 -0
  103. package/filter-effects.json +24 -0
  104. package/html.json +3 -0
  105. package/mathml-core.json +3 -0
  106. package/mediaqueries-5.json +121 -0
  107. package/mediaqueries.json +77 -0
  108. package/motion.json +32 -0
  109. package/package.json +1 -1
  110. package/scroll-animations.json +54 -0
  111. package/selectors.json +173 -72
  112. package/svg-strokes.json +3 -0
  113. package/upgrade-insecure-requests.json +2 -0
  114. package/webvtt.json +8 -4
package/CSS.json CHANGED
@@ -6,6 +6,7 @@
6
6
  "properties": [
7
7
  {
8
8
  "name": "z-index",
9
+ "href": "https://drafts.csswg.org/css2/#propdef-z-index",
9
10
  "value": "auto | <integer> | inherit",
10
11
  "initial": "auto",
11
12
  "appliesTo": "positioned elements",
@@ -18,6 +19,7 @@
18
19
  {
19
20
  "name": "auto",
20
21
  "prose": "The stack level of the generated box in the current stacking context is 0. The box does not establish a new stacking context unless it is the root element.",
22
+ "href": "https://drafts.csswg.org/css2/#valdef-z-index-auto",
21
23
  "type": "value",
22
24
  "value": "auto"
23
25
  }
@@ -29,6 +31,7 @@
29
31
  },
30
32
  {
31
33
  "name": "page-break-before",
34
+ "href": "https://drafts.csswg.org/css2/#propdef-page-break-before",
32
35
  "value": "auto | always | avoid | left | right | inherit",
33
36
  "initial": "auto",
34
37
  "appliesTo": "block-level elements (but see text)",
@@ -41,30 +44,35 @@
41
44
  {
42
45
  "name": "auto",
43
46
  "prose": "Neither force nor forbid a page break before (after, inside) the generated box.",
47
+ "href": "https://drafts.csswg.org/css2/#valdef-page-break-auto",
44
48
  "type": "value",
45
49
  "value": "auto"
46
50
  },
47
51
  {
48
52
  "name": "always",
49
53
  "prose": "Always force a page break before (after) the generated box.",
54
+ "href": "https://drafts.csswg.org/css2/#valdef-page-break-always",
50
55
  "type": "value",
51
56
  "value": "always"
52
57
  },
53
58
  {
54
59
  "name": "avoid",
55
60
  "prose": "Avoid a page break before (after, inside) the generated box.",
61
+ "href": "https://drafts.csswg.org/css2/#valdef-page-break-avoid",
56
62
  "type": "value",
57
63
  "value": "avoid"
58
64
  },
59
65
  {
60
66
  "name": "left",
61
67
  "prose": "Force one or two page breaks before (after) the generated box so that the next page is formatted as a left page.",
68
+ "href": "https://drafts.csswg.org/css2/#valdef-page-break-left",
62
69
  "type": "value",
63
70
  "value": "left"
64
71
  },
65
72
  {
66
73
  "name": "right",
67
74
  "prose": "Force one or two page breaks before (after) the generated box so that the next page is formatted as a right page.",
75
+ "href": "https://drafts.csswg.org/css2/#valdef-page-break-right",
68
76
  "type": "value",
69
77
  "value": "right"
70
78
  }
@@ -76,6 +84,7 @@
76
84
  },
77
85
  {
78
86
  "name": "page-break-after",
87
+ "href": "https://drafts.csswg.org/css2/#propdef-page-break-after",
79
88
  "value": "auto | always | avoid | left | right | inherit",
80
89
  "initial": "auto",
81
90
  "appliesTo": "block-level elements (but see text)",
@@ -88,30 +97,35 @@
88
97
  {
89
98
  "name": "auto",
90
99
  "prose": "Neither force nor forbid a page break before (after, inside) the generated box.",
100
+ "href": "https://drafts.csswg.org/css2/#valdef-page-break-auto",
91
101
  "type": "value",
92
102
  "value": "auto"
93
103
  },
94
104
  {
95
105
  "name": "always",
96
106
  "prose": "Always force a page break before (after) the generated box.",
107
+ "href": "https://drafts.csswg.org/css2/#valdef-page-break-always",
97
108
  "type": "value",
98
109
  "value": "always"
99
110
  },
100
111
  {
101
112
  "name": "avoid",
102
113
  "prose": "Avoid a page break before (after, inside) the generated box.",
114
+ "href": "https://drafts.csswg.org/css2/#valdef-page-break-avoid",
103
115
  "type": "value",
104
116
  "value": "avoid"
105
117
  },
106
118
  {
107
119
  "name": "left",
108
120
  "prose": "Force one or two page breaks before (after) the generated box so that the next page is formatted as a left page.",
121
+ "href": "https://drafts.csswg.org/css2/#valdef-page-break-left",
109
122
  "type": "value",
110
123
  "value": "left"
111
124
  },
112
125
  {
113
126
  "name": "right",
114
127
  "prose": "Force one or two page breaks before (after) the generated box so that the next page is formatted as a right page.",
128
+ "href": "https://drafts.csswg.org/css2/#valdef-page-break-right",
115
129
  "type": "value",
116
130
  "value": "right"
117
131
  }
@@ -123,6 +137,7 @@
123
137
  },
124
138
  {
125
139
  "name": "page-break-inside",
140
+ "href": "https://drafts.csswg.org/css2/#propdef-page-break-inside",
126
141
  "value": "avoid | auto | inherit",
127
142
  "initial": "auto",
128
143
  "appliesTo": "block-level elements (but see text)",
@@ -135,30 +150,35 @@
135
150
  {
136
151
  "name": "auto",
137
152
  "prose": "Neither force nor forbid a page break before (after, inside) the generated box.",
153
+ "href": "https://drafts.csswg.org/css2/#valdef-page-break-auto",
138
154
  "type": "value",
139
155
  "value": "auto"
140
156
  },
141
157
  {
142
158
  "name": "always",
143
159
  "prose": "Always force a page break before (after) the generated box.",
160
+ "href": "https://drafts.csswg.org/css2/#valdef-page-break-always",
144
161
  "type": "value",
145
162
  "value": "always"
146
163
  },
147
164
  {
148
165
  "name": "avoid",
149
166
  "prose": "Avoid a page break before (after, inside) the generated box.",
167
+ "href": "https://drafts.csswg.org/css2/#valdef-page-break-avoid",
150
168
  "type": "value",
151
169
  "value": "avoid"
152
170
  },
153
171
  {
154
172
  "name": "left",
155
173
  "prose": "Force one or two page breaks before (after) the generated box so that the next page is formatted as a left page.",
174
+ "href": "https://drafts.csswg.org/css2/#valdef-page-break-left",
156
175
  "type": "value",
157
176
  "value": "left"
158
177
  },
159
178
  {
160
179
  "name": "right",
161
180
  "prose": "Force one or two page breaks before (after) the generated box so that the next page is formatted as a right page.",
181
+ "href": "https://drafts.csswg.org/css2/#valdef-page-break-right",
162
182
  "type": "value",
163
183
  "value": "right"
164
184
  }
@@ -173,20 +193,24 @@
173
193
  {
174
194
  "name": "@import",
175
195
  "prose": "The @import rule allows users to import style rules from other style sheets. In CSS 2, any @import rules must precede all other rules (except the @charset rule, if present). See the section on parsing for when user agents must ignore @import rules. The @import keyword must be followed by the URI of the style sheet to include. A string is also allowed; it will be interpreted as if it had url(...) around it.",
196
+ "href": "https://drafts.csswg.org/css2/#at-ruledef-import",
176
197
  "descriptors": []
177
198
  },
178
199
  {
179
200
  "name": "@media",
201
+ "href": "https://drafts.csswg.org/css2/#at-ruledef-media",
180
202
  "descriptors": [],
181
203
  "values": [
182
204
  {
183
205
  "name": "all",
184
206
  "prose": "Suitable for all devices.",
207
+ "href": "https://drafts.csswg.org/css2/#valdef-media-all",
185
208
  "type": "value",
186
209
  "value": "all",
187
210
  "values": [
188
211
  {
189
212
  "name": "inherit",
213
+ "href": "https://drafts.csswg.org/css2/#valdef-all-inherit",
190
214
  "type": "value",
191
215
  "value": "inherit"
192
216
  }
@@ -195,54 +219,63 @@
195
219
  {
196
220
  "name": "braille",
197
221
  "prose": "Intended for braille tactile feedback devices.",
222
+ "href": "https://drafts.csswg.org/css2/#valdef-media-braille",
198
223
  "type": "value",
199
224
  "value": "braille"
200
225
  },
201
226
  {
202
227
  "name": "embossed",
203
228
  "prose": "Intended for paged braille printers.",
229
+ "href": "https://drafts.csswg.org/css2/#valdef-media-embossed",
204
230
  "type": "value",
205
231
  "value": "embossed"
206
232
  },
207
233
  {
208
234
  "name": "handheld",
209
235
  "prose": "Intended for handheld devices (typically small screen, limited bandwidth).",
236
+ "href": "https://drafts.csswg.org/css2/#valdef-media-handheld",
210
237
  "type": "value",
211
238
  "value": "handheld"
212
239
  },
213
240
  {
214
241
  "name": "print",
215
242
  "prose": "Intended for paged material and for documents viewed on screen in print preview mode. Please consult the section on paged media for information about formatting issues that are specific to paged media.",
243
+ "href": "https://drafts.csswg.org/css2/#valdef-media-print",
216
244
  "type": "value",
217
245
  "value": "print"
218
246
  },
219
247
  {
220
248
  "name": "projection",
221
249
  "prose": "Intended for projected presentations, for example projectors. Please consult the section on paged media for information about formatting issues that are specific to paged media.",
250
+ "href": "https://drafts.csswg.org/css2/#valdef-media-projection",
222
251
  "type": "value",
223
252
  "value": "projection"
224
253
  },
225
254
  {
226
255
  "name": "screen",
227
256
  "prose": "Intended primarily for color computer screens.",
257
+ "href": "https://drafts.csswg.org/css2/#valdef-media-screen",
228
258
  "type": "value",
229
259
  "value": "screen"
230
260
  },
231
261
  {
232
262
  "name": "speech",
233
263
  "prose": "Intended for speech synthesizers. Note: CSS2 (1998) had a similar media type called aural for this purpose.",
264
+ "href": "https://drafts.csswg.org/css2/#valdef-media-speech",
234
265
  "type": "value",
235
266
  "value": "speech"
236
267
  },
237
268
  {
238
269
  "name": "tty",
239
270
  "prose": "Intended for media using a fixed-pitch character grid (such as teletypes, terminals, or portable devices with limited display capabilities). Authors should not use pixel units with the \"tty\" media type.",
271
+ "href": "https://drafts.csswg.org/css2/#valdef-media-tty",
240
272
  "type": "value",
241
273
  "value": "tty"
242
274
  },
243
275
  {
244
276
  "name": "tv",
245
277
  "prose": "Intended for television-type devices (low resolution, color, limited-scrollability screens, sound available).",
278
+ "href": "https://drafts.csswg.org/css2/#valdef-media-tv",
246
279
  "type": "value",
247
280
  "value": "tv"
248
281
  }
@@ -251,67 +284,82 @@
251
284
  {
252
285
  "name": "@page",
253
286
  "prose": "Authors can specify the margins of a page box inside an @page rule. An @page rule consists of the keyword \"@page\", followed by an optional page selector, followed by a block containing declarations and at-rules. Comments and white space are allowed, but optional, between the @page token and the page selector and between the page selector and the block. The declarations in an @page rule are said to be in the page context.",
287
+ "href": "https://drafts.csswg.org/css2/#at-ruledef-page",
254
288
  "descriptors": []
255
289
  }
256
290
  ],
257
291
  "selectors": [
258
292
  {
259
- "name": ":lang"
293
+ "name": ":lang",
294
+ "href": "https://drafts.csswg.org/css2/#selectordef-lang"
260
295
  },
261
296
  {
262
- "name": ":first-line"
297
+ "name": ":first-line",
298
+ "href": "https://drafts.csswg.org/css2/#selectordef-first-line"
263
299
  },
264
300
  {
265
- "name": ":first-letter"
301
+ "name": ":first-letter",
302
+ "href": "https://drafts.csswg.org/css2/#selectordef-first-letter"
266
303
  },
267
304
  {
268
- "name": ":before"
305
+ "name": ":before",
306
+ "href": "https://drafts.csswg.org/css2/#selectordef-before"
269
307
  },
270
308
  {
271
- "name": ":after"
309
+ "name": ":after",
310
+ "href": "https://drafts.csswg.org/css2/#selectordef-after"
272
311
  },
273
312
  {
274
313
  "name": ":left",
275
- "prose": "All pages are automatically classified by user agents into either the :left or :right pseudo-class. Whether the first page of a document is :left or :right depends on the major writing direction of the root element. For example, the first page of a document with a left-to-right major writing direction would be a :right page, and the first page of a document with a right-to-left major writing direction would be a :left page. To explicitly force a document to begin printing on a left or right page, authors can insert a page break before the first generated box."
314
+ "prose": "All pages are automatically classified by user agents into either the :left or :right pseudo-class. Whether the first page of a document is :left or :right depends on the major writing direction of the root element. For example, the first page of a document with a left-to-right major writing direction would be a :right page, and the first page of a document with a right-to-left major writing direction would be a :left page. To explicitly force a document to begin printing on a left or right page, authors can insert a page break before the first generated box.",
315
+ "href": "https://drafts.csswg.org/css2/#selectordef-left"
276
316
  },
277
317
  {
278
318
  "name": ":right",
279
- "prose": "All pages are automatically classified by user agents into either the :left or :right pseudo-class. Whether the first page of a document is :left or :right depends on the major writing direction of the root element. For example, the first page of a document with a left-to-right major writing direction would be a :right page, and the first page of a document with a right-to-left major writing direction would be a :left page. To explicitly force a document to begin printing on a left or right page, authors can insert a page break before the first generated box."
319
+ "prose": "All pages are automatically classified by user agents into either the :left or :right pseudo-class. Whether the first page of a document is :left or :right depends on the major writing direction of the root element. For example, the first page of a document with a left-to-right major writing direction would be a :right page, and the first page of a document with a right-to-left major writing direction would be a :left page. To explicitly force a document to begin printing on a left or right page, authors can insert a page break before the first generated box.",
320
+ "href": "https://drafts.csswg.org/css2/#selectordef-right"
280
321
  },
281
322
  {
282
323
  "name": ":first",
283
- "prose": "Authors may also specify style for the first page of a document with the :first pseudo-class:"
324
+ "prose": "Authors may also specify style for the first page of a document with the :first pseudo-class:",
325
+ "href": "https://drafts.csswg.org/css2/#selectordef-first"
284
326
  }
285
327
  ],
286
328
  "values": [
287
329
  {
288
330
  "name": "<identifier>",
331
+ "href": "https://drafts.csswg.org/css2/#value-def-identifier",
289
332
  "type": "type"
290
333
  },
291
334
  {
292
335
  "name": "<uri>",
293
336
  "prose": "URI values (Uniform Resource Identifiers, see [RFC3986], which includes URLs, URNs, etc) in this specification are denoted by <uri>. The functional notation used to designate URIs in property values is \"url()\", as in:",
337
+ "href": "https://drafts.csswg.org/css2/#value-def-uri",
294
338
  "type": "type"
295
339
  },
296
340
  {
297
341
  "name": "<margin-width>",
298
342
  "prose": "The properties defined in this section refer to the <margin-width> value type, which may take one of the following values:",
343
+ "href": "https://drafts.csswg.org/css2/#value-def-margin-width",
299
344
  "type": "type"
300
345
  },
301
346
  {
302
347
  "name": "<padding-width>",
303
348
  "prose": "The properties defined in this section refer to the <padding-width> value type, which may take one of the following values:",
349
+ "href": "https://drafts.csswg.org/css2/#value-def-padding-width",
304
350
  "type": "type",
305
351
  "values": [
306
352
  {
307
353
  "name": "<length>",
308
354
  "prose": "Specifies a fixed width.",
355
+ "href": "https://drafts.csswg.org/css2/#valdef-padding-width-length",
309
356
  "type": "value",
310
357
  "value": "<length>"
311
358
  },
312
359
  {
313
360
  "name": "<percentage>",
314
361
  "prose": "The percentage is calculated with respect to the width of the generated box’s containing block, even for padding-top and padding-bottom. If the containing block’s width depends on this element, then the resulting layout is undefined in CSS 2.",
362
+ "href": "https://drafts.csswg.org/css2/#valdef-padding-width-percentage",
315
363
  "type": "value",
316
364
  "value": "<percentage>"
317
365
  }
@@ -320,29 +368,34 @@
320
368
  {
321
369
  "name": "<border-width>",
322
370
  "prose": "The border width properties specify the width of the border area. The properties defined in this section refer to the <border-width> value type, which may take one of the following values:",
371
+ "href": "https://drafts.csswg.org/css2/#value-def-border-width",
323
372
  "type": "type",
324
373
  "values": [
325
374
  {
326
375
  "name": "thin",
327
376
  "prose": "A thin border.",
377
+ "href": "https://drafts.csswg.org/css2/#valdef-border-width-thin",
328
378
  "type": "value",
329
379
  "value": "thin"
330
380
  },
331
381
  {
332
382
  "name": "medium",
333
383
  "prose": "A medium border.",
384
+ "href": "https://drafts.csswg.org/css2/#valdef-border-width-medium",
334
385
  "type": "value",
335
386
  "value": "medium"
336
387
  },
337
388
  {
338
389
  "name": "thick",
339
390
  "prose": "A thick border.",
391
+ "href": "https://drafts.csswg.org/css2/#valdef-border-width-thick",
340
392
  "type": "value",
341
393
  "value": "thick"
342
394
  },
343
395
  {
344
396
  "name": "<length>",
345
397
  "prose": "The border’s thickness has an explicit value. Explicit border widths cannot be negative.",
398
+ "href": "https://drafts.csswg.org/css2/#valdef-border-width-length",
346
399
  "type": "value",
347
400
  "value": "<length>"
348
401
  }
@@ -351,65 +404,76 @@
351
404
  {
352
405
  "name": "<border-style>",
353
406
  "prose": "The border style properties specify the line style of a box’s border (solid, double, dashed, etc.). The properties defined in this section refer to the <border-style> value type, which may take one of the following values:",
407
+ "href": "https://drafts.csswg.org/css2/#value-def-border-style",
354
408
  "type": "type",
355
409
  "values": [
356
410
  {
357
411
  "name": "none",
358
412
  "prose": "No border; the computed border width is zero.",
413
+ "href": "https://drafts.csswg.org/css2/#value-def-bo-none",
359
414
  "type": "value",
360
415
  "value": "none"
361
416
  },
362
417
  {
363
418
  "name": "hidden",
364
419
  "prose": "Same as none, except in terms of border conflict resolution for table elements.",
420
+ "href": "https://drafts.csswg.org/css2/#value-def-hidden",
365
421
  "type": "value",
366
422
  "value": "hidden"
367
423
  },
368
424
  {
369
425
  "name": "dotted",
370
426
  "prose": "The border is a series of dots.",
427
+ "href": "https://drafts.csswg.org/css2/#value-def-dotted",
371
428
  "type": "value",
372
429
  "value": "dotted"
373
430
  },
374
431
  {
375
432
  "name": "dashed",
376
433
  "prose": "The border is a series of short line segments.",
434
+ "href": "https://drafts.csswg.org/css2/#value-def-dashed",
377
435
  "type": "value",
378
436
  "value": "dashed"
379
437
  },
380
438
  {
381
439
  "name": "solid",
382
440
  "prose": "The border is a single line segment.",
441
+ "href": "https://drafts.csswg.org/css2/#value-def-solid",
383
442
  "type": "value",
384
443
  "value": "solid"
385
444
  },
386
445
  {
387
446
  "name": "double",
388
447
  "prose": "The border is two solid lines. The sum of the two lines and the space between them equals the value of border-width.",
448
+ "href": "https://drafts.csswg.org/css2/#value-def-double",
389
449
  "type": "value",
390
450
  "value": "double"
391
451
  },
392
452
  {
393
453
  "name": "groove",
394
454
  "prose": "The border looks as though it were carved into the canvas.",
455
+ "href": "https://drafts.csswg.org/css2/#value-def-groove",
395
456
  "type": "value",
396
457
  "value": "groove"
397
458
  },
398
459
  {
399
460
  "name": "ridge",
400
461
  "prose": "The opposite of groove: the border looks as though it were coming out of the canvas.",
462
+ "href": "https://drafts.csswg.org/css2/#value-def-ridge",
401
463
  "type": "value",
402
464
  "value": "ridge"
403
465
  },
404
466
  {
405
467
  "name": "inset",
406
468
  "prose": "The border makes the box look as though it were embedded in the canvas.",
469
+ "href": "https://drafts.csswg.org/css2/#value-def-inset",
407
470
  "type": "value",
408
471
  "value": "inset"
409
472
  },
410
473
  {
411
474
  "name": "outset",
412
475
  "prose": "The opposite of inset: the border makes the box look as though it were coming out of the canvas.",
476
+ "href": "https://drafts.csswg.org/css2/#value-def-outset",
413
477
  "type": "value",
414
478
  "value": "outset"
415
479
  }
@@ -418,16 +482,19 @@
418
482
  {
419
483
  "name": "<shape>",
420
484
  "prose": "In CSS 2, the only valid <shape> value is: rect(<top>, <right>, <bottom>, <left>) where <top> and <bottom> specify offsets from the top border edge of the box, and <right>, and <left> specify offsets from the left border edge of the box. Authors should separate offset values with commas. User agents must support separation with commas, but may also support separation without commas (but not a combination), because a previous revision of this specification was ambiguous in this respect. <top>, <right>, <bottom>, and <left> may either have a <length> value or auto. Negative lengths are permitted. The value auto means that a given edge of the clipping region will be the same as the edge of the element’s generated border box (i.e., auto means the same as 0 for <top> and <left>, the same as the used value of the height plus the sum of vertical padding and border widths for <bottom>, and the same as the used value of the width plus the sum of the horizontal padding and border widths for <right>, such that four auto values result in the clipping region being the same as the element’s border box). When coordinates are rounded to pixel coordinates, care should be taken that no pixels remain visible when <left> and <right> have the same value (or <top> and <bottom> have the same value), and conversely that no pixels within the element’s border box remain hidden when these values are auto.",
485
+ "href": "https://drafts.csswg.org/css2/#value-def-shape",
421
486
  "type": "type"
422
487
  },
423
488
  {
424
489
  "name": "<top>",
425
490
  "prose": "<top>, <right>, <bottom>, and <left> may either have a <length> value or auto. Negative lengths are permitted. The value auto means that a given edge of the clipping region will be the same as the edge of the element’s generated border box (i.e., auto means the same as 0 for <top> and <left>, the same as the used value of the height plus the sum of vertical padding and border widths for <bottom>, and the same as the used value of the width plus the sum of the horizontal padding and border widths for <right>, such that four auto values result in the clipping region being the same as the element’s border box).",
491
+ "href": "https://drafts.csswg.org/css2/#value-def-top",
426
492
  "type": "type",
427
493
  "values": [
428
494
  {
429
495
  "name": "auto",
430
496
  "prose": "<top>, <right>, <bottom>, and <left> may either have a <length> value or auto. Negative lengths are permitted. The value auto means that a given edge of the clipping region will be the same as the edge of the element’s generated border box (i.e., auto means the same as 0 for <top> and <left>, the same as the used value of the height plus the sum of vertical padding and border widths for <bottom>, and the same as the used value of the width plus the sum of the horizontal padding and border widths for <right>, such that four auto values result in the clipping region being the same as the element’s border box).",
497
+ "href": "https://drafts.csswg.org/css2/#valdef-top-auto%E2%91%A0",
431
498
  "type": "value",
432
499
  "value": "auto"
433
500
  }
@@ -436,11 +503,13 @@
436
503
  {
437
504
  "name": "<right>",
438
505
  "prose": "<top>, <right>, <bottom>, and <left> may either have a <length> value or auto. Negative lengths are permitted. The value auto means that a given edge of the clipping region will be the same as the edge of the element’s generated border box (i.e., auto means the same as 0 for <top> and <left>, the same as the used value of the height plus the sum of vertical padding and border widths for <bottom>, and the same as the used value of the width plus the sum of the horizontal padding and border widths for <right>, such that four auto values result in the clipping region being the same as the element’s border box).",
506
+ "href": "https://drafts.csswg.org/css2/#value-def-right",
439
507
  "type": "type",
440
508
  "values": [
441
509
  {
442
510
  "name": "auto",
443
511
  "prose": "<top>, <right>, <bottom>, and <left> may either have a <length> value or auto. Negative lengths are permitted. The value auto means that a given edge of the clipping region will be the same as the edge of the element’s generated border box (i.e., auto means the same as 0 for <top> and <left>, the same as the used value of the height plus the sum of vertical padding and border widths for <bottom>, and the same as the used value of the width plus the sum of the horizontal padding and border widths for <right>, such that four auto values result in the clipping region being the same as the element’s border box).",
512
+ "href": "https://drafts.csswg.org/css2/#valdef-top-auto%E2%91%A0",
444
513
  "type": "value",
445
514
  "value": "auto"
446
515
  }
@@ -449,11 +518,13 @@
449
518
  {
450
519
  "name": "<bottom>",
451
520
  "prose": "<top>, <right>, <bottom>, and <left> may either have a <length> value or auto. Negative lengths are permitted. The value auto means that a given edge of the clipping region will be the same as the edge of the element’s generated border box (i.e., auto means the same as 0 for <top> and <left>, the same as the used value of the height plus the sum of vertical padding and border widths for <bottom>, and the same as the used value of the width plus the sum of the horizontal padding and border widths for <right>, such that four auto values result in the clipping region being the same as the element’s border box).",
521
+ "href": "https://drafts.csswg.org/css2/#value-def-bottom",
452
522
  "type": "type",
453
523
  "values": [
454
524
  {
455
525
  "name": "auto",
456
526
  "prose": "<top>, <right>, <bottom>, and <left> may either have a <length> value or auto. Negative lengths are permitted. The value auto means that a given edge of the clipping region will be the same as the edge of the element’s generated border box (i.e., auto means the same as 0 for <top> and <left>, the same as the used value of the height plus the sum of vertical padding and border widths for <bottom>, and the same as the used value of the width plus the sum of the horizontal padding and border widths for <right>, such that four auto values result in the clipping region being the same as the element’s border box).",
527
+ "href": "https://drafts.csswg.org/css2/#valdef-top-auto%E2%91%A0",
457
528
  "type": "value",
458
529
  "value": "auto"
459
530
  }
@@ -462,11 +533,13 @@
462
533
  {
463
534
  "name": "<left>",
464
535
  "prose": "<top>, <right>, <bottom>, and <left> may either have a <length> value or auto. Negative lengths are permitted. The value auto means that a given edge of the clipping region will be the same as the edge of the element’s generated border box (i.e., auto means the same as 0 for <top> and <left>, the same as the used value of the height plus the sum of vertical padding and border widths for <bottom>, and the same as the used value of the width plus the sum of the horizontal padding and border widths for <right>, such that four auto values result in the clipping region being the same as the element’s border box).",
536
+ "href": "https://drafts.csswg.org/css2/#value-def-left",
465
537
  "type": "type",
466
538
  "values": [
467
539
  {
468
540
  "name": "auto",
469
541
  "prose": "<top>, <right>, <bottom>, and <left> may either have a <length> value or auto. Negative lengths are permitted. The value auto means that a given edge of the clipping region will be the same as the edge of the element’s generated border box (i.e., auto means the same as 0 for <top> and <left>, the same as the used value of the height plus the sum of vertical padding and border widths for <bottom>, and the same as the used value of the width plus the sum of the horizontal padding and border widths for <right>, such that four auto values result in the clipping region being the same as the element’s border box).",
542
+ "href": "https://drafts.csswg.org/css2/#valdef-top-auto%E2%91%A0",
470
543
  "type": "value",
471
544
  "value": "auto"
472
545
  }
@@ -474,10 +547,12 @@
474
547
  },
475
548
  {
476
549
  "name": "<absolute-size>",
550
+ "href": "https://drafts.csswg.org/css2/#value-def-absolute-size",
477
551
  "type": "type"
478
552
  },
479
553
  {
480
554
  "name": "<relative-size>",
555
+ "href": "https://drafts.csswg.org/css2/#value-def-relative-size",
481
556
  "type": "type"
482
557
  }
483
558
  ]
package/README.md CHANGED
@@ -43,3 +43,4 @@ The following guarantees are provided by this package:
43
43
  - All values in CSS files can be parsed by the version of [CSSTree](https://github.com/csstree/csstree) used in `peerDependencies` in `package.json`.
44
44
  - No duplicate definitions of CSS properties provided that CSS extracts of [delta specs](https://github.com/w3c/browser-specs/#seriescomposition) are not taken into account (such extracts end with `-n.json`, where `n` is a level number).
45
45
  - CSS extracts contain a base definition of all CSS properties that get extended by other CSS property definitions (those for which `newValues` is set).
46
+ - All entries in CSS files that do not extend a base definition link back to their actual definition in the spec. In other words, all entries under `properties[]`, `properties[].values[]`, `selectors[]`, `atrules[]` and `values[]` have an `href` key that contains an absolute URL with fragment, except properties that that have a `newValues` key, at-rules that neither have a `prose` nor a `value` key, and definitions of a [delta spec](https://github.com/w3c/browser-specs/#seriescomposition) that completely override a definition in a previous level.