@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
@@ -1,337 +0,0 @@
1
- {
2
- "spec": {
3
- "title": "CSS Text Decoration Module Level 3",
4
- "url": "https://drafts.csswg.org/css-text-decor-3/"
5
- },
6
- "properties": [
7
- {
8
- "name": "text-decoration-line",
9
- "href": "https://drafts.csswg.org/css-text-decor-3/#propdef-text-decoration-line",
10
- "value": "none | [ underline || overline || line-through || blink ]",
11
- "initial": "none",
12
- "appliesTo": "all elements",
13
- "inherited": "no (but see prose, above)",
14
- "percentages": "n/a",
15
- "computedValue": "specified keyword(s)",
16
- "canonicalOrder": "per grammar",
17
- "animationType": "discrete",
18
- "values": [
19
- {
20
- "name": "none",
21
- "prose": "Neither produces nor inhibits text decoration.",
22
- "href": "https://drafts.csswg.org/css-text-decor-3/#valdef-text-decoration-line-none",
23
- "type": "value",
24
- "value": "none"
25
- },
26
- {
27
- "name": "underline",
28
- "prose": "Each line of text is underlined.",
29
- "href": "https://drafts.csswg.org/css-text-decor-3/#valdef-text-decoration-line-underline",
30
- "type": "value",
31
- "value": "underline"
32
- },
33
- {
34
- "name": "overline",
35
- "prose": "Each line of text has a line over it (i.e. on the opposite side from an underline).",
36
- "href": "https://drafts.csswg.org/css-text-decor-3/#valdef-text-decoration-line-overline",
37
- "type": "value",
38
- "value": "overline"
39
- },
40
- {
41
- "name": "line-through",
42
- "prose": "Each line of text has a line through the middle.",
43
- "href": "https://drafts.csswg.org/css-text-decor-3/#valdef-text-decoration-line-line-through",
44
- "type": "value",
45
- "value": "line-through"
46
- },
47
- {
48
- "name": "blink",
49
- "prose": "The text blinks (alternates between visible and invisible). Conforming user agents may simply not blink the text. Note that not blinking the text is one technique to satisfy checkpoint 3.3 of WAI-UAAG. This value is deprecated in favor of Animations [CSS-ANIMATIONS-1].",
50
- "href": "https://drafts.csswg.org/css-text-decor-3/#valdef-text-decoration-line-blink",
51
- "type": "value",
52
- "value": "blink"
53
- }
54
- ],
55
- "styleDeclaration": [
56
- "text-decoration-line",
57
- "textDecorationLine"
58
- ]
59
- },
60
- {
61
- "name": "text-decoration-style",
62
- "href": "https://drafts.csswg.org/css-text-decor-3/#propdef-text-decoration-style",
63
- "value": "solid | double | dotted | dashed | wavy",
64
- "initial": "solid",
65
- "appliesTo": "all elements",
66
- "inherited": "no",
67
- "percentages": "n/a",
68
- "computedValue": "specified keyword",
69
- "canonicalOrder": "per grammar",
70
- "animationType": "discrete",
71
- "styleDeclaration": [
72
- "text-decoration-style",
73
- "textDecorationStyle"
74
- ]
75
- },
76
- {
77
- "name": "text-decoration-color",
78
- "href": "https://drafts.csswg.org/css-text-decor-3/#propdef-text-decoration-color",
79
- "value": "<color>",
80
- "initial": "currentcolor",
81
- "appliesTo": "all elements",
82
- "inherited": "no",
83
- "percentages": "n/a",
84
- "computedValue": "computed color",
85
- "canonicalOrder": "per grammar",
86
- "animationType": "by computed value type",
87
- "styleDeclaration": [
88
- "text-decoration-color",
89
- "textDecorationColor"
90
- ]
91
- },
92
- {
93
- "name": "text-decoration",
94
- "href": "https://drafts.csswg.org/css-text-decor-3/#propdef-text-decoration",
95
- "value": "<'text-decoration-line'> || <'text-decoration-style'> || <'text-decoration-color'>",
96
- "initial": "see individual properties",
97
- "appliesTo": "see individual properties",
98
- "inherited": "see individual properties",
99
- "percentages": "see individual properties",
100
- "computedValue": "see individual properties",
101
- "animationType": "see individual properties",
102
- "canonicalOrder": "per grammar",
103
- "styleDeclaration": [
104
- "text-decoration",
105
- "textDecoration"
106
- ]
107
- },
108
- {
109
- "name": "text-underline-position",
110
- "href": "https://drafts.csswg.org/css-text-decor-3/#propdef-text-underline-position",
111
- "value": "auto | [ under || [ left | right ] ]",
112
- "initial": "auto",
113
- "appliesTo": "all elements",
114
- "inherited": "yes",
115
- "percentages": "n/a",
116
- "computedValue": "specified keyword(s)",
117
- "canonicalOrder": "per grammar",
118
- "animationType": "discrete",
119
- "values": [
120
- {
121
- "name": "auto",
122
- "prose": "The user agent may use any algorithm to determine the underline’s position; however it must be placed at or under the alphabetic baseline. A typical “alphabetic” underline is positioned just below the alphabetic baseline",
123
- "href": "https://drafts.csswg.org/css-text-decor-3/#underline-auto",
124
- "type": "value",
125
- "value": "auto"
126
- },
127
- {
128
- "name": "under",
129
- "prose": "The underline is positioned under the element’s text content. In this case the underline usually does not cross the descenders. (This is sometimes called “accounting” underline.) This value can be combined with left or right if a particular side is preferred in vertical typographic modes. text-underline-position: under Because text-underline-position inherits, and is not reset by the text-decoration shorthand, the following example switches the document to use under underlining, which can be more appropriate for writing systems with long, complicated descenders. It is also often useful for mathematical or chemical texts that use many subscripts. :root { text-underline-position: under; }",
130
- "href": "https://drafts.csswg.org/css-text-decor-3/#underline-under",
131
- "type": "value",
132
- "value": "under"
133
- },
134
- {
135
- "name": "left",
136
- "prose": "In vertical typographic modes, the underline is aligned as for under, except it is always aligned to the left edge of the text. If this causes the underline to be drawn on the \"over\" side of the text, then an overline also switches sides and is drawn on the \"under\" side.",
137
- "href": "https://drafts.csswg.org/css-text-decor-3/#underline-left",
138
- "type": "value",
139
- "value": "left"
140
- },
141
- {
142
- "name": "right",
143
- "prose": "In vertical typographic modes, the underline is aligned as for under, except it is always aligned to the right edge of the text. If this causes the underline to be drawn on the \"over\" side of the text, then an overline also switches sides and is drawn on the \"under\" side.",
144
- "href": "https://drafts.csswg.org/css-text-decor-3/#underline-right",
145
- "type": "value",
146
- "value": "right"
147
- }
148
- ],
149
- "styleDeclaration": [
150
- "text-underline-position",
151
- "textUnderlinePosition"
152
- ]
153
- },
154
- {
155
- "name": "text-emphasis-style",
156
- "href": "https://drafts.csswg.org/css-text-decor-3/#propdef-text-emphasis-style",
157
- "value": "none | [ [ filled | open ] || [ dot | circle | double-circle | triangle | sesame ] ] | <string>",
158
- "initial": "none",
159
- "appliesTo": "text",
160
- "inherited": "yes",
161
- "percentages": "n/a",
162
- "computedValue": "the keyword none, a pair of keywords representing the shape and fill, or a string",
163
- "canonicalOrder": "per grammar",
164
- "animationType": "discrete",
165
- "values": [
166
- {
167
- "name": "none",
168
- "prose": "No emphasis marks.",
169
- "href": "https://drafts.csswg.org/css-text-decor-3/#valdef-text-emphasis-style-none",
170
- "type": "value",
171
- "value": "none"
172
- },
173
- {
174
- "name": "filled",
175
- "prose": "The shape is filled with solid color.",
176
- "href": "https://drafts.csswg.org/css-text-decor-3/#valdef-text-emphasis-style-filled",
177
- "type": "value",
178
- "value": "filled"
179
- },
180
- {
181
- "name": "dot",
182
- "prose": "Display small circles as marks. The filled dot is U+2022 '•', and the open dot is U+25E6 '◦'.",
183
- "href": "https://drafts.csswg.org/css-text-decor-3/#valdef-text-emphasis-style-dot",
184
- "type": "value",
185
- "value": "dot"
186
- },
187
- {
188
- "name": "circle",
189
- "prose": "Display large circles as marks. The filled circle is U+25CF '●', and the open circle is U+25CB '○'.",
190
- "href": "https://drafts.csswg.org/css-text-decor-3/#valdef-text-emphasis-style-circle",
191
- "type": "value",
192
- "value": "circle"
193
- },
194
- {
195
- "name": "double-circle",
196
- "prose": "Display double circles as marks. The filled double-circle is U+25C9 '◉', and the open double-circle is U+25CE '◎'.",
197
- "href": "https://drafts.csswg.org/css-text-decor-3/#valdef-text-emphasis-style-double-circle",
198
- "type": "value",
199
- "value": "double-circle"
200
- },
201
- {
202
- "name": "triangle",
203
- "prose": "Display triangles as marks. The filled triangle is U+25B2 '▲', and the open triangle is U+25B3 '△'.",
204
- "href": "https://drafts.csswg.org/css-text-decor-3/#valdef-text-emphasis-style-triangle",
205
- "type": "value",
206
- "value": "triangle"
207
- },
208
- {
209
- "name": "sesame",
210
- "prose": "Display sesames as marks. The filled sesame is U+FE45 '﹅', and the open sesame is U+FE46 '﹆'.",
211
- "href": "https://drafts.csswg.org/css-text-decor-3/#valdef-text-emphasis-style-sesame",
212
- "type": "value",
213
- "value": "sesame"
214
- },
215
- {
216
- "name": "<string>",
217
- "prose": "Display the given string as marks. Authors should not specify more than one character in <string>. The UA may truncate or ignore strings consisting of more than one grapheme cluster.",
218
- "href": "https://drafts.csswg.org/css-text-decor-3/#valdef-text-emphasis-style-string",
219
- "type": "value",
220
- "value": "<string>"
221
- }
222
- ],
223
- "styleDeclaration": [
224
- "text-emphasis-style",
225
- "textEmphasisStyle"
226
- ]
227
- },
228
- {
229
- "name": "text-emphasis-color",
230
- "href": "https://drafts.csswg.org/css-text-decor-3/#propdef-text-emphasis-color",
231
- "value": "<color>",
232
- "initial": "currentcolor",
233
- "appliesTo": "text",
234
- "inherited": "yes",
235
- "percentages": "n/a",
236
- "computedValue": "computed color",
237
- "canonicalOrder": "per grammar",
238
- "animationType": "by computed value type",
239
- "styleDeclaration": [
240
- "text-emphasis-color",
241
- "textEmphasisColor"
242
- ]
243
- },
244
- {
245
- "name": "text-emphasis",
246
- "href": "https://drafts.csswg.org/css-text-decor-3/#propdef-text-emphasis",
247
- "value": "<'text-emphasis-style'> || <'text-emphasis-color'>",
248
- "initial": "see individual properties",
249
- "appliesTo": "see individual properties",
250
- "inherited": "see individual properties",
251
- "percentages": "see individual properties",
252
- "computedValue": "see individual properties",
253
- "animationType": "see individual properties",
254
- "canonicalOrder": "per grammar",
255
- "styleDeclaration": [
256
- "text-emphasis",
257
- "textEmphasis"
258
- ]
259
- },
260
- {
261
- "name": "text-emphasis-position",
262
- "href": "https://drafts.csswg.org/css-text-decor-3/#propdef-text-emphasis-position",
263
- "value": "[ over | under ] && [ right | left ]?",
264
- "initial": "over right",
265
- "appliesTo": "text",
266
- "inherited": "yes",
267
- "percentages": "n/a",
268
- "computedValue": "specified keyword(s)",
269
- "canonicalOrder": "per grammar",
270
- "animationType": "discrete",
271
- "values": [
272
- {
273
- "name": "over",
274
- "prose": "Draw marks over the text in horizontal typographic modes.",
275
- "href": "https://drafts.csswg.org/css-text-decor-3/#valdef-text-emphasis-position-over",
276
- "type": "value",
277
- "value": "over"
278
- },
279
- {
280
- "name": "under",
281
- "prose": "Draw marks under the text in horizontal typographic modes.",
282
- "href": "https://drafts.csswg.org/css-text-decor-3/#valdef-text-emphasis-position-under",
283
- "type": "value",
284
- "value": "under"
285
- },
286
- {
287
- "name": "right",
288
- "prose": "Draw marks to the right of the text in vertical typographic modes.",
289
- "href": "https://drafts.csswg.org/css-text-decor-3/#valdef-text-emphasis-position-right",
290
- "type": "value",
291
- "value": "right"
292
- },
293
- {
294
- "name": "left",
295
- "prose": "Draw marks to the left of the text in vertical typographic modes.",
296
- "href": "https://drafts.csswg.org/css-text-decor-3/#valdef-text-emphasis-position-left",
297
- "type": "value",
298
- "value": "left"
299
- }
300
- ],
301
- "styleDeclaration": [
302
- "text-emphasis-position",
303
- "textEmphasisPosition"
304
- ]
305
- },
306
- {
307
- "name": "text-shadow",
308
- "href": "https://drafts.csswg.org/css-text-decor-3/#propdef-text-shadow",
309
- "value": "none | [ <color>? && <length>{2,3} ]#",
310
- "initial": "none",
311
- "appliesTo": "text",
312
- "inherited": "yes",
313
- "percentages": "n/a",
314
- "computedValue": "either the keyword none or a list, each item consisting of three absolute lengths plus a computed color",
315
- "canonicalOrder": "per grammar",
316
- "animationType": "as shadow list",
317
- "styleDeclaration": [
318
- "text-shadow",
319
- "textShadow"
320
- ]
321
- }
322
- ],
323
- "atrules": [],
324
- "selectors": [],
325
- "values": [],
326
- "warnings": [
327
- {
328
- "msg": "Dangling value",
329
- "name": "open",
330
- "prose": "The shape is hollow.",
331
- "href": "https://drafts.csswg.org/css-text-decor-3/#valdef-text-text-emphasis-open",
332
- "type": "value",
333
- "value": "open",
334
- "for": "text-text-emphasis"
335
- }
336
- ]
337
- }