@markuplint/ml-spec 2.0.0-dev.26 → 2.0.0-rc.5

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.
package/src/attributes.ts CHANGED
@@ -7,134 +7,1419 @@
7
7
 
8
8
  export type AttributeType =
9
9
  | (
10
- | 'String'
11
- | 'NonEmptyString'
10
+ | (
11
+ | "<'--*'>"
12
+ | "<'-ms-accelerator'>"
13
+ | "<'-ms-block-progression'>"
14
+ | "<'-ms-content-zoom-chaining'>"
15
+ | "<'-ms-content-zooming'>"
16
+ | "<'-ms-content-zoom-limit'>"
17
+ | "<'-ms-content-zoom-limit-max'>"
18
+ | "<'-ms-content-zoom-limit-min'>"
19
+ | "<'-ms-content-zoom-snap'>"
20
+ | "<'-ms-content-zoom-snap-points'>"
21
+ | "<'-ms-content-zoom-snap-type'>"
22
+ | "<'-ms-filter'>"
23
+ | "<'-ms-flow-from'>"
24
+ | "<'-ms-flow-into'>"
25
+ | "<'-ms-grid-columns'>"
26
+ | "<'-ms-grid-rows'>"
27
+ | "<'-ms-high-contrast-adjust'>"
28
+ | "<'-ms-hyphenate-limit-chars'>"
29
+ | "<'-ms-hyphenate-limit-lines'>"
30
+ | "<'-ms-hyphenate-limit-zone'>"
31
+ | "<'-ms-ime-align'>"
32
+ | "<'-ms-overflow-style'>"
33
+ | "<'-ms-scrollbar-3dlight-color'>"
34
+ | "<'-ms-scrollbar-arrow-color'>"
35
+ | "<'-ms-scrollbar-base-color'>"
36
+ | "<'-ms-scrollbar-darkshadow-color'>"
37
+ | "<'-ms-scrollbar-face-color'>"
38
+ | "<'-ms-scrollbar-highlight-color'>"
39
+ | "<'-ms-scrollbar-shadow-color'>"
40
+ | "<'-ms-scrollbar-track-color'>"
41
+ | "<'-ms-scroll-chaining'>"
42
+ | "<'-ms-scroll-limit'>"
43
+ | "<'-ms-scroll-limit-x-max'>"
44
+ | "<'-ms-scroll-limit-x-min'>"
45
+ | "<'-ms-scroll-limit-y-max'>"
46
+ | "<'-ms-scroll-limit-y-min'>"
47
+ | "<'-ms-scroll-rails'>"
48
+ | "<'-ms-scroll-snap-points-x'>"
49
+ | "<'-ms-scroll-snap-points-y'>"
50
+ | "<'-ms-scroll-snap-type'>"
51
+ | "<'-ms-scroll-snap-x'>"
52
+ | "<'-ms-scroll-snap-y'>"
53
+ | "<'-ms-scroll-translation'>"
54
+ | "<'-ms-text-autospace'>"
55
+ | "<'-ms-touch-select'>"
56
+ | "<'-ms-user-select'>"
57
+ | "<'-ms-wrap-flow'>"
58
+ | "<'-ms-wrap-margin'>"
59
+ | "<'-ms-wrap-through'>"
60
+ | "<'-moz-appearance'>"
61
+ | "<'-moz-binding'>"
62
+ | "<'-moz-border-bottom-colors'>"
63
+ | "<'-moz-border-left-colors'>"
64
+ | "<'-moz-border-right-colors'>"
65
+ | "<'-moz-border-top-colors'>"
66
+ | "<'-moz-context-properties'>"
67
+ | "<'-moz-float-edge'>"
68
+ | "<'-moz-force-broken-image-icon'>"
69
+ | "<'-moz-image-region'>"
70
+ | "<'-moz-orient'>"
71
+ | "<'-moz-outline-radius'>"
72
+ | "<'-moz-outline-radius-bottomleft'>"
73
+ | "<'-moz-outline-radius-bottomright'>"
74
+ | "<'-moz-outline-radius-topleft'>"
75
+ | "<'-moz-outline-radius-topright'>"
76
+ | "<'-moz-stack-sizing'>"
77
+ | "<'-moz-text-blink'>"
78
+ | "<'-moz-user-focus'>"
79
+ | "<'-moz-user-input'>"
80
+ | "<'-moz-user-modify'>"
81
+ | "<'-moz-window-dragging'>"
82
+ | "<'-moz-window-shadow'>"
83
+ | "<'-webkit-appearance'>"
84
+ | "<'-webkit-border-before'>"
85
+ | "<'-webkit-border-before-color'>"
86
+ | "<'-webkit-border-before-style'>"
87
+ | "<'-webkit-border-before-width'>"
88
+ | "<'-webkit-box-reflect'>"
89
+ | "<'-webkit-line-clamp'>"
90
+ | "<'-webkit-mask'>"
91
+ | "<'-webkit-mask-attachment'>"
92
+ | "<'-webkit-mask-clip'>"
93
+ | "<'-webkit-mask-composite'>"
94
+ | "<'-webkit-mask-image'>"
95
+ | "<'-webkit-mask-origin'>"
96
+ | "<'-webkit-mask-position'>"
97
+ | "<'-webkit-mask-position-x'>"
98
+ | "<'-webkit-mask-position-y'>"
99
+ | "<'-webkit-mask-repeat'>"
100
+ | "<'-webkit-mask-repeat-x'>"
101
+ | "<'-webkit-mask-repeat-y'>"
102
+ | "<'-webkit-mask-size'>"
103
+ | "<'-webkit-overflow-scrolling'>"
104
+ | "<'-webkit-tap-highlight-color'>"
105
+ | "<'-webkit-text-fill-color'>"
106
+ | "<'-webkit-text-stroke'>"
107
+ | "<'-webkit-text-stroke-color'>"
108
+ | "<'-webkit-text-stroke-width'>"
109
+ | "<'-webkit-touch-callout'>"
110
+ | "<'-webkit-user-modify'>"
111
+ | "<'align-content'>"
112
+ | "<'align-items'>"
113
+ | "<'align-self'>"
114
+ | "<'align-tracks'>"
115
+ | "<'all'>"
116
+ | "<'animation'>"
117
+ | "<'animation-delay'>"
118
+ | "<'animation-direction'>"
119
+ | "<'animation-duration'>"
120
+ | "<'animation-fill-mode'>"
121
+ | "<'animation-iteration-count'>"
122
+ | "<'animation-name'>"
123
+ | "<'animation-play-state'>"
124
+ | "<'animation-timing-function'>"
125
+ | "<'appearance'>"
126
+ | "<'aspect-ratio'>"
127
+ | "<'azimuth'>"
128
+ | "<'backdrop-filter'>"
129
+ | "<'backface-visibility'>"
130
+ | "<'background'>"
131
+ | "<'background-attachment'>"
132
+ | "<'background-blend-mode'>"
133
+ | "<'background-clip'>"
134
+ | "<'background-color'>"
135
+ | "<'background-image'>"
136
+ | "<'background-origin'>"
137
+ | "<'background-position'>"
138
+ | "<'background-position-x'>"
139
+ | "<'background-position-y'>"
140
+ | "<'background-repeat'>"
141
+ | "<'background-size'>"
142
+ | "<'block-overflow'>"
143
+ | "<'block-size'>"
144
+ | "<'border'>"
145
+ | "<'border-block'>"
146
+ | "<'border-block-color'>"
147
+ | "<'border-block-style'>"
148
+ | "<'border-block-width'>"
149
+ | "<'border-block-end'>"
150
+ | "<'border-block-end-color'>"
151
+ | "<'border-block-end-style'>"
152
+ | "<'border-block-end-width'>"
153
+ | "<'border-block-start'>"
154
+ | "<'border-block-start-color'>"
155
+ | "<'border-block-start-style'>"
156
+ | "<'border-block-start-width'>"
157
+ | "<'border-bottom'>"
158
+ | "<'border-bottom-color'>"
159
+ | "<'border-bottom-left-radius'>"
160
+ | "<'border-bottom-right-radius'>"
161
+ | "<'border-bottom-style'>"
162
+ | "<'border-bottom-width'>"
163
+ | "<'border-collapse'>"
164
+ | "<'border-color'>"
165
+ | "<'border-end-end-radius'>"
166
+ | "<'border-end-start-radius'>"
167
+ | "<'border-image'>"
168
+ | "<'border-image-outset'>"
169
+ | "<'border-image-repeat'>"
170
+ | "<'border-image-slice'>"
171
+ | "<'border-image-source'>"
172
+ | "<'border-image-width'>"
173
+ | "<'border-inline'>"
174
+ | "<'border-inline-end'>"
175
+ | "<'border-inline-color'>"
176
+ | "<'border-inline-style'>"
177
+ | "<'border-inline-width'>"
178
+ | "<'border-inline-end-color'>"
179
+ | "<'border-inline-end-style'>"
180
+ | "<'border-inline-end-width'>"
181
+ | "<'border-inline-start'>"
182
+ | "<'border-inline-start-color'>"
183
+ | "<'border-inline-start-style'>"
184
+ | "<'border-inline-start-width'>"
185
+ | "<'border-left'>"
186
+ | "<'border-left-color'>"
187
+ | "<'border-left-style'>"
188
+ | "<'border-left-width'>"
189
+ | "<'border-radius'>"
190
+ | "<'border-right'>"
191
+ | "<'border-right-color'>"
192
+ | "<'border-right-style'>"
193
+ | "<'border-right-width'>"
194
+ | "<'border-spacing'>"
195
+ | "<'border-start-end-radius'>"
196
+ | "<'border-start-start-radius'>"
197
+ | "<'border-style'>"
198
+ | "<'border-top'>"
199
+ | "<'border-top-color'>"
200
+ | "<'border-top-left-radius'>"
201
+ | "<'border-top-right-radius'>"
202
+ | "<'border-top-style'>"
203
+ | "<'border-top-width'>"
204
+ | "<'border-width'>"
205
+ | "<'bottom'>"
206
+ | "<'box-align'>"
207
+ | "<'box-decoration-break'>"
208
+ | "<'box-direction'>"
209
+ | "<'box-flex'>"
210
+ | "<'box-flex-group'>"
211
+ | "<'box-lines'>"
212
+ | "<'box-ordinal-group'>"
213
+ | "<'box-orient'>"
214
+ | "<'box-pack'>"
215
+ | "<'box-shadow'>"
216
+ | "<'box-sizing'>"
217
+ | "<'break-after'>"
218
+ | "<'break-before'>"
219
+ | "<'break-inside'>"
220
+ | "<'caption-side'>"
221
+ | "<'caret-color'>"
222
+ | "<'clear'>"
223
+ | "<'clip'>"
224
+ | "<'clip-path'>"
225
+ | "<'color'>"
226
+ | "<'color-adjust'>"
227
+ | "<'column-count'>"
228
+ | "<'column-fill'>"
229
+ | "<'column-gap'>"
230
+ | "<'column-rule'>"
231
+ | "<'column-rule-color'>"
232
+ | "<'column-rule-style'>"
233
+ | "<'column-rule-width'>"
234
+ | "<'column-span'>"
235
+ | "<'column-width'>"
236
+ | "<'columns'>"
237
+ | "<'contain'>"
238
+ | "<'content'>"
239
+ | "<'counter-increment'>"
240
+ | "<'counter-reset'>"
241
+ | "<'counter-set'>"
242
+ | "<'cursor'>"
243
+ | "<'direction'>"
244
+ | "<'display'>"
245
+ | "<'empty-cells'>"
246
+ | "<'filter'>"
247
+ | "<'flex'>"
248
+ | "<'flex-basis'>"
249
+ | "<'flex-direction'>"
250
+ | "<'flex-flow'>"
251
+ | "<'flex-grow'>"
252
+ | "<'flex-shrink'>"
253
+ | "<'flex-wrap'>"
254
+ | "<'float'>"
255
+ | "<'font'>"
256
+ | "<'font-family'>"
257
+ | "<'font-feature-settings'>"
258
+ | "<'font-kerning'>"
259
+ | "<'font-language-override'>"
260
+ | "<'font-optical-sizing'>"
261
+ | "<'font-variation-settings'>"
262
+ | "<'font-size'>"
263
+ | "<'font-size-adjust'>"
264
+ | "<'font-smooth'>"
265
+ | "<'font-stretch'>"
266
+ | "<'font-style'>"
267
+ | "<'font-synthesis'>"
268
+ | "<'font-variant'>"
269
+ | "<'font-variant-alternates'>"
270
+ | "<'font-variant-caps'>"
271
+ | "<'font-variant-east-asian'>"
272
+ | "<'font-variant-ligatures'>"
273
+ | "<'font-variant-numeric'>"
274
+ | "<'font-variant-position'>"
275
+ | "<'font-weight'>"
276
+ | "<'gap'>"
277
+ | "<'grid'>"
278
+ | "<'grid-area'>"
279
+ | "<'grid-auto-columns'>"
280
+ | "<'grid-auto-flow'>"
281
+ | "<'grid-auto-rows'>"
282
+ | "<'grid-column'>"
283
+ | "<'grid-column-end'>"
284
+ | "<'grid-column-gap'>"
285
+ | "<'grid-column-start'>"
286
+ | "<'grid-gap'>"
287
+ | "<'grid-row'>"
288
+ | "<'grid-row-end'>"
289
+ | "<'grid-row-gap'>"
290
+ | "<'grid-row-start'>"
291
+ | "<'grid-template'>"
292
+ | "<'grid-template-areas'>"
293
+ | "<'grid-template-columns'>"
294
+ | "<'grid-template-rows'>"
295
+ | "<'hanging-punctuation'>"
296
+ | "<'height'>"
297
+ | "<'hyphens'>"
298
+ | "<'image-orientation'>"
299
+ | "<'image-rendering'>"
300
+ | "<'image-resolution'>"
301
+ | "<'ime-mode'>"
302
+ | "<'initial-letter'>"
303
+ | "<'initial-letter-align'>"
304
+ | "<'inline-size'>"
305
+ | "<'inset'>"
306
+ | "<'inset-block'>"
307
+ | "<'inset-block-end'>"
308
+ | "<'inset-block-start'>"
309
+ | "<'inset-inline'>"
310
+ | "<'inset-inline-end'>"
311
+ | "<'inset-inline-start'>"
312
+ | "<'isolation'>"
313
+ | "<'justify-content'>"
314
+ | "<'justify-items'>"
315
+ | "<'justify-self'>"
316
+ | "<'justify-tracks'>"
317
+ | "<'left'>"
318
+ | "<'letter-spacing'>"
319
+ | "<'line-break'>"
320
+ | "<'line-clamp'>"
321
+ | "<'line-height'>"
322
+ | "<'line-height-step'>"
323
+ | "<'list-style'>"
324
+ | "<'list-style-image'>"
325
+ | "<'list-style-position'>"
326
+ | "<'list-style-type'>"
327
+ | "<'margin'>"
328
+ | "<'margin-block'>"
329
+ | "<'margin-block-end'>"
330
+ | "<'margin-block-start'>"
331
+ | "<'margin-bottom'>"
332
+ | "<'margin-inline'>"
333
+ | "<'margin-inline-end'>"
334
+ | "<'margin-inline-start'>"
335
+ | "<'margin-left'>"
336
+ | "<'margin-right'>"
337
+ | "<'margin-top'>"
338
+ | "<'margin-trim'>"
339
+ | "<'mask'>"
340
+ | "<'mask-border'>"
341
+ | "<'mask-border-mode'>"
342
+ | "<'mask-border-outset'>"
343
+ | "<'mask-border-repeat'>"
344
+ | "<'mask-border-slice'>"
345
+ | "<'mask-border-source'>"
346
+ | "<'mask-border-width'>"
347
+ | "<'mask-clip'>"
348
+ | "<'mask-composite'>"
349
+ | "<'mask-image'>"
350
+ | "<'mask-mode'>"
351
+ | "<'mask-origin'>"
352
+ | "<'mask-position'>"
353
+ | "<'mask-repeat'>"
354
+ | "<'mask-size'>"
355
+ | "<'mask-type'>"
356
+ | "<'masonry-auto-flow'>"
357
+ | "<'math-style'>"
358
+ | "<'max-block-size'>"
359
+ | "<'max-height'>"
360
+ | "<'max-inline-size'>"
361
+ | "<'max-lines'>"
362
+ | "<'max-width'>"
363
+ | "<'min-block-size'>"
364
+ | "<'min-height'>"
365
+ | "<'min-inline-size'>"
366
+ | "<'min-width'>"
367
+ | "<'mix-blend-mode'>"
368
+ | "<'object-fit'>"
369
+ | "<'object-position'>"
370
+ | "<'offset'>"
371
+ | "<'offset-anchor'>"
372
+ | "<'offset-distance'>"
373
+ | "<'offset-path'>"
374
+ | "<'offset-position'>"
375
+ | "<'offset-rotate'>"
376
+ | "<'opacity'>"
377
+ | "<'order'>"
378
+ | "<'orphans'>"
379
+ | "<'outline'>"
380
+ | "<'outline-color'>"
381
+ | "<'outline-offset'>"
382
+ | "<'outline-style'>"
383
+ | "<'outline-width'>"
384
+ | "<'overflow'>"
385
+ | "<'overflow-anchor'>"
386
+ | "<'overflow-block'>"
387
+ | "<'overflow-clip-box'>"
388
+ | "<'overflow-inline'>"
389
+ | "<'overflow-wrap'>"
390
+ | "<'overflow-x'>"
391
+ | "<'overflow-y'>"
392
+ | "<'overscroll-behavior'>"
393
+ | "<'overscroll-behavior-block'>"
394
+ | "<'overscroll-behavior-inline'>"
395
+ | "<'overscroll-behavior-x'>"
396
+ | "<'overscroll-behavior-y'>"
397
+ | "<'padding'>"
398
+ | "<'padding-block'>"
399
+ | "<'padding-block-end'>"
400
+ | "<'padding-block-start'>"
401
+ | "<'padding-bottom'>"
402
+ | "<'padding-inline'>"
403
+ | "<'padding-inline-end'>"
404
+ | "<'padding-inline-start'>"
405
+ | "<'padding-left'>"
406
+ | "<'padding-right'>"
407
+ | "<'padding-top'>"
408
+ | "<'page-break-after'>"
409
+ | "<'page-break-before'>"
410
+ | "<'page-break-inside'>"
411
+ | "<'paint-order'>"
412
+ | "<'perspective'>"
413
+ | "<'perspective-origin'>"
414
+ | "<'place-content'>"
415
+ | "<'place-items'>"
416
+ | "<'place-self'>"
417
+ | "<'pointer-events'>"
418
+ | "<'position'>"
419
+ | "<'quotes'>"
420
+ | "<'resize'>"
421
+ | "<'right'>"
422
+ | "<'rotate'>"
423
+ | "<'row-gap'>"
424
+ | "<'ruby-align'>"
425
+ | "<'ruby-merge'>"
426
+ | "<'ruby-position'>"
427
+ | "<'scale'>"
428
+ | "<'scrollbar-color'>"
429
+ | "<'scrollbar-gutter'>"
430
+ | "<'scrollbar-width'>"
431
+ | "<'scroll-behavior'>"
432
+ | "<'scroll-margin'>"
433
+ | "<'scroll-margin-block'>"
434
+ | "<'scroll-margin-block-start'>"
435
+ | "<'scroll-margin-block-end'>"
436
+ | "<'scroll-margin-bottom'>"
437
+ | "<'scroll-margin-inline'>"
438
+ | "<'scroll-margin-inline-start'>"
439
+ | "<'scroll-margin-inline-end'>"
440
+ | "<'scroll-margin-left'>"
441
+ | "<'scroll-margin-right'>"
442
+ | "<'scroll-margin-top'>"
443
+ | "<'scroll-padding'>"
444
+ | "<'scroll-padding-block'>"
445
+ | "<'scroll-padding-block-start'>"
446
+ | "<'scroll-padding-block-end'>"
447
+ | "<'scroll-padding-bottom'>"
448
+ | "<'scroll-padding-inline'>"
449
+ | "<'scroll-padding-inline-start'>"
450
+ | "<'scroll-padding-inline-end'>"
451
+ | "<'scroll-padding-left'>"
452
+ | "<'scroll-padding-right'>"
453
+ | "<'scroll-padding-top'>"
454
+ | "<'scroll-snap-align'>"
455
+ | "<'scroll-snap-coordinate'>"
456
+ | "<'scroll-snap-destination'>"
457
+ | "<'scroll-snap-points-x'>"
458
+ | "<'scroll-snap-points-y'>"
459
+ | "<'scroll-snap-stop'>"
460
+ | "<'scroll-snap-type'>"
461
+ | "<'scroll-snap-type-x'>"
462
+ | "<'scroll-snap-type-y'>"
463
+ | "<'shape-image-threshold'>"
464
+ | "<'shape-margin'>"
465
+ | "<'shape-outside'>"
466
+ | "<'tab-size'>"
467
+ | "<'table-layout'>"
468
+ | "<'text-align'>"
469
+ | "<'text-align-last'>"
470
+ | "<'text-combine-upright'>"
471
+ | "<'text-decoration'>"
472
+ | "<'text-decoration-color'>"
473
+ | "<'text-decoration-line'>"
474
+ | "<'text-decoration-skip'>"
475
+ | "<'text-decoration-skip-ink'>"
476
+ | "<'text-decoration-style'>"
477
+ | "<'text-decoration-thickness'>"
478
+ | "<'text-emphasis'>"
479
+ | "<'text-emphasis-color'>"
480
+ | "<'text-emphasis-position'>"
481
+ | "<'text-emphasis-style'>"
482
+ | "<'text-indent'>"
483
+ | "<'text-justify'>"
484
+ | "<'text-orientation'>"
485
+ | "<'text-overflow'>"
486
+ | "<'text-rendering'>"
487
+ | "<'text-shadow'>"
488
+ | "<'text-size-adjust'>"
489
+ | "<'text-transform'>"
490
+ | "<'text-underline-offset'>"
491
+ | "<'text-underline-position'>"
492
+ | "<'top'>"
493
+ | "<'touch-action'>"
494
+ | "<'transform'>"
495
+ | "<'transform-box'>"
496
+ | "<'transform-origin'>"
497
+ | "<'transform-style'>"
498
+ | "<'transition'>"
499
+ | "<'transition-delay'>"
500
+ | "<'transition-duration'>"
501
+ | "<'transition-property'>"
502
+ | "<'transition-timing-function'>"
503
+ | "<'translate'>"
504
+ | "<'unicode-bidi'>"
505
+ | "<'user-select'>"
506
+ | "<'vertical-align'>"
507
+ | "<'visibility'>"
508
+ | "<'white-space'>"
509
+ | "<'widows'>"
510
+ | "<'width'>"
511
+ | "<'will-change'>"
512
+ | "<'word-break'>"
513
+ | "<'word-spacing'>"
514
+ | "<'word-wrap'>"
515
+ | "<'writing-mode'>"
516
+ | "<'z-index'>"
517
+ | "<'zoom'>"
518
+ | "<'-moz-background-clip'>"
519
+ | "<'-moz-border-radius-bottomleft'>"
520
+ | "<'-moz-border-radius-bottomright'>"
521
+ | "<'-moz-border-radius-topleft'>"
522
+ | "<'-moz-border-radius-topright'>"
523
+ | "<'-moz-control-character-visibility'>"
524
+ | "<'-moz-osx-font-smoothing'>"
525
+ | "<'-moz-user-select'>"
526
+ | "<'-ms-flex-align'>"
527
+ | "<'-ms-flex-item-align'>"
528
+ | "<'-ms-flex-line-pack'>"
529
+ | "<'-ms-flex-negative'>"
530
+ | "<'-ms-flex-pack'>"
531
+ | "<'-ms-flex-order'>"
532
+ | "<'-ms-flex-positive'>"
533
+ | "<'-ms-flex-preferred-size'>"
534
+ | "<'-ms-interpolation-mode'>"
535
+ | "<'-ms-grid-column-align'>"
536
+ | "<'-ms-grid-row-align'>"
537
+ | "<'-ms-hyphenate-limit-last'>"
538
+ | "<'-webkit-background-clip'>"
539
+ | "<'-webkit-column-break-after'>"
540
+ | "<'-webkit-column-break-before'>"
541
+ | "<'-webkit-column-break-inside'>"
542
+ | "<'-webkit-font-smoothing'>"
543
+ | "<'-webkit-mask-box-image'>"
544
+ | "<'-webkit-print-color-adjust'>"
545
+ | "<'-webkit-text-security'>"
546
+ | "<'-webkit-user-drag'>"
547
+ | "<'-webkit-user-select'>"
548
+ | "<'alignment-baseline'>"
549
+ | "<'baseline-shift'>"
550
+ | "<'behavior'>"
551
+ | "<'clip-rule'>"
552
+ | "<'cue'>"
553
+ | "<'cue-after'>"
554
+ | "<'cue-before'>"
555
+ | "<'dominant-baseline'>"
556
+ | "<'fill'>"
557
+ | "<'fill-opacity'>"
558
+ | "<'fill-rule'>"
559
+ | "<'glyph-orientation-horizontal'>"
560
+ | "<'glyph-orientation-vertical'>"
561
+ | "<'kerning'>"
562
+ | "<'marker'>"
563
+ | "<'marker-end'>"
564
+ | "<'marker-mid'>"
565
+ | "<'marker-start'>"
566
+ | "<'pause'>"
567
+ | "<'pause-after'>"
568
+ | "<'pause-before'>"
569
+ | "<'rest'>"
570
+ | "<'rest-after'>"
571
+ | "<'rest-before'>"
572
+ | "<'shape-rendering'>"
573
+ | "<'src'>"
574
+ | "<'speak'>"
575
+ | "<'speak-as'>"
576
+ | "<'stroke'>"
577
+ | "<'stroke-dasharray'>"
578
+ | "<'stroke-dashoffset'>"
579
+ | "<'stroke-linecap'>"
580
+ | "<'stroke-linejoin'>"
581
+ | "<'stroke-miterlimit'>"
582
+ | "<'stroke-opacity'>"
583
+ | "<'stroke-width'>"
584
+ | "<'text-anchor'>"
585
+ | "<'unicode-range'>"
586
+ | "<'voice-balance'>"
587
+ | "<'voice-duration'>"
588
+ | "<'voice-family'>"
589
+ | "<'voice-pitch'>"
590
+ | "<'voice-range'>"
591
+ | "<'voice-rate'>"
592
+ | "<'voice-stress'>"
593
+ | "<'voice-volume'>"
594
+ | '<absolute-size>'
595
+ | '<alpha-value>'
596
+ | '<angle-percentage>'
597
+ | '<angular-color-hint>'
598
+ | '<angular-color-stop>'
599
+ | '<angular-color-stop-list>'
600
+ | '<animateable-feature>'
601
+ | '<attachment>'
602
+ | '<attr()>'
603
+ | '<attr-matcher>'
604
+ | '<attr-modifier>'
605
+ | '<attribute-selector>'
606
+ | '<auto-repeat>'
607
+ | '<auto-track-list>'
608
+ | '<baseline-position>'
609
+ | '<basic-shape>'
610
+ | '<bg-image>'
611
+ | '<bg-layer>'
612
+ | '<bg-position>'
613
+ | '<bg-size>'
614
+ | '<blur()>'
615
+ | '<blend-mode>'
616
+ | '<box>'
617
+ | '<brightness()>'
618
+ | '<calc()>'
619
+ | '<calc-sum>'
620
+ | '<calc-product>'
621
+ | '<calc-value>'
622
+ | '<cf-final-image>'
623
+ | '<cf-mixing-image>'
624
+ | '<circle()>'
625
+ | '<clamp()>'
626
+ | '<class-selector>'
627
+ | '<clip-source>'
628
+ | '<color>'
629
+ | '<color-stop>'
630
+ | '<color-stop-angle>'
631
+ | '<color-stop-length>'
632
+ | '<color-stop-list>'
633
+ | '<combinator>'
634
+ | '<common-lig-values>'
635
+ | '<compat-auto>'
636
+ | '<composite-style>'
637
+ | '<compositing-operator>'
638
+ | '<compound-selector>'
639
+ | '<compound-selector-list>'
640
+ | '<complex-selector>'
641
+ | '<complex-selector-list>'
642
+ | '<conic-gradient()>'
643
+ | '<contextual-alt-values>'
644
+ | '<content-distribution>'
645
+ | '<content-list>'
646
+ | '<content-position>'
647
+ | '<content-replacement>'
648
+ | '<contrast()>'
649
+ | '<counter()>'
650
+ | '<counter-style>'
651
+ | '<counter-style-name>'
652
+ | '<counters()>'
653
+ | '<cross-fade()>'
654
+ | '<cubic-bezier-timing-function>'
655
+ | '<deprecated-system-color>'
656
+ | '<discretionary-lig-values>'
657
+ | '<display-box>'
658
+ | '<display-inside>'
659
+ | '<display-internal>'
660
+ | '<display-legacy>'
661
+ | '<display-listitem>'
662
+ | '<display-outside>'
663
+ | '<drop-shadow()>'
664
+ | '<east-asian-variant-values>'
665
+ | '<east-asian-width-values>'
666
+ | '<element()>'
667
+ | '<ellipse()>'
668
+ | '<ending-shape>'
669
+ | '<env()>'
670
+ | '<explicit-track-list>'
671
+ | '<family-name>'
672
+ | '<feature-tag-value>'
673
+ | '<feature-type>'
674
+ | '<feature-value-block>'
675
+ | '<feature-value-block-list>'
676
+ | '<feature-value-declaration>'
677
+ | '<feature-value-declaration-list>'
678
+ | '<feature-value-name>'
679
+ | '<fill-rule>'
680
+ | '<filter-function>'
681
+ | '<filter-function-list>'
682
+ | '<final-bg-layer>'
683
+ | '<fit-content()>'
684
+ | '<fixed-breadth>'
685
+ | '<fixed-repeat>'
686
+ | '<fixed-size>'
687
+ | '<font-stretch-absolute>'
688
+ | '<font-variant-css21>'
689
+ | '<font-weight-absolute>'
690
+ | '<frequency-percentage>'
691
+ | '<general-enclosed>'
692
+ | '<generic-family>'
693
+ | '<generic-name>'
694
+ | '<geometry-box>'
695
+ | '<gradient>'
696
+ | '<grayscale()>'
697
+ | '<grid-line>'
698
+ | '<historical-lig-values>'
699
+ | '<hsl()>'
700
+ | '<hsla()>'
701
+ | '<hue>'
702
+ | '<hue-rotate()>'
703
+ | '<id-selector>'
704
+ | '<image>'
705
+ | '<image()>'
706
+ | '<image-set()>'
707
+ | '<image-set-option>'
708
+ | '<image-src>'
709
+ | '<image-tags>'
710
+ | '<inflexible-breadth>'
711
+ | '<inset()>'
712
+ | '<invert()>'
713
+ | '<keyframes-name>'
714
+ | '<keyframe-block>'
715
+ | '<keyframe-block-list>'
716
+ | '<keyframe-selector>'
717
+ | '<leader()>'
718
+ | '<leader-type>'
719
+ | '<length-percentage>'
720
+ | '<line-names>'
721
+ | '<line-name-list>'
722
+ | '<line-style>'
723
+ | '<line-width>'
724
+ | '<linear-color-hint>'
725
+ | '<linear-color-stop>'
726
+ | '<linear-gradient()>'
727
+ | '<mask-layer>'
728
+ | '<mask-position>'
729
+ | '<mask-reference>'
730
+ | '<mask-source>'
731
+ | '<masking-mode>'
732
+ | '<matrix()>'
733
+ | '<matrix3d()>'
734
+ | '<max()>'
735
+ | '<media-and>'
736
+ | '<media-condition>'
737
+ | '<media-condition-without-or>'
738
+ | '<media-feature>'
739
+ | '<media-in-parens>'
740
+ | '<media-not>'
741
+ | '<media-or>'
742
+ | '<media-query>'
743
+ | '<media-query-list>'
744
+ | '<media-type>'
745
+ | '<mf-boolean>'
746
+ | '<mf-name>'
747
+ | '<mf-plain>'
748
+ | '<mf-range>'
749
+ | '<mf-value>'
750
+ | '<min()>'
751
+ | '<minmax()>'
752
+ | '<named-color>'
753
+ | '<namespace-prefix>'
754
+ | '<ns-prefix>'
755
+ | '<number-percentage>'
756
+ | '<numeric-figure-values>'
757
+ | '<numeric-fraction-values>'
758
+ | '<numeric-spacing-values>'
759
+ | '<nth>'
760
+ | '<opacity()>'
761
+ | '<overflow-position>'
762
+ | '<outline-radius>'
763
+ | '<page-body>'
764
+ | '<page-margin-box>'
765
+ | '<page-margin-box-type>'
766
+ | '<page-selector-list>'
767
+ | '<page-selector>'
768
+ | '<path()>'
769
+ | '<paint()>'
770
+ | '<perspective()>'
771
+ | '<polygon()>'
772
+ | '<position>'
773
+ | '<pseudo-class-selector>'
774
+ | '<pseudo-element-selector>'
775
+ | '<pseudo-page>'
776
+ | '<quote>'
777
+ | '<radial-gradient()>'
778
+ | '<relative-selector>'
779
+ | '<relative-selector-list>'
780
+ | '<relative-size>'
781
+ | '<repeat-style>'
782
+ | '<repeating-linear-gradient()>'
783
+ | '<repeating-radial-gradient()>'
784
+ | '<rgb()>'
785
+ | '<rgba()>'
786
+ | '<rotate()>'
787
+ | '<rotate3d()>'
788
+ | '<rotateX()>'
789
+ | '<rotateY()>'
790
+ | '<rotateZ()>'
791
+ | '<saturate()>'
792
+ | '<scale()>'
793
+ | '<scale3d()>'
794
+ | '<scaleX()>'
795
+ | '<scaleY()>'
796
+ | '<scaleZ()>'
797
+ | '<self-position>'
798
+ | '<shape-radius>'
799
+ | '<skew()>'
800
+ | '<skewX()>'
801
+ | '<skewY()>'
802
+ | '<sepia()>'
803
+ | '<shadow>'
804
+ | '<shadow-t>'
805
+ | '<shape>'
806
+ | '<shape-box>'
807
+ | '<side-or-corner>'
808
+ | '<single-animation>'
809
+ | '<single-animation-direction>'
810
+ | '<single-animation-fill-mode>'
811
+ | '<single-animation-iteration-count>'
812
+ | '<single-animation-play-state>'
813
+ | '<single-transition>'
814
+ | '<single-transition-property>'
815
+ | '<size>'
816
+ | '<step-position>'
817
+ | '<step-timing-function>'
818
+ | '<subclass-selector>'
819
+ | '<supports-condition>'
820
+ | '<supports-in-parens>'
821
+ | '<supports-feature>'
822
+ | '<supports-decl>'
823
+ | '<supports-selector-fn>'
824
+ | '<symbol>'
825
+ | '<target>'
826
+ | '<target-counter()>'
827
+ | '<target-counters()>'
828
+ | '<target-text()>'
829
+ | '<time-percentage>'
830
+ | '<timing-function>'
831
+ | '<track-breadth>'
832
+ | '<track-list>'
833
+ | '<track-repeat>'
834
+ | '<track-size>'
835
+ | '<transform-function>'
836
+ | '<transform-list>'
837
+ | '<translate()>'
838
+ | '<translate3d()>'
839
+ | '<translateX()>'
840
+ | '<translateY()>'
841
+ | '<translateZ()>'
842
+ | '<type-or-unit>'
843
+ | '<type-selector>'
844
+ | '<var()>'
845
+ | '<viewport-length>'
846
+ | '<wq-name>'
847
+ | '<-legacy-gradient>'
848
+ | '<-legacy-linear-gradient>'
849
+ | '<-legacy-repeating-linear-gradient>'
850
+ | '<-legacy-linear-gradient-arguments>'
851
+ | '<-legacy-radial-gradient>'
852
+ | '<-legacy-repeating-radial-gradient>'
853
+ | '<-legacy-radial-gradient-arguments>'
854
+ | '<-legacy-radial-gradient-size>'
855
+ | '<-legacy-radial-gradient-shape>'
856
+ | '<-non-standard-font>'
857
+ | '<-non-standard-color>'
858
+ | '<-non-standard-image-rendering>'
859
+ | '<-non-standard-overflow>'
860
+ | '<-non-standard-width>'
861
+ | '<-webkit-gradient()>'
862
+ | '<-webkit-gradient-color-stop>'
863
+ | '<-webkit-gradient-point>'
864
+ | '<-webkit-gradient-radius>'
865
+ | '<-webkit-gradient-type>'
866
+ | '<-webkit-mask-box-repeat>'
867
+ | '<-webkit-mask-clip-style>'
868
+ | '<-ms-filter-function-list>'
869
+ | '<-ms-filter-function>'
870
+ | '<-ms-filter-function-progid>'
871
+ | '<-ms-filter-function-legacy>'
872
+ | '<-ms-filter>'
873
+ | '<age>'
874
+ | '<attr-name>'
875
+ | '<attr-fallback>'
876
+ | '<border-radius>'
877
+ | '<bottom>'
878
+ | '<generic-voice>'
879
+ | '<gender>'
880
+ | '<left>'
881
+ | '<mask-image>'
882
+ | '<name-repeat>'
883
+ | '<paint>'
884
+ | '<page-size>'
885
+ | '<ratio>'
886
+ | '<right>'
887
+ | '<svg-length>'
888
+ | '<svg-writing-mode>'
889
+ | '<top>'
890
+ | '<track-group>'
891
+ | '<track-list-v0>'
892
+ | '<track-minmax>'
893
+ | '<x>'
894
+ | '<y>'
895
+ | '<declaration>'
896
+ | '<declaration-list>'
897
+ | '<url>'
898
+ | '<url-modifier>'
899
+ | '<number-zero-one>'
900
+ | '<number-one-or-greater>'
901
+ | '<positive-integer>'
902
+ | '<-non-standard-display>'
903
+ | '<ident-token>'
904
+ | '<function-token>'
905
+ | '<at-keyword-token>'
906
+ | '<hash-token>'
907
+ | '<string-token>'
908
+ | '<bad-string-token>'
909
+ | '<url-token>'
910
+ | '<bad-url-token>'
911
+ | '<delim-token>'
912
+ | '<number-token>'
913
+ | '<percentage-token>'
914
+ | '<dimension-token>'
915
+ | '<whitespace-token>'
916
+ | '<CDO-token>'
917
+ | '<CDC-token>'
918
+ | '<colon-token>'
919
+ | '<semicolon-token>'
920
+ | '<comma-token>'
921
+ | '<[-token>'
922
+ | '<]-token>'
923
+ | '<(-token>'
924
+ | '<)-token>'
925
+ | '<{-token>'
926
+ | '<}-token>'
927
+ | '<string>'
928
+ | '<ident>'
929
+ | '<custom-ident>'
930
+ | '<custom-property-name>'
931
+ | '<hex-color>'
932
+ | '<an-plus-b>'
933
+ | '<urange>'
934
+ | '<declaration-value>'
935
+ | '<any-value>'
936
+ | '<dimension>'
937
+ | '<angle>'
938
+ | '<decibel>'
939
+ | '<frequency>'
940
+ | '<flex>'
941
+ | '<length>'
942
+ | '<resolution>'
943
+ | '<semitones>'
944
+ | '<time>'
945
+ | '<percentage>'
946
+ | '<zero>'
947
+ | '<number>'
948
+ | '<integer>'
949
+ | '<-ms-legacy-expression>'
950
+ | '<bcp-47>'
951
+ )
952
+ | (
953
+ | 'Any'
954
+ | 'NoEmptyAny'
955
+ | 'OneLineAny'
956
+ | 'Zero'
957
+ | 'Number'
958
+ | 'Int'
959
+ | 'Uint'
960
+ | 'XMLName'
961
+ | 'DOMID'
962
+ | 'FunctionBody'
963
+ | 'Pattern'
964
+ | 'DateTime'
965
+ | 'TabIndex'
966
+ | 'BCP47'
967
+ | 'URL'
968
+ | 'AbsoluteURL'
969
+ | 'HashName'
970
+ | 'OneCodePointChar'
971
+ | 'CustomElementName'
972
+ | 'BrowsingContextName'
973
+ | 'BrowsingContextNameOrKeyword'
974
+ | 'HTTPSchemaURL'
975
+ | 'MIMEType'
976
+ | 'ItemProp'
977
+ | 'Srcset'
978
+ | 'SourceSizeList'
979
+ | 'IconSize'
980
+ | 'AutoComplete'
981
+ | 'Accept'
982
+ | 'SerializedPermissionsPolicy'
983
+ | '<css-declaration-list>'
984
+ | '<class-list>'
985
+ | '<svg-font-size>'
986
+ | '<svg-font-size-adjust>'
987
+ | "<'color-profile'>"
988
+ | "<'color-rendering'>"
989
+ | "<'enable-background'>"
990
+ | '<list-of-svg-feature-string>'
991
+ | '<animatable-value>'
992
+ | '<begin-value-list>'
993
+ | '<end-value-list>'
994
+ | '<list-of-value>'
995
+ | '<clock-value>'
996
+ | '<color-matrix>'
997
+ | '<dasharray>'
998
+ | '<key-points>'
999
+ | '<key-splines>'
1000
+ | '<key-times>'
1001
+ | '<system-language>'
1002
+ | '<origin>'
1003
+ | '<svg-path>'
1004
+ | '<points>'
1005
+ | '<preserve-aspect-ratio>'
1006
+ | '<view-box>'
1007
+ | '<rotate>'
1008
+ | '<text-coordinate>'
1009
+ | '<list-of-lengths>'
1010
+ | '<list-of-numbers>'
1011
+ | '<list-of-percentages>'
1012
+ | '<number-optional-number>'
1013
+ )
12
1014
  | 'Boolean'
13
- | 'Function'
14
- | 'Date'
15
- | 'Int'
16
- | 'Uint'
17
- | 'Float'
18
- | 'NonZeroUint'
19
- | 'ZeroToOne'
20
- | 'AcceptList'
21
- | 'AutoComplete'
22
- | 'BCP47'
23
- | 'Color'
24
- | 'ColSpan'
25
- | 'Coords'
26
- | 'Crossorigin'
27
- | 'DateTime'
28
- | 'Destination'
29
- | 'DOMID'
30
- | 'DOMIDList'
31
- | 'IRI'
32
- | 'ItemType'
33
- | 'LinkSizes'
34
- | 'LinkType'
35
- | 'LinkTypeList'
36
- | 'MediaQuery'
37
- | 'MediaQueryList'
38
- | 'MIMEType'
39
- | 'ReferrerPolicy'
40
- | 'RowSpan'
41
- | 'SourceSizeList'
42
- | 'SrcSet'
43
- | 'TabIndex'
44
- | 'Target'
45
- | 'URL'
46
- | 'URLHash'
47
- | 'URLList'
48
- | 'CSSAngle'
49
- | 'CSSBlendMode'
50
- | 'CSSClipPath'
51
- | 'CSSCustomIdent'
52
- | 'CSSDisplay'
53
- | 'CSSFilter'
54
- | 'CSSFontFamily'
55
- | 'CSSFontSize'
56
- | 'CSSFontVariant'
57
- | 'CSSFontWeight'
58
- | 'CSSMask'
59
- | 'CSSOpacity'
60
- | 'CSSTextDecoration'
61
- | 'CSSTransformList'
62
- | 'CSSTransformOrigin'
63
- | 'CSSURL'
64
- | 'SVGAnimatableValue'
65
- | 'SVGBeginValueList'
66
- | 'SVGClockValue'
67
- | 'SVGColorMatrix'
68
- | 'SVGDashArray'
69
- | 'SVGEndValueList'
70
- | 'SVGFilterPrimitiveReference'
71
- | 'SVGKernelMatrix'
72
- | 'SVGKeyPoints'
73
- | 'SVGKeySplines'
74
- | 'SVGKeyTimes'
75
- | 'SVGLanguageTags'
76
- | 'SVGLength'
77
- | 'SVGLengthList'
78
- | 'SVGNumberList'
79
- | 'SVGNumberOptionalNumber'
80
- | 'SVGOrigin'
81
- | 'SVGPaint'
82
- | 'SVGPathCommands'
83
- | 'SVGPercentage'
84
- | 'SVGPercentageList'
85
- | 'SVGPoints'
86
- | 'SVGPreserveAspectRatio'
87
- | 'SVGViewBox'
88
1015
  )
89
1016
  | {
90
- enum: string[];
1017
+ token:
1018
+ | (
1019
+ | 'Any'
1020
+ | 'NoEmptyAny'
1021
+ | 'OneLineAny'
1022
+ | 'Zero'
1023
+ | 'Number'
1024
+ | 'Int'
1025
+ | 'Uint'
1026
+ | 'XMLName'
1027
+ | 'DOMID'
1028
+ | 'FunctionBody'
1029
+ | 'Pattern'
1030
+ | 'DateTime'
1031
+ | 'TabIndex'
1032
+ | 'BCP47'
1033
+ | 'URL'
1034
+ | 'AbsoluteURL'
1035
+ | 'HashName'
1036
+ | 'OneCodePointChar'
1037
+ | 'CustomElementName'
1038
+ | 'BrowsingContextName'
1039
+ | 'BrowsingContextNameOrKeyword'
1040
+ | 'HTTPSchemaURL'
1041
+ | 'MIMEType'
1042
+ | 'ItemProp'
1043
+ | 'Srcset'
1044
+ | 'SourceSizeList'
1045
+ | 'IconSize'
1046
+ | 'AutoComplete'
1047
+ | 'Accept'
1048
+ | 'SerializedPermissionsPolicy'
1049
+ | '<css-declaration-list>'
1050
+ | '<class-list>'
1051
+ | '<svg-font-size>'
1052
+ | '<svg-font-size-adjust>'
1053
+ | "<'color-profile'>"
1054
+ | "<'color-rendering'>"
1055
+ | "<'enable-background'>"
1056
+ | '<list-of-svg-feature-string>'
1057
+ | '<animatable-value>'
1058
+ | '<begin-value-list>'
1059
+ | '<end-value-list>'
1060
+ | '<list-of-value>'
1061
+ | '<clock-value>'
1062
+ | '<color-matrix>'
1063
+ | '<dasharray>'
1064
+ | '<key-points>'
1065
+ | '<key-splines>'
1066
+ | '<key-times>'
1067
+ | '<system-language>'
1068
+ | '<origin>'
1069
+ | '<svg-path>'
1070
+ | '<points>'
1071
+ | '<preserve-aspect-ratio>'
1072
+ | '<view-box>'
1073
+ | '<rotate>'
1074
+ | '<text-coordinate>'
1075
+ | '<list-of-lengths>'
1076
+ | '<list-of-numbers>'
1077
+ | '<list-of-percentages>'
1078
+ | '<number-optional-number>'
1079
+ )
1080
+ | {
1081
+ enum: [string, ...string[]];
1082
+ disallowToSurroundBySpaces?: boolean;
1083
+ caseInsensitive?: boolean;
1084
+ invalidValueDefault?: string;
1085
+ missingValueDefault?: string;
1086
+ sameStates?: {
1087
+ [k: string]: unknown;
1088
+ };
1089
+ };
1090
+ disallowToSurroundBySpaces?: boolean;
1091
+ allowEmpty?: boolean;
1092
+ ordered?: boolean;
1093
+ unique?: boolean;
1094
+ caseInsensitive?: boolean;
1095
+ number?:
1096
+ | ('zeroOrMore' | 'oneOrMore')
1097
+ | {
1098
+ min: number;
1099
+ max: number;
1100
+ };
1101
+ separator: 'space' | 'comma';
1102
+ }
1103
+ | {
1104
+ enum: [string, ...string[]];
1105
+ disallowToSurroundBySpaces?: boolean;
1106
+ caseInsensitive?: boolean;
1107
+ invalidValueDefault?: string;
1108
+ missingValueDefault?: string;
1109
+ sameStates?: {
1110
+ [k: string]: unknown;
1111
+ };
1112
+ }
1113
+ | {
1114
+ type: 'float' | 'integer';
1115
+ gt?: number;
1116
+ gte?: number;
1117
+ lt?: number;
1118
+ lte?: number;
1119
+ clampable?: boolean;
91
1120
  };
92
1121
  export type AttributeCondition =
93
1122
  | {
94
- ancestor: string;
1123
+ ancestor: Selectors;
95
1124
  }
96
1125
  | {
97
- self: string | string[];
1126
+ self: Selectors;
98
1127
  };
1128
+ export type Selectors = string | [string, string, ...string[]];
99
1129
 
100
1130
  export interface AttributesSchema {
101
1131
  tag: string;
102
- attributes: (
1132
+ ref: string;
1133
+ global?: GlobalAttributes;
1134
+ attributes: Attributes;
1135
+ }
1136
+ export interface GlobalAttributes {
1137
+ '#HTMLGlobalAttrs'?: boolean;
1138
+ '#GlobalEventAttrs'?:
1139
+ | boolean
103
1140
  | (
104
- | '#globalAttrs'
105
- | '#ariaAttrs'
106
- | '#SVGAnimationAdditionAttrs'
107
- | '#SVGAnimationAttributeTargetAttrs'
108
- | '#SVGAnimationEventAttrs'
109
- | '#SVGAnimationTargetElementAttrs'
110
- | '#SVGAnimationTimingAttrs'
111
- | '#SVGAnimationValueAttrs'
112
- | '#SVGConditionalProcessingAttrs'
113
- | '#SVGCoreAttrs'
114
- | '#SVGDocumentElementEventAttrs'
115
- | '#SVGDocumentEventAttrs'
116
- | '#SVGFilterPrimitiveAttrs'
117
- | '#SVGGlobalEventAttrs'
118
- | '#SVGGraphicalEventAttrs'
119
- | '#SVGPresentationAttrs'
120
- | '#SVGTransferFunctionAttrs'
121
- | '#XLinkAttrs'
122
- )
123
- | AttributeJSON
124
- | DefineDefaultAttributeType
1141
+ | 'onabort'
1142
+ | 'onauxclick'
1143
+ | 'onbeforeinput'
1144
+ | 'onblur'
1145
+ | 'oncancel'
1146
+ | 'oncanplay'
1147
+ | 'oncanplaythrough'
1148
+ | 'onchange'
1149
+ | 'onclick'
1150
+ | 'onclose'
1151
+ | 'oncontextlost'
1152
+ | 'oncompositionstart'
1153
+ | 'oncompositionupdate'
1154
+ | 'oncompositionend'
1155
+ | 'oncontextmenu'
1156
+ | 'oncontextrestored'
1157
+ | 'oncuechange'
1158
+ | 'ondblclick'
1159
+ | 'ondrag'
1160
+ | 'ondragend'
1161
+ | 'ondragenter'
1162
+ | 'ondragleave'
1163
+ | 'ondragover'
1164
+ | 'ondragstart'
1165
+ | 'ondrop'
1166
+ | 'ondurationchange'
1167
+ | 'onemptied'
1168
+ | 'onended'
1169
+ | 'onerror'
1170
+ | 'onfocus'
1171
+ | 'onformdata'
1172
+ | 'onfocusin'
1173
+ | 'onfocusout'
1174
+ | 'oninput'
1175
+ | 'oninvalid'
1176
+ | 'onkeydown'
1177
+ | 'onkeypress'
1178
+ | 'onkeyup'
1179
+ | 'onload'
1180
+ | 'onloadeddata'
1181
+ | 'onloadedmetadata'
1182
+ | 'onloadstart'
1183
+ | 'onmousedown'
1184
+ | 'onmouseenter'
1185
+ | 'onmouseleave'
1186
+ | 'onmousemove'
1187
+ | 'onmouseout'
1188
+ | 'onmouseover'
1189
+ | 'onmouseup'
1190
+ | 'onpause'
1191
+ | 'onplay'
1192
+ | 'onplaying'
1193
+ | 'onprogress'
1194
+ | 'onratechange'
1195
+ | 'onreset'
1196
+ | 'onresize'
1197
+ | 'onscroll'
1198
+ | 'onsecuritypolicyviolation'
1199
+ | 'onseeked'
1200
+ | 'onseeking'
1201
+ | 'onselect'
1202
+ | 'onslotchange'
1203
+ | 'onstalled'
1204
+ | 'onsubmit'
1205
+ | 'onsuspend'
1206
+ | 'ontimeupdate'
1207
+ | 'ontoggle'
1208
+ | 'onvolumechange'
1209
+ | 'onwaiting'
1210
+ | 'onwebkitanimationend'
1211
+ | 'onwebkitanimationiteration'
1212
+ | 'onwebkitanimationstart'
1213
+ | 'onwebkittransitionend'
1214
+ | 'onunload'
1215
+ | 'onwheel'
1216
+ )[];
1217
+ '#DocumentElementEventAttrs'?: boolean | ('oncopy' | 'oncut' | 'onpaste')[];
1218
+ '#HTMLLinkAndFetchingAttrs'?: (
1219
+ | 'crossorigin'
1220
+ | 'download'
1221
+ | 'href'
1222
+ | 'hreflang'
1223
+ | 'integrity'
1224
+ | 'loading'
1225
+ | 'media'
1226
+ | 'ping'
1227
+ | 'referrerpolicy'
1228
+ | 'rel'
1229
+ | 'target'
1230
+ | 'type'
1231
+ )[];
1232
+ '#HTMLEmbededAndMediaContentAttrs'?: (
1233
+ | 'autoplay'
1234
+ | 'controls'
1235
+ | 'height'
1236
+ | 'loop'
1237
+ | 'muted'
1238
+ | 'preload'
1239
+ | 'sizes'
1240
+ | 'src'
1241
+ | 'srcset'
1242
+ | 'width'
1243
+ )[];
1244
+ '#HTMLFormControlElementAttrs'?: (
1245
+ | 'autocomplete'
1246
+ | 'dirname'
1247
+ | 'disabled'
1248
+ | 'form'
1249
+ | 'formaction'
1250
+ | 'formenctype'
1251
+ | 'formmethod'
1252
+ | 'formnovalidate'
1253
+ | 'formtarget'
1254
+ | 'maxlength'
1255
+ | 'minlength'
1256
+ | 'name'
1257
+ | 'readonly'
1258
+ | 'required'
1259
+ )[];
1260
+ '#HTMLTableCellElementAttrs'?: ('colspan' | 'headers' | 'rowspan')[];
1261
+ '#ARIAAttrs'?: boolean;
1262
+ '#SVGAnimationAdditionAttrs'?: ('additive' | 'accumulate')[];
1263
+ '#SVGAnimationAttributeTargetAttrs'?: ('attributeName' | 'attributeType')[];
1264
+ '#SVGAnimationEventAttrs'?: ('onbegin' | 'onend' | 'onrepeat')[];
1265
+ '#SVGAnimationTargetElementAttrs'?: ('href' | 'xlink:href')[];
1266
+ '#SVGAnimationTimingAttrs'?: (
1267
+ | 'begin'
1268
+ | 'dur'
1269
+ | 'end'
1270
+ | 'min'
1271
+ | 'max'
1272
+ | 'restart'
1273
+ | 'repeatCount'
1274
+ | 'repeatDur'
1275
+ | 'fill'
1276
+ )[];
1277
+ '#SVGAnimationValueAttrs'?: (
1278
+ | 'calcMode'
1279
+ | 'values'
1280
+ | 'keyTimes'
1281
+ | 'keySplines'
1282
+ | 'from'
1283
+ | 'to'
1284
+ | 'by'
1285
+ | 'accelerate'
1286
+ | 'decelerate'
1287
+ | 'autoReverse'
1288
+ | 'speed'
1289
+ )[];
1290
+ '#SVGConditionalProcessingAttrs'?: ('requiredExtensions' | 'systemLanguage' | 'requiredFeatures')[];
1291
+ '#SVGCoreAttrs'?: (
1292
+ | 'id'
1293
+ | 'tabindex'
1294
+ | 'autofocus'
1295
+ | 'lang'
1296
+ | 'xml:space'
1297
+ | 'class'
1298
+ | 'style'
1299
+ | 'xmlns'
1300
+ | 'xml:lang'
1301
+ | 'xml:base'
1302
+ )[];
1303
+ '#SVGFilterPrimitiveAttrs'?: ('x' | 'y' | 'width' | 'height' | 'result' | 'in')[];
1304
+ '#SVGPresentationAttrs'?: (
1305
+ | 'cx'
1306
+ | 'cy'
1307
+ | 'height'
1308
+ | 'width'
1309
+ | 'x'
1310
+ | 'y'
1311
+ | 'r'
1312
+ | 'rx'
1313
+ | 'ry'
1314
+ | 'd'
1315
+ | 'fill'
1316
+ | 'transform'
1317
+ | 'patternTransform'
1318
+ | 'gradientTransform'
1319
+ | 'alignment-baseline'
1320
+ | 'baseline-shift'
1321
+ | 'clip-path'
1322
+ | 'clip-rule'
1323
+ | 'color'
1324
+ | 'color-interpolation'
1325
+ | 'color-interpolation-filters'
1326
+ | 'cursor'
1327
+ | 'direction'
1328
+ | 'display'
1329
+ | 'dominant-baseline'
1330
+ | 'fill-opacity'
1331
+ | 'fill-rule'
1332
+ | 'filter'
1333
+ | 'flood-color'
1334
+ | 'flood-opacity'
1335
+ | 'font'
1336
+ | 'font-family'
1337
+ | 'font-size'
1338
+ | 'font-size-adjust'
1339
+ | 'font-stretch'
1340
+ | 'font-style'
1341
+ | 'font-variant'
1342
+ | 'font-weight'
1343
+ | 'glyph-orientation-horizontal'
1344
+ | 'glyph-orientation-vertical'
1345
+ | 'image-rendering'
1346
+ | 'isolation'
1347
+ | 'letter-spacing'
1348
+ | 'lighting-color'
1349
+ | 'marker'
1350
+ | 'marker-end'
1351
+ | 'marker-mid'
1352
+ | 'marker-start'
1353
+ | 'mask'
1354
+ | 'mask-type'
1355
+ | 'opacity'
1356
+ | 'overflow'
1357
+ | 'paint-order'
1358
+ | 'pointer-events'
1359
+ | 'shape-rendering'
1360
+ | 'stop-color'
1361
+ | 'stop-opacity'
1362
+ | 'stroke'
1363
+ | 'stroke-dasharray'
1364
+ | 'stroke-dashoffset'
1365
+ | 'stroke-linecap'
1366
+ | 'stroke-linejoin'
1367
+ | 'stroke-miterlimit'
1368
+ | 'stroke-opacity'
1369
+ | 'stroke-width'
1370
+ | 'text-anchor'
1371
+ | 'text-decoration'
1372
+ | 'text-overflow'
1373
+ | 'text-rendering'
1374
+ | 'transform-origin'
1375
+ | 'unicode-bidi'
1376
+ | 'vector-effect'
1377
+ | 'visibility'
1378
+ | 'white-space'
1379
+ | 'word-spacing'
1380
+ | 'writing-mode'
1381
+ | 'clip'
1382
+ | 'color-profile'
1383
+ | 'color-rendering'
1384
+ | 'enable-background'
1385
+ | 'kerning'
1386
+ )[];
1387
+ '#SVGTransferFunctionAttrs'?: (
1388
+ | 'type'
1389
+ | 'tableValues'
1390
+ | 'slope'
1391
+ | 'intercept'
1392
+ | 'amplitude'
1393
+ | 'exponent'
1394
+ | 'offset'
1395
+ )[];
1396
+ '#XLinkAttrs'?: (
1397
+ | 'xlink:href'
1398
+ | 'xlink:title'
1399
+ | 'xlink:actuate'
1400
+ | 'xlink:arcrole'
1401
+ | 'xlink:role'
1402
+ | 'xlink:show'
1403
+ | 'xlink:type'
125
1404
  )[];
126
1405
  }
1406
+ export interface Attributes {
1407
+ [k: string]: AttributeJSON;
1408
+ }
1409
+ /**
1410
+ * This interface was referenced by `Attributes`'s JSON-Schema definition
1411
+ * via the `patternProperty` ".*".
1412
+ */
127
1413
  export interface AttributeJSON {
128
- name: string;
129
- type: AttributeType | [AttributeType, ...AttributeType[]];
1414
+ _TODO_?: string;
1415
+ ref: string;
1416
+ type?: AttributeType | [AttributeType, ...AttributeType[]];
130
1417
  defaultValue?: string;
131
1418
  deprecated?: boolean;
132
1419
  required?: boolean | AttributeCondition;
133
1420
  requiredEither?: string[];
134
1421
  noUse?: boolean;
135
1422
  condition?: AttributeCondition;
136
- }
137
- export interface DefineDefaultAttributeType {
138
- name: string;
139
- defaultValue: string;
1423
+ ineffective?: Selectors;
1424
+ animatable?: boolean;
140
1425
  }