@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-forms.json DELETED
@@ -1,281 +0,0 @@
1
- {
2
- "spec": {
3
- "title": "CSS Form Control Styling Level 1",
4
- "url": "https://drafts.csswg.org/css-forms-1/"
5
- },
6
- "properties": [
7
- {
8
- "name": "appearance",
9
- "newValues": "base",
10
- "values": [
11
- {
12
- "name": "base",
13
- "prose": "When applied on a form control, base puts that control in the basic appearance state.",
14
- "href": "https://drafts.csswg.org/css-forms-1/#valdef-appearance-base",
15
- "type": "value",
16
- "value": "base"
17
- }
18
- ],
19
- "styleDeclaration": [
20
- "appearance"
21
- ]
22
- },
23
- {
24
- "name": "field-sizing",
25
- "href": "https://drafts.csswg.org/css-forms-1/#propdef-field-sizing",
26
- "value": "fixed | content",
27
- "initial": "fixed",
28
- "appliesTo": "elements with default preferred size",
29
- "inherited": "no",
30
- "percentages": "N/A",
31
- "computedValue": "as specified",
32
- "canonicalOrder": "per grammar",
33
- "animationType": "discrete",
34
- "values": [
35
- {
36
- "name": "fixed",
37
- "prose": "For element with default preferred size, the UA must set the intrinsic size to the default preferred size defined by the host language for that element. Otherwise, the UA must behave the same as content.",
38
- "href": "https://drafts.csswg.org/css-forms-1/#valdef-field-sizing-fixed",
39
- "type": "value",
40
- "value": "fixed"
41
- },
42
- {
43
- "name": "content",
44
- "prose": "The UA must determine the element’s intrinsic size based on its content, and must ignore any default preferred size defined by the host language for that element. If the element is an element with default preferred size and is listed in compressible replaced elements, the UA must stop treating the element as a replaced element for min-content contribution.",
45
- "href": "https://drafts.csswg.org/css-forms-1/#valdef-field-sizing-content",
46
- "type": "value",
47
- "value": "content"
48
- }
49
- ],
50
- "styleDeclaration": [
51
- "field-sizing",
52
- "fieldSizing"
53
- ]
54
- },
55
- {
56
- "name": "slider-orientation",
57
- "href": "https://drafts.csswg.org/css-forms-1/#propdef-slider-orientation",
58
- "value": "auto | left-to-right | right-to-left | top-to-bottom | bottom-to-top",
59
- "initial": "auto",
60
- "appliesTo": "all elements",
61
- "inherited": "no",
62
- "percentages": "n/a",
63
- "computedValue": "as specified",
64
- "canonicalOrder": "per grammar",
65
- "animationType": "discrete",
66
- "values": [
67
- {
68
- "name": "auto",
69
- "prose": "The slider-like control orientation is defined by the writing mode and direction.",
70
- "href": "https://drafts.csswg.org/css-forms-1/#valdef-slider-orientation-auto",
71
- "type": "value",
72
- "value": "auto"
73
- },
74
- {
75
- "name": "left-to-right",
76
- "prose": "The slider-like control is rendered horizontally and ::slider-fill is left-aligned within the control.",
77
- "href": "https://drafts.csswg.org/css-forms-1/#valdef-slider-orientation-left-to-right",
78
- "type": "value",
79
- "value": "left-to-right"
80
- },
81
- {
82
- "name": "right-to-left",
83
- "prose": "The slider-like control is rendered horizontally and ::slider-fill is right-aligned within the control.",
84
- "href": "https://drafts.csswg.org/css-forms-1/#valdef-slider-orientation-right-to-left",
85
- "type": "value",
86
- "value": "right-to-left"
87
- },
88
- {
89
- "name": "top-to-bottom",
90
- "prose": "The slider-like control is rendered vertically and ::slider-fill is top-aligned within the control.",
91
- "href": "https://drafts.csswg.org/css-forms-1/#valdef-slider-orientation-top-to-bottom",
92
- "type": "value",
93
- "value": "top-to-bottom"
94
- },
95
- {
96
- "name": "bottom-to-top",
97
- "prose": "The slider-like control is rendered vertically and ::slider-fill is bottom-aligned within the control.",
98
- "href": "https://drafts.csswg.org/css-forms-1/#valdef-slider-orientation-bottom-to-top",
99
- "type": "value",
100
- "value": "bottom-to-top"
101
- }
102
- ],
103
- "styleDeclaration": [
104
- "slider-orientation",
105
- "sliderOrientation"
106
- ]
107
- },
108
- {
109
- "name": "input-security",
110
- "href": "https://drafts.csswg.org/css-forms-1/#propdef-input-security",
111
- "value": "auto | none",
112
- "initial": "auto",
113
- "appliesTo": "sensitive text inputs",
114
- "inherited": "no",
115
- "percentages": "N/A",
116
- "computedValue": "as specified",
117
- "canonicalOrder": "per grammar",
118
- "animationType": "by computed value type",
119
- "values": [
120
- {
121
- "name": "none",
122
- "prose": "The UA must not obscure the text in the control, so that it can be read by the user.",
123
- "href": "https://drafts.csswg.org/css-forms-1/#valdef-input-security-none",
124
- "type": "value",
125
- "value": "none"
126
- },
127
- {
128
- "name": "auto",
129
- "prose": "The UA should obscure the text in the control, so that it cannot be read by the user.",
130
- "href": "https://drafts.csswg.org/css-forms-1/#valdef-input-security-auto",
131
- "type": "value",
132
- "value": "auto"
133
- }
134
- ],
135
- "styleDeclaration": [
136
- "input-security",
137
- "inputSecurity"
138
- ]
139
- }
140
- ],
141
- "atrules": [],
142
- "selectors": [
143
- {
144
- "name": "::picker()",
145
- "prose": "The ::picker() pseudo-element represents the part of the form control that pops out of the page.",
146
- "href": "https://drafts.csswg.org/css-forms-1/#selectordef-picker",
147
- "value": "::picker( <form-control-identifier>+ )",
148
- "values": [
149
- {
150
- "name": "<form-control-identifier>",
151
- "href": "https://drafts.csswg.org/css-forms-1/#typedef-picker-form-control-identifier",
152
- "type": "type",
153
- "value": "select"
154
- }
155
- ]
156
- },
157
- {
158
- "name": "::picker-icon",
159
- "prose": "The ::picker-icon pseudo-element represents the part of the control that represents the icon denoting the presence of the picker. It is only generated when the originating element has basic appearance and if it opens a picker. It is a fully styleable pseudo-element and inherits from its originating element.",
160
- "href": "https://drafts.csswg.org/css-forms-1/#selectordef-picker-icon",
161
- "value": "::picker-icon"
162
- },
163
- {
164
- "name": "::file-selector-button",
165
- "prose": "The ::file-selector-button pseudo-element represents the button used to open a file picker, if the UA renders such a button.",
166
- "href": "https://drafts.csswg.org/css-forms-1/#selectordef-file-selector-button",
167
- "value": "::file-selector-button"
168
- },
169
- {
170
- "name": "::checkmark",
171
- "prose": "The ::checkmark pseudo-element represents an indicator of whether the item is checked, and is present on checkboxes, radios, and option elements.",
172
- "href": "https://drafts.csswg.org/css-forms-1/#selectordef-checkmark",
173
- "value": "::checkmark"
174
- },
175
- {
176
- "name": "::slider-thumb",
177
- "prose": "The ::slider-thumb pseudo-element represents the portion that allows the user to adjust the progress of the control.",
178
- "href": "https://drafts.csswg.org/css-forms-1/#selectordef-slider-thumb",
179
- "value": "::slider-thumb"
180
- },
181
- {
182
- "name": "::slider-track",
183
- "prose": "The ::slider-track pseudo-element represents the portion containing both the progressed and unprogressed portions of the control.",
184
- "href": "https://drafts.csswg.org/css-forms-1/#selectordef-slider-track",
185
- "value": "::slider-track"
186
- },
187
- {
188
- "name": "::slider-fill",
189
- "prose": "The ::slider-fill pseudo-element represents the portion containing the progressed portion of the control. When the progress of control is indeterminate (like with <progress>), the user agent must give this portion an inline-size of zero.",
190
- "href": "https://drafts.csswg.org/css-forms-1/#selectordef-slider-fill",
191
- "value": "::slider-fill"
192
- },
193
- {
194
- "name": "::placeholder",
195
- "prose": "The ::placeholder pseudo-element represents the portion of the input that contains the placeholder text.",
196
- "href": "https://drafts.csswg.org/css-forms-1/#selectordef-placeholder",
197
- "value": "::placeholder"
198
- },
199
- {
200
- "name": "::field-text",
201
- "prose": "The ::field-text pseudo-element represents the portion of the input that contains the editable text.",
202
- "href": "https://drafts.csswg.org/css-forms-1/#selectordef-field-text",
203
- "value": "::field-text"
204
- },
205
- {
206
- "name": "::clear-icon",
207
- "prose": "The ::clear-icon pseudo-element represents the portion of the input that allows the user to clear the input when clicked if provided by the user agent. With appearance: textfield, the user agent must not generate this part.",
208
- "href": "https://drafts.csswg.org/css-forms-1/#selectordef-clear-icon",
209
- "value": "::clear-icon"
210
- },
211
- {
212
- "name": "::step-control",
213
- "prose": "The ::step-control pseudo-element represents the portion of a number input that contains the up and down buttons.",
214
- "href": "https://drafts.csswg.org/css-forms-1/#selectordef-step-control",
215
- "value": "::step-control"
216
- },
217
- {
218
- "name": "::step-up",
219
- "prose": "The ::step-up pseudo-element represents the button that increments the value inside a number input when activated.",
220
- "href": "https://drafts.csswg.org/css-forms-1/#selectordef-step-up",
221
- "value": "::step-up"
222
- },
223
- {
224
- "name": "::step-down",
225
- "prose": "The ::step-down pseudo-element represents the button that decrements the value inside a number input when activated.",
226
- "href": "https://drafts.csswg.org/css-forms-1/#selectordef-step-down",
227
- "value": "::step-down"
228
- },
229
- {
230
- "name": "::field-component",
231
- "prose": "The ::field-component pseudo-element represents the portions of the control that contain the date/time component values.",
232
- "href": "https://drafts.csswg.org/css-forms-1/#selectordef-field-component",
233
- "value": "::field-component"
234
- },
235
- {
236
- "name": "::field-separator",
237
- "prose": "The ::field-separator pseudo-element represents the portions of the control that separate the date/time component values if the user agent provides those portions.",
238
- "href": "https://drafts.csswg.org/css-forms-1/#selectordef-field-separator",
239
- "value": "::field-separator"
240
- },
241
- {
242
- "name": "::color-swatch",
243
- "prose": "The ::color-swatch pseudo-element represents the portion of the control that displays the chosen color value.",
244
- "href": "https://drafts.csswg.org/css-forms-1/#selectordef-color-swatch",
245
- "value": "::color-swatch"
246
- },
247
- {
248
- "name": ":low-value",
249
- "prose": "The :low-value pseudo-class matches on a meter element when its value is under the value specified by the low HTML attribute.",
250
- "href": "https://drafts.csswg.org/css-forms-1/#selectordef-low-value",
251
- "value": ":low-value"
252
- },
253
- {
254
- "name": ":high-value",
255
- "prose": "The :high-value pseudo-class matches on a meter element when its value is over the value specified by the high HTML attribute.",
256
- "href": "https://drafts.csswg.org/css-forms-1/#selectordef-high-value",
257
- "value": ":high-value"
258
- },
259
- {
260
- "name": ":optimal-value",
261
- "prose": "The :optimal-value pseudo-class matches on a meter element when its value is in the range determined by the optimum / low / high HTML attributes.",
262
- "href": "https://drafts.csswg.org/css-forms-1/#selectordef-optimal-value",
263
- "value": ":optimal-value"
264
- }
265
- ],
266
- "values": [
267
- {
268
- "name": "control-value()",
269
- "prose": "The control-value() function computes to the current value of the form control it is on. If it is used on an element that is not a form control, it returns an empty string.",
270
- "href": "https://drafts.csswg.org/css-forms-1/#funcdef-control-value",
271
- "type": "function",
272
- "value": "control-value( <type>? )"
273
- },
274
- {
275
- "name": "<type>",
276
- "href": "https://drafts.csswg.org/css-forms-1/#typedef-type",
277
- "type": "type",
278
- "value": "'<' [ number | string ] '>'"
279
- }
280
- ]
281
- }