@webref/css 5.4.4 → 6.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (107) hide show
  1. package/CHANGELOG.md +66 -0
  2. package/CSS.json +416 -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 +237 -29
  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 +263 -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 +192 -67
  41. package/css-images.json +152 -33
  42. package/css-inline.json +525 -16
  43. package/css-layout-api.json +20 -0
  44. package/css-line-grid.json +80 -7
  45. package/css-lists.json +140 -19
  46. package/css-logical.json +125 -50
  47. package/css-masking.json +330 -47
  48. package/css-multicol-2.json +32 -5
  49. package/css-multicol.json +84 -13
  50. package/css-namespaces.json +15 -10
  51. package/css-nav.json +62 -7
  52. package/css-nesting.json +15 -0
  53. package/css-overflow-4.json +83 -10
  54. package/css-overflow.json +239 -18
  55. package/css-overscroll.json +110 -9
  56. package/css-page-floats.json +188 -16
  57. package/css-page.json +262 -67
  58. package/css-paint-api.json +8 -5
  59. package/css-position.json +269 -16
  60. package/css-properties-values-api.json +9 -7
  61. package/css-pseudo.json +67 -0
  62. package/css-regions.json +8 -7
  63. package/css-rhythm.json +69 -10
  64. package/css-round-display.json +47 -10
  65. package/css-ruby.json +136 -8
  66. package/css-scoping.json +27 -0
  67. package/css-scroll-anchoring.json +20 -5
  68. package/css-scroll-snap-2.json +272 -10
  69. package/css-scroll-snap.json +218 -29
  70. package/css-scrollbars.json +41 -6
  71. package/css-shadow-parts.json +8 -5
  72. package/css-shapes-2.json +190 -43
  73. package/css-shapes.json +130 -36
  74. package/css-size-adjust.json +26 -5
  75. package/css-sizing-4.json +404 -23
  76. package/css-sizing.json +231 -12
  77. package/css-speech.json +619 -35
  78. package/css-syntax.json +193 -92
  79. package/css-tables.json +10 -9
  80. package/css-text-4.json +800 -40
  81. package/css-text-decor-4.json +394 -23
  82. package/css-text-decor.json +159 -14
  83. package/css-text.json +371 -20
  84. package/css-transforms-2.json +177 -40
  85. package/css-transforms.json +137 -45
  86. package/css-transitions.json +33 -14
  87. package/css-ui.json +436 -42
  88. package/css-values-5.json +99 -14
  89. package/css-values.json +653 -146
  90. package/css-variables.json +12 -7
  91. package/css-view-transitions.json +45 -7
  92. package/css-will-change.json +36 -7
  93. package/css-writing-modes.json +141 -10
  94. package/fill-stroke.json +290 -35
  95. package/filter-effects-2.json +6 -5
  96. package/filter-effects.json +109 -45
  97. package/fullscreen.json +15 -0
  98. package/mathml-core.json +10 -9
  99. package/mediaqueries-5.json +505 -52
  100. package/mediaqueries.json +307 -40
  101. package/motion.json +99 -16
  102. package/package.json +1 -1
  103. package/scroll-animations.json +225 -24
  104. package/selectors.json +368 -30
  105. package/svg-strokes.json +8 -7
  106. package/upgrade-insecure-requests.json +26 -0
  107. package/html.json +0 -19
package/css-content.json CHANGED
@@ -3,8 +3,8 @@
3
3
  "title": "CSS Generated Content Module Level 3",
4
4
  "url": "https://drafts.csswg.org/css-content-3/"
5
5
  },
6
- "properties": {
7
- "content": {
6
+ "properties": [
7
+ {
8
8
  "name": "content",
9
9
  "value": "normal | none | [ <content-replacement> | <content-list> ] [/ [ <string> | <counter> ]+ ]?",
10
10
  "initial": "normal",
@@ -14,11 +14,65 @@
14
14
  "computedValue": "See prose below",
15
15
  "canonicalOrder": "per grammar",
16
16
  "animationType": "discrete",
17
+ "values": [
18
+ {
19
+ "name": "normal",
20
+ "prose": "For an element or page margin box, this computes to contents. For ::before and ::after, this computes to none. For ::marker, ::placeholder, and ::file-selector-button, this computes to itself (normal).",
21
+ "type": "value",
22
+ "value": "normal"
23
+ },
24
+ {
25
+ "name": "none",
26
+ "prose": "On elements, this inhibits the children of the element from being rendered as children of this element, as if the element was empty. On pseudo-elements it inhibits the creation of the pseudo-element as if it had display: none. In neither case does it prevent any pseudo-elements which have this element or pseudo-element as an originating element from being generated.",
27
+ "type": "value",
28
+ "value": "none"
29
+ },
30
+ {
31
+ "name": "<content-replacement>",
32
+ "value": "<image>",
33
+ "type": "type"
34
+ },
35
+ {
36
+ "name": "<content-list>",
37
+ "value": "[ <string> | contents | <image> | <counter> | <quote> | <target> | <leader()> ]+",
38
+ "type": "type",
39
+ "values": [
40
+ {
41
+ "name": "<string>",
42
+ "value": "<string>",
43
+ "type": "value"
44
+ },
45
+ {
46
+ "name": "<image>",
47
+ "prose": "Represents an anonymous inline replaced element filled with the specified <image>. If the <image> represents an invalid image, this value instead represents nothing. (No inline content is added to the element, as if this value were \"skipped\".)",
48
+ "type": "value",
49
+ "value": "<image>"
50
+ },
51
+ {
52
+ "name": "contents",
53
+ "prose": "The element’s descendants. Since this can only be used once per element (you can’t duplicate the children if, e.g., one is a plugin or form control), it is handled as follows:",
54
+ "type": "value",
55
+ "value": "contents"
56
+ },
57
+ {
58
+ "name": "leader()",
59
+ "value": "leader( <leader-type> )",
60
+ "type": "function"
61
+ }
62
+ ]
63
+ },
64
+ {
65
+ "name": "/ [ <string> | <counter> ]+",
66
+ "prose": "Specifies the \"alt text\" for the element. See § 1.2 Alternative Text for Accessibility for details. If omitted, the element has no \"alt text\".",
67
+ "type": "value",
68
+ "value": "/ [ <string> | <counter> ]+"
69
+ }
70
+ ],
17
71
  "styleDeclaration": [
18
72
  "content"
19
73
  ]
20
74
  },
21
- "quotes": {
75
+ {
22
76
  "name": "quotes",
23
77
  "value": "auto | none | [ <string> <string> ]+",
24
78
  "initial": "auto",
@@ -28,11 +82,25 @@
28
82
  "computedValue": "the keyword none, the keyword auto, or a list, each item a pair of string values",
29
83
  "canonicalOrder": "per grammar",
30
84
  "animationType": "discrete",
85
+ "values": [
86
+ {
87
+ "name": "none",
88
+ "prose": "The open-quote and close-quote values of the content property produce no quotations marks, as if they were no-open-quote and no-close-quote respectively.",
89
+ "type": "value",
90
+ "value": "none"
91
+ },
92
+ {
93
+ "name": "auto",
94
+ "prose": "A typographically appropriate used value for quotes is automatically chosen by the UA based on the content language of the element and/or its parent.",
95
+ "type": "value",
96
+ "value": "auto"
97
+ }
98
+ ],
31
99
  "styleDeclaration": [
32
100
  "quotes"
33
101
  ]
34
102
  },
35
- "string-set": {
103
+ {
36
104
  "name": "string-set",
37
105
  "value": "none | [ <custom-ident> <string>+ ]#",
38
106
  "initial": "none",
@@ -42,12 +110,20 @@
42
110
  "computedValue": "the keyword none or a list, each item an identifier paired with a list of string values",
43
111
  "canonicalOrder": "per grammar",
44
112
  "animationType": "discrete",
113
+ "values": [
114
+ {
115
+ "name": "none",
116
+ "prose": "The element does not set any named strings.",
117
+ "type": "value",
118
+ "value": "none"
119
+ }
120
+ ],
45
121
  "styleDeclaration": [
46
122
  "string-set",
47
123
  "stringSet"
48
124
  ]
49
125
  },
50
- "bookmark-level": {
126
+ {
51
127
  "name": "bookmark-level",
52
128
  "value": "none | <integer [1,∞]>",
53
129
  "initial": "none",
@@ -57,12 +133,26 @@
57
133
  "computedValue": "the keyword none or the specified integer",
58
134
  "canonicalOrder": "per grammar",
59
135
  "animationType": "by computed value type",
136
+ "values": [
137
+ {
138
+ "name": "<integer [1,∞]>",
139
+ "prose": "defines the level of the bookmark, with the top level being 1 (negative and zero values are invalid).",
140
+ "type": "value",
141
+ "value": "<integer [1,∞]>"
142
+ },
143
+ {
144
+ "name": "none",
145
+ "prose": "no bookmark is generated.",
146
+ "type": "value",
147
+ "value": "none"
148
+ }
149
+ ],
60
150
  "styleDeclaration": [
61
151
  "bookmark-level",
62
152
  "bookmarkLevel"
63
153
  ]
64
154
  },
65
- "bookmark-label": {
155
+ {
66
156
  "name": "bookmark-label",
67
157
  "value": "<content-list>",
68
158
  "initial": "content(text)",
@@ -72,12 +162,44 @@
72
162
  "computedValue": "specified value",
73
163
  "canonicalOrder": "per grammar",
74
164
  "animationType": "discrete",
165
+ "values": [
166
+ {
167
+ "name": "<content-list>",
168
+ "prose": "<content-list> is defined above, in the section on the string-set property. The value of <content-list> becomes the text content of the bookmark label.",
169
+ "type": "value",
170
+ "value": "<content-list>",
171
+ "values": [
172
+ {
173
+ "name": "<string>",
174
+ "value": "<string>",
175
+ "type": "value"
176
+ },
177
+ {
178
+ "name": "<image>",
179
+ "prose": "Represents an anonymous inline replaced element filled with the specified <image>. If the <image> represents an invalid image, this value instead represents nothing. (No inline content is added to the element, as if this value were \"skipped\".)",
180
+ "type": "value",
181
+ "value": "<image>"
182
+ },
183
+ {
184
+ "name": "contents",
185
+ "prose": "The element’s descendants. Since this can only be used once per element (you can’t duplicate the children if, e.g., one is a plugin or form control), it is handled as follows:",
186
+ "type": "value",
187
+ "value": "contents"
188
+ },
189
+ {
190
+ "name": "leader()",
191
+ "value": "leader( <leader-type> )",
192
+ "type": "function"
193
+ }
194
+ ]
195
+ }
196
+ ],
75
197
  "styleDeclaration": [
76
198
  "bookmark-label",
77
199
  "bookmarkLabel"
78
200
  ]
79
201
  },
80
- "bookmark-state": {
202
+ {
81
203
  "name": "bookmark-state",
82
204
  "value": "open | closed",
83
205
  "initial": "open",
@@ -87,46 +209,157 @@
87
209
  "computedValue": "specified keyword",
88
210
  "canonicalOrder": "per grammar",
89
211
  "animationType": "discrete",
212
+ "values": [
213
+ {
214
+ "name": "open",
215
+ "prose": "Subsequent bookmarks with bookmark-level greater than the given bookmark are displayed, until reaching another bookmark of the same level or lower. If one of subsequent bookmark is closed, apply the same test to determine if its subsequent bookmarks should be displayed.",
216
+ "type": "value",
217
+ "value": "open"
218
+ },
219
+ {
220
+ "name": "closed",
221
+ "prose": "Subsequent bookmarks of bookmark-level greater than the given bookmark are not displayed, until reaching another bookmark of the same level or lower.",
222
+ "type": "value",
223
+ "value": "closed"
224
+ }
225
+ ],
90
226
  "styleDeclaration": [
91
227
  "bookmark-state",
92
228
  "bookmarkState"
93
229
  ]
94
230
  }
95
- },
96
- "atrules": {},
97
- "valuespaces": {
98
- "<content-replacement>": {
99
- "value": "<image>"
100
- },
101
- "<content-list>": {
102
- "value": "[ <string> | contents | <image> | <counter> | <quote> | <target> | <leader()> ]+"
103
- },
104
- "<leader()>": {
105
- "value": "leader( <leader-type> )"
106
- },
107
- "<quote>": {
231
+ ],
232
+ "atrules": [],
233
+ "selectors": [],
234
+ "values": [
235
+ {
236
+ "name": "<quote>",
237
+ "type": "type",
108
238
  "value": "open-quote | close-quote | no-open-quote | no-close-quote"
109
239
  },
110
- "<leader-type>": {
240
+ {
241
+ "name": "leader()",
242
+ "type": "function",
243
+ "value": "leader( <leader-type> )",
244
+ "values": [
245
+ {
246
+ "name": "dotted",
247
+ "prose": "Equivalent to leader(\".\")",
248
+ "type": "value",
249
+ "value": "dotted"
250
+ },
251
+ {
252
+ "name": "solid",
253
+ "prose": "Equivalent to leader(\"_\")",
254
+ "type": "value",
255
+ "value": "solid"
256
+ },
257
+ {
258
+ "name": "space",
259
+ "prose": "Equivalent to leader(\" \")",
260
+ "type": "value",
261
+ "value": "space"
262
+ },
263
+ {
264
+ "name": "<string>",
265
+ "prose": "Issue: Define this.",
266
+ "type": "value",
267
+ "value": "<string>"
268
+ }
269
+ ]
270
+ },
271
+ {
272
+ "name": "<leader-type>",
273
+ "type": "type",
111
274
  "value": "dotted | solid | space | <string>"
112
275
  },
113
- "<target>": {
276
+ {
277
+ "name": "<target>",
278
+ "type": "type",
114
279
  "value": "<target-counter()> | <target-counters()> | <target-text()>"
115
280
  },
116
- "<target-counter()>": {
281
+ {
282
+ "name": "target-counter()",
283
+ "type": "function",
117
284
  "value": "target-counter( [ <string> | <url> ] , <custom-ident> , <counter-style>? )"
118
285
  },
119
- "<target-counters()>": {
286
+ {
287
+ "name": "target-counters()",
288
+ "type": "function",
120
289
  "value": "target-counters( [ <string> | <url> ] , <custom-ident> , <string> , <counter-style>? )"
121
290
  },
122
- "<target-text()>": {
291
+ {
292
+ "name": "target-text()",
293
+ "type": "function",
123
294
  "value": "target-text( [ <string> | <url> ] , [ content | before | after | first-letter ]? )"
124
295
  },
125
- "<string()>": {
126
- "value": "string( <custom-ident> , [ first | start | last | first-except ]? )"
296
+ {
297
+ "name": "string()",
298
+ "type": "function",
299
+ "value": "string( <custom-ident> , [ first | start | last | first-except ]? )",
300
+ "values": [
301
+ {
302
+ "name": "first",
303
+ "prose": "The value of the first assignment on the page is used. If there is no assignment on the page, the entry value is used. If no second argument is provided, this is the default value.",
304
+ "type": "value",
305
+ "value": "first"
306
+ },
307
+ {
308
+ "name": "start",
309
+ "prose": "If the element is the first element on the page, the value of the first assignment is used. Otherwise the entry value is used. The entry value may be empty if the named string hasn’t yet appeared.",
310
+ "type": "value",
311
+ "value": "start"
312
+ },
313
+ {
314
+ "name": "last",
315
+ "prose": "The exit value of the named string is used.",
316
+ "type": "value",
317
+ "value": "last"
318
+ },
319
+ {
320
+ "name": "first-except",
321
+ "prose": "This is identical to first, except that the empty string is used on the page where the value is assigned. we may need to kill the entire content string. Is this necessary?",
322
+ "type": "value",
323
+ "value": "first-except"
324
+ }
325
+ ]
127
326
  },
128
- "<content()>": {
129
- "value": "content( [ text | before | after | first-letter | marker ]? )"
327
+ {
328
+ "name": "content()",
329
+ "type": "function",
330
+ "value": "content( [ text | before | after | first-letter | marker ]? )",
331
+ "values": [
332
+ {
333
+ "name": "text",
334
+ "prose": "The string value of the element. If no value is specified in content(), it acts as if text were specified.",
335
+ "type": "value",
336
+ "value": "text"
337
+ },
338
+ {
339
+ "name": "before",
340
+ "prose": "The string value of the ::before pseudo-element.",
341
+ "type": "value",
342
+ "value": "before"
343
+ },
344
+ {
345
+ "name": "after",
346
+ "prose": "The string value of the ::after pseudo-element.",
347
+ "type": "value",
348
+ "value": "after"
349
+ },
350
+ {
351
+ "name": "first-letter",
352
+ "prose": "The first letter of the element, as defined for the ::first-letter pseudo-element",
353
+ "type": "value",
354
+ "value": "first-letter"
355
+ },
356
+ {
357
+ "name": "marker",
358
+ "prose": "The string value of the ::marker pseudo-element.",
359
+ "type": "value",
360
+ "value": "marker"
361
+ }
362
+ ]
130
363
  }
131
- }
364
+ ]
132
365
  }