solid-js 2.0.0-beta.5 → 2.0.0-beta.7

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.
@@ -0,0 +1,4263 @@
1
+ /**
2
+ THIS FILE IS GENERATED BY `./jsx-update.mjs`.
3
+ PLEASE UPDATE `jsx-h.d.ts` INSTEAD AND RUN `pnpm jsx-sync-types`.
4
+ */
5
+
6
+ import * as csstype from "csstype";
7
+ import type { PropKey, WidenPropValue } from "./jsx-properties.cjs";
8
+
9
+ /**
10
+ * Originally based on JSX types for Surplus and Inferno and adapted for `dom-expressions`.
11
+ *
12
+ * - https://github.com/adamhaile/surplus/blob/master/index.d.ts
13
+ * - https://github.com/infernojs/inferno/blob/master/packages/inferno/src/core/types.ts
14
+ *
15
+ * MathML typings coming mostly from Preact
16
+ *
17
+ * - https://github.com/preactjs/preact/blob/07dc9f324e58569ce66634aa03fe8949b4190358/src/jsx.d.ts#L2575
18
+ *
19
+ * Checked against other frameworks via the following table:
20
+ *
21
+ * - https://potahtml.github.io/namespace-jsx-project/index.html
22
+ *
23
+ * # Typings on elements
24
+ *
25
+ * ## Attributes
26
+ *
27
+ * - Typings include attributes and not properties (unless the property Is special-cased, such
28
+ * textContent, event handlers, etc).
29
+ * - Attributes are lowercase to avoid confusion with properties.
30
+ * - Attributes are used "as is" and won't be transformed in any way (such to `lowercase` or from
31
+ * `dashed-case` to `camelCase`).
32
+ *
33
+ * ## Event Handlers
34
+ *
35
+ * - Event handlers use `camelCase` such `onClick` and will be delegated when possible, bubbling
36
+ * through the component tree, not the dom tree.
37
+ * - Native event handlers use the namespace `on:` such `on:click`, and wont be delegated. bubbling
38
+ * the dom tree.
39
+ * - A global case-insensitive event handler can be added by extending `EventHandlersElement<T>`
40
+ * - A native `on:` event handler can be added by extending `CustomEvents<T>` interface
41
+ *
42
+ * ## Boolean Attributes (property setter that accepts `true | false`):
43
+ *
44
+ * - `(bool)true` adds the attribute `<video autoplay={true}/>` or in JSX as `<video autoplay/>`
45
+ * - `(bool)false` removes the attribute from the DOM `<video autoplay={false}/>`
46
+ * - `=""` may be accepted for the sake of parity with html `<video autoplay=""/>`
47
+ * - `"true" | "false"` are NOT allowed, these are strings that evaluate to `(bool)true`
48
+ *
49
+ * ## Enumerated Attributes (attribute accepts 1 string value out of many)
50
+ *
51
+ * - Accepts any of the enumerated values, such: `"perhaps" | "maybe"`
52
+ * - When one of the possible values is empty(in html that's for the attribute to be present), then it
53
+ * will also accept `(bool)true` to make it consistent with boolean attributes.
54
+ *
55
+ * Such `popover` attribute provides `"" | "manual" | "auto" | "hint"`.
56
+ *
57
+ * By NOT allowing `(bool)true` we will have to write `<div popover="" />`. Therefore, To make it
58
+ * consistent with Boolean Attributes we accept `true | "" | "manual" | "auto" | "hint"`, such as:
59
+ * `<div popover={true} />` or in JSX `<div popover />` is allowed and equivalent to `<div
60
+ * popover="" />`
61
+ *
62
+ * ## Pseudo-Boolean Attributes (enumerated attributes that happen to accept the strings `"true" | "false"`)
63
+ *
64
+ * - Such `<div draggable="true"/>` or `<div draggable="false"/>`. The value of the attribute is a
65
+ * string not a boolean.
66
+ * - `<div draggable={true}/>` is not valid because `(bool)true` is NOT transformed to the string
67
+ * `"true"`. Likewise `<div draggable={false}/>` removes the attribute from the element.
68
+ * - MDN documentation https://developer.mozilla.org/en-US/docs/Web/HTML/Global_attributes/draggable
69
+ *
70
+ * ## All Of The Above In a nutshell
71
+ *
72
+ * - `(bool)true` adds an empty attribute
73
+ * - `(bool)false` removes the attribute
74
+ * - Attributes are lowercase
75
+ * - Event handlers are camelCase
76
+ * - Anything else is a `string` and used "as is"
77
+ * - Additionally, an attribute may be removed by `undefined`
78
+ *
79
+ * ## Using Properties
80
+ *
81
+ * - The namespace `prop:` could be used to directly set properties in native elements and
82
+ * custom-elements. `<custom-element prop:myProp={true}/>` equivalent to `el.myProp = true`
83
+ *
84
+ * ## Interfaces
85
+ *
86
+ * Events
87
+ *
88
+ * 1. An event handler goes in `EventHandlersElement` when:
89
+ *
90
+ * - `event` is global, that's to be defined in `HTMLElement` AND `SVGElement` AND `MathMLElement`
91
+ * - `event` is defined in `Element` (as `HTMLElement/MathMLElement/SVGElement` -> `Element`)
92
+ * 2. `<body>`, `<svg>`, `<framesete>` are special as these include `window` events
93
+ * 3. Any other event is special for its own tag.
94
+ *
95
+ * Browser Hierarchy
96
+ *
97
+ * - $Element (ex HTMLDivElement <div>) -> ... -> HTMLElement -> Element -> Node
98
+ * - $Element (all math elements are MathMLElement) MathMLElement -> Element -> Node
99
+ * - $Element`(ex SVGMaskElement <mask>) -> ... -> SVGElement -> Element -> Node
100
+ *
101
+ * Attributes
102
+ *
103
+ * <div> -> ... -> HTMLAttributes -> ElementAttributes
104
+ * <svg> -> ... -> SVGAttributes -> ElementAttributes
105
+ * <math> -> ... -> MathMLAttributes -> ElementAttributes
106
+ *
107
+ * ElementAttributes = `Element` + `Node` attributes (aka global attributes)
108
+ *
109
+ * HTMLAttributes = `HTMLElement` attributes (aka HTML global attributes)
110
+ * SVGAttributes = `SVGElement` attributes (aka SVG global attributes)
111
+ * MathMLAttributes = `MathMLElement` attributes (aka MATH global attributes)
112
+ *
113
+ * CustomAttributes = Framework attributes
114
+ */
115
+
116
+ type DOMElement = Element;
117
+
118
+ /**
119
+ * Fallback declarations for event types that are not yet defined in older TypeScript
120
+ * `lib.dom.d.ts` versions. When the user's TS lib defines these, declaration merging
121
+ * yields the full specialized type; otherwise these serve as a bare `Event` fallback.
122
+ */
123
+ declare global {
124
+ interface CommandEvent extends Event {}
125
+ interface PageRevealEvent extends Event {}
126
+ interface PageSwapEvent extends Event {}
127
+ interface SnapEvent extends Event {}
128
+ interface TimeEvent extends Event {}
129
+ }
130
+
131
+ export namespace JSX {
132
+ // START - difference between `jsx.d.ts` and `jsx-h.d.ts`
133
+ type FunctionMaybe<T = unknown> = { (): T } | T;
134
+ interface FunctionElement {
135
+ (): Element;
136
+ }
137
+
138
+ type Element = Node | ArrayElement | (string & {}) | number | boolean | null | undefined;
139
+ // END - difference between `jsx.d.ts` and `jsx-h.d.ts`
140
+
141
+ interface ArrayElement extends Array<Element> {}
142
+
143
+ interface ElementClass {
144
+ // empty, libs can define requirements downstream
145
+ }
146
+ interface ElementAttributesProperty {
147
+ // empty, libs can define requirements downstream
148
+ }
149
+ interface ElementChildrenAttribute {
150
+ children: {};
151
+ }
152
+
153
+ // Event handlers
154
+
155
+ interface EventHandler<T, E extends Event> {
156
+ (
157
+ e: E & {
158
+ currentTarget: T;
159
+ target: DOMElement;
160
+ }
161
+ ): void;
162
+ }
163
+
164
+ interface BoundEventHandler<
165
+ T,
166
+ E extends Event,
167
+ EHandler extends EventHandler<T, any> = EventHandler<T, E>
168
+ > {
169
+ 0: (data: any, ...e: Parameters<EHandler>) => void;
170
+ 1: any;
171
+ }
172
+ type EventHandlerUnion<
173
+ T,
174
+ E extends Event,
175
+ EHandler extends EventHandler<T, any> = EventHandler<T, E>
176
+ > = EHandler | BoundEventHandler<T, E, EHandler>;
177
+
178
+ interface EventHandlerWithOptions<T, E extends Event, EHandler = EventHandler<T, E>>
179
+ extends AddEventListenerOptions,
180
+ EventListenerOptions {
181
+ handleEvent: EHandler;
182
+ }
183
+
184
+ type EventHandlerWithOptionsUnion<
185
+ T,
186
+ E extends Event,
187
+ EHandler extends EventHandler<T, any> = EventHandler<T, E>
188
+ > = EHandler | EventHandlerWithOptions<T, E, EHandler>;
189
+
190
+ interface InputEventHandler<T, E extends InputEvent> {
191
+ (
192
+ e: E & {
193
+ currentTarget: T;
194
+ target: T extends HTMLInputElement | HTMLSelectElement | HTMLTextAreaElement
195
+ ? T
196
+ : DOMElement;
197
+ }
198
+ ): void;
199
+ }
200
+ type InputEventHandlerUnion<T, E extends InputEvent> = EventHandlerUnion<
201
+ T,
202
+ E,
203
+ InputEventHandler<T, E>
204
+ >;
205
+
206
+ interface ChangeEventHandler<T, E extends Event> {
207
+ (
208
+ e: E & {
209
+ currentTarget: T;
210
+ target: T extends HTMLInputElement | HTMLSelectElement | HTMLTextAreaElement
211
+ ? T
212
+ : DOMElement;
213
+ }
214
+ ): void;
215
+ }
216
+ type ChangeEventHandlerUnion<T, E extends Event> = EventHandlerUnion<
217
+ T,
218
+ E,
219
+ ChangeEventHandler<T, E>
220
+ >;
221
+
222
+ interface FocusEventHandler<T, E extends FocusEvent> {
223
+ (
224
+ e: E & {
225
+ currentTarget: T;
226
+ target: T extends HTMLInputElement | HTMLSelectElement | HTMLTextAreaElement
227
+ ? T
228
+ : DOMElement;
229
+ }
230
+ ): void;
231
+ }
232
+ type FocusEventHandlerUnion<T, E extends FocusEvent> = EventHandlerUnion<
233
+ T,
234
+ E,
235
+ FocusEventHandler<T, E>
236
+ >;
237
+ // end event handlers
238
+
239
+ type ClassList =
240
+ | Record<string, boolean>
241
+ | Array<string | number | boolean | null | undefined | Record<string, boolean>>;
242
+
243
+ const SERIALIZABLE: unique symbol;
244
+ interface SerializableAttributeValue {
245
+ toString(): string;
246
+ [SERIALIZABLE]: never;
247
+ }
248
+
249
+ type RefCallback<T> = (el: T) => void;
250
+ type Ref<T> = T | RefCallback<T> | (RefCallback<T> | Ref<T>)[];
251
+
252
+ interface IntrinsicAttributes {
253
+ ref?: Ref<unknown> | undefined;
254
+ }
255
+ interface CustomAttributes<T> {
256
+ ref?: Ref<T> | undefined;
257
+ children?: Element | undefined;
258
+ $ServerOnly?: boolean | undefined;
259
+ }
260
+ interface ExplicitProperties {}
261
+ interface CustomEvents {}
262
+ type PropAttributes = {
263
+ [Key in keyof ExplicitProperties as `prop:${Key}`]?: ExplicitProperties[Key];
264
+ };
265
+ type OnAttributes<T> = {
266
+ [Key in keyof CustomEvents as `on:${Key}`]?: EventHandlerWithOptionsUnion<T, CustomEvents[Key]>;
267
+ };
268
+
269
+ /**
270
+ * Writable, element-specific DOM properties exposed as `prop:*` attributes, auto-derived
271
+ * from the element interface `T`. See `./jsx-properties.d.ts` for the filtering rules.
272
+ * Existing element interfaces can locally disable an auto-derived key with
273
+ * `"prop:foo"?: never;` to redirect users to a plain attribute form.
274
+ */
275
+ type Properties<T> = {
276
+ [K in keyof T as PropKey<T, K>]?: WidenPropValue<T[K]>;
277
+ };
278
+
279
+ // CSS
280
+
281
+ interface CSSProperties extends csstype.PropertiesHyphen {
282
+ // Override
283
+ [key: `-${string}`]: string | number | undefined;
284
+ }
285
+
286
+ // TODO: Should we allow this?
287
+ // type ClassKeys = `class:${string}`;
288
+ // type CSSKeys = Exclude<keyof csstype.PropertiesHyphen, `-${string}`>;
289
+
290
+ // type CSSAttributes = {
291
+ // [key in CSSKeys as `style:${key}`]: csstype.PropertiesHyphen[key];
292
+ // };
293
+
294
+ // BOOLEAN
295
+
296
+ /**
297
+ * Boolean and Pseudo-Boolean Attributes Helpers.
298
+ *
299
+ * Please use the helpers to describe boolean and pseudo boolean attributes to make this file and
300
+ * also the typings easier to understand and explain.
301
+ */
302
+
303
+ type BooleanAttribute = true | false | "";
304
+
305
+ type BooleanProperty = true | false;
306
+
307
+ type EnumeratedPseudoBoolean = "false" | "true";
308
+
309
+ type EnumeratedAcceptsEmpty = "" | true;
310
+
311
+ type RemoveAttribute = undefined | false;
312
+
313
+ type RemoveProperty = undefined;
314
+
315
+ // ARIA
316
+
317
+ // All the WAI-ARIA 1.1 attributes from https://www.w3.org/TR/wai-aria-1.1/
318
+ interface AriaAttributes {
319
+ /**
320
+ * Identifies the currently active element when DOM focus is on a composite widget, textbox,
321
+ * group, or application.
322
+ */
323
+ "aria-activedescendant"?: string | RemoveAttribute;
324
+ /**
325
+ * Indicates whether assistive technologies will present all, or only parts of, the changed
326
+ * region based on the change notifications defined by the aria-relevant attribute.
327
+ */
328
+ "aria-atomic"?: EnumeratedPseudoBoolean | RemoveAttribute;
329
+ /**
330
+ * Similar to the global aria-label. Defines a string value that labels the current element,
331
+ * which is intended to be converted into Braille.
332
+ *
333
+ * @see aria-label.
334
+ */
335
+ "aria-braillelabel"?: string | RemoveAttribute;
336
+ /**
337
+ * Defines a human-readable, author-localized abbreviated description for the role of an element
338
+ * intended to be converted into Braille. Braille is not a one-to-one transliteration of letters
339
+ * and numbers, but rather it includes various abbreviations, contractions, and characters that
340
+ * represent words (known as logograms).
341
+ *
342
+ * Instead of converting long role descriptions to Braille, the aria-brailleroledescription
343
+ * attribute allows for providing an abbreviated version of the aria-roledescription value,
344
+ * which is a human-readable, author-localized description for the role of an element, for
345
+ * improved user experience with braille interfaces.
346
+ *
347
+ * @see aria-roledescription.
348
+ */
349
+ "aria-brailleroledescription"?: string | RemoveAttribute;
350
+ /**
351
+ * Indicates whether inputting text could trigger display of one or more predictions of the
352
+ * user's intended value for an input and specifies how predictions would be presented if they
353
+ * are made.
354
+ */
355
+ "aria-autocomplete"?: "none" | "inline" | "list" | "both" | RemoveAttribute;
356
+ /**
357
+ * Indicates an element is being modified and that assistive technologies MAY want to wait until
358
+ * the modifications are complete before exposing them to the user.
359
+ */
360
+ "aria-busy"?: EnumeratedPseudoBoolean | RemoveAttribute;
361
+ /**
362
+ * Indicates the current "checked" state of checkboxes, radio buttons, and other widgets.
363
+ *
364
+ * @see aria-pressed @see aria-selected.
365
+ */
366
+ "aria-checked"?: EnumeratedPseudoBoolean | "mixed" | RemoveAttribute;
367
+ /**
368
+ * Defines the total number of columns in a table, grid, or treegrid.
369
+ *
370
+ * @see aria-colindex.
371
+ */
372
+ "aria-colcount"?: number | string | RemoveAttribute;
373
+ /**
374
+ * Defines an element's column index or position with respect to the total number of columns
375
+ * within a table, grid, or treegrid.
376
+ *
377
+ * @see aria-colcount @see aria-colspan.
378
+ */
379
+ "aria-colindex"?: number | string | RemoveAttribute;
380
+ /** Defines a human-readable text alternative of the numeric aria-colindex. */
381
+ "aria-colindextext"?: number | string | RemoveAttribute;
382
+ /**
383
+ * Defines the number of columns spanned by a cell or gridcell within a table, grid, or
384
+ * treegrid.
385
+ *
386
+ * @see aria-colindex @see aria-rowspan.
387
+ */
388
+ "aria-colspan"?: number | string | RemoveAttribute;
389
+ /**
390
+ * Identifies the element (or elements) whose contents or presence are controlled by the current
391
+ * element.
392
+ *
393
+ * @see aria-owns.
394
+ */
395
+ "aria-controls"?: string | RemoveAttribute;
396
+ /**
397
+ * Indicates the element that represents the current item within a container or set of related
398
+ * elements.
399
+ */
400
+ "aria-current"?:
401
+ | EnumeratedPseudoBoolean
402
+ | "page"
403
+ | "step"
404
+ | "location"
405
+ | "date"
406
+ | "time"
407
+ | RemoveAttribute;
408
+ /**
409
+ * Identifies the element (or elements) that describes the object.
410
+ *
411
+ * @see aria-labelledby
412
+ */
413
+ "aria-describedby"?: string | RemoveAttribute;
414
+ /**
415
+ * Defines a string value that describes or annotates the current element.
416
+ *
417
+ * @see aria-describedby
418
+ */
419
+ "aria-description"?: string | RemoveAttribute;
420
+ /**
421
+ * Identifies the element that provides a detailed, extended description for the object.
422
+ *
423
+ * @see aria-describedby.
424
+ */
425
+ "aria-details"?: string | RemoveAttribute;
426
+ /**
427
+ * Indicates that the element is perceivable but disabled, so it is not editable or otherwise
428
+ * operable.
429
+ *
430
+ * @see aria-hidden @see aria-readonly.
431
+ */
432
+ "aria-disabled"?: EnumeratedPseudoBoolean | RemoveAttribute;
433
+ /**
434
+ * Indicates what functions can be performed when a dragged object is released on the drop
435
+ * target.
436
+ *
437
+ * @deprecated In ARIA 1.1
438
+ */
439
+ "aria-dropeffect"?: "none" | "copy" | "execute" | "link" | "move" | "popup" | RemoveAttribute;
440
+ /**
441
+ * Identifies the element that provides an error message for the object.
442
+ *
443
+ * @see aria-invalid @see aria-describedby.
444
+ */
445
+ "aria-errormessage"?: string | RemoveAttribute;
446
+ /**
447
+ * Indicates whether the element, or another grouping element it controls, is currently expanded
448
+ * or collapsed.
449
+ */
450
+ "aria-expanded"?: EnumeratedPseudoBoolean | RemoveAttribute;
451
+ /**
452
+ * Identifies the next element (or elements) in an alternate reading order of content which, at
453
+ * the user's discretion, allows assistive technology to override the general default of reading
454
+ * in document source order.
455
+ */
456
+ "aria-flowto"?: string | RemoveAttribute;
457
+ /**
458
+ * Indicates an element's "grabbed" state in a drag-and-drop operation.
459
+ *
460
+ * @deprecated In ARIA 1.1
461
+ */
462
+ "aria-grabbed"?: EnumeratedPseudoBoolean | RemoveAttribute;
463
+ /**
464
+ * Indicates the availability and type of interactive popup element, such as menu or dialog,
465
+ * that can be triggered by an element.
466
+ */
467
+ "aria-haspopup"?:
468
+ | EnumeratedPseudoBoolean
469
+ | "menu"
470
+ | "listbox"
471
+ | "tree"
472
+ | "grid"
473
+ | "dialog"
474
+ | RemoveAttribute;
475
+ /**
476
+ * Indicates whether the element is exposed to an accessibility API.
477
+ *
478
+ * @see aria-disabled.
479
+ */
480
+ "aria-hidden"?: EnumeratedPseudoBoolean | RemoveAttribute;
481
+ /**
482
+ * Indicates the entered value does not conform to the format expected by the application.
483
+ *
484
+ * @see aria-errormessage.
485
+ */
486
+ "aria-invalid"?: EnumeratedPseudoBoolean | "grammar" | "spelling" | RemoveAttribute;
487
+ /**
488
+ * Indicates keyboard shortcuts that an author has implemented to activate or give focus to an
489
+ * element.
490
+ */
491
+ "aria-keyshortcuts"?: string | RemoveAttribute;
492
+ /**
493
+ * Defines a string value that labels the current element.
494
+ *
495
+ * @see aria-labelledby.
496
+ */
497
+ "aria-label"?: string | RemoveAttribute;
498
+ /**
499
+ * Identifies the element (or elements) that labels the current element.
500
+ *
501
+ * @see aria-describedby.
502
+ */
503
+ "aria-labelledby"?: string | RemoveAttribute;
504
+ /** Defines the hierarchical level of an element within a structure. */
505
+ "aria-level"?: number | string | RemoveAttribute;
506
+ /**
507
+ * Indicates that an element will be updated, and describes the types of updates the user
508
+ * agents, assistive technologies, and user can expect from the live region.
509
+ */
510
+ "aria-live"?: "off" | "assertive" | "polite" | RemoveAttribute;
511
+ /** Indicates whether an element is modal when displayed. */
512
+ "aria-modal"?: EnumeratedPseudoBoolean | RemoveAttribute;
513
+ /** Indicates whether a text box accepts multiple lines of input or only a single line. */
514
+ "aria-multiline"?: EnumeratedPseudoBoolean | RemoveAttribute;
515
+ /**
516
+ * Indicates that the user may select more than one item from the current selectable
517
+ * descendants.
518
+ */
519
+ "aria-multiselectable"?: EnumeratedPseudoBoolean | RemoveAttribute;
520
+ /** Indicates whether the element's orientation is horizontal, vertical, or unknown/ambiguous. */
521
+ "aria-orientation"?: "horizontal" | "vertical" | RemoveAttribute;
522
+ /**
523
+ * Identifies an element (or elements) in order to define a visual, functional, or contextual
524
+ * parent/child relationship between DOM elements where the DOM hierarchy cannot be used to
525
+ * represent the relationship.
526
+ *
527
+ * @see aria-controls.
528
+ */
529
+ "aria-owns"?: string | RemoveAttribute;
530
+ /**
531
+ * Defines a short hint (a word or short phrase) intended to aid the user with data entry when
532
+ * the control has no value. A hint could be a sample value or a brief description of the
533
+ * expected format.
534
+ */
535
+ "aria-placeholder"?: string | RemoveAttribute;
536
+ /**
537
+ * Defines an element's number or position in the current set of listitems or treeitems. Not
538
+ * required if all elements in the set are present in the DOM.
539
+ *
540
+ * @see aria-setsize.
541
+ */
542
+ "aria-posinset"?: number | string | RemoveAttribute;
543
+ /**
544
+ * Indicates the current "pressed" state of toggle buttons.
545
+ *
546
+ * @see aria-checked @see aria-selected.
547
+ */
548
+ "aria-pressed"?: EnumeratedPseudoBoolean | "mixed" | RemoveAttribute;
549
+ /**
550
+ * Indicates that the element is not editable, but is otherwise operable.
551
+ *
552
+ * @see aria-disabled.
553
+ */
554
+ "aria-readonly"?: EnumeratedPseudoBoolean | RemoveAttribute;
555
+ /**
556
+ * Indicates what notifications the user agent will trigger when the accessibility tree within a
557
+ * live region is modified.
558
+ *
559
+ * @see aria-atomic.
560
+ */
561
+ "aria-relevant"?:
562
+ | "additions"
563
+ | "additions removals"
564
+ | "additions text"
565
+ | "all"
566
+ | "removals"
567
+ | "removals additions"
568
+ | "removals text"
569
+ | "text"
570
+ | "text additions"
571
+ | "text removals"
572
+ | RemoveAttribute;
573
+ /** Indicates that user input is required on the element before a form may be submitted. */
574
+ "aria-required"?: EnumeratedPseudoBoolean | RemoveAttribute;
575
+ /** Defines a human-readable, author-localized description for the role of an element. */
576
+ "aria-roledescription"?: string | RemoveAttribute;
577
+ /**
578
+ * Defines the total number of rows in a table, grid, or treegrid.
579
+ *
580
+ * @see aria-rowindex.
581
+ */
582
+ "aria-rowcount"?: number | string | RemoveAttribute;
583
+ /**
584
+ * Defines an element's row index or position with respect to the total number of rows within a
585
+ * table, grid, or treegrid.
586
+ *
587
+ * @see aria-rowcount @see aria-rowspan.
588
+ */
589
+ "aria-rowindex"?: number | string | RemoveAttribute;
590
+ /** Defines a human-readable text alternative of aria-rowindex. */
591
+ "aria-rowindextext"?: number | string | RemoveAttribute;
592
+
593
+ /**
594
+ * Defines the number of rows spanned by a cell or gridcell within a table, grid, or treegrid.
595
+ *
596
+ * @see aria-rowindex @see aria-colspan.
597
+ */
598
+ "aria-rowspan"?: number | string | RemoveAttribute;
599
+ /**
600
+ * Indicates the current "selected" state of various widgets.
601
+ *
602
+ * @see aria-checked @see aria-pressed.
603
+ */
604
+ "aria-selected"?: EnumeratedPseudoBoolean | RemoveAttribute;
605
+ /**
606
+ * Defines the number of items in the current set of listitems or treeitems. Not required if all
607
+ * elements in the set are present in the DOM.
608
+ *
609
+ * @see aria-posinset.
610
+ */
611
+ "aria-setsize"?: number | string | RemoveAttribute;
612
+ /** Indicates if items in a table or grid are sorted in ascending or descending order. */
613
+ "aria-sort"?: "none" | "ascending" | "descending" | "other" | RemoveAttribute;
614
+ /** Defines the maximum allowed value for a range widget. */
615
+ "aria-valuemax"?: number | string | RemoveAttribute;
616
+ /** Defines the minimum allowed value for a range widget. */
617
+ "aria-valuemin"?: number | string | RemoveAttribute;
618
+ /**
619
+ * Defines the current value for a range widget.
620
+ *
621
+ * @see aria-valuetext.
622
+ */
623
+ "aria-valuenow"?: number | string | RemoveAttribute;
624
+ /** Defines the human readable text alternative of aria-valuenow for a range widget. */
625
+ "aria-valuetext"?: string | RemoveAttribute;
626
+ role?:
627
+ | "alert"
628
+ | "alertdialog"
629
+ | "application"
630
+ | "article"
631
+ | "banner"
632
+ | "button"
633
+ | "cell"
634
+ | "checkbox"
635
+ | "columnheader"
636
+ | "combobox"
637
+ | "complementary"
638
+ | "contentinfo"
639
+ | "definition"
640
+ | "dialog"
641
+ | "directory"
642
+ | "document"
643
+ | "feed"
644
+ | "figure"
645
+ | "form"
646
+ | "grid"
647
+ | "gridcell"
648
+ | "group"
649
+ | "heading"
650
+ | "img"
651
+ | "link"
652
+ | "list"
653
+ | "listbox"
654
+ | "listitem"
655
+ | "log"
656
+ | "main"
657
+ | "marquee"
658
+ | "math"
659
+ | "menu"
660
+ | "menubar"
661
+ | "menuitem"
662
+ | "menuitemcheckbox"
663
+ | "menuitemradio"
664
+ | "meter"
665
+ | "navigation"
666
+ | "none"
667
+ | "note"
668
+ | "option"
669
+ | "presentation"
670
+ | "progressbar"
671
+ | "radio"
672
+ | "radiogroup"
673
+ | "region"
674
+ | "row"
675
+ | "rowgroup"
676
+ | "rowheader"
677
+ | "scrollbar"
678
+ | "search"
679
+ | "searchbox"
680
+ | "separator"
681
+ | "slider"
682
+ | "spinbutton"
683
+ | "status"
684
+ | "switch"
685
+ | "tab"
686
+ | "table"
687
+ | "tablist"
688
+ | "tabpanel"
689
+ | "term"
690
+ | "textbox"
691
+ | "timer"
692
+ | "toolbar"
693
+ | "tooltip"
694
+ | "tree"
695
+ | "treegrid"
696
+ | "treeitem"
697
+ | RemoveAttribute;
698
+ }
699
+
700
+ // EVENTS
701
+
702
+ /**
703
+ * `Window` events, defined for `<body>`, `<svg>`, `<frameset>` tags.
704
+ *
705
+ * Excluding `EventHandlersElement` events already defined as globals that all tags share, such as
706
+ * `onblur`.
707
+ */
708
+ interface EventHandlersWindow<T> {
709
+ onAfterPrint?: EventHandlerUnion<T, Event> | undefined;
710
+ onBeforePrint?: EventHandlerUnion<T, Event> | undefined;
711
+ onBeforeUnload?: EventHandlerUnion<T, BeforeUnloadEvent> | undefined;
712
+ onDeviceMotion?: EventHandlerUnion<T, DeviceMotionEvent> | undefined;
713
+ onDeviceOrientation?: EventHandlerUnion<T, DeviceOrientationEvent> | undefined;
714
+ onDeviceOrientationAbsolute?: EventHandlerUnion<T, DeviceOrientationEvent> | undefined;
715
+ onGamepadConnected?: EventHandlerUnion<T, GamepadEvent> | undefined;
716
+ onGamepadDisconnected?: EventHandlerUnion<T, GamepadEvent> | undefined;
717
+ onHashchange?: EventHandlerUnion<T, HashChangeEvent> | undefined;
718
+ onLanguageChange?: EventHandlerUnion<T, Event> | undefined;
719
+ onMessage?: EventHandlerUnion<T, MessageEvent> | undefined;
720
+ onMessageError?: EventHandlerUnion<T, MessageEvent> | undefined;
721
+ onOffline?: EventHandlerUnion<T, Event> | undefined;
722
+ onOnline?: EventHandlerUnion<T, Event> | undefined;
723
+ /** @deprecated Use `screen.orientation` (`ScreenOrientation.change`) instead. */
724
+ onOrientationChange?: EventHandlerUnion<T, Event> | undefined;
725
+ onPageHide?: EventHandlerUnion<T, PageTransitionEvent> | undefined;
726
+ onPageReveal?: EventHandlerUnion<T, PageRevealEvent> | undefined;
727
+ onPageShow?: EventHandlerUnion<T, PageTransitionEvent> | undefined;
728
+ onPageSwap?: EventHandlerUnion<T, PageSwapEvent> | undefined;
729
+ onPopstate?: EventHandlerUnion<T, PopStateEvent> | undefined;
730
+ onRejectionHandled?: EventHandlerUnion<T, PromiseRejectionEvent> | undefined;
731
+ onStorage?: EventHandlerUnion<T, StorageEvent> | undefined;
732
+ onUnhandledRejection?: EventHandlerUnion<T, PromiseRejectionEvent> | undefined;
733
+ onUnload?: EventHandlerUnion<T, Event> | undefined;
734
+
735
+ "on:afterprint"?: EventHandlerWithOptionsUnion<T, Event> | undefined;
736
+ "on:beforeprint"?: EventHandlerWithOptionsUnion<T, Event> | undefined;
737
+ "on:beforeunload"?: EventHandlerWithOptionsUnion<T, BeforeUnloadEvent> | undefined;
738
+ "on:devicemotion"?: EventHandlerWithOptionsUnion<T, DeviceMotionEvent> | undefined;
739
+ "on:deviceorientation"?: EventHandlerWithOptionsUnion<T, DeviceOrientationEvent> | undefined;
740
+ "on:deviceorientationabsolute"?:
741
+ | EventHandlerWithOptionsUnion<T, DeviceOrientationEvent>
742
+ | undefined;
743
+ "on:gamepadconnected"?: EventHandlerWithOptionsUnion<T, GamepadEvent> | undefined;
744
+ "on:gamepaddisconnected"?: EventHandlerWithOptionsUnion<T, GamepadEvent> | undefined;
745
+ "on:hashchange"?: EventHandlerWithOptionsUnion<T, HashChangeEvent> | undefined;
746
+ "on:languagechange"?: EventHandlerWithOptionsUnion<T, Event> | undefined;
747
+ "on:message"?: EventHandlerWithOptionsUnion<T, MessageEvent> | undefined;
748
+ "on:messageerror"?: EventHandlerWithOptionsUnion<T, MessageEvent> | undefined;
749
+ "on:offline"?: EventHandlerWithOptionsUnion<T, Event> | undefined;
750
+ "on:online"?: EventHandlerWithOptionsUnion<T, Event> | undefined;
751
+ /** @deprecated Use `screen.orientation` (`ScreenOrientation.change`) instead. */
752
+ "on:orientationchange"?: EventHandlerWithOptionsUnion<T, Event> | undefined;
753
+ "on:pagehide"?: EventHandlerWithOptionsUnion<T, PageTransitionEvent> | undefined;
754
+ "on:pagereveal"?: EventHandlerWithOptionsUnion<T, PageRevealEvent> | undefined;
755
+ "on:pageshow"?: EventHandlerWithOptionsUnion<T, PageTransitionEvent> | undefined;
756
+ "on:pageswap"?: EventHandlerWithOptionsUnion<T, PageSwapEvent> | undefined;
757
+ "on:popstate"?: EventHandlerWithOptionsUnion<T, PopStateEvent> | undefined;
758
+ "on:rejectionhandled"?: EventHandlerWithOptionsUnion<T, PromiseRejectionEvent> | undefined;
759
+ "on:storage"?: EventHandlerWithOptionsUnion<T, StorageEvent> | undefined;
760
+ "on:unhandledrejection"?: EventHandlerWithOptionsUnion<T, PromiseRejectionEvent> | undefined;
761
+ "on:unload"?: EventHandlerWithOptionsUnion<T, Event> | undefined;
762
+ }
763
+
764
+ /**
765
+ * Global `EventHandlersElement`, defined for all tags.
766
+ *
767
+ * That's events defined and shared BY ALL of the `HTMLElement/SVGElement/MathMLElement`
768
+ * interfaces.
769
+ *
770
+ * Includes events defined for the `Element` interface.
771
+ */
772
+ interface EventHandlersElement<T> {
773
+ onAbort?: EventHandlerUnion<T, UIEvent> | undefined;
774
+ onAnimationCancel?: EventHandlerUnion<T, AnimationEvent> | undefined;
775
+ onAnimationEnd?: EventHandlerUnion<T, AnimationEvent> | undefined;
776
+ onAnimationIteration?: EventHandlerUnion<T, AnimationEvent> | undefined;
777
+ onAnimationStart?: EventHandlerUnion<T, AnimationEvent> | undefined;
778
+ onAuxClick?: EventHandlerUnion<T, PointerEvent> | undefined;
779
+ onBeforeCopy?: EventHandlerUnion<T, ClipboardEvent> | undefined;
780
+ onBeforeCut?: EventHandlerUnion<T, ClipboardEvent> | undefined;
781
+ onBeforeInput?: InputEventHandlerUnion<T, InputEvent> | undefined;
782
+ onBeforeMatch?: EventHandlerUnion<T, Event> | undefined;
783
+ onBeforePaste?: EventHandlerUnion<T, ClipboardEvent> | undefined;
784
+ onBeforeToggle?: EventHandlerUnion<T, ToggleEvent> | undefined;
785
+ onBeforeXRSelect?: EventHandlerUnion<T, Event> | undefined;
786
+ onBlur?: FocusEventHandlerUnion<T, FocusEvent> | undefined;
787
+ onCancel?: EventHandlerUnion<T, Event> | undefined;
788
+ onCanPlay?: EventHandlerUnion<T, Event> | undefined;
789
+ onCanPlayThrough?: EventHandlerUnion<T, Event> | undefined;
790
+ onChange?: ChangeEventHandlerUnion<T, Event> | undefined;
791
+ onClick?: EventHandlerUnion<T, MouseEvent> | undefined;
792
+ onClose?: EventHandlerUnion<T, Event> | undefined;
793
+ onCommand?: EventHandlerUnion<T, CommandEvent> | undefined;
794
+ onCompositionEnd?: EventHandlerUnion<T, CompositionEvent> | undefined;
795
+ onCompositionStart?: EventHandlerUnion<T, CompositionEvent> | undefined;
796
+ onCompositionUpdate?: EventHandlerUnion<T, CompositionEvent> | undefined;
797
+ onContentVisibilityAutoStateChange?:
798
+ | EventHandlerUnion<T, ContentVisibilityAutoStateChangeEvent>
799
+ | undefined;
800
+ onContextLost?: EventHandlerUnion<T, Event> | undefined;
801
+ onContextMenu?: EventHandlerUnion<T, PointerEvent> | undefined;
802
+ onContextRestored?: EventHandlerUnion<T, Event> | undefined;
803
+ onCopy?: EventHandlerUnion<T, ClipboardEvent> | undefined;
804
+ onCueChange?: EventHandlerUnion<T, Event> | undefined;
805
+ onCut?: EventHandlerUnion<T, ClipboardEvent> | undefined;
806
+ onDblClick?: EventHandlerUnion<T, MouseEvent> | undefined;
807
+ onDrag?: EventHandlerUnion<T, DragEvent> | undefined;
808
+ onDragEnd?: EventHandlerUnion<T, DragEvent> | undefined;
809
+ onDragEnter?: EventHandlerUnion<T, DragEvent> | undefined;
810
+ onDragExit?: EventHandlerUnion<T, DragEvent> | undefined;
811
+ onDragLeave?: EventHandlerUnion<T, DragEvent> | undefined;
812
+ onDragOver?: EventHandlerUnion<T, DragEvent> | undefined;
813
+ onDragStart?: EventHandlerUnion<T, DragEvent> | undefined;
814
+ onDrop?: EventHandlerUnion<T, DragEvent> | undefined;
815
+ onDurationChange?: EventHandlerUnion<T, Event> | undefined;
816
+ onEmptied?: EventHandlerUnion<T, Event> | undefined;
817
+ onEnded?: EventHandlerUnion<T, Event> | undefined;
818
+ onError?: EventHandlerUnion<T, ErrorEvent> | undefined;
819
+ onFocus?: FocusEventHandlerUnion<T, FocusEvent> | undefined;
820
+ onFocusIn?: FocusEventHandlerUnion<T, FocusEvent> | undefined;
821
+ onFocusOut?: FocusEventHandlerUnion<T, FocusEvent> | undefined;
822
+ onFormData?: EventHandlerUnion<T, FormDataEvent> | undefined;
823
+ onFullscreenChange?: EventHandlerUnion<T, Event> | undefined;
824
+ onFullscreenError?: EventHandlerUnion<T, Event> | undefined;
825
+ onGotPointerCapture?: EventHandlerUnion<T, PointerEvent> | undefined;
826
+ onInput?: InputEventHandlerUnion<T, InputEvent> | undefined;
827
+ onInvalid?: EventHandlerUnion<T, Event> | undefined;
828
+ onKeyDown?: EventHandlerUnion<T, KeyboardEvent> | undefined;
829
+ onKeyPress?: EventHandlerUnion<T, KeyboardEvent> | undefined;
830
+ onKeyUp?: EventHandlerUnion<T, KeyboardEvent> | undefined;
831
+ onLoad?: EventHandlerUnion<T, Event> | undefined;
832
+ onLoadedData?: EventHandlerUnion<T, Event> | undefined;
833
+ onLoadedMetadata?: EventHandlerUnion<T, Event> | undefined;
834
+ onLoadStart?: EventHandlerUnion<T, Event> | undefined;
835
+ onLostPointerCapture?: EventHandlerUnion<T, PointerEvent> | undefined;
836
+ onMouseDown?: EventHandlerUnion<T, MouseEvent> | undefined;
837
+ onMouseEnter?: EventHandlerUnion<T, MouseEvent> | undefined;
838
+ onMouseLeave?: EventHandlerUnion<T, MouseEvent> | undefined;
839
+ onMouseMove?: EventHandlerUnion<T, MouseEvent> | undefined;
840
+ onMouseOut?: EventHandlerUnion<T, MouseEvent> | undefined;
841
+ onMouseOver?: EventHandlerUnion<T, MouseEvent> | undefined;
842
+ onMouseUp?: EventHandlerUnion<T, MouseEvent> | undefined;
843
+ onPaste?: EventHandlerUnion<T, ClipboardEvent> | undefined;
844
+ onPause?: EventHandlerUnion<T, Event> | undefined;
845
+ onPlay?: EventHandlerUnion<T, Event> | undefined;
846
+ onPlaying?: EventHandlerUnion<T, Event> | undefined;
847
+ onPointerCancel?: EventHandlerUnion<T, PointerEvent> | undefined;
848
+ onPointerDown?: EventHandlerUnion<T, PointerEvent> | undefined;
849
+ onPointerEnter?: EventHandlerUnion<T, PointerEvent> | undefined;
850
+ onPointerLeave?: EventHandlerUnion<T, PointerEvent> | undefined;
851
+ onPointerMove?: EventHandlerUnion<T, PointerEvent> | undefined;
852
+ onPointerOut?: EventHandlerUnion<T, PointerEvent> | undefined;
853
+ onPointerOver?: EventHandlerUnion<T, PointerEvent> | undefined;
854
+ onPointerRawUpdate?: EventHandlerUnion<T, PointerEvent> | undefined;
855
+ onPointerUp?: EventHandlerUnion<T, PointerEvent> | undefined;
856
+ onProgress?: EventHandlerUnion<T, ProgressEvent> | undefined;
857
+ onRateChange?: EventHandlerUnion<T, Event> | undefined;
858
+ onReset?: EventHandlerUnion<T, Event> | undefined;
859
+ onResize?: EventHandlerUnion<T, UIEvent> | undefined;
860
+ onScroll?: EventHandlerUnion<T, Event> | undefined;
861
+ onScrollEnd?: EventHandlerUnion<T, Event> | undefined;
862
+ onScrollSnapChange?: EventHandlerUnion<T, SnapEvent> | undefined;
863
+ onScrollSnapChanging?: EventHandlerUnion<T, SnapEvent> | undefined;
864
+ onSecurityPolicyViolation?: EventHandlerUnion<T, SecurityPolicyViolationEvent> | undefined;
865
+ onSeeked?: EventHandlerUnion<T, Event> | undefined;
866
+ onSeeking?: EventHandlerUnion<T, Event> | undefined;
867
+ onSelect?: EventHandlerUnion<T, Event> | undefined;
868
+ onSelectionChange?: EventHandlerUnion<T, Event> | undefined;
869
+ onSelectStart?: EventHandlerUnion<T, Event> | undefined;
870
+ onSlotChange?: EventHandlerUnion<T, Event> | undefined;
871
+ onStalled?: EventHandlerUnion<T, Event> | undefined;
872
+ onSubmit?: EventHandlerUnion<T, SubmitEvent> | undefined;
873
+ onSuspend?: EventHandlerUnion<T, Event> | undefined;
874
+ onTimeUpdate?: EventHandlerUnion<T, Event> | undefined;
875
+ onToggle?: EventHandlerUnion<T, ToggleEvent> | undefined;
876
+ onTouchCancel?: EventHandlerUnion<T, TouchEvent> | undefined;
877
+ onTouchEnd?: EventHandlerUnion<T, TouchEvent> | undefined;
878
+ onTouchMove?: EventHandlerUnion<T, TouchEvent> | undefined;
879
+ onTouchStart?: EventHandlerUnion<T, TouchEvent> | undefined;
880
+ onTransitionCancel?: EventHandlerUnion<T, TransitionEvent> | undefined;
881
+ onTransitionEnd?: EventHandlerUnion<T, TransitionEvent> | undefined;
882
+ onTransitionRun?: EventHandlerUnion<T, TransitionEvent> | undefined;
883
+ onTransitionStart?: EventHandlerUnion<T, TransitionEvent> | undefined;
884
+ onVolumeChange?: EventHandlerUnion<T, Event> | undefined;
885
+ onWaiting?: EventHandlerUnion<T, Event> | undefined;
886
+ onWheel?: EventHandlerUnion<T, WheelEvent> | undefined;
887
+
888
+ "on:abort"?: EventHandlerWithOptionsUnion<T, UIEvent> | undefined;
889
+ "on:animationcancel"?: EventHandlerWithOptionsUnion<T, AnimationEvent> | undefined;
890
+ "on:animationend"?: EventHandlerWithOptionsUnion<T, AnimationEvent> | undefined;
891
+ "on:animationiteration"?: EventHandlerWithOptionsUnion<T, AnimationEvent> | undefined;
892
+ "on:animationstart"?: EventHandlerWithOptionsUnion<T, AnimationEvent> | undefined;
893
+ "on:auxclick"?: EventHandlerWithOptionsUnion<T, PointerEvent> | undefined;
894
+ "on:beforecopy"?: EventHandlerWithOptionsUnion<T, ClipboardEvent> | undefined;
895
+ "on:beforecut"?: EventHandlerWithOptionsUnion<T, ClipboardEvent> | undefined;
896
+ "on:beforeinput"?:
897
+ | EventHandlerWithOptionsUnion<T, InputEvent, InputEventHandler<T, InputEvent>>
898
+ | undefined;
899
+ "on:beforematch"?: EventHandlerWithOptionsUnion<T, Event> | undefined;
900
+ "on:beforepaste"?: EventHandlerWithOptionsUnion<T, ClipboardEvent> | undefined;
901
+ "on:beforetoggle"?: EventHandlerWithOptionsUnion<T, ToggleEvent> | undefined;
902
+ "on:beforexrselect"?: EventHandlerWithOptionsUnion<T, Event> | undefined;
903
+ "on:blur"?:
904
+ | EventHandlerWithOptionsUnion<T, FocusEvent, FocusEventHandler<T, FocusEvent>>
905
+ | undefined;
906
+ "on:cancel"?: EventHandlerWithOptionsUnion<T, Event> | undefined;
907
+ "on:canplay"?: EventHandlerWithOptionsUnion<T, Event> | undefined;
908
+ "on:canplaythrough"?: EventHandlerWithOptionsUnion<T, Event> | undefined;
909
+ "on:change"?: EventHandlerWithOptionsUnion<T, Event, ChangeEventHandler<T, Event>> | undefined;
910
+ "on:click"?: EventHandlerWithOptionsUnion<T, MouseEvent> | undefined;
911
+ "on:close"?: EventHandlerWithOptionsUnion<T, Event> | undefined;
912
+ "on:command"?: EventHandlerWithOptionsUnion<T, CommandEvent> | undefined;
913
+ "on:compositionend"?: EventHandlerWithOptionsUnion<T, CompositionEvent> | undefined;
914
+ "on:compositionstart"?: EventHandlerWithOptionsUnion<T, CompositionEvent> | undefined;
915
+ "on:compositionupdate"?: EventHandlerWithOptionsUnion<T, CompositionEvent> | undefined;
916
+ "on:contentvisibilityautostatechange"?:
917
+ | EventHandlerWithOptionsUnion<T, ContentVisibilityAutoStateChangeEvent>
918
+ | undefined;
919
+ "on:contextlost"?: EventHandlerWithOptionsUnion<T, Event> | undefined;
920
+ "on:contextmenu"?: EventHandlerWithOptionsUnion<T, PointerEvent> | undefined;
921
+ "on:contextrestored"?: EventHandlerWithOptionsUnion<T, Event> | undefined;
922
+ "on:copy"?: EventHandlerWithOptionsUnion<T, ClipboardEvent> | undefined;
923
+ "on:cuechange"?: EventHandlerWithOptionsUnion<T, Event> | undefined;
924
+ "on:cut"?: EventHandlerWithOptionsUnion<T, ClipboardEvent> | undefined;
925
+ "on:dblclick"?: EventHandlerWithOptionsUnion<T, MouseEvent> | undefined;
926
+ "on:drag"?: EventHandlerWithOptionsUnion<T, DragEvent> | undefined;
927
+ "on:dragend"?: EventHandlerWithOptionsUnion<T, DragEvent> | undefined;
928
+ "on:dragenter"?: EventHandlerWithOptionsUnion<T, DragEvent> | undefined;
929
+ "on:dragexit"?: EventHandlerWithOptionsUnion<T, DragEvent> | undefined;
930
+ "on:dragleave"?: EventHandlerWithOptionsUnion<T, DragEvent> | undefined;
931
+ "on:dragover"?: EventHandlerWithOptionsUnion<T, DragEvent> | undefined;
932
+ "on:dragstart"?: EventHandlerWithOptionsUnion<T, DragEvent> | undefined;
933
+ "on:drop"?: EventHandlerWithOptionsUnion<T, DragEvent> | undefined;
934
+ "on:durationchange"?: EventHandlerWithOptionsUnion<T, Event> | undefined;
935
+ "on:emptied"?: EventHandlerWithOptionsUnion<T, Event> | undefined;
936
+ "on:ended"?: EventHandlerWithOptionsUnion<T, Event> | undefined;
937
+ "on:error"?: EventHandlerWithOptionsUnion<T, ErrorEvent> | undefined;
938
+ "on:focus"?:
939
+ | EventHandlerWithOptionsUnion<T, FocusEvent, FocusEventHandler<T, FocusEvent>>
940
+ | undefined;
941
+ "on:focusin"?:
942
+ | EventHandlerWithOptionsUnion<T, FocusEvent, FocusEventHandler<T, FocusEvent>>
943
+ | undefined;
944
+ "on:focusout"?:
945
+ | EventHandlerWithOptionsUnion<T, FocusEvent, FocusEventHandler<T, FocusEvent>>
946
+ | undefined;
947
+ "on:formdata"?: EventHandlerWithOptionsUnion<T, FormDataEvent> | undefined;
948
+ "on:fullscreenchange"?: EventHandlerWithOptionsUnion<T, Event> | undefined;
949
+ "on:fullscreenerror"?: EventHandlerWithOptionsUnion<T, Event> | undefined;
950
+ "on:gotpointercapture"?: EventHandlerWithOptionsUnion<T, PointerEvent> | undefined;
951
+ "on:input"?:
952
+ | EventHandlerWithOptionsUnion<T, InputEvent, InputEventHandler<T, InputEvent>>
953
+ | undefined;
954
+ "on:invalid"?: EventHandlerWithOptionsUnion<T, Event> | undefined;
955
+ "on:keydown"?: EventHandlerWithOptionsUnion<T, KeyboardEvent> | undefined;
956
+ "on:keypress"?: EventHandlerWithOptionsUnion<T, KeyboardEvent> | undefined;
957
+ "on:keyup"?: EventHandlerWithOptionsUnion<T, KeyboardEvent> | undefined;
958
+ "on:load"?: EventHandlerWithOptionsUnion<T, Event> | undefined;
959
+ "on:loadeddata"?: EventHandlerWithOptionsUnion<T, Event> | undefined;
960
+ "on:loadedmetadata"?: EventHandlerWithOptionsUnion<T, Event> | undefined;
961
+ "on:loadstart"?: EventHandlerWithOptionsUnion<T, Event> | undefined;
962
+ "on:lostpointercapture"?: EventHandlerWithOptionsUnion<T, PointerEvent> | undefined;
963
+ "on:mousedown"?: EventHandlerWithOptionsUnion<T, MouseEvent> | undefined;
964
+ "on:mouseenter"?: EventHandlerWithOptionsUnion<T, MouseEvent> | undefined;
965
+ "on:mouseleave"?: EventHandlerWithOptionsUnion<T, MouseEvent> | undefined;
966
+ "on:mousemove"?: EventHandlerWithOptionsUnion<T, MouseEvent> | undefined;
967
+ "on:mouseout"?: EventHandlerWithOptionsUnion<T, MouseEvent> | undefined;
968
+ "on:mouseover"?: EventHandlerWithOptionsUnion<T, MouseEvent> | undefined;
969
+ "on:mouseup"?: EventHandlerWithOptionsUnion<T, MouseEvent> | undefined;
970
+ "on:paste"?: EventHandlerWithOptionsUnion<T, ClipboardEvent> | undefined;
971
+ "on:pause"?: EventHandlerWithOptionsUnion<T, Event> | undefined;
972
+ "on:play"?: EventHandlerWithOptionsUnion<T, Event> | undefined;
973
+ "on:playing"?: EventHandlerWithOptionsUnion<T, Event> | undefined;
974
+ "on:pointercancel"?: EventHandlerWithOptionsUnion<T, PointerEvent> | undefined;
975
+ "on:pointerdown"?: EventHandlerWithOptionsUnion<T, PointerEvent> | undefined;
976
+ "on:pointerenter"?: EventHandlerWithOptionsUnion<T, PointerEvent> | undefined;
977
+ "on:pointerleave"?: EventHandlerWithOptionsUnion<T, PointerEvent> | undefined;
978
+ "on:pointermove"?: EventHandlerWithOptionsUnion<T, PointerEvent> | undefined;
979
+ "on:pointerout"?: EventHandlerWithOptionsUnion<T, PointerEvent> | undefined;
980
+ "on:pointerover"?: EventHandlerWithOptionsUnion<T, PointerEvent> | undefined;
981
+ "on:pointerrawupdate"?: EventHandlerWithOptionsUnion<T, PointerEvent> | undefined;
982
+ "on:pointerup"?: EventHandlerWithOptionsUnion<T, PointerEvent> | undefined;
983
+ "on:progress"?: EventHandlerWithOptionsUnion<T, ProgressEvent> | undefined;
984
+ "on:ratechange"?: EventHandlerWithOptionsUnion<T, Event> | undefined;
985
+ "on:reset"?: EventHandlerWithOptionsUnion<T, Event> | undefined;
986
+ "on:resize"?: EventHandlerWithOptionsUnion<T, UIEvent> | undefined;
987
+ "on:scroll"?: EventHandlerWithOptionsUnion<T, Event> | undefined;
988
+ "on:scrollend"?: EventHandlerWithOptionsUnion<T, Event> | undefined;
989
+ "on:scrollsnapchange"?: EventHandlerWithOptionsUnion<T, SnapEvent> | undefined;
990
+ "on:scrollsnapchanging"?: EventHandlerWithOptionsUnion<T, SnapEvent> | undefined;
991
+ "on:securitypolicyviolation"?:
992
+ | EventHandlerWithOptionsUnion<T, SecurityPolicyViolationEvent>
993
+ | undefined;
994
+ "on:seeked"?: EventHandlerWithOptionsUnion<T, Event> | undefined;
995
+ "on:seeking"?: EventHandlerWithOptionsUnion<T, Event> | undefined;
996
+ "on:select"?: EventHandlerWithOptionsUnion<T, Event> | undefined;
997
+ "on:selectionchange"?: EventHandlerWithOptionsUnion<T, Event> | undefined;
998
+ "on:selectstart"?: EventHandlerWithOptionsUnion<T, Event> | undefined;
999
+ "on:slotchange"?: EventHandlerWithOptionsUnion<T, Event> | undefined;
1000
+ "on:stalled"?: EventHandlerWithOptionsUnion<T, Event> | undefined;
1001
+ "on:submit"?: EventHandlerWithOptionsUnion<T, SubmitEvent> | undefined;
1002
+ "on:suspend"?: EventHandlerWithOptionsUnion<T, Event> | undefined;
1003
+ "on:timeupdate"?: EventHandlerWithOptionsUnion<T, Event> | undefined;
1004
+ "on:toggle"?: EventHandlerWithOptionsUnion<T, ToggleEvent> | undefined;
1005
+ "on:touchcancel"?: EventHandlerWithOptionsUnion<T, TouchEvent> | undefined;
1006
+ "on:touchend"?: EventHandlerWithOptionsUnion<T, TouchEvent> | undefined;
1007
+ "on:touchmove"?: EventHandlerWithOptionsUnion<T, TouchEvent> | undefined;
1008
+ "on:touchstart"?: EventHandlerWithOptionsUnion<T, TouchEvent> | undefined;
1009
+ "on:transitioncancel"?: EventHandlerWithOptionsUnion<T, TransitionEvent> | undefined;
1010
+ "on:transitionend"?: EventHandlerWithOptionsUnion<T, TransitionEvent> | undefined;
1011
+ "on:transitionrun"?: EventHandlerWithOptionsUnion<T, TransitionEvent> | undefined;
1012
+ "on:transitionstart"?: EventHandlerWithOptionsUnion<T, TransitionEvent> | undefined;
1013
+ "on:volumechange"?: EventHandlerWithOptionsUnion<T, Event> | undefined;
1014
+ "on:waiting"?: EventHandlerWithOptionsUnion<T, Event> | undefined;
1015
+ "on:wheel"?: EventHandlerWithOptionsUnion<T, WheelEvent> | undefined;
1016
+ }
1017
+
1018
+ // EventName = "click" | "mousedown" ...
1019
+
1020
+ type EventName =
1021
+ | (keyof EventHandlersWindow<any> extends infer K
1022
+ ? K extends `on:${infer T}`
1023
+ ? T
1024
+ : K extends `on${infer T}`
1025
+ ? Lowercase<T>
1026
+ : never
1027
+ : never)
1028
+ | (keyof EventHandlersElement<any> extends infer K
1029
+ ? K extends `on:${infer T}`
1030
+ ? T
1031
+ : K extends `on${infer T}`
1032
+ ? Lowercase<T>
1033
+ : never
1034
+ : never)
1035
+ | (string & {});
1036
+
1037
+ type ExtractEventType<T> = {
1038
+ [K in keyof T as K extends `on:${infer Name}`
1039
+ ? Name
1040
+ : never]: T[K] extends EventHandlerWithOptionsUnion<Element, infer E> ? E : never;
1041
+ };
1042
+
1043
+ // EventType["click"] = MouseEvent
1044
+
1045
+ type EventType = ExtractEventType<EventHandlersElement<Element>> &
1046
+ ExtractEventType<EventHandlersWindow<Element>>;
1047
+
1048
+ // GLOBAL ATTRIBUTES
1049
+
1050
+ /**
1051
+ * Global `Element` + `Node` interface keys, shared by all tags regardless of their namespace:
1052
+ *
1053
+ * 1. That's `keys` that are defined BY ALL `HTMLElement/SVGElement/MathMLElement` interfaces.
1054
+ * 2. Includes `keys` defined by `Element` and `Node` interfaces.
1055
+ */
1056
+ interface ElementAttributes<T>
1057
+ extends CustomAttributes<T>,
1058
+ PropAttributes,
1059
+ OnAttributes<T>,
1060
+ EventHandlersElement<T>,
1061
+ AriaAttributes {
1062
+ // [key: ClassKeys]: boolean;
1063
+
1064
+ // properties
1065
+ innerHTML?: string;
1066
+ textContent?: string | number;
1067
+
1068
+ // attributes
1069
+ autofocus?: BooleanAttribute | RemoveAttribute;
1070
+ class?: string | ClassList | RemoveAttribute;
1071
+ elementtiming?: string | RemoveAttribute;
1072
+ id?: string | RemoveAttribute;
1073
+ nonce?: string | RemoveAttribute;
1074
+ part?: string | RemoveAttribute;
1075
+ slot?: string | RemoveAttribute;
1076
+ style?: CSSProperties | string | RemoveAttribute;
1077
+ tabindex?: number | string | RemoveAttribute;
1078
+ }
1079
+ /** Global `SVGElement` interface keys only. */
1080
+ interface SVGAttributes<T> extends ElementAttributes<T> {
1081
+ id?: string | RemoveAttribute;
1082
+ lang?: string | RemoveAttribute;
1083
+ tabindex?: number | string | RemoveAttribute;
1084
+ xmlns?: string | RemoveAttribute;
1085
+ }
1086
+ /** Global `MathMLElement` interface keys only. */
1087
+ interface MathMLAttributes<T> extends ElementAttributes<T> {
1088
+ dir?: HTMLDir | RemoveAttribute;
1089
+ displaystyle?: BooleanAttribute | RemoveAttribute;
1090
+ scriptlevel?: string | RemoveAttribute;
1091
+ xmlns?: string | RemoveAttribute;
1092
+
1093
+ /** @deprecated */
1094
+ href?: string | RemoveAttribute;
1095
+ /** @deprecated */
1096
+ mathbackground?: string | RemoveAttribute;
1097
+ /** @deprecated */
1098
+ mathcolor?: string | RemoveAttribute;
1099
+ /** @deprecated */
1100
+ mathsize?: string | RemoveAttribute;
1101
+ }
1102
+ /** Global `HTMLElement` interface keys only. */
1103
+ interface HTMLAttributes<T> extends ElementAttributes<T> {
1104
+ // properties
1105
+ innerText?: string | number;
1106
+
1107
+ // attributes
1108
+ accesskey?: string | RemoveAttribute;
1109
+ autocapitalize?: HTMLAutocapitalize | RemoveAttribute;
1110
+ autocorrect?: "on" | "off" | RemoveAttribute;
1111
+ contenteditable?:
1112
+ | EnumeratedPseudoBoolean
1113
+ | EnumeratedAcceptsEmpty
1114
+ | "plaintext-only"
1115
+ | "inherit"
1116
+ | RemoveAttribute;
1117
+ dir?: HTMLDir | RemoveAttribute;
1118
+ draggable?: EnumeratedPseudoBoolean | RemoveAttribute;
1119
+ enterkeyhint?:
1120
+ | "enter"
1121
+ | "done"
1122
+ | "go"
1123
+ | "next"
1124
+ | "previous"
1125
+ | "search"
1126
+ | "send"
1127
+ | RemoveAttribute;
1128
+ exportparts?: string | RemoveAttribute;
1129
+ hidden?: EnumeratedAcceptsEmpty | "hidden" | "until-found" | RemoveAttribute;
1130
+ inert?: BooleanAttribute | RemoveAttribute;
1131
+ inputmode?:
1132
+ | "decimal"
1133
+ | "email"
1134
+ | "none"
1135
+ | "numeric"
1136
+ | "search"
1137
+ | "tel"
1138
+ | "text"
1139
+ | "url"
1140
+ | RemoveAttribute;
1141
+ is?: string | RemoveAttribute;
1142
+ lang?: string | RemoveAttribute;
1143
+ popover?: EnumeratedAcceptsEmpty | "manual" | "auto" | "hint" | RemoveAttribute;
1144
+ spellcheck?: EnumeratedPseudoBoolean | EnumeratedAcceptsEmpty | RemoveAttribute;
1145
+ title?: string | RemoveAttribute;
1146
+ translate?: "yes" | "no" | RemoveAttribute;
1147
+
1148
+ /** @experimental */
1149
+ virtualkeyboardpolicy?: EnumeratedAcceptsEmpty | "auto" | "manual" | RemoveAttribute;
1150
+ /** @experimental */
1151
+ writingsuggestions?: EnumeratedPseudoBoolean | RemoveAttribute;
1152
+
1153
+ // Microdata
1154
+ itemid?: string | RemoveAttribute;
1155
+ itemprop?: string | RemoveAttribute;
1156
+ itemref?: string | RemoveAttribute;
1157
+ itemscope?: BooleanAttribute | RemoveAttribute;
1158
+ itemtype?: string | RemoveAttribute;
1159
+
1160
+ // RDFa Attributes
1161
+ about?: string | RemoveAttribute;
1162
+ datatype?: string | RemoveAttribute;
1163
+ inlist?: any | RemoveAttribute;
1164
+ prefix?: string | RemoveAttribute;
1165
+ property?: string | RemoveAttribute;
1166
+ resource?: string | RemoveAttribute;
1167
+ typeof?: string | RemoveAttribute;
1168
+ vocab?: string | RemoveAttribute;
1169
+
1170
+ /** @deprecated */
1171
+ contextmenu?: string | RemoveAttribute;
1172
+ }
1173
+
1174
+ // HTML
1175
+
1176
+ type HTMLAutocapitalize = "off" | "none" | "on" | "sentences" | "words" | "characters";
1177
+ type HTMLAutocomplete =
1178
+ | "additional-name"
1179
+ | "address-level1"
1180
+ | "address-level2"
1181
+ | "address-level3"
1182
+ | "address-level4"
1183
+ | "address-line1"
1184
+ | "address-line2"
1185
+ | "address-line3"
1186
+ | "bday"
1187
+ | "bday-day"
1188
+ | "bday-month"
1189
+ | "bday-year"
1190
+ | "billing"
1191
+ | "cc-additional-name"
1192
+ | "cc-csc"
1193
+ | "cc-exp"
1194
+ | "cc-exp-month"
1195
+ | "cc-exp-year"
1196
+ | "cc-family-name"
1197
+ | "cc-given-name"
1198
+ | "cc-name"
1199
+ | "cc-number"
1200
+ | "cc-type"
1201
+ | "country"
1202
+ | "country-name"
1203
+ | "current-password"
1204
+ | "email"
1205
+ | "family-name"
1206
+ | "fax"
1207
+ | "given-name"
1208
+ | "home"
1209
+ | "honorific-prefix"
1210
+ | "honorific-suffix"
1211
+ | "impp"
1212
+ | "language"
1213
+ | "mobile"
1214
+ | "name"
1215
+ | "new-password"
1216
+ | "nickname"
1217
+ | "off"
1218
+ | "on"
1219
+ | "organization"
1220
+ | "organization-title"
1221
+ | "pager"
1222
+ | "photo"
1223
+ | "postal-code"
1224
+ | "sex"
1225
+ | "shipping"
1226
+ | "street-address"
1227
+ | "tel"
1228
+ | "tel-area-code"
1229
+ | "tel-country-code"
1230
+ | "tel-extension"
1231
+ | "tel-local"
1232
+ | "tel-local-prefix"
1233
+ | "tel-local-suffix"
1234
+ | "tel-national"
1235
+ | "transaction-amount"
1236
+ | "transaction-currency"
1237
+ | "url"
1238
+ | "username"
1239
+ | "work"
1240
+ | (string & {});
1241
+ type HTMLDir = "ltr" | "rtl" | "auto";
1242
+ type HTMLFormEncType = "application/x-www-form-urlencoded" | "multipart/form-data" | "text/plain";
1243
+ type HTMLFormMethod = "post" | "get" | "dialog";
1244
+ type HTMLCrossorigin = "anonymous" | "use-credentials" | EnumeratedAcceptsEmpty;
1245
+ type HTMLReferrerPolicy =
1246
+ | "no-referrer"
1247
+ | "no-referrer-when-downgrade"
1248
+ | "origin"
1249
+ | "origin-when-cross-origin"
1250
+ | "same-origin"
1251
+ | "strict-origin"
1252
+ | "strict-origin-when-cross-origin"
1253
+ | "unsafe-url";
1254
+ type HTMLIframeSandbox =
1255
+ | "allow-downloads-without-user-activation"
1256
+ | "allow-downloads"
1257
+ | "allow-forms"
1258
+ | "allow-modals"
1259
+ | "allow-orientation-lock"
1260
+ | "allow-pointer-lock"
1261
+ | "allow-popups"
1262
+ | "allow-popups-to-escape-sandbox"
1263
+ | "allow-presentation"
1264
+ | "allow-same-origin"
1265
+ | "allow-scripts"
1266
+ | "allow-storage-access-by-user-activation"
1267
+ | "allow-top-navigation"
1268
+ | "allow-top-navigation-by-user-activation"
1269
+ | "allow-top-navigation-to-custom-protocols";
1270
+ type HTMLLinkAs =
1271
+ | "audio"
1272
+ | "document"
1273
+ | "embed"
1274
+ | "fetch"
1275
+ | "font"
1276
+ | "image"
1277
+ | "object"
1278
+ | "script"
1279
+ | "style"
1280
+ | "track"
1281
+ | "video"
1282
+ | "worker";
1283
+
1284
+ interface AnchorHTMLAttributes<T> extends HTMLAttributes<T> {
1285
+ download?: string | EnumeratedAcceptsEmpty | RemoveAttribute;
1286
+ href?: string | RemoveAttribute;
1287
+ hreflang?: string | RemoveAttribute;
1288
+ ping?: string | RemoveAttribute;
1289
+ referrerpolicy?: HTMLReferrerPolicy | RemoveAttribute;
1290
+ rel?: string | RemoveAttribute;
1291
+ target?: "_self" | "_blank" | "_parent" | "_top" | (string & {}) | RemoveAttribute;
1292
+ type?: string | RemoveAttribute;
1293
+
1294
+ /** @experimental */
1295
+ attributionsrc?: string | RemoveAttribute;
1296
+
1297
+ /** @deprecated */
1298
+ charset?: string | RemoveAttribute;
1299
+ /** @deprecated */
1300
+ coords?: string | RemoveAttribute;
1301
+ /** @deprecated */
1302
+ name?: string | RemoveAttribute;
1303
+ /** @deprecated */
1304
+ rev?: string | RemoveAttribute;
1305
+ /** @deprecated */
1306
+ shape?: "rect" | "circle" | "poly" | "default" | RemoveAttribute;
1307
+ }
1308
+ interface AudioHTMLAttributes<T> extends MediaHTMLAttributes<T> {}
1309
+ interface AreaHTMLAttributes<T> extends HTMLAttributes<T> {
1310
+ alt?: string | RemoveAttribute;
1311
+ coords?: string | RemoveAttribute;
1312
+ download?: string | EnumeratedAcceptsEmpty | RemoveAttribute;
1313
+ href?: string | RemoveAttribute;
1314
+ ping?: string | RemoveAttribute;
1315
+ referrerpolicy?: HTMLReferrerPolicy | RemoveAttribute;
1316
+ rel?: string | RemoveAttribute;
1317
+ shape?: "rect" | "circle" | "poly" | "default" | RemoveAttribute;
1318
+ target?: "_self" | "_blank" | "_parent" | "_top" | (string & {}) | RemoveAttribute;
1319
+
1320
+ /** @experimental */
1321
+ attributionsrc?: string | RemoveAttribute;
1322
+
1323
+ /** @deprecated */
1324
+ nohref?: BooleanAttribute | RemoveAttribute;
1325
+ }
1326
+ interface BaseHTMLAttributes<T> extends HTMLAttributes<T> {
1327
+ href?: string | RemoveAttribute;
1328
+ target?: "_self" | "_blank" | "_parent" | "_top" | (string & {}) | RemoveAttribute;
1329
+ }
1330
+ interface BdoHTMLAttributes<T> extends HTMLAttributes<T> {
1331
+ dir?: "ltr" | "rtl" | RemoveAttribute;
1332
+ }
1333
+ interface BlockquoteHTMLAttributes<T> extends HTMLAttributes<T> {
1334
+ cite?: string | RemoveAttribute;
1335
+ }
1336
+ interface BodyHTMLAttributes<T> extends HTMLAttributes<T>, EventHandlersWindow<T> {}
1337
+ interface ButtonHTMLAttributes<T> extends HTMLAttributes<T> {
1338
+ disabled?: BooleanAttribute | RemoveAttribute;
1339
+ form?: string | RemoveAttribute;
1340
+ formaction?: string | SerializableAttributeValue | RemoveAttribute;
1341
+ formenctype?: HTMLFormEncType | RemoveAttribute;
1342
+ formmethod?: HTMLFormMethod | RemoveAttribute;
1343
+ formnovalidate?: BooleanAttribute | RemoveAttribute;
1344
+ formtarget?: "_self" | "_blank" | "_parent" | "_top" | (string & {}) | RemoveAttribute;
1345
+ name?: string | RemoveAttribute;
1346
+ popovertarget?: string | RemoveAttribute;
1347
+ popovertargetaction?: "hide" | "show" | "toggle" | RemoveAttribute;
1348
+ type?: "submit" | "reset" | "button" | "menu" | RemoveAttribute;
1349
+ value?: string | RemoveAttribute;
1350
+
1351
+ /** @experimental */
1352
+ command?:
1353
+ | "show-modal"
1354
+ | "close"
1355
+ | "show-popover"
1356
+ | "hide-popover"
1357
+ | "toggle-popover"
1358
+ | (string & {})
1359
+ | RemoveAttribute;
1360
+ /** @experimental */
1361
+ commandfor?: string | RemoveAttribute;
1362
+ }
1363
+ interface CanvasHTMLAttributes<T> extends HTMLAttributes<T> {
1364
+ height?: number | string | RemoveAttribute;
1365
+ width?: number | string | RemoveAttribute;
1366
+
1367
+ /**
1368
+ * @deprecated
1369
+ * @non-standard
1370
+ */
1371
+ "moz-opaque"?: BooleanAttribute | RemoveAttribute;
1372
+ }
1373
+ interface CaptionHTMLAttributes<T> extends HTMLAttributes<T> {
1374
+ /** @deprecated */
1375
+ align?: "left" | "center" | "right" | RemoveAttribute;
1376
+ }
1377
+ interface ColHTMLAttributes<T> extends HTMLAttributes<T> {
1378
+ span?: number | string | RemoveAttribute;
1379
+
1380
+ /** @deprecated */
1381
+ align?: "left" | "center" | "right" | "justify" | "char" | RemoveAttribute;
1382
+ /** @deprecated */
1383
+ bgcolor?: string | RemoveAttribute;
1384
+ /** @deprecated */
1385
+ char?: string | RemoveAttribute;
1386
+ /** @deprecated */
1387
+ charoff?: string | RemoveAttribute;
1388
+ /** @deprecated */
1389
+ valign?: "baseline" | "bottom" | "middle" | "top" | RemoveAttribute;
1390
+ /** @deprecated */
1391
+ width?: number | string | RemoveAttribute;
1392
+ }
1393
+ interface ColgroupHTMLAttributes<T> extends HTMLAttributes<T> {
1394
+ span?: number | string | RemoveAttribute;
1395
+
1396
+ /** @deprecated */
1397
+ align?: "left" | "center" | "right" | "justify" | "char" | RemoveAttribute;
1398
+ /** @deprecated */
1399
+ bgcolor?: string | RemoveAttribute;
1400
+ /** @deprecated */
1401
+ char?: string | RemoveAttribute;
1402
+ /** @deprecated */
1403
+ charoff?: string | RemoveAttribute;
1404
+ /** @deprecated */
1405
+ valign?: "baseline" | "bottom" | "middle" | "top" | RemoveAttribute;
1406
+ /** @deprecated */
1407
+ width?: number | string | RemoveAttribute;
1408
+ }
1409
+ interface DataHTMLAttributes<T> extends HTMLAttributes<T> {
1410
+ value?: string | string[] | number | RemoveAttribute;
1411
+ }
1412
+ interface DetailsHtmlAttributes<T> extends HTMLAttributes<T> {
1413
+ name?: string | RemoveAttribute;
1414
+ open?: BooleanAttribute | RemoveAttribute;
1415
+ }
1416
+ interface DialogHtmlAttributes<T> extends HTMLAttributes<T> {
1417
+ open?: BooleanAttribute | RemoveAttribute;
1418
+ /**
1419
+ * Do not add the `tabindex` property to the `<dialog>` element as it is not interactive and
1420
+ * does not receive focus. The dialog's contents, including the close button contained in the
1421
+ * dialog, can receive focus and be interactive.
1422
+ *
1423
+ * @see https://developer.mozilla.org/en-US/docs/Web/HTML/Reference/Elements/dialog#usage_notes
1424
+ */
1425
+ tabindex?: never;
1426
+ "prop:tabIndex"?: never;
1427
+
1428
+ /** @experimental */
1429
+ closedby?: "any" | "closerequest" | "none" | RemoveAttribute;
1430
+ }
1431
+ interface EmbedHTMLAttributes<T> extends HTMLAttributes<T> {
1432
+ height?: number | string | RemoveAttribute;
1433
+ src?: string | RemoveAttribute;
1434
+ type?: string | RemoveAttribute;
1435
+ width?: number | string | RemoveAttribute;
1436
+
1437
+ /** @deprecated */
1438
+ align?: "left" | "right" | "justify" | "center" | RemoveAttribute;
1439
+ /** @deprecated */
1440
+ name?: string | RemoveAttribute;
1441
+ }
1442
+ interface FieldsetHTMLAttributes<T> extends HTMLAttributes<T> {
1443
+ disabled?: BooleanAttribute | RemoveAttribute;
1444
+ form?: string | RemoveAttribute;
1445
+ name?: string | RemoveAttribute;
1446
+ }
1447
+ interface FormHTMLAttributes<T> extends HTMLAttributes<T> {
1448
+ "accept-charset"?: string | RemoveAttribute;
1449
+ action?: string | SerializableAttributeValue | RemoveAttribute;
1450
+ autocomplete?: "on" | "off" | RemoveAttribute;
1451
+ encoding?: HTMLFormEncType | RemoveAttribute;
1452
+ enctype?: HTMLFormEncType | RemoveAttribute;
1453
+ method?: HTMLFormMethod | RemoveAttribute;
1454
+ name?: string | RemoveAttribute;
1455
+ novalidate?: BooleanAttribute | RemoveAttribute;
1456
+ rel?: string | RemoveAttribute;
1457
+ target?: "_self" | "_blank" | "_parent" | "_top" | (string & {}) | RemoveAttribute;
1458
+
1459
+ /** @deprecated */
1460
+ accept?: string | RemoveAttribute;
1461
+ }
1462
+ interface IframeHTMLAttributes<T> extends HTMLAttributes<T> {
1463
+ allow?: string | RemoveAttribute;
1464
+ allowfullscreen?: BooleanAttribute | RemoveAttribute;
1465
+ height?: number | string | RemoveAttribute;
1466
+ loading?: "eager" | "lazy" | RemoveAttribute;
1467
+ name?: string | RemoveAttribute;
1468
+ referrerpolicy?: HTMLReferrerPolicy | RemoveAttribute;
1469
+ sandbox?: HTMLIframeSandbox | string | RemoveAttribute;
1470
+ src?: string | RemoveAttribute;
1471
+ srcdoc?: string | RemoveAttribute;
1472
+ width?: number | string | RemoveAttribute;
1473
+
1474
+ /** @experimental */
1475
+ adauctionheaders?: BooleanAttribute | RemoveAttribute;
1476
+ /**
1477
+ * @non-standard
1478
+ * @experimental
1479
+ */
1480
+ browsingtopics?: BooleanAttribute | RemoveAttribute;
1481
+ /** @experimental */
1482
+ credentialless?: BooleanAttribute | RemoveAttribute;
1483
+ /** @experimental */
1484
+ csp?: string | RemoveAttribute;
1485
+ /** @experimental */
1486
+ privatetoken?: string | RemoveAttribute;
1487
+ /** @experimental */
1488
+ sharedstoragewritable?: BooleanAttribute | RemoveAttribute;
1489
+
1490
+ /** @deprecated */
1491
+ align?: string | RemoveAttribute;
1492
+ /**
1493
+ * @deprecated
1494
+ * @non-standard
1495
+ */
1496
+ allowpaymentrequest?: BooleanAttribute | RemoveAttribute;
1497
+ /** @deprecated */
1498
+ allowtransparency?: BooleanAttribute | RemoveAttribute;
1499
+ /** @deprecated */
1500
+ frameborder?: number | string | RemoveAttribute;
1501
+ /** @deprecated */
1502
+ longdesc?: string | RemoveAttribute;
1503
+ /** @deprecated */
1504
+ marginheight?: number | string | RemoveAttribute;
1505
+ /** @deprecated */
1506
+ marginwidth?: number | string | RemoveAttribute;
1507
+ /** @deprecated */
1508
+ scrolling?: "yes" | "no" | "auto" | RemoveAttribute;
1509
+ /** @deprecated */
1510
+ seamless?: BooleanAttribute | RemoveAttribute;
1511
+ }
1512
+ interface ImgHTMLAttributes<T> extends HTMLAttributes<T> {
1513
+ alt?: string | RemoveAttribute;
1514
+ browsingtopics?: string | RemoveAttribute;
1515
+ crossorigin?: HTMLCrossorigin | RemoveAttribute;
1516
+ decoding?: "sync" | "async" | "auto" | RemoveAttribute;
1517
+ fetchpriority?: "high" | "low" | "auto" | RemoveAttribute;
1518
+ height?: number | string | RemoveAttribute;
1519
+ ismap?: BooleanAttribute | RemoveAttribute;
1520
+ loading?: "eager" | "lazy" | RemoveAttribute;
1521
+ referrerpolicy?: HTMLReferrerPolicy | RemoveAttribute;
1522
+ sizes?: string | RemoveAttribute;
1523
+ src?: string | RemoveAttribute;
1524
+ srcset?: string | RemoveAttribute;
1525
+ usemap?: string | RemoveAttribute;
1526
+ width?: number | string | RemoveAttribute;
1527
+
1528
+ /** @experimental */
1529
+ attributionsrc?: string | RemoveAttribute;
1530
+ /** @experimental */
1531
+ sharedstoragewritable?: BooleanAttribute | RemoveAttribute;
1532
+
1533
+ /** @deprecated */
1534
+ align?: "top" | "middle" | "bottom" | "left" | "right" | RemoveAttribute;
1535
+ /** @deprecated */
1536
+ border?: string | RemoveAttribute;
1537
+ /** @deprecated */
1538
+ hspace?: number | string | RemoveAttribute;
1539
+ /** @deprecated */
1540
+ intrinsicsize?: string | RemoveAttribute;
1541
+ /** @deprecated */
1542
+ longdesc?: string | RemoveAttribute;
1543
+ /** @deprecated */
1544
+ lowsrc?: string | RemoveAttribute;
1545
+ /** @deprecated */
1546
+ name?: string | RemoveAttribute;
1547
+ /** @deprecated */
1548
+ vspace?: number | string | RemoveAttribute;
1549
+ }
1550
+ interface InputHTMLAttributes<T> extends HTMLAttributes<T> {
1551
+ accept?: string | RemoveAttribute;
1552
+ alpha?: BooleanAttribute | RemoveAttribute;
1553
+ alt?: string | RemoveAttribute;
1554
+ autocomplete?: HTMLAutocomplete | RemoveAttribute;
1555
+ capture?: "user" | "environment" | RemoveAttribute;
1556
+
1557
+ colorspace?: string | RemoveAttribute;
1558
+ dirname?: string | RemoveAttribute;
1559
+ disabled?: BooleanAttribute | RemoveAttribute;
1560
+ form?: string | RemoveAttribute;
1561
+ formaction?: string | SerializableAttributeValue | RemoveAttribute;
1562
+ formenctype?: HTMLFormEncType | RemoveAttribute;
1563
+ formmethod?: HTMLFormMethod | RemoveAttribute;
1564
+ formnovalidate?: BooleanAttribute | RemoveAttribute;
1565
+ formtarget?: string | RemoveAttribute;
1566
+ height?: number | string | RemoveAttribute;
1567
+ list?: string | RemoveAttribute;
1568
+ max?: number | string | RemoveAttribute;
1569
+ maxlength?: number | string | RemoveAttribute;
1570
+ min?: number | string | RemoveAttribute;
1571
+ minlength?: number | string | RemoveAttribute;
1572
+ multiple?: BooleanAttribute | RemoveAttribute;
1573
+ name?: string | RemoveAttribute;
1574
+ pattern?: string | RemoveAttribute;
1575
+ placeholder?: string | RemoveAttribute;
1576
+ popovertarget?: string | RemoveAttribute;
1577
+ popovertargetaction?: "hide" | "show" | "toggle" | RemoveAttribute;
1578
+ readonly?: BooleanAttribute | RemoveAttribute;
1579
+ required?: BooleanAttribute | RemoveAttribute;
1580
+ // https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input/search#results
1581
+ results?: number | RemoveAttribute;
1582
+ size?: number | string | RemoveAttribute;
1583
+ src?: string | RemoveAttribute;
1584
+ step?: number | string | RemoveAttribute;
1585
+ type?:
1586
+ | "button"
1587
+ | "checkbox"
1588
+ | "color"
1589
+ | "date"
1590
+ | "datetime-local"
1591
+ | "email"
1592
+ | "file"
1593
+ | "hidden"
1594
+ | "image"
1595
+ | "month"
1596
+ | "number"
1597
+ | "password"
1598
+ | "radio"
1599
+ | "range"
1600
+ | "reset"
1601
+ | "search"
1602
+ | "submit"
1603
+ | "tel"
1604
+ | "text"
1605
+ | "time"
1606
+ | "url"
1607
+ | "week"
1608
+ | (string & {})
1609
+ | RemoveAttribute;
1610
+ width?: number | string | RemoveAttribute;
1611
+ webkitdirectory?: BooleanAttribute | RemoveAttribute;
1612
+
1613
+ /** @non-standard */
1614
+ incremental?: BooleanAttribute | RemoveAttribute;
1615
+
1616
+ /** @deprecated */
1617
+ align?: string | RemoveAttribute;
1618
+ /** @deprecated */
1619
+ usemap?: string | RemoveAttribute;
1620
+
1621
+ // special cases locked to properties
1622
+
1623
+ checked?: BooleanProperty | RemoveProperty;
1624
+ /** @error use `<input checked={..}/>` instead */
1625
+ "prop:checked"?: never;
1626
+
1627
+ defaultChecked?: BooleanProperty | RemoveProperty;
1628
+ /** @error use `<input defaultChecked={..}/>` instead */
1629
+ "prop:defaultChecked"?: never;
1630
+
1631
+ value?: string | string[] | number | RemoveProperty;
1632
+ /** @error use `<input value={..}/>` instead */
1633
+ "prop:value"?: never;
1634
+
1635
+ defaultValue?: string | string[] | number | RemoveProperty;
1636
+ /** @error use `<input defaultValue={..}/>` instead */
1637
+ "prop:defaultValue"?: never;
1638
+ }
1639
+ interface ModHTMLAttributes<T> extends HTMLAttributes<T> {
1640
+ cite?: string | RemoveAttribute;
1641
+ datetime?: string | RemoveAttribute;
1642
+ }
1643
+ interface KeygenHTMLAttributes<T> extends HTMLAttributes<T> {
1644
+ /** @deprecated */
1645
+ challenge?: string | RemoveAttribute;
1646
+ /** @deprecated */
1647
+ disabled?: BooleanAttribute | RemoveAttribute;
1648
+ /** @deprecated */
1649
+ form?: string | RemoveAttribute;
1650
+ /** @deprecated */
1651
+ keyparams?: string | RemoveAttribute;
1652
+ /** @deprecated */
1653
+ keytype?: string | RemoveAttribute;
1654
+ /** @deprecated */
1655
+ name?: string | RemoveAttribute;
1656
+ }
1657
+ interface LabelHTMLAttributes<T> extends HTMLAttributes<T> {
1658
+ for?: string | RemoveAttribute;
1659
+ }
1660
+ interface LiHTMLAttributes<T> extends HTMLAttributes<T> {
1661
+ value?: number | string | RemoveAttribute;
1662
+
1663
+ /** @deprecated */
1664
+ type?: "1" | "a" | "A" | "i" | "I" | RemoveAttribute;
1665
+ }
1666
+ interface LinkHTMLAttributes<T> extends HTMLAttributes<T> {
1667
+ as?: HTMLLinkAs | RemoveAttribute;
1668
+ blocking?: "render" | RemoveAttribute;
1669
+ color?: string | RemoveAttribute;
1670
+ crossorigin?: HTMLCrossorigin | RemoveAttribute;
1671
+ disabled?: BooleanAttribute | RemoveAttribute;
1672
+ fetchpriority?: "high" | "low" | "auto" | RemoveAttribute;
1673
+ href?: string | RemoveAttribute;
1674
+ hreflang?: string | RemoveAttribute;
1675
+ imagesizes?: string | RemoveAttribute;
1676
+ imagesrcset?: string | RemoveAttribute;
1677
+ integrity?: string | RemoveAttribute;
1678
+ media?: string | RemoveAttribute;
1679
+ referrerpolicy?: HTMLReferrerPolicy | RemoveAttribute;
1680
+ rel?: string | RemoveAttribute;
1681
+ sizes?: string | RemoveAttribute;
1682
+ type?: string | RemoveAttribute;
1683
+
1684
+ /** @deprecated */
1685
+ charset?: string | RemoveAttribute;
1686
+ /** @deprecated */
1687
+ rev?: string | RemoveAttribute;
1688
+ /** @deprecated */
1689
+ target?: string | RemoveAttribute;
1690
+ }
1691
+ interface MapHTMLAttributes<T> extends HTMLAttributes<T> {
1692
+ name?: string | RemoveAttribute;
1693
+ }
1694
+ interface MediaHTMLAttributes<T> extends HTMLAttributes<T> {
1695
+ autoplay?: BooleanAttribute | RemoveAttribute;
1696
+ controls?: BooleanAttribute | RemoveAttribute;
1697
+ controlslist?:
1698
+ | "nodownload"
1699
+ | "nofullscreen"
1700
+ | "noplaybackrate"
1701
+ | "noremoteplayback"
1702
+ | (string & {})
1703
+ | RemoveAttribute;
1704
+ crossorigin?: HTMLCrossorigin | RemoveAttribute;
1705
+ disableremoteplayback?: BooleanAttribute | RemoveAttribute;
1706
+ loop?: BooleanAttribute | RemoveAttribute;
1707
+
1708
+ preload?: "none" | "metadata" | "auto" | EnumeratedAcceptsEmpty | RemoveAttribute;
1709
+ src?: string | RemoveAttribute;
1710
+
1711
+ onEncrypted?: EventHandlerUnion<T, MediaEncryptedEvent> | undefined;
1712
+ "on:encrypted"?: EventHandlerWithOptionsUnion<T, MediaEncryptedEvent> | undefined;
1713
+
1714
+ onWaitingForKey?: EventHandlerUnion<T, Event> | undefined;
1715
+ "on:waitingforkey"?: EventHandlerWithOptionsUnion<T, Event> | undefined;
1716
+
1717
+ /** @deprecated */
1718
+ mediagroup?: string | RemoveAttribute;
1719
+
1720
+ // special cases locked to properties
1721
+
1722
+ muted?: BooleanProperty | RemoveProperty;
1723
+ /** @error use `<video/audio muted={..}/>` instead */
1724
+ "prop:muted"?: never;
1725
+
1726
+ defaultMuted?: BooleanProperty | RemoveProperty;
1727
+ /** @error use `<video/audio defaultMuted={..}/>` instead */
1728
+ "prop:defaultMuted"?: never;
1729
+ }
1730
+ interface MenuHTMLAttributes<T> extends HTMLAttributes<T> {
1731
+ /** @deprecated */
1732
+ compact?: BooleanAttribute | RemoveAttribute;
1733
+ /** @deprecated */
1734
+ label?: string | RemoveAttribute;
1735
+ /** @deprecated */
1736
+ type?: "context" | "toolbar" | RemoveAttribute;
1737
+ }
1738
+ interface MetaHTMLAttributes<T> extends HTMLAttributes<T> {
1739
+ "http-equiv"?:
1740
+ | "content-security-policy"
1741
+ | "content-type"
1742
+ | "default-style"
1743
+ | "x-ua-compatible"
1744
+ | "refresh"
1745
+ | RemoveAttribute;
1746
+ charset?: string | RemoveAttribute;
1747
+ content?: string | RemoveAttribute;
1748
+ media?: string | RemoveAttribute;
1749
+ name?: string | RemoveAttribute;
1750
+
1751
+ /** @deprecated */
1752
+ scheme?: string | RemoveAttribute;
1753
+ }
1754
+ interface MeterHTMLAttributes<T> extends HTMLAttributes<T> {
1755
+ form?: string | RemoveAttribute;
1756
+ high?: number | string | RemoveAttribute;
1757
+ low?: number | string | RemoveAttribute;
1758
+ max?: number | string | RemoveAttribute;
1759
+ min?: number | string | RemoveAttribute;
1760
+ optimum?: number | string | RemoveAttribute;
1761
+ value?: string | string[] | number | RemoveAttribute;
1762
+ }
1763
+ interface QuoteHTMLAttributes<T> extends HTMLAttributes<T> {
1764
+ cite?: string | RemoveAttribute;
1765
+ }
1766
+ interface ObjectHTMLAttributes<T> extends HTMLAttributes<T> {
1767
+ data?: string | RemoveAttribute;
1768
+ form?: string | RemoveAttribute;
1769
+ height?: number | string | RemoveAttribute;
1770
+ name?: string | RemoveAttribute;
1771
+ type?: string | RemoveAttribute;
1772
+ width?: number | string | RemoveAttribute;
1773
+ wmode?: string | RemoveAttribute;
1774
+
1775
+ /** @deprecated */
1776
+ align?: string | RemoveAttribute;
1777
+ /** @deprecated */
1778
+ archive?: string | RemoveAttribute;
1779
+ /** @deprecated */
1780
+ border?: string | RemoveAttribute;
1781
+ /** @deprecated */
1782
+ classid?: string | RemoveAttribute;
1783
+ /** @deprecated */
1784
+ code?: string | RemoveAttribute;
1785
+ /** @deprecated */
1786
+ codebase?: string | RemoveAttribute;
1787
+ /** @deprecated */
1788
+ codetype?: string | RemoveAttribute;
1789
+ /** @deprecated */
1790
+ declare?: BooleanAttribute | RemoveAttribute;
1791
+ /** @deprecated */
1792
+ hspace?: number | string | RemoveAttribute;
1793
+ /** @deprecated */
1794
+ standby?: string | RemoveAttribute;
1795
+ /** @deprecated */
1796
+ usemap?: string | RemoveAttribute;
1797
+ /** @deprecated */
1798
+ vspace?: number | string | RemoveAttribute;
1799
+ /** @deprecated */
1800
+ typemustmatch?: BooleanAttribute | RemoveAttribute;
1801
+ }
1802
+ interface OlHTMLAttributes<T> extends HTMLAttributes<T> {
1803
+ reversed?: BooleanAttribute | RemoveAttribute;
1804
+ start?: number | string | RemoveAttribute;
1805
+ type?: "1" | "a" | "A" | "i" | "I" | RemoveAttribute;
1806
+
1807
+ /**
1808
+ * @deprecated
1809
+ * @non-standard
1810
+ */
1811
+ compact?: BooleanAttribute | RemoveAttribute;
1812
+ }
1813
+ interface OptgroupHTMLAttributes<T> extends HTMLAttributes<T> {
1814
+ disabled?: BooleanAttribute | RemoveAttribute;
1815
+ label?: string | RemoveAttribute;
1816
+ }
1817
+ interface OptionHTMLAttributes<T> extends HTMLAttributes<T> {
1818
+ disabled?: BooleanAttribute | RemoveAttribute;
1819
+ label?: string | RemoveAttribute;
1820
+
1821
+ // special cases locked to properties
1822
+
1823
+ selected?: BooleanProperty | RemoveProperty;
1824
+ /** @error use `<option selected={..}/>` instead */
1825
+ "prop:selected"?: never;
1826
+
1827
+ defaultSelected?: BooleanProperty | RemoveProperty;
1828
+ /** @error use `<option defaultSelected={..}/>` instead */
1829
+ "prop:defaultSelected"?: never;
1830
+
1831
+ value?: string | string[] | number | RemoveProperty;
1832
+ /** @error use `<option value={..}/>` instead */
1833
+ "prop:value"?: never;
1834
+
1835
+ // for sanity
1836
+
1837
+ /** @error This doesn't exists for `<option/>` */
1838
+ "prop:defaultValue"?: never;
1839
+ /** @error This doesn't exists for `<option/>` */
1840
+ defaultValue?: never;
1841
+ }
1842
+ interface OutputHTMLAttributes<T> extends HTMLAttributes<T> {
1843
+ for?: string | RemoveAttribute;
1844
+ form?: string | RemoveAttribute;
1845
+ name?: string | RemoveAttribute;
1846
+ }
1847
+ interface ParamHTMLAttributes<T> extends HTMLAttributes<T> {
1848
+ /** @deprecated */
1849
+ name?: string | RemoveAttribute;
1850
+ /** @deprecated */
1851
+ type?: string | RemoveAttribute;
1852
+ /** @deprecated */
1853
+ value?: string | number | RemoveAttribute;
1854
+ /** @deprecated */
1855
+ valuetype?: "data" | "ref" | "object" | RemoveAttribute;
1856
+ }
1857
+ interface ProgressHTMLAttributes<T> extends HTMLAttributes<T> {
1858
+ max?: number | string | RemoveAttribute;
1859
+ value?: string | string[] | number | RemoveAttribute;
1860
+ }
1861
+ interface ScriptHTMLAttributes<T> extends HTMLAttributes<T> {
1862
+ async?: BooleanAttribute | RemoveAttribute;
1863
+ blocking?: "render" | RemoveAttribute;
1864
+ crossorigin?: HTMLCrossorigin | RemoveAttribute;
1865
+ defer?: BooleanAttribute | RemoveAttribute;
1866
+ fetchpriority?: "high" | "low" | "auto" | RemoveAttribute;
1867
+ for?: string | RemoveAttribute;
1868
+ integrity?: string | RemoveAttribute;
1869
+ nomodule?: BooleanAttribute | RemoveAttribute;
1870
+ referrerpolicy?: HTMLReferrerPolicy | RemoveAttribute;
1871
+ src?: string | RemoveAttribute;
1872
+ type?: "importmap" | "module" | "speculationrules" | (string & {}) | RemoveAttribute;
1873
+
1874
+ /** @experimental */
1875
+ attributionsrc?: string | RemoveAttribute;
1876
+
1877
+ /** @deprecated */
1878
+ charset?: string | RemoveAttribute;
1879
+ /** @deprecated */
1880
+ event?: string | RemoveAttribute;
1881
+ /** @deprecated */
1882
+ language?: string | RemoveAttribute;
1883
+ }
1884
+ interface SelectHTMLAttributes<T> extends HTMLAttributes<T> {
1885
+ autocomplete?: HTMLAutocomplete | RemoveAttribute;
1886
+ disabled?: BooleanAttribute | RemoveAttribute;
1887
+ form?: string | RemoveAttribute;
1888
+ multiple?: BooleanAttribute | RemoveAttribute;
1889
+ name?: string | RemoveAttribute;
1890
+ required?: BooleanAttribute | RemoveAttribute;
1891
+ size?: number | string | RemoveAttribute;
1892
+
1893
+ // special cases locked to properties
1894
+
1895
+ value?: string | string[] | number | RemoveProperty;
1896
+ /** @error use `<select value={..}/>` instead */
1897
+ "prop:value"?: never;
1898
+
1899
+ // for sanity
1900
+
1901
+ /** @error use `<option defaultSelected={..}/>` instead */
1902
+ defaultSelected?: never;
1903
+ /** @error use `<option defaultSelected={..}/>` instead */
1904
+ "prop:defaultSelected"?: never;
1905
+
1906
+ /** @error use `<option defaultSelected={..}/>` instead */
1907
+ selected?: never;
1908
+ /** @error use `<option defaultSelected={..}/>` instead */
1909
+ "prop:selected"?: never;
1910
+ }
1911
+ interface HTMLSlotElementAttributes<T> extends HTMLAttributes<T> {
1912
+ name?: string | RemoveAttribute;
1913
+ }
1914
+ interface SourceHTMLAttributes<T> extends HTMLAttributes<T> {
1915
+ height?: number | string | RemoveAttribute;
1916
+ media?: string | RemoveAttribute;
1917
+ sizes?: string | RemoveAttribute;
1918
+ src?: string | RemoveAttribute;
1919
+ srcset?: string | RemoveAttribute;
1920
+ type?: string | RemoveAttribute;
1921
+ width?: number | string | RemoveAttribute;
1922
+ }
1923
+ interface StyleHTMLAttributes<T> extends HTMLAttributes<T> {
1924
+ blocking?: "render" | RemoveAttribute;
1925
+ media?: string | RemoveAttribute;
1926
+
1927
+ /** @deprecated */
1928
+ scoped?: BooleanAttribute | RemoveAttribute;
1929
+ /** @deprecated */
1930
+ type?: string | RemoveAttribute;
1931
+ }
1932
+ interface TdHTMLAttributes<T> extends HTMLAttributes<T> {
1933
+ colspan?: number | string | RemoveAttribute;
1934
+ headers?: string | RemoveAttribute;
1935
+ rowspan?: number | string | RemoveAttribute;
1936
+
1937
+ /** @deprecated */
1938
+ abbr?: string | RemoveAttribute;
1939
+ /** @deprecated */
1940
+ align?: "left" | "center" | "right" | "justify" | "char" | RemoveAttribute;
1941
+ /** @deprecated */
1942
+ axis?: string | RemoveAttribute;
1943
+ /** @deprecated */
1944
+ bgcolor?: string | RemoveAttribute;
1945
+ /** @deprecated */
1946
+ char?: string | RemoveAttribute;
1947
+ /** @deprecated */
1948
+ charoff?: string | RemoveAttribute;
1949
+ /** @deprecated */
1950
+ height?: number | string | RemoveAttribute;
1951
+ /** @deprecated */
1952
+ nowrap?: BooleanAttribute | RemoveAttribute;
1953
+ /** @deprecated */
1954
+ scope?: "col" | "row" | "rowgroup" | "colgroup" | RemoveAttribute;
1955
+ /** @deprecated */
1956
+ valign?: "baseline" | "bottom" | "middle" | "top" | RemoveAttribute;
1957
+ /** @deprecated */
1958
+ width?: number | string | RemoveAttribute;
1959
+ }
1960
+ interface TemplateHTMLAttributes<T> extends HTMLAttributes<T> {
1961
+ shadowrootclonable?: BooleanAttribute | RemoveAttribute;
1962
+ shadowrootdelegatesfocus?: BooleanAttribute | RemoveAttribute;
1963
+ shadowrootmode?: "open" | "closed" | RemoveAttribute;
1964
+ shadowrootcustomelementregistry?: BooleanAttribute | RemoveAttribute;
1965
+
1966
+ /** @experimental */
1967
+ shadowrootserializable?: BooleanAttribute | RemoveAttribute;
1968
+ }
1969
+ interface TextareaHTMLAttributes<T> extends HTMLAttributes<T> {
1970
+ autocomplete?: HTMLAutocomplete | RemoveAttribute;
1971
+ cols?: number | string | RemoveAttribute;
1972
+ dirname?: string | RemoveAttribute;
1973
+ disabled?: BooleanAttribute | RemoveAttribute;
1974
+
1975
+ form?: string | RemoveAttribute;
1976
+ maxlength?: number | string | RemoveAttribute;
1977
+ minlength?: number | string | RemoveAttribute;
1978
+ name?: string | RemoveAttribute;
1979
+ placeholder?: string | RemoveAttribute;
1980
+ readonly?: BooleanAttribute | RemoveAttribute;
1981
+ required?: BooleanAttribute | RemoveAttribute;
1982
+ rows?: number | string | RemoveAttribute;
1983
+ wrap?: "hard" | "soft" | "off" | RemoveAttribute;
1984
+
1985
+ // special cases locked to properties
1986
+
1987
+ value?: string | string[] | number | RemoveProperty;
1988
+ /** @error use `<textarea value={..}/>` instead */
1989
+ "prop:value"?: never;
1990
+
1991
+ defaultValue?: string | string[] | number | RemoveProperty;
1992
+ /** @error use `<textarea defaultValue={..}/>` instead */
1993
+ "prop:defaultValue"?: never;
1994
+ }
1995
+ interface ThHTMLAttributes<T> extends HTMLAttributes<T> {
1996
+ abbr?: string | RemoveAttribute;
1997
+ colspan?: number | string | RemoveAttribute;
1998
+ headers?: string | RemoveAttribute;
1999
+ rowspan?: number | string | RemoveAttribute;
2000
+ scope?: "col" | "row" | "rowgroup" | "colgroup" | RemoveAttribute;
2001
+
2002
+ /** @deprecated */
2003
+ align?: "left" | "center" | "right" | "justify" | "char" | RemoveAttribute;
2004
+ /** @deprecated */
2005
+ axis?: string | RemoveAttribute;
2006
+ /** @deprecated */
2007
+ bgcolor?: string | RemoveAttribute;
2008
+ /** @deprecated */
2009
+ char?: string | RemoveAttribute;
2010
+ /** @deprecated */
2011
+ charoff?: string | RemoveAttribute;
2012
+ /** @deprecated */
2013
+ height?: string | RemoveAttribute;
2014
+ /** @deprecated */
2015
+ nowrap?: BooleanAttribute | RemoveAttribute;
2016
+ /** @deprecated */
2017
+ valign?: "baseline" | "bottom" | "middle" | "top" | RemoveAttribute;
2018
+ /** @deprecated */
2019
+ width?: number | string | RemoveAttribute;
2020
+ }
2021
+ interface TimeHTMLAttributes<T> extends HTMLAttributes<T> {
2022
+ datetime?: string | RemoveAttribute;
2023
+ }
2024
+ interface TrackHTMLAttributes<T> extends HTMLAttributes<T> {
2025
+ default?: BooleanAttribute | RemoveAttribute;
2026
+ kind?:
2027
+ | "alternative"
2028
+ | "descriptions"
2029
+ | "main"
2030
+ | "main-desc"
2031
+ | "translation"
2032
+ | "commentary"
2033
+ | "subtitles"
2034
+ | "captions"
2035
+ | "chapters"
2036
+ | "metadata"
2037
+ | RemoveAttribute;
2038
+ label?: string | RemoveAttribute;
2039
+ src?: string | RemoveAttribute;
2040
+ srclang?: string | RemoveAttribute;
2041
+
2042
+ /** @deprecated */
2043
+ mediagroup?: string | RemoveAttribute;
2044
+ }
2045
+ interface VideoHTMLAttributes<T> extends MediaHTMLAttributes<T> {
2046
+ disablepictureinpicture?: BooleanAttribute | RemoveAttribute;
2047
+ height?: number | string | RemoveAttribute;
2048
+ playsinline?: BooleanAttribute | RemoveAttribute;
2049
+ poster?: string | RemoveAttribute;
2050
+ width?: number | string | RemoveAttribute;
2051
+
2052
+ onEnterPictureInPicture?: EventHandlerUnion<T, PictureInPictureEvent> | undefined;
2053
+ "on:enterpictureinpicture"?: EventHandlerWithOptionsUnion<T, PictureInPictureEvent> | undefined;
2054
+
2055
+ onLeavePictureInPicture?: EventHandlerUnion<T, PictureInPictureEvent> | undefined;
2056
+ "on:leavepictureinpicture"?: EventHandlerWithOptionsUnion<T, PictureInPictureEvent> | undefined;
2057
+ }
2058
+
2059
+ interface WebViewHTMLAttributes<T> extends HTMLAttributes<T> {
2060
+ allowpopups?: BooleanAttribute | RemoveAttribute;
2061
+ disableblinkfeatures?: string | RemoveAttribute;
2062
+ disablewebsecurity?: BooleanAttribute | RemoveAttribute;
2063
+ enableblinkfeatures?: string | RemoveAttribute;
2064
+ httpreferrer?: string | RemoveAttribute;
2065
+ nodeintegration?: BooleanAttribute | RemoveAttribute;
2066
+ nodeintegrationinsubframes?: BooleanAttribute | RemoveAttribute;
2067
+ partition?: string | RemoveAttribute;
2068
+ plugins?: BooleanAttribute | RemoveAttribute;
2069
+ preload?: string | RemoveAttribute;
2070
+ src?: string | RemoveAttribute;
2071
+ useragent?: string | RemoveAttribute;
2072
+ webpreferences?: string | RemoveAttribute;
2073
+
2074
+ // does this exists?
2075
+ allowfullscreen?: BooleanAttribute | RemoveAttribute;
2076
+ autosize?: BooleanAttribute | RemoveAttribute;
2077
+
2078
+ /** @deprecated */
2079
+ blinkfeatures?: string | RemoveAttribute;
2080
+ /** @deprecated */
2081
+ disableguestresize?: BooleanAttribute | RemoveAttribute;
2082
+ /** @deprecated */
2083
+ guestinstance?: string | RemoveAttribute;
2084
+ }
2085
+
2086
+ // SVG
2087
+
2088
+ type SVGPreserveAspectRatio =
2089
+ | "none"
2090
+ | "xMinYMin"
2091
+ | "xMidYMin"
2092
+ | "xMaxYMin"
2093
+ | "xMinYMid"
2094
+ | "xMidYMid"
2095
+ | "xMaxYMid"
2096
+ | "xMinYMax"
2097
+ | "xMidYMax"
2098
+ | "xMaxYMax"
2099
+ | "xMinYMin meet"
2100
+ | "xMidYMin meet"
2101
+ | "xMaxYMin meet"
2102
+ | "xMinYMid meet"
2103
+ | "xMidYMid meet"
2104
+ | "xMaxYMid meet"
2105
+ | "xMinYMax meet"
2106
+ | "xMidYMax meet"
2107
+ | "xMaxYMax meet"
2108
+ | "xMinYMin slice"
2109
+ | "xMidYMin slice"
2110
+ | "xMaxYMin slice"
2111
+ | "xMinYMid slice"
2112
+ | "xMidYMid slice"
2113
+ | "xMaxYMid slice"
2114
+ | "xMinYMax slice"
2115
+ | "xMidYMax slice"
2116
+ | "xMaxYMax slice";
2117
+ type ImagePreserveAspectRatio =
2118
+ | SVGPreserveAspectRatio
2119
+ | "defer none"
2120
+ | "defer xMinYMin"
2121
+ | "defer xMidYMin"
2122
+ | "defer xMaxYMin"
2123
+ | "defer xMinYMid"
2124
+ | "defer xMidYMid"
2125
+ | "defer xMaxYMid"
2126
+ | "defer xMinYMax"
2127
+ | "defer xMidYMax"
2128
+ | "defer xMaxYMax"
2129
+ | "defer xMinYMin meet"
2130
+ | "defer xMidYMin meet"
2131
+ | "defer xMaxYMin meet"
2132
+ | "defer xMinYMid meet"
2133
+ | "defer xMidYMid meet"
2134
+ | "defer xMaxYMid meet"
2135
+ | "defer xMinYMax meet"
2136
+ | "defer xMidYMax meet"
2137
+ | "defer xMaxYMax meet"
2138
+ | "defer xMinYMin slice"
2139
+ | "defer xMidYMin slice"
2140
+ | "defer xMaxYMin slice"
2141
+ | "defer xMinYMid slice"
2142
+ | "defer xMidYMid slice"
2143
+ | "defer xMaxYMid slice"
2144
+ | "defer xMinYMax slice"
2145
+ | "defer xMidYMax slice"
2146
+ | "defer xMaxYMax slice";
2147
+ type SVGUnits = "userSpaceOnUse" | "objectBoundingBox";
2148
+
2149
+ interface StylableSVGAttributes {
2150
+ class?: string | ClassList | RemoveAttribute;
2151
+ style?: CSSProperties | string | RemoveAttribute;
2152
+ }
2153
+ interface TransformableSVGAttributes {
2154
+ transform?: string | RemoveAttribute;
2155
+ }
2156
+ interface ConditionalProcessingSVGAttributes {
2157
+ requiredExtensions?: string | RemoveAttribute;
2158
+ requiredFeatures?: string | RemoveAttribute;
2159
+ systemLanguage?: string | RemoveAttribute;
2160
+ }
2161
+ interface ExternalResourceSVGAttributes {
2162
+ externalResourcesRequired?: EnumeratedPseudoBoolean | RemoveAttribute;
2163
+ }
2164
+ interface AnimationTimingSVGAttributes {
2165
+ begin?: string | RemoveAttribute;
2166
+ dur?: string | RemoveAttribute;
2167
+ end?: string | RemoveAttribute;
2168
+ fill?: "freeze" | "remove" | RemoveAttribute;
2169
+ max?: string | RemoveAttribute;
2170
+ min?: string | RemoveAttribute;
2171
+ repeatCount?: number | "indefinite" | RemoveAttribute;
2172
+ repeatDur?: string | RemoveAttribute;
2173
+ restart?: "always" | "whenNotActive" | "never" | RemoveAttribute;
2174
+ }
2175
+ interface AnimationValueSVGAttributes {
2176
+ by?: number | string | RemoveAttribute;
2177
+ calcMode?: "discrete" | "linear" | "paced" | "spline" | RemoveAttribute;
2178
+ from?: number | string | RemoveAttribute;
2179
+ keySplines?: string | RemoveAttribute;
2180
+ keyTimes?: string | RemoveAttribute;
2181
+ to?: number | string | RemoveAttribute;
2182
+ values?: string | RemoveAttribute;
2183
+ }
2184
+ interface AnimationAdditionSVGAttributes {
2185
+ accumulate?: "none" | "sum" | RemoveAttribute;
2186
+ additive?: "replace" | "sum" | RemoveAttribute;
2187
+ attributeName?: string | RemoveAttribute;
2188
+ }
2189
+ interface AnimationAttributeTargetSVGAttributes {
2190
+ attributeName?: string | RemoveAttribute;
2191
+ attributeType?: "CSS" | "XML" | "auto" | RemoveAttribute;
2192
+ }
2193
+ interface PresentationSVGAttributes {
2194
+ "alignment-baseline"?:
2195
+ | "auto"
2196
+ | "baseline"
2197
+ | "before-edge"
2198
+ | "text-before-edge"
2199
+ | "middle"
2200
+ | "central"
2201
+ | "after-edge"
2202
+ | "text-after-edge"
2203
+ | "ideographic"
2204
+ | "alphabetic"
2205
+ | "hanging"
2206
+ | "mathematical"
2207
+ | "inherit"
2208
+ | RemoveAttribute;
2209
+ "baseline-shift"?: number | string | RemoveAttribute;
2210
+ "clip-path"?: string | RemoveAttribute;
2211
+ "clip-rule"?: "nonzero" | "evenodd" | "inherit" | RemoveAttribute;
2212
+ "color-interpolation"?: "auto" | "sRGB" | "linearRGB" | "inherit" | RemoveAttribute;
2213
+ "color-interpolation-filters"?: "auto" | "sRGB" | "linearRGB" | "inherit" | RemoveAttribute;
2214
+ "color-profile"?: string | RemoveAttribute;
2215
+ "color-rendering"?: "auto" | "optimizeSpeed" | "optimizeQuality" | "inherit" | RemoveAttribute;
2216
+ "dominant-baseline"?:
2217
+ | "auto"
2218
+ | "text-bottom"
2219
+ | "alphabetic"
2220
+ | "ideographic"
2221
+ | "middle"
2222
+ | "central"
2223
+ | "mathematical"
2224
+ | "hanging"
2225
+ | "text-top"
2226
+ | "inherit"
2227
+ | RemoveAttribute;
2228
+ "enable-background"?: string | RemoveAttribute;
2229
+ "fill-opacity"?: number | string | "inherit" | RemoveAttribute;
2230
+ "fill-rule"?: "nonzero" | "evenodd" | "inherit" | RemoveAttribute;
2231
+ "flood-color"?: string | RemoveAttribute;
2232
+ "flood-opacity"?: number | string | "inherit" | RemoveAttribute;
2233
+ "font-family"?: string | RemoveAttribute;
2234
+ "font-size"?: string | RemoveAttribute;
2235
+ "font-size-adjust"?: number | string | RemoveAttribute;
2236
+ "font-stretch"?: string | RemoveAttribute;
2237
+ "font-style"?: "normal" | "italic" | "oblique" | "inherit" | RemoveAttribute;
2238
+ "font-variant"?: string | RemoveAttribute;
2239
+ "font-weight"?: number | string | RemoveAttribute;
2240
+ "glyph-orientation-horizontal"?: string | RemoveAttribute;
2241
+ "glyph-orientation-vertical"?: string | RemoveAttribute;
2242
+ "image-rendering"?: "auto" | "optimizeQuality" | "optimizeSpeed" | "inherit" | RemoveAttribute;
2243
+ "letter-spacing"?: number | string | RemoveAttribute;
2244
+ "lighting-color"?: string | RemoveAttribute;
2245
+ "marker-end"?: string | RemoveAttribute;
2246
+ "marker-mid"?: string | RemoveAttribute;
2247
+ "marker-start"?: string | RemoveAttribute;
2248
+ "pointer-events"?:
2249
+ | "bounding-box"
2250
+ | "visiblePainted"
2251
+ | "visibleFill"
2252
+ | "visibleStroke"
2253
+ | "visible"
2254
+ | "painted"
2255
+ | "color"
2256
+ | "fill"
2257
+ | "stroke"
2258
+ | "all"
2259
+ | "none"
2260
+ | "inherit"
2261
+ | RemoveAttribute;
2262
+ "shape-rendering"?:
2263
+ | "auto"
2264
+ | "optimizeSpeed"
2265
+ | "crispEdges"
2266
+ | "geometricPrecision"
2267
+ | "inherit"
2268
+ | RemoveAttribute;
2269
+ "stop-color"?: string | RemoveAttribute;
2270
+ "stop-opacity"?: number | string | "inherit" | RemoveAttribute;
2271
+ "stroke-dasharray"?: string | RemoveAttribute;
2272
+ "stroke-dashoffset"?: number | string | RemoveAttribute;
2273
+ "stroke-linecap"?: "butt" | "round" | "square" | "inherit" | RemoveAttribute;
2274
+ "stroke-linejoin"?:
2275
+ | "arcs"
2276
+ | "bevel"
2277
+ | "miter"
2278
+ | "miter-clip"
2279
+ | "round"
2280
+ | "inherit"
2281
+ | RemoveAttribute;
2282
+ "stroke-miterlimit"?: number | string | "inherit" | RemoveAttribute;
2283
+ "stroke-opacity"?: number | string | "inherit" | RemoveAttribute;
2284
+ "stroke-width"?: number | string | RemoveAttribute;
2285
+ "text-anchor"?: "start" | "middle" | "end" | "inherit" | RemoveAttribute;
2286
+ "text-decoration"?:
2287
+ | "none"
2288
+ | "underline"
2289
+ | "overline"
2290
+ | "line-through"
2291
+ | "blink"
2292
+ | "inherit"
2293
+ | RemoveAttribute;
2294
+ "text-rendering"?:
2295
+ | "auto"
2296
+ | "optimizeSpeed"
2297
+ | "optimizeLegibility"
2298
+ | "geometricPrecision"
2299
+ | "inherit"
2300
+ | RemoveAttribute;
2301
+ "unicode-bidi"?: string | RemoveAttribute;
2302
+ "word-spacing"?: number | string | RemoveAttribute;
2303
+ "writing-mode"?: "lr-tb" | "rl-tb" | "tb-rl" | "lr" | "rl" | "tb" | "inherit" | RemoveAttribute;
2304
+ clip?: string | RemoveAttribute;
2305
+ color?: string | RemoveAttribute;
2306
+ cursor?: string | RemoveAttribute;
2307
+ direction?: "ltr" | "rtl" | "inherit" | RemoveAttribute;
2308
+ display?: string | RemoveAttribute;
2309
+ fill?: string | RemoveAttribute;
2310
+ filter?: string | RemoveAttribute;
2311
+ kerning?: string | RemoveAttribute;
2312
+ mask?: string | RemoveAttribute;
2313
+ opacity?: number | string | "inherit" | RemoveAttribute;
2314
+ overflow?: "visible" | "hidden" | "scroll" | "auto" | "inherit" | RemoveAttribute;
2315
+ pathLength?: string | number | RemoveAttribute;
2316
+ stroke?: string | RemoveAttribute;
2317
+ visibility?: "visible" | "hidden" | "collapse" | "inherit" | RemoveAttribute;
2318
+ }
2319
+ interface AnimationElementSVGAttributes<T>
2320
+ extends SVGAttributes<T>,
2321
+ ExternalResourceSVGAttributes,
2322
+ ConditionalProcessingSVGAttributes {
2323
+ onBegin?: EventHandlerUnion<T, TimeEvent> | undefined;
2324
+ "on:begin"?: EventHandlerWithOptionsUnion<T, TimeEvent> | undefined;
2325
+
2326
+ onEnd?: EventHandlerUnion<T, TimeEvent> | undefined;
2327
+ "on:end"?: EventHandlerWithOptionsUnion<T, TimeEvent> | undefined;
2328
+
2329
+ onRepeat?: EventHandlerUnion<T, TimeEvent> | undefined;
2330
+ "on:repeat"?: EventHandlerWithOptionsUnion<T, TimeEvent> | undefined;
2331
+ }
2332
+ interface ContainerElementSVGAttributes<T>
2333
+ extends SVGAttributes<T>,
2334
+ ShapeElementSVGAttributes<T>,
2335
+ Pick<
2336
+ PresentationSVGAttributes,
2337
+ | "clip-path"
2338
+ | "mask"
2339
+ | "cursor"
2340
+ | "opacity"
2341
+ | "filter"
2342
+ | "enable-background"
2343
+ | "color-interpolation"
2344
+ | "color-rendering"
2345
+ > {}
2346
+ interface FilterPrimitiveElementSVGAttributes<T>
2347
+ extends SVGAttributes<T>,
2348
+ Pick<PresentationSVGAttributes, "color-interpolation-filters"> {
2349
+ height?: number | string | RemoveAttribute;
2350
+ result?: string | RemoveAttribute;
2351
+ width?: number | string | RemoveAttribute;
2352
+ x?: number | string | RemoveAttribute;
2353
+ y?: number | string | RemoveAttribute;
2354
+ }
2355
+ interface SingleInputFilterSVGAttributes {
2356
+ in?: string | RemoveAttribute;
2357
+ }
2358
+ interface DoubleInputFilterSVGAttributes {
2359
+ in?: string | RemoveAttribute;
2360
+ in2?: string | RemoveAttribute;
2361
+ }
2362
+ interface FitToViewBoxSVGAttributes {
2363
+ preserveAspectRatio?: SVGPreserveAspectRatio | RemoveAttribute;
2364
+ viewBox?: string | RemoveAttribute;
2365
+ }
2366
+ interface GradientElementSVGAttributes<T>
2367
+ extends SVGAttributes<T>,
2368
+ ExternalResourceSVGAttributes,
2369
+ StylableSVGAttributes {
2370
+ gradientTransform?: string | RemoveAttribute;
2371
+ gradientUnits?: SVGUnits | RemoveAttribute;
2372
+ href?: string | RemoveAttribute;
2373
+ spreadMethod?: "pad" | "reflect" | "repeat" | RemoveAttribute;
2374
+ }
2375
+ interface GraphicsElementSVGAttributes<T>
2376
+ extends SVGAttributes<T>,
2377
+ Pick<
2378
+ PresentationSVGAttributes,
2379
+ | "clip-rule"
2380
+ | "mask"
2381
+ | "pointer-events"
2382
+ | "cursor"
2383
+ | "opacity"
2384
+ | "filter"
2385
+ | "display"
2386
+ | "visibility"
2387
+ | "color-interpolation"
2388
+ | "color-rendering"
2389
+ > {}
2390
+ interface LightSourceElementSVGAttributes<T> extends SVGAttributes<T> {}
2391
+ interface NewViewportSVGAttributes<T>
2392
+ extends SVGAttributes<T>,
2393
+ Pick<PresentationSVGAttributes, "overflow" | "clip"> {
2394
+ viewBox?: string | RemoveAttribute;
2395
+ }
2396
+ interface ShapeElementSVGAttributes<T>
2397
+ extends SVGAttributes<T>,
2398
+ Pick<
2399
+ PresentationSVGAttributes,
2400
+ | "color"
2401
+ | "fill"
2402
+ | "fill-rule"
2403
+ | "fill-opacity"
2404
+ | "stroke"
2405
+ | "stroke-width"
2406
+ | "stroke-linecap"
2407
+ | "stroke-linejoin"
2408
+ | "stroke-miterlimit"
2409
+ | "stroke-dasharray"
2410
+ | "stroke-dashoffset"
2411
+ | "stroke-opacity"
2412
+ | "shape-rendering"
2413
+ | "pathLength"
2414
+ > {}
2415
+ interface TextContentElementSVGAttributes<T>
2416
+ extends SVGAttributes<T>,
2417
+ Pick<
2418
+ PresentationSVGAttributes,
2419
+ | "font-family"
2420
+ | "font-style"
2421
+ | "font-variant"
2422
+ | "font-weight"
2423
+ | "font-stretch"
2424
+ | "font-size"
2425
+ | "font-size-adjust"
2426
+ | "kerning"
2427
+ | "letter-spacing"
2428
+ | "word-spacing"
2429
+ | "text-decoration"
2430
+ | "glyph-orientation-horizontal"
2431
+ | "glyph-orientation-vertical"
2432
+ | "direction"
2433
+ | "unicode-bidi"
2434
+ | "text-anchor"
2435
+ | "dominant-baseline"
2436
+ | "color"
2437
+ | "fill"
2438
+ | "fill-rule"
2439
+ | "fill-opacity"
2440
+ | "stroke"
2441
+ | "stroke-width"
2442
+ | "stroke-linecap"
2443
+ | "stroke-linejoin"
2444
+ | "stroke-miterlimit"
2445
+ | "stroke-dasharray"
2446
+ | "stroke-dashoffset"
2447
+ | "stroke-opacity"
2448
+ > {}
2449
+ interface ZoomAndPanSVGAttributes {
2450
+ /**
2451
+ * @deprecated
2452
+ * @non-standard
2453
+ */
2454
+ zoomAndPan?: "disable" | "magnify" | RemoveAttribute;
2455
+ }
2456
+ interface AnimateSVGAttributes<T>
2457
+ extends AnimationElementSVGAttributes<T>,
2458
+ AnimationAttributeTargetSVGAttributes,
2459
+ AnimationTimingSVGAttributes,
2460
+ AnimationValueSVGAttributes,
2461
+ AnimationAdditionSVGAttributes,
2462
+ Pick<PresentationSVGAttributes, "color-interpolation" | "color-rendering"> {}
2463
+ interface AnimateMotionSVGAttributes<T>
2464
+ extends AnimationElementSVGAttributes<T>,
2465
+ AnimationTimingSVGAttributes,
2466
+ AnimationValueSVGAttributes,
2467
+ AnimationAdditionSVGAttributes {
2468
+ keyPoints?: string | RemoveAttribute;
2469
+ origin?: "default" | RemoveAttribute;
2470
+ path?: string | RemoveAttribute;
2471
+ rotate?: number | string | "auto" | "auto-reverse" | RemoveAttribute;
2472
+ }
2473
+ interface AnimateTransformSVGAttributes<T>
2474
+ extends AnimationElementSVGAttributes<T>,
2475
+ AnimationAttributeTargetSVGAttributes,
2476
+ AnimationTimingSVGAttributes,
2477
+ AnimationValueSVGAttributes,
2478
+ AnimationAdditionSVGAttributes {
2479
+ type?: "translate" | "scale" | "rotate" | "skewX" | "skewY" | RemoveAttribute;
2480
+ }
2481
+ interface CircleSVGAttributes<T>
2482
+ extends GraphicsElementSVGAttributes<T>,
2483
+ ShapeElementSVGAttributes<T>,
2484
+ ConditionalProcessingSVGAttributes,
2485
+ StylableSVGAttributes,
2486
+ TransformableSVGAttributes,
2487
+ Pick<PresentationSVGAttributes, "clip-path"> {
2488
+ cx?: number | string | RemoveAttribute;
2489
+ cy?: number | string | RemoveAttribute;
2490
+ r?: number | string | RemoveAttribute;
2491
+ }
2492
+ interface ClipPathSVGAttributes<T>
2493
+ extends SVGAttributes<T>,
2494
+ ConditionalProcessingSVGAttributes,
2495
+ ExternalResourceSVGAttributes,
2496
+ StylableSVGAttributes,
2497
+ TransformableSVGAttributes,
2498
+ Pick<PresentationSVGAttributes, "clip-path"> {
2499
+ clipPathUnits?: SVGUnits | RemoveAttribute;
2500
+ }
2501
+ interface DefsSVGAttributes<T>
2502
+ extends ContainerElementSVGAttributes<T>,
2503
+ ConditionalProcessingSVGAttributes,
2504
+ ExternalResourceSVGAttributes,
2505
+ StylableSVGAttributes,
2506
+ TransformableSVGAttributes {}
2507
+ interface DescSVGAttributes<T> extends SVGAttributes<T>, StylableSVGAttributes {}
2508
+ interface EllipseSVGAttributes<T>
2509
+ extends GraphicsElementSVGAttributes<T>,
2510
+ ShapeElementSVGAttributes<T>,
2511
+ ConditionalProcessingSVGAttributes,
2512
+ ExternalResourceSVGAttributes,
2513
+ StylableSVGAttributes,
2514
+ TransformableSVGAttributes,
2515
+ Pick<PresentationSVGAttributes, "clip-path"> {
2516
+ cx?: number | string | RemoveAttribute;
2517
+ cy?: number | string | RemoveAttribute;
2518
+ rx?: number | string | RemoveAttribute;
2519
+ ry?: number | string | RemoveAttribute;
2520
+ }
2521
+ interface FeBlendSVGAttributes<T>
2522
+ extends FilterPrimitiveElementSVGAttributes<T>,
2523
+ DoubleInputFilterSVGAttributes,
2524
+ StylableSVGAttributes {
2525
+ mode?: "normal" | "multiply" | "screen" | "darken" | "lighten" | RemoveAttribute;
2526
+ }
2527
+ interface FeColorMatrixSVGAttributes<T>
2528
+ extends FilterPrimitiveElementSVGAttributes<T>,
2529
+ SingleInputFilterSVGAttributes,
2530
+ StylableSVGAttributes {
2531
+ type?: "matrix" | "saturate" | "hueRotate" | "luminanceToAlpha" | RemoveAttribute;
2532
+ values?: string | RemoveAttribute;
2533
+ }
2534
+ interface FeComponentTransferSVGAttributes<T>
2535
+ extends FilterPrimitiveElementSVGAttributes<T>,
2536
+ SingleInputFilterSVGAttributes,
2537
+ StylableSVGAttributes {}
2538
+ interface FeCompositeSVGAttributes<T>
2539
+ extends FilterPrimitiveElementSVGAttributes<T>,
2540
+ DoubleInputFilterSVGAttributes,
2541
+ StylableSVGAttributes {
2542
+ k1?: number | string | RemoveAttribute;
2543
+ k2?: number | string | RemoveAttribute;
2544
+ k3?: number | string | RemoveAttribute;
2545
+ k4?: number | string | RemoveAttribute;
2546
+ operator?: "over" | "in" | "out" | "atop" | "xor" | "arithmetic" | RemoveAttribute;
2547
+ }
2548
+ interface FeConvolveMatrixSVGAttributes<T>
2549
+ extends FilterPrimitiveElementSVGAttributes<T>,
2550
+ SingleInputFilterSVGAttributes,
2551
+ StylableSVGAttributes {
2552
+ bias?: number | string | RemoveAttribute;
2553
+ divisor?: number | string | RemoveAttribute;
2554
+ edgeMode?: "duplicate" | "wrap" | "none" | RemoveAttribute;
2555
+ kernelMatrix?: string | RemoveAttribute;
2556
+ kernelUnitLength?: number | string | RemoveAttribute;
2557
+ order?: number | string | RemoveAttribute;
2558
+ preserveAlpha?: EnumeratedPseudoBoolean | RemoveAttribute;
2559
+ targetX?: number | string | RemoveAttribute;
2560
+ targetY?: number | string | RemoveAttribute;
2561
+ }
2562
+ interface FeDiffuseLightingSVGAttributes<T>
2563
+ extends FilterPrimitiveElementSVGAttributes<T>,
2564
+ SingleInputFilterSVGAttributes,
2565
+ StylableSVGAttributes,
2566
+ Pick<PresentationSVGAttributes, "color" | "lighting-color"> {
2567
+ diffuseConstant?: number | string | RemoveAttribute;
2568
+ kernelUnitLength?: number | string | RemoveAttribute;
2569
+ surfaceScale?: number | string | RemoveAttribute;
2570
+ }
2571
+ interface FeDisplacementMapSVGAttributes<T>
2572
+ extends FilterPrimitiveElementSVGAttributes<T>,
2573
+ DoubleInputFilterSVGAttributes,
2574
+ StylableSVGAttributes {
2575
+ scale?: number | string | RemoveAttribute;
2576
+ xChannelSelector?: "R" | "G" | "B" | "A" | RemoveAttribute;
2577
+ yChannelSelector?: "R" | "G" | "B" | "A" | RemoveAttribute;
2578
+ }
2579
+ interface FeDistantLightSVGAttributes<T> extends LightSourceElementSVGAttributes<T> {
2580
+ azimuth?: number | string | RemoveAttribute;
2581
+ elevation?: number | string | RemoveAttribute;
2582
+ }
2583
+ interface FeDropShadowSVGAttributes<T>
2584
+ extends SVGAttributes<T>,
2585
+ FilterPrimitiveElementSVGAttributes<T>,
2586
+ StylableSVGAttributes,
2587
+ Pick<PresentationSVGAttributes, "color" | "flood-color" | "flood-opacity"> {
2588
+ dx?: number | string | RemoveAttribute;
2589
+ dy?: number | string | RemoveAttribute;
2590
+ stdDeviation?: number | string | RemoveAttribute;
2591
+ }
2592
+ interface FeFloodSVGAttributes<T>
2593
+ extends FilterPrimitiveElementSVGAttributes<T>,
2594
+ StylableSVGAttributes,
2595
+ Pick<PresentationSVGAttributes, "color" | "flood-color" | "flood-opacity"> {}
2596
+ interface FeFuncSVGAttributes<T> extends SVGAttributes<T> {
2597
+ amplitude?: number | string | RemoveAttribute;
2598
+ exponent?: number | string | RemoveAttribute;
2599
+ intercept?: number | string | RemoveAttribute;
2600
+ offset?: number | string | RemoveAttribute;
2601
+ slope?: number | string | RemoveAttribute;
2602
+ tableValues?: string | RemoveAttribute;
2603
+ type?: "identity" | "table" | "discrete" | "linear" | "gamma" | RemoveAttribute;
2604
+ }
2605
+ interface FeGaussianBlurSVGAttributes<T>
2606
+ extends FilterPrimitiveElementSVGAttributes<T>,
2607
+ SingleInputFilterSVGAttributes,
2608
+ StylableSVGAttributes {
2609
+ stdDeviation?: number | string | RemoveAttribute;
2610
+ }
2611
+ interface FeImageSVGAttributes<T>
2612
+ extends FilterPrimitiveElementSVGAttributes<T>,
2613
+ ExternalResourceSVGAttributes,
2614
+ StylableSVGAttributes {
2615
+ href?: string | RemoveAttribute;
2616
+ preserveAspectRatio?: SVGPreserveAspectRatio | RemoveAttribute;
2617
+ }
2618
+ interface FeMergeSVGAttributes<T>
2619
+ extends FilterPrimitiveElementSVGAttributes<T>,
2620
+ StylableSVGAttributes {}
2621
+ interface FeMergeNodeSVGAttributes<T> extends SVGAttributes<T>, SingleInputFilterSVGAttributes {}
2622
+ interface FeMorphologySVGAttributes<T>
2623
+ extends FilterPrimitiveElementSVGAttributes<T>,
2624
+ SingleInputFilterSVGAttributes,
2625
+ StylableSVGAttributes {
2626
+ operator?: "erode" | "dilate" | RemoveAttribute;
2627
+ radius?: number | string | RemoveAttribute;
2628
+ }
2629
+ interface FeOffsetSVGAttributes<T>
2630
+ extends FilterPrimitiveElementSVGAttributes<T>,
2631
+ SingleInputFilterSVGAttributes,
2632
+ StylableSVGAttributes {
2633
+ dx?: number | string | RemoveAttribute;
2634
+ dy?: number | string | RemoveAttribute;
2635
+ }
2636
+ interface FePointLightSVGAttributes<T> extends LightSourceElementSVGAttributes<T> {
2637
+ x?: number | string | RemoveAttribute;
2638
+ y?: number | string | RemoveAttribute;
2639
+ z?: number | string | RemoveAttribute;
2640
+ }
2641
+ interface FeSpecularLightingSVGAttributes<T>
2642
+ extends FilterPrimitiveElementSVGAttributes<T>,
2643
+ SingleInputFilterSVGAttributes,
2644
+ StylableSVGAttributes,
2645
+ Pick<PresentationSVGAttributes, "color" | "lighting-color"> {
2646
+ kernelUnitLength?: number | string | RemoveAttribute;
2647
+ specularConstant?: string | RemoveAttribute;
2648
+ specularExponent?: string | RemoveAttribute;
2649
+ surfaceScale?: string | RemoveAttribute;
2650
+ }
2651
+ interface FeSpotLightSVGAttributes<T> extends LightSourceElementSVGAttributes<T> {
2652
+ limitingConeAngle?: number | string | RemoveAttribute;
2653
+ pointsAtX?: number | string | RemoveAttribute;
2654
+ pointsAtY?: number | string | RemoveAttribute;
2655
+ pointsAtZ?: number | string | RemoveAttribute;
2656
+ specularExponent?: number | string | RemoveAttribute;
2657
+ x?: number | string | RemoveAttribute;
2658
+ y?: number | string | RemoveAttribute;
2659
+ z?: number | string | RemoveAttribute;
2660
+ }
2661
+ interface FeTileSVGAttributes<T>
2662
+ extends FilterPrimitiveElementSVGAttributes<T>,
2663
+ SingleInputFilterSVGAttributes,
2664
+ StylableSVGAttributes {}
2665
+ interface FeTurbulanceSVGAttributes<T>
2666
+ extends FilterPrimitiveElementSVGAttributes<T>,
2667
+ StylableSVGAttributes {
2668
+ baseFrequency?: number | string | RemoveAttribute;
2669
+ numOctaves?: number | string | RemoveAttribute;
2670
+ seed?: number | string | RemoveAttribute;
2671
+ stitchTiles?: "stitch" | "noStitch" | RemoveAttribute;
2672
+ type?: "fractalNoise" | "turbulence" | RemoveAttribute;
2673
+ }
2674
+ interface FilterSVGAttributes<T>
2675
+ extends SVGAttributes<T>,
2676
+ ExternalResourceSVGAttributes,
2677
+ StylableSVGAttributes {
2678
+ filterRes?: number | string | RemoveAttribute;
2679
+ filterUnits?: SVGUnits | RemoveAttribute;
2680
+ height?: number | string | RemoveAttribute;
2681
+ primitiveUnits?: SVGUnits | RemoveAttribute;
2682
+ width?: number | string | RemoveAttribute;
2683
+ x?: number | string | RemoveAttribute;
2684
+ y?: number | string | RemoveAttribute;
2685
+ }
2686
+ interface ForeignObjectSVGAttributes<T>
2687
+ extends NewViewportSVGAttributes<T>,
2688
+ ConditionalProcessingSVGAttributes,
2689
+ ExternalResourceSVGAttributes,
2690
+ StylableSVGAttributes,
2691
+ TransformableSVGAttributes,
2692
+ Pick<PresentationSVGAttributes, "display" | "visibility"> {
2693
+ height?: number | string | RemoveAttribute;
2694
+ width?: number | string | RemoveAttribute;
2695
+ x?: number | string | RemoveAttribute;
2696
+ y?: number | string | RemoveAttribute;
2697
+ }
2698
+ interface GSVGAttributes<T>
2699
+ extends ContainerElementSVGAttributes<T>,
2700
+ ConditionalProcessingSVGAttributes,
2701
+ ExternalResourceSVGAttributes,
2702
+ StylableSVGAttributes,
2703
+ TransformableSVGAttributes,
2704
+ Pick<PresentationSVGAttributes, "clip-path" | "display" | "visibility"> {}
2705
+ interface ImageSVGAttributes<T>
2706
+ extends NewViewportSVGAttributes<T>,
2707
+ GraphicsElementSVGAttributes<T>,
2708
+ ConditionalProcessingSVGAttributes,
2709
+ StylableSVGAttributes,
2710
+ TransformableSVGAttributes,
2711
+ Pick<PresentationSVGAttributes, "clip-path" | "color-profile" | "image-rendering"> {
2712
+ height?: number | string | RemoveAttribute;
2713
+ href?: string | RemoveAttribute;
2714
+ preserveAspectRatio?: ImagePreserveAspectRatio | RemoveAttribute;
2715
+ width?: number | string | RemoveAttribute;
2716
+ x?: number | string | RemoveAttribute;
2717
+ y?: number | string | RemoveAttribute;
2718
+ }
2719
+ interface LineSVGAttributes<T>
2720
+ extends GraphicsElementSVGAttributes<T>,
2721
+ ShapeElementSVGAttributes<T>,
2722
+ ConditionalProcessingSVGAttributes,
2723
+ ExternalResourceSVGAttributes,
2724
+ StylableSVGAttributes,
2725
+ TransformableSVGAttributes,
2726
+ Pick<PresentationSVGAttributes, "clip-path" | "marker-start" | "marker-mid" | "marker-end"> {
2727
+ x1?: number | string | RemoveAttribute;
2728
+ x2?: number | string | RemoveAttribute;
2729
+ y1?: number | string | RemoveAttribute;
2730
+ y2?: number | string | RemoveAttribute;
2731
+ }
2732
+ interface LinearGradientSVGAttributes<T> extends GradientElementSVGAttributes<T> {
2733
+ x1?: number | string | RemoveAttribute;
2734
+ x2?: number | string | RemoveAttribute;
2735
+ y1?: number | string | RemoveAttribute;
2736
+ y2?: number | string | RemoveAttribute;
2737
+ }
2738
+ interface MarkerSVGAttributes<T>
2739
+ extends ContainerElementSVGAttributes<T>,
2740
+ ExternalResourceSVGAttributes,
2741
+ StylableSVGAttributes,
2742
+ FitToViewBoxSVGAttributes,
2743
+ Pick<PresentationSVGAttributes, "clip-path" | "overflow" | "clip"> {
2744
+ markerHeight?: number | string | RemoveAttribute;
2745
+ markerUnits?: "strokeWidth" | "userSpaceOnUse" | RemoveAttribute;
2746
+ markerWidth?: number | string | RemoveAttribute;
2747
+ orient?: string | RemoveAttribute;
2748
+ refX?: number | string | RemoveAttribute;
2749
+ refY?: number | string | RemoveAttribute;
2750
+ }
2751
+ interface MaskSVGAttributes<T>
2752
+ extends Omit<ContainerElementSVGAttributes<T>, "opacity" | "filter">,
2753
+ ConditionalProcessingSVGAttributes,
2754
+ ExternalResourceSVGAttributes,
2755
+ StylableSVGAttributes,
2756
+ Pick<PresentationSVGAttributes, "clip-path"> {
2757
+ height?: number | string | RemoveAttribute;
2758
+ maskContentUnits?: SVGUnits | RemoveAttribute;
2759
+ maskUnits?: SVGUnits | RemoveAttribute;
2760
+ width?: number | string | RemoveAttribute;
2761
+ x?: number | string | RemoveAttribute;
2762
+ y?: number | string | RemoveAttribute;
2763
+ }
2764
+ interface MetadataSVGAttributes<T> extends SVGAttributes<T> {}
2765
+ interface MPathSVGAttributes<T> extends SVGAttributes<T> {}
2766
+ interface PathSVGAttributes<T>
2767
+ extends GraphicsElementSVGAttributes<T>,
2768
+ ShapeElementSVGAttributes<T>,
2769
+ ConditionalProcessingSVGAttributes,
2770
+ ExternalResourceSVGAttributes,
2771
+ StylableSVGAttributes,
2772
+ TransformableSVGAttributes,
2773
+ Pick<PresentationSVGAttributes, "clip-path" | "marker-start" | "marker-mid" | "marker-end"> {
2774
+ d?: string | RemoveAttribute;
2775
+ pathLength?: number | string | RemoveAttribute;
2776
+ }
2777
+ interface PatternSVGAttributes<T>
2778
+ extends ContainerElementSVGAttributes<T>,
2779
+ ConditionalProcessingSVGAttributes,
2780
+ ExternalResourceSVGAttributes,
2781
+ StylableSVGAttributes,
2782
+ FitToViewBoxSVGAttributes,
2783
+ Pick<PresentationSVGAttributes, "clip-path" | "overflow" | "clip"> {
2784
+ height?: number | string | RemoveAttribute;
2785
+ href?: string | RemoveAttribute;
2786
+ patternContentUnits?: SVGUnits | RemoveAttribute;
2787
+ patternTransform?: string | RemoveAttribute;
2788
+ patternUnits?: SVGUnits | RemoveAttribute;
2789
+ width?: number | string | RemoveAttribute;
2790
+ x?: number | string | RemoveAttribute;
2791
+ y?: number | string | RemoveAttribute;
2792
+ }
2793
+ interface PolygonSVGAttributes<T>
2794
+ extends GraphicsElementSVGAttributes<T>,
2795
+ ShapeElementSVGAttributes<T>,
2796
+ ConditionalProcessingSVGAttributes,
2797
+ ExternalResourceSVGAttributes,
2798
+ StylableSVGAttributes,
2799
+ TransformableSVGAttributes,
2800
+ Pick<PresentationSVGAttributes, "clip-path" | "marker-start" | "marker-mid" | "marker-end"> {
2801
+ points?: string | RemoveAttribute;
2802
+ }
2803
+ interface PolylineSVGAttributes<T>
2804
+ extends GraphicsElementSVGAttributes<T>,
2805
+ ShapeElementSVGAttributes<T>,
2806
+ ConditionalProcessingSVGAttributes,
2807
+ ExternalResourceSVGAttributes,
2808
+ StylableSVGAttributes,
2809
+ TransformableSVGAttributes,
2810
+ Pick<PresentationSVGAttributes, "clip-path" | "marker-start" | "marker-mid" | "marker-end"> {
2811
+ points?: string | RemoveAttribute;
2812
+ }
2813
+ interface RadialGradientSVGAttributes<T> extends GradientElementSVGAttributes<T> {
2814
+ cx?: number | string | RemoveAttribute;
2815
+ cy?: number | string | RemoveAttribute;
2816
+ fx?: number | string | RemoveAttribute;
2817
+ fy?: number | string | RemoveAttribute;
2818
+ r?: number | string | RemoveAttribute;
2819
+ }
2820
+ interface RectSVGAttributes<T>
2821
+ extends GraphicsElementSVGAttributes<T>,
2822
+ ShapeElementSVGAttributes<T>,
2823
+ ConditionalProcessingSVGAttributes,
2824
+ ExternalResourceSVGAttributes,
2825
+ StylableSVGAttributes,
2826
+ TransformableSVGAttributes,
2827
+ Pick<PresentationSVGAttributes, "clip-path"> {
2828
+ height?: number | string | RemoveAttribute;
2829
+ rx?: number | string | RemoveAttribute;
2830
+ ry?: number | string | RemoveAttribute;
2831
+ width?: number | string | RemoveAttribute;
2832
+ x?: number | string | RemoveAttribute;
2833
+ y?: number | string | RemoveAttribute;
2834
+ }
2835
+ interface SetSVGAttributes<T>
2836
+ extends AnimationElementSVGAttributes<T>,
2837
+ StylableSVGAttributes,
2838
+ AnimationTimingSVGAttributes {}
2839
+ interface StopSVGAttributes<T>
2840
+ extends SVGAttributes<T>,
2841
+ StylableSVGAttributes,
2842
+ Pick<PresentationSVGAttributes, "color" | "stop-color" | "stop-opacity"> {
2843
+ offset?: number | string | RemoveAttribute;
2844
+ }
2845
+ interface SvgSVGAttributes<T>
2846
+ extends ContainerElementSVGAttributes<T>,
2847
+ NewViewportSVGAttributes<T>,
2848
+ ConditionalProcessingSVGAttributes,
2849
+ ExternalResourceSVGAttributes,
2850
+ StylableSVGAttributes,
2851
+ FitToViewBoxSVGAttributes,
2852
+ ZoomAndPanSVGAttributes,
2853
+ PresentationSVGAttributes,
2854
+ EventHandlersWindow<T> {
2855
+ "xmlns:xlink"?: string | RemoveAttribute;
2856
+ contentScriptType?: string | RemoveAttribute;
2857
+ contentStyleType?: string | RemoveAttribute;
2858
+ height?: number | string | RemoveAttribute;
2859
+ width?: number | string | RemoveAttribute;
2860
+ x?: number | string | RemoveAttribute;
2861
+ y?: number | string | RemoveAttribute;
2862
+
2863
+ /** @deprecated */
2864
+ baseProfile?: string | RemoveAttribute;
2865
+ /** @deprecated */
2866
+ version?: string | RemoveAttribute;
2867
+ }
2868
+ interface SwitchSVGAttributes<T>
2869
+ extends ContainerElementSVGAttributes<T>,
2870
+ ConditionalProcessingSVGAttributes,
2871
+ ExternalResourceSVGAttributes,
2872
+ StylableSVGAttributes,
2873
+ TransformableSVGAttributes,
2874
+ Pick<PresentationSVGAttributes, "display" | "visibility"> {}
2875
+ interface SymbolSVGAttributes<T>
2876
+ extends ContainerElementSVGAttributes<T>,
2877
+ NewViewportSVGAttributes<T>,
2878
+ ExternalResourceSVGAttributes,
2879
+ StylableSVGAttributes,
2880
+ FitToViewBoxSVGAttributes,
2881
+ Pick<PresentationSVGAttributes, "clip-path"> {
2882
+ height?: number | string | RemoveAttribute;
2883
+ preserveAspectRatio?: SVGPreserveAspectRatio | RemoveAttribute;
2884
+ refX?: number | string | RemoveAttribute;
2885
+ refY?: number | string | RemoveAttribute;
2886
+ viewBox?: string | RemoveAttribute;
2887
+ width?: number | string | RemoveAttribute;
2888
+ x?: number | string | RemoveAttribute;
2889
+ y?: number | string | RemoveAttribute;
2890
+ }
2891
+ interface TextSVGAttributes<T>
2892
+ extends TextContentElementSVGAttributes<T>,
2893
+ GraphicsElementSVGAttributes<T>,
2894
+ ConditionalProcessingSVGAttributes,
2895
+ ExternalResourceSVGAttributes,
2896
+ StylableSVGAttributes,
2897
+ TransformableSVGAttributes,
2898
+ Pick<PresentationSVGAttributes, "clip-path" | "writing-mode" | "text-rendering"> {
2899
+ dx?: number | string | RemoveAttribute;
2900
+ dy?: number | string | RemoveAttribute;
2901
+ lengthAdjust?: "spacing" | "spacingAndGlyphs" | RemoveAttribute;
2902
+ rotate?: number | string | RemoveAttribute;
2903
+ textLength?: number | string | RemoveAttribute;
2904
+ x?: number | string | RemoveAttribute;
2905
+ y?: number | string | RemoveAttribute;
2906
+ }
2907
+ interface TextPathSVGAttributes<T>
2908
+ extends TextContentElementSVGAttributes<T>,
2909
+ ConditionalProcessingSVGAttributes,
2910
+ ExternalResourceSVGAttributes,
2911
+ StylableSVGAttributes,
2912
+ Pick<
2913
+ PresentationSVGAttributes,
2914
+ "alignment-baseline" | "baseline-shift" | "display" | "visibility"
2915
+ > {
2916
+ href?: string | RemoveAttribute;
2917
+ method?: "align" | "stretch" | RemoveAttribute;
2918
+ spacing?: "auto" | "exact" | RemoveAttribute;
2919
+ startOffset?: number | string | RemoveAttribute;
2920
+ }
2921
+ interface TSpanSVGAttributes<T>
2922
+ extends TextContentElementSVGAttributes<T>,
2923
+ ConditionalProcessingSVGAttributes,
2924
+ ExternalResourceSVGAttributes,
2925
+ StylableSVGAttributes,
2926
+ Pick<
2927
+ PresentationSVGAttributes,
2928
+ "alignment-baseline" | "baseline-shift" | "display" | "visibility"
2929
+ > {
2930
+ dx?: number | string | RemoveAttribute;
2931
+ dy?: number | string | RemoveAttribute;
2932
+ lengthAdjust?: "spacing" | "spacingAndGlyphs" | RemoveAttribute;
2933
+ rotate?: number | string | RemoveAttribute;
2934
+ textLength?: number | string | RemoveAttribute;
2935
+ x?: number | string | RemoveAttribute;
2936
+ y?: number | string | RemoveAttribute;
2937
+ }
2938
+ /** @see https://developer.mozilla.org/en-US/docs/Web/SVG/Element/use */
2939
+ interface UseSVGAttributes<T>
2940
+ extends SVGAttributes<T>,
2941
+ StylableSVGAttributes,
2942
+ ConditionalProcessingSVGAttributes,
2943
+ GraphicsElementSVGAttributes<T>,
2944
+ PresentationSVGAttributes,
2945
+ ExternalResourceSVGAttributes,
2946
+ TransformableSVGAttributes {
2947
+ height?: number | string | RemoveAttribute;
2948
+ href?: string | RemoveAttribute;
2949
+ width?: number | string | RemoveAttribute;
2950
+ x?: number | string | RemoveAttribute;
2951
+ y?: number | string | RemoveAttribute;
2952
+ }
2953
+ interface ViewSVGAttributes<T>
2954
+ extends SVGAttributes<T>,
2955
+ ExternalResourceSVGAttributes,
2956
+ FitToViewBoxSVGAttributes,
2957
+ ZoomAndPanSVGAttributes {
2958
+ viewTarget?: string | RemoveAttribute;
2959
+ }
2960
+
2961
+ // MATH
2962
+
2963
+ interface MathMLAnnotationElementAttributes<T> extends MathMLAttributes<T> {
2964
+ encoding?: string | RemoveAttribute;
2965
+
2966
+ /** @deprecated */
2967
+ src?: string | RemoveAttribute;
2968
+ }
2969
+ interface MathMLAnnotationXmlElementAttributes<T> extends MathMLAttributes<T> {
2970
+ encoding?: string | RemoveAttribute;
2971
+
2972
+ /** @deprecated */
2973
+ src?: string | RemoveAttribute;
2974
+ }
2975
+ interface MathMLMactionElementAttributes<T> extends MathMLAttributes<T> {
2976
+ /**
2977
+ * @deprecated
2978
+ * @non-standard
2979
+ */
2980
+ actiontype?: "statusline" | "toggle" | RemoveAttribute;
2981
+ /**
2982
+ * @deprecated
2983
+ * @non-standard
2984
+ */
2985
+ selection?: string | RemoveAttribute;
2986
+ }
2987
+ interface MathMLMathElementAttributes<T> extends MathMLAttributes<T> {
2988
+ display?: "block" | "inline" | RemoveAttribute;
2989
+ }
2990
+ interface MathMLMerrorElementAttributes<T> extends MathMLAttributes<T> {}
2991
+ interface MathMLMfracElementAttributes<T> extends MathMLAttributes<T> {
2992
+ linethickness?: string | RemoveAttribute;
2993
+
2994
+ /**
2995
+ * @deprecated
2996
+ * @non-standard
2997
+ */
2998
+ denomalign?: "center" | "left" | "right" | RemoveAttribute;
2999
+ /**
3000
+ * @deprecated
3001
+ * @non-standard
3002
+ */
3003
+ numalign?: "center" | "left" | "right" | RemoveAttribute;
3004
+ }
3005
+ interface MathMLMiElementAttributes<T> extends MathMLAttributes<T> {
3006
+ mathvariant?: "normal" | RemoveAttribute;
3007
+ }
3008
+
3009
+ interface MathMLMmultiscriptsElementAttributes<T> extends MathMLAttributes<T> {
3010
+ /**
3011
+ * @deprecated
3012
+ * @non-standard
3013
+ */
3014
+ subscriptshift?: string | RemoveAttribute;
3015
+ /**
3016
+ * @deprecated
3017
+ * @non-standard
3018
+ */
3019
+ superscriptshift?: string | RemoveAttribute;
3020
+ }
3021
+ interface MathMLMnElementAttributes<T> extends MathMLAttributes<T> {}
3022
+ interface MathMLMoElementAttributes<T> extends MathMLAttributes<T> {
3023
+ fence?: BooleanAttribute | RemoveAttribute;
3024
+ form?: "prefix" | "infix" | "postfix" | RemoveAttribute;
3025
+ largeop?: BooleanAttribute | RemoveAttribute;
3026
+ lspace?: string | RemoveAttribute;
3027
+ maxsize?: string | RemoveAttribute;
3028
+ minsize?: string | RemoveAttribute;
3029
+ movablelimits?: BooleanAttribute | RemoveAttribute;
3030
+ rspace?: string | RemoveAttribute;
3031
+ separator?: BooleanAttribute | RemoveAttribute;
3032
+ stretchy?: BooleanAttribute | RemoveAttribute;
3033
+ symmetric?: BooleanAttribute | RemoveAttribute;
3034
+
3035
+ /** @non-standard */
3036
+ accent?: BooleanAttribute | RemoveAttribute;
3037
+ }
3038
+ interface MathMLMoverElementAttributes<T> extends MathMLAttributes<T> {
3039
+ accent?: BooleanAttribute | RemoveAttribute;
3040
+ }
3041
+ interface MathMLMpaddedElementAttributes<T> extends MathMLAttributes<T> {
3042
+ depth?: string | RemoveAttribute;
3043
+ height?: string | RemoveAttribute;
3044
+ lspace?: string | RemoveAttribute;
3045
+ voffset?: string | RemoveAttribute;
3046
+ width?: string | RemoveAttribute;
3047
+ }
3048
+ interface MathMLMphantomElementAttributes<T> extends MathMLAttributes<T> {}
3049
+ interface MathMLMprescriptsElementAttributes<T> extends MathMLAttributes<T> {}
3050
+ interface MathMLMrootElementAttributes<T> extends MathMLAttributes<T> {}
3051
+ interface MathMLMrowElementAttributes<T> extends MathMLAttributes<T> {}
3052
+ interface MathMLMsElementAttributes<T> extends MathMLAttributes<T> {
3053
+ /** @deprecated */
3054
+ lquote?: string | RemoveAttribute;
3055
+ /** @deprecated */
3056
+ rquote?: string | RemoveAttribute;
3057
+ }
3058
+ interface MathMLMspaceElementAttributes<T> extends MathMLAttributes<T> {
3059
+ depth?: string | RemoveAttribute;
3060
+ height?: string | RemoveAttribute;
3061
+ width?: string | RemoveAttribute;
3062
+ }
3063
+ interface MathMLMsqrtElementAttributes<T> extends MathMLAttributes<T> {}
3064
+ interface MathMLMstyleElementAttributes<T> extends MathMLAttributes<T> {
3065
+ /**
3066
+ * @deprecated
3067
+ * @non-standard
3068
+ */
3069
+ background?: string | RemoveAttribute;
3070
+ /**
3071
+ * @deprecated
3072
+ * @non-standard
3073
+ */
3074
+ color?: string | RemoveAttribute;
3075
+ /**
3076
+ * @deprecated
3077
+ * @non-standard
3078
+ */
3079
+ fontsize?: string | RemoveAttribute;
3080
+ /**
3081
+ * @deprecated
3082
+ * @non-standard
3083
+ */
3084
+ fontstyle?: string | RemoveAttribute;
3085
+ /**
3086
+ * @deprecated
3087
+ * @non-standard
3088
+ */
3089
+ fontweight?: string | RemoveAttribute;
3090
+
3091
+ /** @deprecated */
3092
+ scriptminsize?: string | RemoveAttribute;
3093
+ /** @deprecated */
3094
+ scriptsizemultiplier?: string | RemoveAttribute;
3095
+ }
3096
+ interface MathMLMsubElementAttributes<T> extends MathMLAttributes<T> {
3097
+ /**
3098
+ * @deprecated
3099
+ * @non-standard
3100
+ */
3101
+ subscriptshift?: string | RemoveAttribute;
3102
+ }
3103
+ interface MathMLMsubsupElementAttributes<T> extends MathMLAttributes<T> {
3104
+ /**
3105
+ * @deprecated
3106
+ * @non-standard
3107
+ */
3108
+ subscriptshift?: string | RemoveAttribute;
3109
+ /**
3110
+ * @deprecated
3111
+ * @non-standard
3112
+ */
3113
+ superscriptshift?: string | RemoveAttribute;
3114
+ }
3115
+ interface MathMLMsupElementAttributes<T> extends MathMLAttributes<T> {
3116
+ /**
3117
+ * @deprecated
3118
+ * @non-standard
3119
+ */
3120
+ superscriptshift?: string | RemoveAttribute;
3121
+ }
3122
+ interface MathMLMtableElementAttributes<T> extends MathMLAttributes<T> {
3123
+ /** @non-standard */
3124
+ align?: "axis" | "baseline" | "bottom" | "center" | "top" | RemoveAttribute;
3125
+ /** @non-standard */
3126
+ columnalign?: "center" | "left" | "right" | RemoveAttribute;
3127
+ /** @non-standard */
3128
+ columnlines?: "dashed" | "none" | "solid" | RemoveAttribute;
3129
+ /** @non-standard */
3130
+ columnspacing?: string | RemoveAttribute;
3131
+ /** @non-standard */
3132
+ frame?: "dashed" | "none" | "solid" | RemoveAttribute;
3133
+ /** @non-standard */
3134
+ framespacing?: string | RemoveAttribute;
3135
+ /** @non-standard */
3136
+ rowalign?: "axis" | "baseline" | "bottom" | "center" | "top" | RemoveAttribute;
3137
+ /** @non-standard */
3138
+ rowlines?: "dashed" | "none" | "solid" | RemoveAttribute;
3139
+ /** @non-standard */
3140
+ rowspacing?: string | RemoveAttribute;
3141
+ /** @non-standard */
3142
+ width?: string | RemoveAttribute;
3143
+ }
3144
+ interface MathMLMtdElementAttributes<T> extends MathMLAttributes<T> {
3145
+ columnspan?: number | string | RemoveAttribute;
3146
+ rowspan?: number | string | RemoveAttribute;
3147
+ /** @non-standard */
3148
+ columnalign?: "center" | "left" | "right" | RemoveAttribute;
3149
+ /** @non-standard */
3150
+ rowalign?: "axis" | "baseline" | "bottom" | "center" | "top" | RemoveAttribute;
3151
+ }
3152
+ interface MathMLMtextElementAttributes<T> extends MathMLAttributes<T> {}
3153
+ interface MathMLMtrElementAttributes<T> extends MathMLAttributes<T> {
3154
+ /** @non-standard */
3155
+ columnalign?: "center" | "left" | "right" | RemoveAttribute;
3156
+ /** @non-standard */
3157
+ rowalign?: "axis" | "baseline" | "bottom" | "center" | "top" | RemoveAttribute;
3158
+ }
3159
+ interface MathMLMunderElementAttributes<T> extends MathMLAttributes<T> {
3160
+ accentunder?: BooleanAttribute | RemoveAttribute;
3161
+ }
3162
+ interface MathMLMunderoverElementAttributes<T> extends MathMLAttributes<T> {
3163
+ accent?: BooleanAttribute | RemoveAttribute;
3164
+ accentunder?: BooleanAttribute | RemoveAttribute;
3165
+ }
3166
+ interface MathMLSemanticsElementAttributes<T> extends MathMLAttributes<T> {}
3167
+
3168
+ interface MathMLMencloseElementAttributes<T> extends MathMLAttributes<T> {
3169
+ /** @non-standard */
3170
+ notation?: string | RemoveAttribute;
3171
+ }
3172
+ interface MathMLMfencedElementAttributes<T> extends MathMLAttributes<T> {
3173
+ close?: string | RemoveAttribute;
3174
+ open?: string | RemoveAttribute;
3175
+ separators?: string | RemoveAttribute;
3176
+ }
3177
+
3178
+ // TAGS
3179
+
3180
+ /** @type {HTMLElementTagNameMap} */
3181
+ interface HTMLElementTags {
3182
+ /**
3183
+ * @url https://developer.mozilla.org/en-US/docs/Web/HTML/Element/a
3184
+ * @url https://developer.mozilla.org/en-US/docs/Web/API/HTMLAnchorElement
3185
+ */
3186
+ a: AnchorHTMLAttributes<HTMLAnchorElement> & Properties<HTMLAnchorElement>;
3187
+ /**
3188
+ * @url https://developer.mozilla.org/en-US/docs/Web/HTML/Element/abbr
3189
+ * @url https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement
3190
+ */
3191
+ abbr: HTMLAttributes<HTMLElement> & Properties<HTMLElement>;
3192
+ /**
3193
+ * @url https://developer.mozilla.org/en-US/docs/Web/HTML/Element/address
3194
+ * @url https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement
3195
+ */
3196
+ address: HTMLAttributes<HTMLElement> & Properties<HTMLElement>;
3197
+ /**
3198
+ * @url https://developer.mozilla.org/en-US/docs/Web/HTML/Element/area
3199
+ * @url https://developer.mozilla.org/en-US/docs/Web/API/HTMLAreaElement
3200
+ */
3201
+ area: AreaHTMLAttributes<HTMLAreaElement> & Properties<HTMLAreaElement>;
3202
+ /**
3203
+ * @url https://developer.mozilla.org/en-US/docs/Web/HTML/Element/article
3204
+ * @url https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement
3205
+ */
3206
+ article: HTMLAttributes<HTMLElement> & Properties<HTMLElement>;
3207
+ /**
3208
+ * @url https://developer.mozilla.org/en-US/docs/Web/HTML/Element/aside
3209
+ * @url https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement
3210
+ */
3211
+ aside: HTMLAttributes<HTMLElement> & Properties<HTMLElement>;
3212
+ /**
3213
+ * @url https://developer.mozilla.org/en-US/docs/Web/HTML/Element/audio
3214
+ * @url https://developer.mozilla.org/en-US/docs/Web/API/HTMLAudioElement
3215
+ */
3216
+ audio: AudioHTMLAttributes<HTMLAudioElement> & Properties<HTMLAudioElement>;
3217
+ /**
3218
+ * @url https://developer.mozilla.org/en-US/docs/Web/HTML/Element/b
3219
+ * @url https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement
3220
+ */
3221
+ b: HTMLAttributes<HTMLElement> & Properties<HTMLElement>;
3222
+ /**
3223
+ * @url https://developer.mozilla.org/en-US/docs/Web/HTML/Element/base
3224
+ * @url https://developer.mozilla.org/en-US/docs/Web/API/HTMLBaseElement
3225
+ */
3226
+ base: BaseHTMLAttributes<HTMLBaseElement> & Properties<HTMLBaseElement>;
3227
+ /**
3228
+ * @url https://developer.mozilla.org/en-US/docs/Web/HTML/Element/bdi
3229
+ * @url https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement
3230
+ */
3231
+ bdi: HTMLAttributes<HTMLElement> & Properties<HTMLElement>;
3232
+ /**
3233
+ * @url https://developer.mozilla.org/en-US/docs/Web/HTML/Element/bdo
3234
+ * @url https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement
3235
+ */
3236
+ bdo: BdoHTMLAttributes<HTMLElement> & Properties<HTMLElement>;
3237
+ /**
3238
+ * @url https://developer.mozilla.org/en-US/docs/Web/HTML/Element/blockquote
3239
+ * @url https://developer.mozilla.org/en-US/docs/Web/API/HTMLQuoteElement
3240
+ */
3241
+ blockquote: BlockquoteHTMLAttributes<HTMLQuoteElement> & Properties<HTMLQuoteElement>;
3242
+ /**
3243
+ * @url https://developer.mozilla.org/en-US/docs/Web/HTML/Element/body
3244
+ * @url https://developer.mozilla.org/en-US/docs/Web/API/HTMLBodyElement
3245
+ */
3246
+ body: BodyHTMLAttributes<HTMLBodyElement> & Properties<HTMLBodyElement>;
3247
+ /**
3248
+ * @url https://developer.mozilla.org/en-US/docs/Web/HTML/Element/br
3249
+ * @url https://developer.mozilla.org/en-US/docs/Web/API/HTMLBRElement
3250
+ */
3251
+ br: HTMLAttributes<HTMLBRElement> & Properties<HTMLBRElement>;
3252
+ /**
3253
+ * @url https://developer.mozilla.org/en-US/docs/Web/HTML/Element/button
3254
+ * @url https://developer.mozilla.org/en-US/docs/Web/API/HTMLButtonElement
3255
+ */
3256
+ button: ButtonHTMLAttributes<HTMLButtonElement> & Properties<HTMLButtonElement>;
3257
+ /**
3258
+ * @url https://developer.mozilla.org/en-US/docs/Web/HTML/Element/canvas
3259
+ * @url https://developer.mozilla.org/en-US/docs/Web/API/HTMLCanvasElement
3260
+ */
3261
+ canvas: CanvasHTMLAttributes<HTMLCanvasElement> & Properties<HTMLCanvasElement>;
3262
+ /**
3263
+ * @url https://developer.mozilla.org/en-US/docs/Web/HTML/Element/caption
3264
+ * @url https://developer.mozilla.org/en-US/docs/Web/API/HTMLTableCaptionElement
3265
+ */
3266
+ caption: CaptionHTMLAttributes<HTMLTableCaptionElement> & Properties<HTMLTableCaptionElement>;
3267
+ /**
3268
+ * @url https://developer.mozilla.org/en-US/docs/Web/HTML/Element/cite
3269
+ * @url https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement
3270
+ */
3271
+ cite: HTMLAttributes<HTMLElement> & Properties<HTMLElement>;
3272
+ /**
3273
+ * @url https://developer.mozilla.org/en-US/docs/Web/HTML/Element/code
3274
+ * @url https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement
3275
+ */
3276
+ code: HTMLAttributes<HTMLElement> & Properties<HTMLElement>;
3277
+ /**
3278
+ * @url https://developer.mozilla.org/en-US/docs/Web/HTML/Element/col
3279
+ * @url https://developer.mozilla.org/en-US/docs/Web/API/HTMLTableColElement
3280
+ */
3281
+ col: ColHTMLAttributes<HTMLTableColElement> & Properties<HTMLTableColElement>;
3282
+ /**
3283
+ * @url https://developer.mozilla.org/en-US/docs/Web/HTML/Element/colgroup
3284
+ * @url https://developer.mozilla.org/en-US/docs/Web/API/HTMLTableColElement
3285
+ */
3286
+ colgroup: ColgroupHTMLAttributes<HTMLTableColElement> & Properties<HTMLTableColElement>;
3287
+ /**
3288
+ * @url https://developer.mozilla.org/en-US/docs/Web/HTML/Element/data
3289
+ * @url https://developer.mozilla.org/en-US/docs/Web/API/HTMLDataElement
3290
+ */
3291
+ data: DataHTMLAttributes<HTMLDataElement> & Properties<HTMLDataElement>;
3292
+ /**
3293
+ * @url https://developer.mozilla.org/en-US/docs/Web/HTML/Element/datalist
3294
+ * @url https://developer.mozilla.org/en-US/docs/Web/API/HTMLDataListElement
3295
+ */
3296
+ datalist: HTMLAttributes<HTMLDataListElement> & Properties<HTMLDataListElement>;
3297
+ /**
3298
+ * @url https://developer.mozilla.org/en-US/docs/Web/HTML/Element/dd
3299
+ * @url https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement
3300
+ */
3301
+ dd: HTMLAttributes<HTMLElement> & Properties<HTMLElement>;
3302
+ /**
3303
+ * @url https://developer.mozilla.org/en-US/docs/Web/HTML/Element/del
3304
+ * @url https://developer.mozilla.org/en-US/docs/Web/API/HTMLModElement
3305
+ */
3306
+ del: ModHTMLAttributes<HTMLModElement> & Properties<HTMLModElement>;
3307
+ /**
3308
+ * @url https://developer.mozilla.org/en-US/docs/Web/HTML/Element/details
3309
+ * @url https://developer.mozilla.org/en-US/docs/Web/API/HTMLDetailsElement
3310
+ */
3311
+ details: DetailsHtmlAttributes<HTMLDetailsElement> & Properties<HTMLDetailsElement>;
3312
+ /**
3313
+ * @url https://developer.mozilla.org/en-US/docs/Web/HTML/Element/dfn
3314
+ * @url https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement
3315
+ */
3316
+ dfn: HTMLAttributes<HTMLElement> & Properties<HTMLElement>;
3317
+ /**
3318
+ * @url https://developer.mozilla.org/en-US/docs/Web/HTML/Element/dialog
3319
+ * @url https://developer.mozilla.org/en-US/docs/Web/API/HTMLDialogElement
3320
+ */
3321
+ dialog: DialogHtmlAttributes<HTMLDialogElement> & Properties<HTMLDialogElement>;
3322
+ /**
3323
+ * @url https://developer.mozilla.org/en-US/docs/Web/HTML/Element/div
3324
+ * @url https://developer.mozilla.org/en-US/docs/Web/API/HTMLDivElement
3325
+ */
3326
+ div: HTMLAttributes<HTMLDivElement> & Properties<HTMLDivElement>;
3327
+ /**
3328
+ * @url https://developer.mozilla.org/en-US/docs/Web/HTML/Element/dl
3329
+ * @url https://developer.mozilla.org/en-US/docs/Web/API/HTMLDListElement
3330
+ */
3331
+ dl: HTMLAttributes<HTMLDListElement> & Properties<HTMLDListElement>;
3332
+ /**
3333
+ * @url https://developer.mozilla.org/en-US/docs/Web/HTML/Element/dt
3334
+ * @url https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement
3335
+ */
3336
+ dt: HTMLAttributes<HTMLElement> & Properties<HTMLElement>;
3337
+ /**
3338
+ * @url https://developer.mozilla.org/en-US/docs/Web/HTML/Element/em
3339
+ * @url https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement
3340
+ */
3341
+ em: HTMLAttributes<HTMLElement> & Properties<HTMLElement>;
3342
+ /**
3343
+ * @url https://developer.mozilla.org/en-US/docs/Web/HTML/Element/embed
3344
+ * @url https://developer.mozilla.org/en-US/docs/Web/API/HTMLEmbedElement
3345
+ */
3346
+ embed: EmbedHTMLAttributes<HTMLEmbedElement> & Properties<HTMLEmbedElement>;
3347
+ /**
3348
+ * @url https://developer.mozilla.org/en-US/docs/Web/HTML/Element/fieldset
3349
+ * @url https://developer.mozilla.org/en-US/docs/Web/API/HTMLFieldSetElement
3350
+ */
3351
+ fieldset: FieldsetHTMLAttributes<HTMLFieldSetElement> & Properties<HTMLFieldSetElement>;
3352
+ /**
3353
+ * @url https://developer.mozilla.org/en-US/docs/Web/HTML/Element/figcaption
3354
+ * @url https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement
3355
+ */
3356
+ figcaption: HTMLAttributes<HTMLElement> & Properties<HTMLElement>;
3357
+ /**
3358
+ * @url https://developer.mozilla.org/en-US/docs/Web/HTML/Element/figure
3359
+ * @url https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement
3360
+ */
3361
+ figure: HTMLAttributes<HTMLElement> & Properties<HTMLElement>;
3362
+ /**
3363
+ * @url https://developer.mozilla.org/en-US/docs/Web/HTML/Element/footer
3364
+ * @url https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement
3365
+ */
3366
+ footer: HTMLAttributes<HTMLElement> & Properties<HTMLElement>;
3367
+ /**
3368
+ * @url https://developer.mozilla.org/en-US/docs/Web/HTML/Element/form
3369
+ * @url https://developer.mozilla.org/en-US/docs/Web/API/HTMLFormElement
3370
+ */
3371
+ form: FormHTMLAttributes<HTMLFormElement> & Properties<HTMLFormElement>;
3372
+ /**
3373
+ * @url https://developer.mozilla.org/en-US/docs/Web/HTML/Element/h1
3374
+ * @url https://developer.mozilla.org/en-US/docs/Web/API/HTMLHeadingElement
3375
+ */
3376
+ h1: HTMLAttributes<HTMLHeadingElement> & Properties<HTMLHeadingElement>;
3377
+ /**
3378
+ * @url https://developer.mozilla.org/en-US/docs/Web/HTML/Element/h2
3379
+ * @url https://developer.mozilla.org/en-US/docs/Web/API/HTMLHeadingElement
3380
+ */
3381
+ h2: HTMLAttributes<HTMLHeadingElement> & Properties<HTMLHeadingElement>;
3382
+ /**
3383
+ * @url https://developer.mozilla.org/en-US/docs/Web/HTML/Element/h3
3384
+ * @url https://developer.mozilla.org/en-US/docs/Web/API/HTMLHeadingElement
3385
+ */
3386
+ h3: HTMLAttributes<HTMLHeadingElement> & Properties<HTMLHeadingElement>;
3387
+ /**
3388
+ * @url https://developer.mozilla.org/en-US/docs/Web/HTML/Element/h4
3389
+ * @url https://developer.mozilla.org/en-US/docs/Web/API/HTMLHeadingElement
3390
+ */
3391
+ h4: HTMLAttributes<HTMLHeadingElement> & Properties<HTMLHeadingElement>;
3392
+ /**
3393
+ * @url https://developer.mozilla.org/en-US/docs/Web/HTML/Element/h5
3394
+ * @url https://developer.mozilla.org/en-US/docs/Web/API/HTMLHeadingElement
3395
+ */
3396
+ h5: HTMLAttributes<HTMLHeadingElement> & Properties<HTMLHeadingElement>;
3397
+ /**
3398
+ * @url https://developer.mozilla.org/en-US/docs/Web/HTML/Element/h6
3399
+ * @url https://developer.mozilla.org/en-US/docs/Web/API/HTMLHeadingElement
3400
+ */
3401
+ h6: HTMLAttributes<HTMLHeadingElement> & Properties<HTMLHeadingElement>;
3402
+ /**
3403
+ * @url https://developer.mozilla.org/en-US/docs/Web/HTML/Element/head
3404
+ * @url https://developer.mozilla.org/en-US/docs/Web/API/HTMLHeadElement
3405
+ */
3406
+ head: HTMLAttributes<HTMLHeadElement> & Properties<HTMLHeadElement>;
3407
+ /**
3408
+ * @url https://developer.mozilla.org/en-US/docs/Web/HTML/Element/header
3409
+ * @url https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement
3410
+ */
3411
+ header: HTMLAttributes<HTMLElement> & Properties<HTMLElement>;
3412
+ /**
3413
+ * @url https://developer.mozilla.org/en-US/docs/Web/HTML/Element/hgroup
3414
+ * @url https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement
3415
+ */
3416
+ hgroup: HTMLAttributes<HTMLElement> & Properties<HTMLElement>;
3417
+ /**
3418
+ * @url https://developer.mozilla.org/en-US/docs/Web/HTML/Element/hr
3419
+ * @url https://developer.mozilla.org/en-US/docs/Web/API/HTMLHRElement
3420
+ */
3421
+ hr: HTMLAttributes<HTMLHRElement> & Properties<HTMLHRElement>;
3422
+ /**
3423
+ * @url https://developer.mozilla.org/en-US/docs/Web/HTML/Element/html
3424
+ * @url https://developer.mozilla.org/en-US/docs/Web/API/HTMLHtmlElement
3425
+ */
3426
+ html: HTMLAttributes<HTMLHtmlElement> & Properties<HTMLHtmlElement>;
3427
+ /**
3428
+ * @url https://developer.mozilla.org/en-US/docs/Web/HTML/Element/i
3429
+ * @url https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement
3430
+ */
3431
+ i: HTMLAttributes<HTMLElement> & Properties<HTMLElement>;
3432
+ /**
3433
+ * @url https://developer.mozilla.org/en-US/docs/Web/HTML/Element/iframe
3434
+ * @url https://developer.mozilla.org/en-US/docs/Web/API/HTMLIFrameElement
3435
+ */
3436
+ iframe: IframeHTMLAttributes<HTMLIFrameElement> & Properties<HTMLIFrameElement>;
3437
+ /**
3438
+ * @url https://developer.mozilla.org/en-US/docs/Web/HTML/Element/img
3439
+ * @url https://developer.mozilla.org/en-US/docs/Web/API/HTMLImageElement
3440
+ */
3441
+ img: ImgHTMLAttributes<HTMLImageElement> & Properties<HTMLImageElement>;
3442
+ /**
3443
+ * @url https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input
3444
+ * @url https://developer.mozilla.org/en-US/docs/Web/API/HTMLInputElement
3445
+ */
3446
+ input: InputHTMLAttributes<HTMLInputElement> & Properties<HTMLInputElement>;
3447
+ /**
3448
+ * @url https://developer.mozilla.org/en-US/docs/Web/HTML/Element/ins
3449
+ * @url https://developer.mozilla.org/en-US/docs/Web/API/HTMLModElement
3450
+ */
3451
+ ins: ModHTMLAttributes<HTMLModElement> & Properties<HTMLModElement>;
3452
+ /**
3453
+ * @url https://developer.mozilla.org/en-US/docs/Web/HTML/Element/kbd
3454
+ * @url https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement
3455
+ */
3456
+ kbd: HTMLAttributes<HTMLElement> & Properties<HTMLElement>;
3457
+ /**
3458
+ * @url https://developer.mozilla.org/en-US/docs/Web/HTML/Element/label
3459
+ * @url https://developer.mozilla.org/en-US/docs/Web/API/HTMLLabelElement
3460
+ */
3461
+ label: LabelHTMLAttributes<HTMLLabelElement> & Properties<HTMLLabelElement>;
3462
+ /**
3463
+ * @url https://developer.mozilla.org/en-US/docs/Web/HTML/Element/legend
3464
+ * @url https://developer.mozilla.org/en-US/docs/Web/API/HTMLLegendElement
3465
+ */
3466
+ legend: HTMLAttributes<HTMLLegendElement> & Properties<HTMLLegendElement>;
3467
+ /**
3468
+ * @url https://developer.mozilla.org/en-US/docs/Web/HTML/Element/li
3469
+ * @url https://developer.mozilla.org/en-US/docs/Web/API/HTMLLIElement
3470
+ */
3471
+ li: LiHTMLAttributes<HTMLLIElement> & Properties<HTMLLIElement>;
3472
+ /**
3473
+ * @url https://developer.mozilla.org/en-US/docs/Web/HTML/Element/link
3474
+ * @url https://developer.mozilla.org/en-US/docs/Web/API/HTMLLinkElement
3475
+ */
3476
+ link: LinkHTMLAttributes<HTMLLinkElement> & Properties<HTMLLinkElement>;
3477
+ /**
3478
+ * @url https://developer.mozilla.org/en-US/docs/Web/HTML/Element/main
3479
+ * @url https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement
3480
+ */
3481
+ main: HTMLAttributes<HTMLElement> & Properties<HTMLElement>;
3482
+ /**
3483
+ * @url https://developer.mozilla.org/en-US/docs/Web/HTML/Element/map
3484
+ * @url https://developer.mozilla.org/en-US/docs/Web/API/HTMLMapElement
3485
+ */
3486
+ map: MapHTMLAttributes<HTMLMapElement> & Properties<HTMLMapElement>;
3487
+ /**
3488
+ * @url https://developer.mozilla.org/en-US/docs/Web/HTML/Element/mark
3489
+ * @url https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement
3490
+ */
3491
+ mark: HTMLAttributes<HTMLElement> & Properties<HTMLElement>;
3492
+ /**
3493
+ * @url https://developer.mozilla.org/en-US/docs/Web/HTML/Element/menu
3494
+ * @url https://developer.mozilla.org/en-US/docs/Web/API/HTMLMenuElement
3495
+ */
3496
+ menu: MenuHTMLAttributes<HTMLMenuElement> & Properties<HTMLMenuElement>;
3497
+ /**
3498
+ * @url https://developer.mozilla.org/en-US/docs/Web/HTML/Element/meta
3499
+ * @url https://developer.mozilla.org/en-US/docs/Web/API/HTMLMetaElement
3500
+ */
3501
+ meta: MetaHTMLAttributes<HTMLMetaElement> & Properties<HTMLMetaElement>;
3502
+ /**
3503
+ * @url https://developer.mozilla.org/en-US/docs/Web/HTML/Element/meter
3504
+ * @url https://developer.mozilla.org/en-US/docs/Web/API/HTMLMeterElement
3505
+ */
3506
+ meter: MeterHTMLAttributes<HTMLMeterElement> & Properties<HTMLMeterElement>;
3507
+ /**
3508
+ * @url https://developer.mozilla.org/en-US/docs/Web/HTML/Element/nav
3509
+ * @url https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement
3510
+ */
3511
+ nav: HTMLAttributes<HTMLElement> & Properties<HTMLElement>;
3512
+ /**
3513
+ * @url https://developer.mozilla.org/en-US/docs/Web/HTML/Element/noscript
3514
+ * @url https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement
3515
+ */
3516
+ noscript: HTMLAttributes<HTMLElement> & Properties<HTMLElement>;
3517
+ /**
3518
+ * @url https://developer.mozilla.org/en-US/docs/Web/HTML/Element/object
3519
+ * @url https://developer.mozilla.org/en-US/docs/Web/API/HTMLObjectElement
3520
+ */
3521
+ object: ObjectHTMLAttributes<HTMLObjectElement> & Properties<HTMLObjectElement>;
3522
+ /**
3523
+ * @url https://developer.mozilla.org/en-US/docs/Web/HTML/Element/ol
3524
+ * @url https://developer.mozilla.org/en-US/docs/Web/API/HTMLOListElement
3525
+ */
3526
+ ol: OlHTMLAttributes<HTMLOListElement> & Properties<HTMLOListElement>;
3527
+ /**
3528
+ * @url https://developer.mozilla.org/en-US/docs/Web/HTML/Element/optgroup
3529
+ * @url https://developer.mozilla.org/en-US/docs/Web/API/HTMLOptGroupElement
3530
+ */
3531
+ optgroup: OptgroupHTMLAttributes<HTMLOptGroupElement> & Properties<HTMLOptGroupElement>;
3532
+ /**
3533
+ * @url https://developer.mozilla.org/en-US/docs/Web/HTML/Element/option
3534
+ * @url https://developer.mozilla.org/en-US/docs/Web/API/HTMLOptionElement
3535
+ */
3536
+ option: OptionHTMLAttributes<HTMLOptionElement> & Properties<HTMLOptionElement>;
3537
+ /**
3538
+ * @url https://developer.mozilla.org/en-US/docs/Web/HTML/Element/output
3539
+ * @url https://developer.mozilla.org/en-US/docs/Web/API/HTMLOutputElement
3540
+ */
3541
+ output: OutputHTMLAttributes<HTMLOutputElement> & Properties<HTMLOutputElement>;
3542
+ /**
3543
+ * @url https://developer.mozilla.org/en-US/docs/Web/HTML/Element/p
3544
+ * @url https://developer.mozilla.org/en-US/docs/Web/API/HTMLParagraphElement
3545
+ */
3546
+ p: HTMLAttributes<HTMLParagraphElement> & Properties<HTMLParagraphElement>;
3547
+ /**
3548
+ * @url https://developer.mozilla.org/en-US/docs/Web/HTML/Element/picture
3549
+ * @url https://developer.mozilla.org/en-US/docs/Web/API/HTMLPictureElement
3550
+ */
3551
+ picture: HTMLAttributes<HTMLPictureElement> & Properties<HTMLPictureElement>;
3552
+ /**
3553
+ * @url https://developer.mozilla.org/en-US/docs/Web/HTML/Element/pre
3554
+ * @url https://developer.mozilla.org/en-US/docs/Web/API/HTMLPreElement
3555
+ */
3556
+ pre: HTMLAttributes<HTMLPreElement> & Properties<HTMLPreElement>;
3557
+ /**
3558
+ * @url https://developer.mozilla.org/en-US/docs/Web/HTML/Element/progress
3559
+ * @url https://developer.mozilla.org/en-US/docs/Web/API/HTMLProgressElement
3560
+ */
3561
+ progress: ProgressHTMLAttributes<HTMLProgressElement> & Properties<HTMLProgressElement>;
3562
+ /**
3563
+ * @url https://developer.mozilla.org/en-US/docs/Web/HTML/Element/q
3564
+ * @url https://developer.mozilla.org/en-US/docs/Web/API/HTMLQuoteElement
3565
+ */
3566
+ q: QuoteHTMLAttributes<HTMLQuoteElement> & Properties<HTMLQuoteElement>;
3567
+ /**
3568
+ * @url https://developer.mozilla.org/en-US/docs/Web/HTML/Element/rp
3569
+ * @url https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement
3570
+ */
3571
+ rp: HTMLAttributes<HTMLElement> & Properties<HTMLElement>;
3572
+ /**
3573
+ * @url https://developer.mozilla.org/en-US/docs/Web/HTML/Element/rt
3574
+ * @url https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement
3575
+ */
3576
+ rt: HTMLAttributes<HTMLElement> & Properties<HTMLElement>;
3577
+ /**
3578
+ * @url https://developer.mozilla.org/en-US/docs/Web/HTML/Element/ruby
3579
+ * @url https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement
3580
+ */
3581
+ ruby: HTMLAttributes<HTMLElement> & Properties<HTMLElement>;
3582
+ /**
3583
+ * @url https://developer.mozilla.org/en-US/docs/Web/HTML/Element/s
3584
+ * @url https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement
3585
+ */
3586
+ s: HTMLAttributes<HTMLElement> & Properties<HTMLElement>;
3587
+ /**
3588
+ * @url https://developer.mozilla.org/en-US/docs/Web/HTML/Element/samp
3589
+ * @url https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement
3590
+ */
3591
+ samp: HTMLAttributes<HTMLElement> & Properties<HTMLElement>;
3592
+ /**
3593
+ * @url https://developer.mozilla.org/en-US/docs/Web/HTML/Element/script
3594
+ * @url https://developer.mozilla.org/en-US/docs/Web/API/HTMLScriptElement
3595
+ */
3596
+ script: ScriptHTMLAttributes<HTMLScriptElement> & Properties<HTMLScriptElement>;
3597
+ /**
3598
+ * @url https://developer.mozilla.org/en-US/docs/Web/HTML/Element/search
3599
+ * @url https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement
3600
+ */
3601
+ search: HTMLAttributes<HTMLElement> & Properties<HTMLElement>;
3602
+ /**
3603
+ * @url https://developer.mozilla.org/en-US/docs/Web/HTML/Element/section
3604
+ * @url https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement
3605
+ */
3606
+ section: HTMLAttributes<HTMLElement> & Properties<HTMLElement>;
3607
+ /**
3608
+ * @url https://developer.mozilla.org/en-US/docs/Web/HTML/Element/select
3609
+ * @url https://developer.mozilla.org/en-US/docs/Web/API/HTMLSelectElement
3610
+ */
3611
+ select: SelectHTMLAttributes<HTMLSelectElement> & Properties<HTMLSelectElement>;
3612
+ /**
3613
+ * @url https://developer.mozilla.org/en-US/docs/Web/HTML/Element/slot
3614
+ * @url https://developer.mozilla.org/en-US/docs/Web/API/HTMLSlotElement
3615
+ */
3616
+ slot: HTMLSlotElementAttributes<HTMLSlotElement> & Properties<HTMLSlotElement>;
3617
+ /**
3618
+ * @url https://developer.mozilla.org/en-US/docs/Web/HTML/Element/small
3619
+ * @url https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement
3620
+ */
3621
+ small: HTMLAttributes<HTMLElement> & Properties<HTMLElement>;
3622
+ /**
3623
+ * @url https://developer.mozilla.org/en-US/docs/Web/HTML/Element/source
3624
+ * @url https://developer.mozilla.org/en-US/docs/Web/API/HTMLSourceElement
3625
+ */
3626
+ source: SourceHTMLAttributes<HTMLSourceElement> & Properties<HTMLSourceElement>;
3627
+ /**
3628
+ * @url https://developer.mozilla.org/en-US/docs/Web/HTML/Element/span
3629
+ * @url https://developer.mozilla.org/en-US/docs/Web/API/HTMLSpanElement
3630
+ */
3631
+ span: HTMLAttributes<HTMLSpanElement> & Properties<HTMLSpanElement>;
3632
+ /**
3633
+ * @url https://developer.mozilla.org/en-US/docs/Web/HTML/Element/strong
3634
+ * @url https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement
3635
+ */
3636
+ strong: HTMLAttributes<HTMLElement> & Properties<HTMLElement>;
3637
+ /**
3638
+ * @url https://developer.mozilla.org/en-US/docs/Web/HTML/Element/style
3639
+ * @url https://developer.mozilla.org/en-US/docs/Web/API/HTMLStyleElement
3640
+ */
3641
+ style: StyleHTMLAttributes<HTMLStyleElement> & Properties<HTMLStyleElement>;
3642
+ /**
3643
+ * @url https://developer.mozilla.org/en-US/docs/Web/HTML/Element/sub
3644
+ * @url https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement
3645
+ */
3646
+ sub: HTMLAttributes<HTMLElement> & Properties<HTMLElement>;
3647
+ /**
3648
+ * @url https://developer.mozilla.org/en-US/docs/Web/HTML/Element/summary
3649
+ * @url https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement
3650
+ */
3651
+ summary: HTMLAttributes<HTMLElement> & Properties<HTMLElement>;
3652
+ /**
3653
+ * @url https://developer.mozilla.org/en-US/docs/Web/HTML/Element/sup
3654
+ * @url https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement
3655
+ */
3656
+ sup: HTMLAttributes<HTMLElement> & Properties<HTMLElement>;
3657
+ /**
3658
+ * @url https://developer.mozilla.org/en-US/docs/Web/HTML/Element/table
3659
+ * @url https://developer.mozilla.org/en-US/docs/Web/API/HTMLTableElement
3660
+ */
3661
+ table: HTMLAttributes<HTMLTableElement> & Properties<HTMLTableElement>;
3662
+ /**
3663
+ * @url https://developer.mozilla.org/en-US/docs/Web/HTML/Element/tbody
3664
+ * @url https://developer.mozilla.org/en-US/docs/Web/API/HTMLTableSectionElement
3665
+ */
3666
+ tbody: HTMLAttributes<HTMLTableSectionElement> & Properties<HTMLTableSectionElement>;
3667
+ /**
3668
+ * @url https://developer.mozilla.org/en-US/docs/Web/HTML/Element/td
3669
+ * @url https://developer.mozilla.org/en-US/docs/Web/API/HTMLTableCellElement
3670
+ */
3671
+ td: TdHTMLAttributes<HTMLTableCellElement> & Properties<HTMLTableCellElement>;
3672
+ /**
3673
+ * @url https://developer.mozilla.org/en-US/docs/Web/HTML/Element/template
3674
+ * @url https://developer.mozilla.org/en-US/docs/Web/API/HTMLTemplateElement
3675
+ */
3676
+ template: TemplateHTMLAttributes<HTMLTemplateElement> & Properties<HTMLTemplateElement>;
3677
+ /**
3678
+ * @url https://developer.mozilla.org/en-US/docs/Web/HTML/Element/textarea
3679
+ * @url https://developer.mozilla.org/en-US/docs/Web/API/HTMLTextAreaElement
3680
+ */
3681
+ textarea: TextareaHTMLAttributes<HTMLTextAreaElement> & Properties<HTMLTextAreaElement>;
3682
+ /**
3683
+ * @url https://developer.mozilla.org/en-US/docs/Web/HTML/Element/tfoot
3684
+ * @url https://developer.mozilla.org/en-US/docs/Web/API/HTMLTableSectionElement
3685
+ */
3686
+ tfoot: HTMLAttributes<HTMLTableSectionElement> & Properties<HTMLTableSectionElement>;
3687
+ /**
3688
+ * @url https://developer.mozilla.org/en-US/docs/Web/HTML/Element/th
3689
+ * @url https://developer.mozilla.org/en-US/docs/Web/API/HTMLTableCellElement
3690
+ */
3691
+ th: ThHTMLAttributes<HTMLTableCellElement> & Properties<HTMLTableCellElement>;
3692
+ /**
3693
+ * @url https://developer.mozilla.org/en-US/docs/Web/HTML/Element/thead
3694
+ * @url https://developer.mozilla.org/en-US/docs/Web/API/HTMLTableSectionElement
3695
+ */
3696
+ thead: HTMLAttributes<HTMLTableSectionElement> & Properties<HTMLTableSectionElement>;
3697
+ /**
3698
+ * @url https://developer.mozilla.org/en-US/docs/Web/HTML/Element/time
3699
+ * @url https://developer.mozilla.org/en-US/docs/Web/API/HTMLTimeElement
3700
+ */
3701
+ time: TimeHTMLAttributes<HTMLTimeElement> & Properties<HTMLTimeElement>;
3702
+ /**
3703
+ * @url https://developer.mozilla.org/en-US/docs/Web/HTML/Element/title
3704
+ * @url https://developer.mozilla.org/en-US/docs/Web/API/HTMLTitleElement
3705
+ */
3706
+ title: HTMLAttributes<HTMLTitleElement> & Properties<HTMLTitleElement>;
3707
+ /**
3708
+ * @url https://developer.mozilla.org/en-US/docs/Web/HTML/Element/tr
3709
+ * @url https://developer.mozilla.org/en-US/docs/Web/API/HTMLTableRowElement
3710
+ */
3711
+ tr: HTMLAttributes<HTMLTableRowElement> & Properties<HTMLTableRowElement>;
3712
+ /**
3713
+ * @url https://developer.mozilla.org/en-US/docs/Web/HTML/Element/track
3714
+ * @url https://developer.mozilla.org/en-US/docs/Web/API/HTMLTrackElement
3715
+ */
3716
+ track: TrackHTMLAttributes<HTMLTrackElement> & Properties<HTMLTrackElement>;
3717
+ /**
3718
+ * @url https://developer.mozilla.org/en-US/docs/Web/HTML/Element/u
3719
+ * @url https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement
3720
+ */
3721
+ u: HTMLAttributes<HTMLElement> & Properties<HTMLElement>;
3722
+ /**
3723
+ * @url https://developer.mozilla.org/en-US/docs/Web/HTML/Element/ul
3724
+ * @url https://developer.mozilla.org/en-US/docs/Web/API/HTMLUListElement
3725
+ */
3726
+ ul: HTMLAttributes<HTMLUListElement> & Properties<HTMLUListElement>;
3727
+ /**
3728
+ * @url https://developer.mozilla.org/en-US/docs/Web/HTML/Element/var
3729
+ * @url https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement
3730
+ */
3731
+ var: HTMLAttributes<HTMLElement> & Properties<HTMLElement>;
3732
+ /**
3733
+ * @url https://developer.mozilla.org/en-US/docs/Web/HTML/Element/video
3734
+ * @url https://developer.mozilla.org/en-US/docs/Web/API/HTMLVideoElement
3735
+ */
3736
+ video: VideoHTMLAttributes<HTMLVideoElement> & Properties<HTMLVideoElement>;
3737
+ /**
3738
+ * @url https://developer.mozilla.org/en-US/docs/Web/HTML/Element/wbr
3739
+ * @url https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement
3740
+ */
3741
+ wbr: HTMLAttributes<HTMLElement> & Properties<HTMLElement>;
3742
+ /** @url https://www.electronjs.org/docs/latest/api/webview-tag */
3743
+ webview: WebViewHTMLAttributes<HTMLElement> & Properties<HTMLElement>;
3744
+ }
3745
+ /** @type {HTMLElementDeprecatedTagNameMap} */
3746
+ interface HTMLElementDeprecatedTags {
3747
+ /**
3748
+ * @deprecated
3749
+ * @url https://developer.mozilla.org/en-US/docs/Web/HTML/Element/big
3750
+ * @url https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement
3751
+ */
3752
+ big: HTMLAttributes<HTMLElement> & Properties<HTMLElement>;
3753
+ /**
3754
+ * @deprecated
3755
+ * @url https://developer.mozilla.org/en-US/docs/Web/HTML/Element/keygen
3756
+ * @url https://developer.mozilla.org/en-US/docs/Web/API/HTMLUnknownElement
3757
+ */
3758
+ keygen: KeygenHTMLAttributes<HTMLUnknownElement> & Properties<HTMLUnknownElement>;
3759
+ /**
3760
+ * @deprecated
3761
+ * @url https://developer.mozilla.org/en-US/docs/Web/HTML/Element/menuitem
3762
+ * @url https://developer.mozilla.org/en-US/docs/Web/API/HTMLUnknownElement
3763
+ */
3764
+ menuitem: HTMLAttributes<HTMLUnknownElement> & Properties<HTMLUnknownElement>;
3765
+ /**
3766
+ * @deprecated
3767
+ * @url https://developer.mozilla.org/en-US/docs/Web/HTML/Element/param
3768
+ * @url https://developer.mozilla.org/en-US/docs/Web/API/HTMLParamElement
3769
+ */
3770
+ param: ParamHTMLAttributes<HTMLParamElement> & Properties<HTMLParamElement>;
3771
+ }
3772
+ /** @type {SVGElementTagNameMap} */
3773
+ interface SVGElementTags {
3774
+ /**
3775
+ * @url https://developer.mozilla.org/en-US/docs/Web/SVG/Element/animate
3776
+ * @url https://developer.mozilla.org/en-US/docs/Web/API/SVGAnimateElement
3777
+ */
3778
+ animate: AnimateSVGAttributes<SVGAnimateElement> & Properties<SVGAnimateElement>;
3779
+ /**
3780
+ * @url https://developer.mozilla.org/en-US/docs/Web/SVG/Element/animateMotion
3781
+ * @url https://developer.mozilla.org/en-US/docs/Web/API/SVGAnimateMotionElement
3782
+ */
3783
+ animateMotion: AnimateMotionSVGAttributes<SVGAnimateMotionElement> &
3784
+ Properties<SVGAnimateMotionElement>;
3785
+ /**
3786
+ * @url https://developer.mozilla.org/en-US/docs/Web/SVG/Element/animateTransform
3787
+ * @url https://developer.mozilla.org/en-US/docs/Web/API/SVGAnimateTransformElement
3788
+ */
3789
+ animateTransform: AnimateTransformSVGAttributes<SVGAnimateTransformElement> &
3790
+ Properties<SVGAnimateTransformElement>;
3791
+ /**
3792
+ * @url https://developer.mozilla.org/en-US/docs/Web/SVG/Element/circle
3793
+ * @url https://developer.mozilla.org/en-US/docs/Web/API/SVGCircleElement
3794
+ */
3795
+ circle: CircleSVGAttributes<SVGCircleElement> & Properties<SVGCircleElement>;
3796
+ /**
3797
+ * @url https://developer.mozilla.org/en-US/docs/Web/SVG/Element/clipPath
3798
+ * @url https://developer.mozilla.org/en-US/docs/Web/API/SVGClipPathElement
3799
+ */
3800
+ clipPath: ClipPathSVGAttributes<SVGClipPathElement> & Properties<SVGClipPathElement>;
3801
+ /**
3802
+ * @url https://developer.mozilla.org/en-US/docs/Web/SVG/Element/defs
3803
+ * @url https://developer.mozilla.org/en-US/docs/Web/API/SVGDefsElement
3804
+ */
3805
+ defs: DefsSVGAttributes<SVGDefsElement> & Properties<SVGDefsElement>;
3806
+ /**
3807
+ * @url https://developer.mozilla.org/en-US/docs/Web/SVG/Element/desc
3808
+ * @url https://developer.mozilla.org/en-US/docs/Web/API/SVGDescElement
3809
+ */
3810
+ desc: DescSVGAttributes<SVGDescElement> & Properties<SVGDescElement>;
3811
+ /**
3812
+ * @url https://developer.mozilla.org/en-US/docs/Web/SVG/Element/ellipse
3813
+ * @url https://developer.mozilla.org/en-US/docs/Web/API/SVGEllipseElement
3814
+ */
3815
+ ellipse: EllipseSVGAttributes<SVGEllipseElement> & Properties<SVGEllipseElement>;
3816
+ /**
3817
+ * @url https://developer.mozilla.org/en-US/docs/Web/SVG/Element/feBlend
3818
+ * @url https://developer.mozilla.org/en-US/docs/Web/API/SVGFEBlendElement
3819
+ */
3820
+ feBlend: FeBlendSVGAttributes<SVGFEBlendElement> & Properties<SVGFEBlendElement>;
3821
+ /**
3822
+ * @url https://developer.mozilla.org/en-US/docs/Web/SVG/Element/feColorMatrix
3823
+ * @url https://developer.mozilla.org/en-US/docs/Web/API/SVGFEColorMatrixElement
3824
+ */
3825
+ feColorMatrix: FeColorMatrixSVGAttributes<SVGFEColorMatrixElement> &
3826
+ Properties<SVGFEColorMatrixElement>;
3827
+ /**
3828
+ * @url https://developer.mozilla.org/en-US/docs/Web/SVG/Element/feComponentTransfer
3829
+ * @url https://developer.mozilla.org/en-US/docs/Web/API/SVGFEComponentTransferElemen
3830
+ */
3831
+ feComponentTransfer: FeComponentTransferSVGAttributes<SVGFEComponentTransferElement> &
3832
+ Properties<SVGFEComponentTransferElement>;
3833
+ /**
3834
+ * @url https://developer.mozilla.org/en-US/docs/Web/SVG/Element/feComposite
3835
+ * @url https://developer.mozilla.org/en-US/docs/Web/API/SVGFECompositeElement
3836
+ */
3837
+ feComposite: FeCompositeSVGAttributes<SVGFECompositeElement> &
3838
+ Properties<SVGFECompositeElement>;
3839
+ /**
3840
+ * @url https://developer.mozilla.org/en-US/docs/Web/SVG/Element/feConvolveMatrix
3841
+ * @url https://developer.mozilla.org/en-US/docs/Web/API/SVGFEConvolveMatrixElement
3842
+ */
3843
+ feConvolveMatrix: FeConvolveMatrixSVGAttributes<SVGFEConvolveMatrixElement> &
3844
+ Properties<SVGFEConvolveMatrixElement>;
3845
+ /**
3846
+ * @url https://developer.mozilla.org/en-US/docs/Web/SVG/Element/feDiffuseLighting
3847
+ * @url https://developer.mozilla.org/en-US/docs/Web/API/SVGFEDiffuseLightingElement
3848
+ */
3849
+ feDiffuseLighting: FeDiffuseLightingSVGAttributes<SVGFEDiffuseLightingElement> &
3850
+ Properties<SVGFEDiffuseLightingElement>;
3851
+ /**
3852
+ * @url https://developer.mozilla.org/en-US/docs/Web/SVG/Element/feDisplacementMap
3853
+ * @url https://developer.mozilla.org/en-US/docs/Web/API/SVGFEDisplacementMapElement
3854
+ */
3855
+ feDisplacementMap: FeDisplacementMapSVGAttributes<SVGFEDisplacementMapElement> &
3856
+ Properties<SVGFEDisplacementMapElement>;
3857
+ /**
3858
+ * @url https://developer.mozilla.org/en-US/docs/Web/SVG/Element/feDistantLight
3859
+ * @url https://developer.mozilla.org/en-US/docs/Web/API/SVGFEDistantLightElement
3860
+ */
3861
+ feDistantLight: FeDistantLightSVGAttributes<SVGFEDistantLightElement> &
3862
+ Properties<SVGFEDistantLightElement>;
3863
+ /**
3864
+ * @url https://developer.mozilla.org/en-US/docs/Web/SVG/Element/feDropShadow
3865
+ * @url https://developer.mozilla.org/en-US/docs/Web/API/SVGFEDropShadowElement
3866
+ */
3867
+ feDropShadow: FeDropShadowSVGAttributes<SVGFEDropShadowElement> &
3868
+ Properties<SVGFEDropShadowElement>;
3869
+ /**
3870
+ * @url https://developer.mozilla.org/en-US/docs/Web/SVG/Element/feFlood
3871
+ * @url https://developer.mozilla.org/en-US/docs/Web/API/SVGFEFloodElement
3872
+ */
3873
+ feFlood: FeFloodSVGAttributes<SVGFEFloodElement> & Properties<SVGFEFloodElement>;
3874
+ /**
3875
+ * @url https://developer.mozilla.org/en-US/docs/Web/SVG/Element/feFuncA
3876
+ * @url https://developer.mozilla.org/en-US/docs/Web/API/SVGFEFuncAElement
3877
+ */
3878
+ feFuncA: FeFuncSVGAttributes<SVGFEFuncAElement> & Properties<SVGFEFuncAElement>;
3879
+ /**
3880
+ * @url https://developer.mozilla.org/en-US/docs/Web/SVG/Element/feFuncB
3881
+ * @url https://developer.mozilla.org/en-US/docs/Web/API/SVGFEFuncBElement
3882
+ */
3883
+ feFuncB: FeFuncSVGAttributes<SVGFEFuncBElement> & Properties<SVGFEFuncBElement>;
3884
+ /**
3885
+ * @url https://developer.mozilla.org/en-US/docs/Web/SVG/Element/feFuncG
3886
+ * @url https://developer.mozilla.org/en-US/docs/Web/API/SVGFEFuncGElement
3887
+ */
3888
+ feFuncG: FeFuncSVGAttributes<SVGFEFuncGElement> & Properties<SVGFEFuncGElement>;
3889
+ /**
3890
+ * @url https://developer.mozilla.org/en-US/docs/Web/SVG/Element/feFuncR
3891
+ * @url https://developer.mozilla.org/en-US/docs/Web/API/SVGFEFuncRElement
3892
+ */
3893
+ feFuncR: FeFuncSVGAttributes<SVGFEFuncRElement> & Properties<SVGFEFuncRElement>;
3894
+ /**
3895
+ * @url https://developer.mozilla.org/en-US/docs/Web/SVG/Element/feGaussianBlur
3896
+ * @url https://developer.mozilla.org/en-US/docs/Web/API/SVGFEGaussianBlurElement
3897
+ */
3898
+ feGaussianBlur: FeGaussianBlurSVGAttributes<SVGFEGaussianBlurElement> &
3899
+ Properties<SVGFEGaussianBlurElement>;
3900
+ /**
3901
+ * @url https://developer.mozilla.org/en-US/docs/Web/SVG/Element/feImage
3902
+ * @url https://developer.mozilla.org/en-US/docs/Web/API/SVGFEImageElement
3903
+ */
3904
+ feImage: FeImageSVGAttributes<SVGFEImageElement> & Properties<SVGFEImageElement>;
3905
+ /**
3906
+ * @url https://developer.mozilla.org/en-US/docs/Web/SVG/Element/feMerge
3907
+ * @url https://developer.mozilla.org/en-US/docs/Web/API/SVGFEMergeElement
3908
+ */
3909
+ feMerge: FeMergeSVGAttributes<SVGFEMergeElement> & Properties<SVGFEMergeElement>;
3910
+ /**
3911
+ * @url https://developer.mozilla.org/en-US/docs/Web/SVG/Element/feMergeNode
3912
+ * @url https://developer.mozilla.org/en-US/docs/Web/API/SVGFEMergeNodeElement
3913
+ */
3914
+ feMergeNode: FeMergeNodeSVGAttributes<SVGFEMergeNodeElement> &
3915
+ Properties<SVGFEMergeNodeElement>;
3916
+ /**
3917
+ * @url https://developer.mozilla.org/en-US/docs/Web/SVG/Element/feMorphology
3918
+ * @url https://developer.mozilla.org/en-US/docs/Web/API/SVGFEMorphologyElement
3919
+ */
3920
+ feMorphology: FeMorphologySVGAttributes<SVGFEMorphologyElement> &
3921
+ Properties<SVGFEMorphologyElement>;
3922
+ /**
3923
+ * @url https://developer.mozilla.org/en-US/docs/Web/SVG/Element/feOffset
3924
+ * @url https://developer.mozilla.org/en-US/docs/Web/API/SVGFEOffsetElement
3925
+ */
3926
+ feOffset: FeOffsetSVGAttributes<SVGFEOffsetElement> & Properties<SVGFEOffsetElement>;
3927
+ /**
3928
+ * @url https://developer.mozilla.org/en-US/docs/Web/SVG/Element/fePointLight
3929
+ * @url https://developer.mozilla.org/en-US/docs/Web/API/SVGFEPointLightElement
3930
+ */
3931
+ fePointLight: FePointLightSVGAttributes<SVGFEPointLightElement> &
3932
+ Properties<SVGFEPointLightElement>;
3933
+ /**
3934
+ * @url https://developer.mozilla.org/en-US/docs/Web/SVG/Element/feSpecularLighting
3935
+ * @url https://developer.mozilla.org/en-US/docs/Web/API/SVGFESpecularLightingElement
3936
+ */
3937
+ feSpecularLighting: FeSpecularLightingSVGAttributes<SVGFESpecularLightingElement> &
3938
+ Properties<SVGFESpecularLightingElement>;
3939
+ /**
3940
+ * @url https://developer.mozilla.org/en-US/docs/Web/SVG/Element/feSpotLight
3941
+ * @url https://developer.mozilla.org/en-US/docs/Web/API/SVGFESpotLightElement
3942
+ */
3943
+ feSpotLight: FeSpotLightSVGAttributes<SVGFESpotLightElement> &
3944
+ Properties<SVGFESpotLightElement>;
3945
+ /**
3946
+ * @url https://developer.mozilla.org/en-US/docs/Web/SVG/Element/feTile
3947
+ * @url https://developer.mozilla.org/en-US/docs/Web/API/SVGFETileElement
3948
+ */
3949
+ feTile: FeTileSVGAttributes<SVGFETileElement> & Properties<SVGFETileElement>;
3950
+ /**
3951
+ * @url https://developer.mozilla.org/en-US/docs/Web/SVG/Element/feTurbulence
3952
+ * @url https://developer.mozilla.org/en-US/docs/Web/API/SVGFETurbulenceElement
3953
+ */
3954
+ feTurbulence: FeTurbulanceSVGAttributes<SVGFETurbulenceElement> &
3955
+ Properties<SVGFETurbulenceElement>;
3956
+ /**
3957
+ * @url https://developer.mozilla.org/en-US/docs/Web/SVG/Element/filter
3958
+ * @url https://developer.mozilla.org/en-US/docs/Web/API/SVGFilterElement
3959
+ */
3960
+ filter: FilterSVGAttributes<SVGFilterElement> & Properties<SVGFilterElement>;
3961
+ /**
3962
+ * @url https://developer.mozilla.org/en-US/docs/Web/SVG/Element/foreignObject
3963
+ * @url https://developer.mozilla.org/en-US/docs/Web/API/SVGForeignObjectElement
3964
+ */
3965
+ foreignObject: ForeignObjectSVGAttributes<SVGForeignObjectElement> &
3966
+ Properties<SVGForeignObjectElement>;
3967
+ /**
3968
+ * @url https://developer.mozilla.org/en-US/docs/Web/SVG/Element/g
3969
+ * @url https://developer.mozilla.org/en-US/docs/Web/API/SVGGElement
3970
+ */
3971
+ g: GSVGAttributes<SVGGElement> & Properties<SVGGElement>;
3972
+ /**
3973
+ * @url https://developer.mozilla.org/en-US/docs/Web/SVG/Element/image
3974
+ * @url https://developer.mozilla.org/en-US/docs/Web/API/SVGImageElement
3975
+ */
3976
+ image: ImageSVGAttributes<SVGImageElement> & Properties<SVGImageElement>;
3977
+ /**
3978
+ * @url https://developer.mozilla.org/en-US/docs/Web/SVG/Element/line
3979
+ * @url https://developer.mozilla.org/en-US/docs/Web/API/SVGLineElement
3980
+ */
3981
+ line: LineSVGAttributes<SVGLineElement> & Properties<SVGLineElement>;
3982
+ /**
3983
+ * @url https://developer.mozilla.org/en-US/docs/Web/SVG/Element/linearGradient
3984
+ * @url https://developer.mozilla.org/en-US/docs/Web/API/SVGLinearGradientElement
3985
+ */
3986
+ linearGradient: LinearGradientSVGAttributes<SVGLinearGradientElement> &
3987
+ Properties<SVGLinearGradientElement>;
3988
+ /**
3989
+ * @url https://developer.mozilla.org/en-US/docs/Web/SVG/Element/marker
3990
+ * @url https://developer.mozilla.org/en-US/docs/Web/API/SVGMarkerElement
3991
+ */
3992
+ marker: MarkerSVGAttributes<SVGMarkerElement> & Properties<SVGMarkerElement>;
3993
+ /**
3994
+ * @url https://developer.mozilla.org/en-US/docs/Web/SVG/Element/mask
3995
+ * @url https://developer.mozilla.org/en-US/docs/Web/API/SVGMaskElement
3996
+ */
3997
+ mask: MaskSVGAttributes<SVGMaskElement> & Properties<SVGMaskElement>;
3998
+ /**
3999
+ * @url https://developer.mozilla.org/en-US/docs/Web/SVG/Element/metadata
4000
+ * @url https://developer.mozilla.org/en-US/docs/Web/API/SVGMetadataElement
4001
+ */
4002
+ metadata: MetadataSVGAttributes<SVGMetadataElement> & Properties<SVGMetadataElement>;
4003
+ /**
4004
+ * @url https://developer.mozilla.org/en-US/docs/Web/SVG/Element/mpath
4005
+ * @url https://developer.mozilla.org/en-US/docs/Web/API/SVGMPathElement
4006
+ */
4007
+ mpath: MPathSVGAttributes<SVGMPathElement> & Properties<SVGMPathElement>;
4008
+ /**
4009
+ * @url https://developer.mozilla.org/en-US/docs/Web/SVG/Element/path
4010
+ * @url https://developer.mozilla.org/en-US/docs/Web/API/SVGPathElement
4011
+ */
4012
+ path: PathSVGAttributes<SVGPathElement> & Properties<SVGPathElement>;
4013
+ /**
4014
+ * @url https://developer.mozilla.org/en-US/docs/Web/SVG/Element/pattern
4015
+ * @url https://developer.mozilla.org/en-US/docs/Web/API/SVGPatternElement
4016
+ */
4017
+ pattern: PatternSVGAttributes<SVGPatternElement> & Properties<SVGPatternElement>;
4018
+ /**
4019
+ * @url https://developer.mozilla.org/en-US/docs/Web/SVG/Element/polygon
4020
+ * @url https://developer.mozilla.org/en-US/docs/Web/API/SVGPolygonElement
4021
+ */
4022
+ polygon: PolygonSVGAttributes<SVGPolygonElement> & Properties<SVGPolygonElement>;
4023
+ /**
4024
+ * @url https://developer.mozilla.org/en-US/docs/Web/SVG/Element/polyline
4025
+ * @url https://developer.mozilla.org/en-US/docs/Web/API/SVGPolylineElement
4026
+ */
4027
+ polyline: PolylineSVGAttributes<SVGPolylineElement> & Properties<SVGPolylineElement>;
4028
+ /**
4029
+ * @url https://developer.mozilla.org/en-US/docs/Web/SVG/Element/radialGradient
4030
+ * @url https://developer.mozilla.org/en-US/docs/Web/API/SVGRadialGradientElement
4031
+ */
4032
+ radialGradient: RadialGradientSVGAttributes<SVGRadialGradientElement> &
4033
+ Properties<SVGRadialGradientElement>;
4034
+ /**
4035
+ * @url https://developer.mozilla.org/en-US/docs/Web/SVG/Element/rect
4036
+ * @url https://developer.mozilla.org/en-US/docs/Web/API/SVGRectElement
4037
+ */
4038
+ rect: RectSVGAttributes<SVGRectElement> & Properties<SVGRectElement>;
4039
+ /**
4040
+ * @url https://developer.mozilla.org/en-US/docs/Web/SVG/Element/set
4041
+ * @url https://developer.mozilla.org/en-US/docs/Web/API/SVGSetElement
4042
+ */
4043
+ set: SetSVGAttributes<SVGSetElement> & Properties<SVGSetElement>;
4044
+ /**
4045
+ * @url https://developer.mozilla.org/en-US/docs/Web/SVG/Element/stop
4046
+ * @url https://developer.mozilla.org/en-US/docs/Web/API/SVGStopElement
4047
+ */
4048
+ stop: StopSVGAttributes<SVGStopElement> & Properties<SVGStopElement>;
4049
+ /**
4050
+ * @url https://developer.mozilla.org/en-US/docs/Web/SVG/Element/svg
4051
+ * @url https://developer.mozilla.org/en-US/docs/Web/API/SVGSVGElement
4052
+ */
4053
+ svg: SvgSVGAttributes<SVGSVGElement> & Properties<SVGSVGElement>;
4054
+ /**
4055
+ * @url https://developer.mozilla.org/en-US/docs/Web/SVG/Element/switch
4056
+ * @url https://developer.mozilla.org/en-US/docs/Web/API/SVGSwitchElement
4057
+ */
4058
+ switch: SwitchSVGAttributes<SVGSwitchElement> & Properties<SVGSwitchElement>;
4059
+ /**
4060
+ * @url https://developer.mozilla.org/en-US/docs/Web/SVG/Element/symbol
4061
+ * @url https://developer.mozilla.org/en-US/docs/Web/API/SVGSymbolElement
4062
+ */
4063
+ symbol: SymbolSVGAttributes<SVGSymbolElement> & Properties<SVGSymbolElement>;
4064
+ /**
4065
+ * @url https://developer.mozilla.org/en-US/docs/Web/SVG/Element/text
4066
+ * @url https://developer.mozilla.org/en-US/docs/Web/API/SVGTextElement
4067
+ */
4068
+ text: TextSVGAttributes<SVGTextElement> & Properties<SVGTextElement>;
4069
+ /**
4070
+ * @url https://developer.mozilla.org/en-US/docs/Web/SVG/Element/textPath
4071
+ * @url https://developer.mozilla.org/en-US/docs/Web/API/SVGTextPathElement
4072
+ */
4073
+ textPath: TextPathSVGAttributes<SVGTextPathElement> & Properties<SVGTextPathElement>;
4074
+ /**
4075
+ * @url https://developer.mozilla.org/en-US/docs/Web/SVG/Element/tspan
4076
+ * @url https://developer.mozilla.org/en-US/docs/Web/API/SVGTSpanElement
4077
+ */
4078
+ tspan: TSpanSVGAttributes<SVGTSpanElement> & Properties<SVGTSpanElement>;
4079
+ /**
4080
+ * @url https://developer.mozilla.org/en-US/docs/Web/SVG/Element/use
4081
+ * @url https://developer.mozilla.org/en-US/docs/Web/API/SVGUseElement
4082
+ */
4083
+ use: UseSVGAttributes<SVGUseElement> & Properties<SVGUseElement>;
4084
+ /**
4085
+ * @url https://developer.mozilla.org/en-US/docs/Web/SVG/Element/view
4086
+ * @url https://developer.mozilla.org/en-US/docs/Web/API/SVGViewElement
4087
+ */
4088
+ view: ViewSVGAttributes<SVGViewElement> & Properties<SVGViewElement>;
4089
+ }
4090
+
4091
+ interface MathMLElementTags {
4092
+ /**
4093
+ * @url https://developer.mozilla.org/en-US/docs/Web/MathML/Element/annotation
4094
+ * @url https://developer.mozilla.org/en-US/docs/Web/API/MathMLElement
4095
+ */
4096
+ annotation: MathMLAnnotationElementAttributes<MathMLElement> & Properties<MathMLElement>;
4097
+ /**
4098
+ * @url https://developer.mozilla.org/en-US/docs/Web/MathML/Element/annotation-xml
4099
+ * @url https://developer.mozilla.org/en-US/docs/Web/API/MathMLElement
4100
+ */
4101
+ "annotation-xml": MathMLAnnotationXmlElementAttributes<MathMLElement>;
4102
+ /**
4103
+ * @url https://developer.mozilla.org/en-US/docs/Web/MathML/Element/math
4104
+ * @url https://developer.mozilla.org/en-US/docs/Web/API/MathMLElement
4105
+ */
4106
+ math: MathMLMathElementAttributes<MathMLElement> & Properties<MathMLElement>;
4107
+ /**
4108
+ * @url https://developer.mozilla.org/en-US/docs/Web/MathML/Element/merror
4109
+ * @url https://developer.mozilla.org/en-US/docs/Web/API/MathMLElement
4110
+ */
4111
+ merror: MathMLMerrorElementAttributes<MathMLElement> & Properties<MathMLElement>;
4112
+ /**
4113
+ * @url https://developer.mozilla.org/en-US/docs/Web/MathML/Element/mfrac
4114
+ * @url https://developer.mozilla.org/en-US/docs/Web/API/MathMLElement
4115
+ */
4116
+ mfrac: MathMLMfracElementAttributes<MathMLElement> & Properties<MathMLElement>;
4117
+ /**
4118
+ * @url https://developer.mozilla.org/en-US/docs/Web/MathML/Element/mi
4119
+ * @url https://developer.mozilla.org/en-US/docs/Web/API/MathMLElement
4120
+ */
4121
+ mi: MathMLMiElementAttributes<MathMLElement> & Properties<MathMLElement>;
4122
+ /**
4123
+ * @url https://developer.mozilla.org/en-US/docs/Web/MathML/Element/mmultiscripts
4124
+ * @url https://developer.mozilla.org/en-US/docs/Web/API/MathMLElement
4125
+ */
4126
+ mmultiscripts: MathMLMmultiscriptsElementAttributes<MathMLElement> & Properties<MathMLElement>;
4127
+ /**
4128
+ * @url https://developer.mozilla.org/en-US/docs/Web/MathML/Element/mn
4129
+ * @url https://developer.mozilla.org/en-US/docs/Web/API/MathMLElement
4130
+ */
4131
+ mn: MathMLMnElementAttributes<MathMLElement> & Properties<MathMLElement>;
4132
+ /**
4133
+ * @url https://developer.mozilla.org/en-US/docs/Web/MathML/Element/mo
4134
+ * @url https://developer.mozilla.org/en-US/docs/Web/API/MathMLElement
4135
+ */
4136
+ mo: MathMLMoElementAttributes<MathMLElement> & Properties<MathMLElement>;
4137
+ /**
4138
+ * @url https://developer.mozilla.org/en-US/docs/Web/MathML/Element/mover
4139
+ * @url https://developer.mozilla.org/en-US/docs/Web/API/MathMLElement
4140
+ */
4141
+ mover: MathMLMoverElementAttributes<MathMLElement> & Properties<MathMLElement>;
4142
+ /**
4143
+ * @url https://developer.mozilla.org/en-US/docs/Web/MathML/Element/mpadded
4144
+ * @url https://developer.mozilla.org/en-US/docs/Web/API/MathMLElement
4145
+ */
4146
+ mpadded: MathMLMpaddedElementAttributes<MathMLElement> & Properties<MathMLElement>;
4147
+ /**
4148
+ * @url https://developer.mozilla.org/en-US/docs/Web/MathML/Element/mphantom
4149
+ * @url https://developer.mozilla.org/en-US/docs/Web/API/MathMLElement
4150
+ */
4151
+ mphantom: MathMLMphantomElementAttributes<MathMLElement> & Properties<MathMLElement>;
4152
+ /**
4153
+ * @url https://developer.mozilla.org/en-US/docs/Web/MathML/Element/mprescripts
4154
+ * @url https://developer.mozilla.org/en-US/docs/Web/API/MathMLElement
4155
+ */
4156
+ mprescripts: MathMLMprescriptsElementAttributes<MathMLElement> & Properties<MathMLElement>;
4157
+ /**
4158
+ * @url https://developer.mozilla.org/en-US/docs/Web/MathML/Element/mroot
4159
+ * @url https://developer.mozilla.org/en-US/docs/Web/API/MathMLElement
4160
+ */
4161
+ mroot: MathMLMrootElementAttributes<MathMLElement> & Properties<MathMLElement>;
4162
+ /**
4163
+ * @url https://developer.mozilla.org/en-US/docs/Web/MathML/Element/mrow
4164
+ * @url https://developer.mozilla.org/en-US/docs/Web/API/MathMLElement
4165
+ */
4166
+ mrow: MathMLMrowElementAttributes<MathMLElement> & Properties<MathMLElement>;
4167
+ /**
4168
+ * @url https://developer.mozilla.org/en-US/docs/Web/MathML/Element/ms
4169
+ * @url https://developer.mozilla.org/en-US/docs/Web/API/MathMLElement
4170
+ */
4171
+ ms: MathMLMsElementAttributes<MathMLElement> & Properties<MathMLElement>;
4172
+ /**
4173
+ * @url https://developer.mozilla.org/en-US/docs/Web/MathML/Element/mspace
4174
+ * @url https://developer.mozilla.org/en-US/docs/Web/API/MathMLElement
4175
+ */
4176
+ mspace: MathMLMspaceElementAttributes<MathMLElement> & Properties<MathMLElement>;
4177
+ /**
4178
+ * @url https://developer.mozilla.org/en-US/docs/Web/MathML/Element/msqrt
4179
+ * @url https://developer.mozilla.org/en-US/docs/Web/API/MathMLElement
4180
+ */
4181
+ msqrt: MathMLMsqrtElementAttributes<MathMLElement> & Properties<MathMLElement>;
4182
+ /**
4183
+ * @url https://developer.mozilla.org/en-US/docs/Web/MathML/Element/mstyle
4184
+ * @url https://developer.mozilla.org/en-US/docs/Web/API/MathMLElement
4185
+ */
4186
+ mstyle: MathMLMstyleElementAttributes<MathMLElement> & Properties<MathMLElement>;
4187
+ /**
4188
+ * @url https://developer.mozilla.org/en-US/docs/Web/MathML/Element/msub
4189
+ * @url https://developer.mozilla.org/en-US/docs/Web/API/MathMLElement
4190
+ */
4191
+ msub: MathMLMsubElementAttributes<MathMLElement> & Properties<MathMLElement>;
4192
+ /**
4193
+ * @url https://developer.mozilla.org/en-US/docs/Web/MathML/Element/msubsup
4194
+ * @url https://developer.mozilla.org/en-US/docs/Web/API/MathMLElement
4195
+ */
4196
+ msubsup: MathMLMsubsupElementAttributes<MathMLElement> & Properties<MathMLElement>;
4197
+ /**
4198
+ * @url https://developer.mozilla.org/en-US/docs/Web/MathML/Element/msup
4199
+ * @url https://developer.mozilla.org/en-US/docs/Web/API/MathMLElement
4200
+ */
4201
+ msup: MathMLMsupElementAttributes<MathMLElement> & Properties<MathMLElement>;
4202
+ /**
4203
+ * @url https://developer.mozilla.org/en-US/docs/Web/MathML/Element/mtable
4204
+ * @url https://developer.mozilla.org/en-US/docs/Web/API/MathMLElement
4205
+ */
4206
+ mtable: MathMLMtableElementAttributes<MathMLElement> & Properties<MathMLElement>;
4207
+ /**
4208
+ * @url https://developer.mozilla.org/en-US/docs/Web/MathML/Element/mtd
4209
+ * @url https://developer.mozilla.org/en-US/docs/Web/API/MathMLElement
4210
+ */
4211
+ mtd: MathMLMtdElementAttributes<MathMLElement> & Properties<MathMLElement>;
4212
+ /**
4213
+ * @url https://developer.mozilla.org/en-US/docs/Web/MathML/Element/mtext
4214
+ * @url https://developer.mozilla.org/en-US/docs/Web/API/MathMLElement
4215
+ */
4216
+ mtext: MathMLMtextElementAttributes<MathMLElement> & Properties<MathMLElement>;
4217
+ /**
4218
+ * @url https://developer.mozilla.org/en-US/docs/Web/MathML/Element/mtr
4219
+ * @url https://developer.mozilla.org/en-US/docs/Web/API/MathMLElement
4220
+ */
4221
+ mtr: MathMLMtrElementAttributes<MathMLElement> & Properties<MathMLElement>;
4222
+ /**
4223
+ * @url https://developer.mozilla.org/en-US/docs/Web/MathML/Element/munder
4224
+ * @url https://developer.mozilla.org/en-US/docs/Web/API/MathMLElement
4225
+ */
4226
+ munder: MathMLMunderElementAttributes<MathMLElement> & Properties<MathMLElement>;
4227
+ /**
4228
+ * @url https://developer.mozilla.org/en-US/docs/Web/MathML/Element/munderover
4229
+ * @url https://developer.mozilla.org/en-US/docs/Web/API/MathMLElement
4230
+ */
4231
+ munderover: MathMLMunderoverElementAttributes<MathMLElement> & Properties<MathMLElement>;
4232
+ /**
4233
+ * @url https://developer.mozilla.org/en-US/docs/Web/MathML/Element/semantics
4234
+ * @url https://developer.mozilla.org/en-US/docs/Web/API/MathMLElement
4235
+ */
4236
+ semantics: MathMLSemanticsElementAttributes<MathMLElement> & Properties<MathMLElement>;
4237
+ /**
4238
+ * @non-standard
4239
+ * @url https://developer.mozilla.org/en-US/docs/Web/MathML/Element/menclose
4240
+ * @url https://developer.mozilla.org/en-US/docs/Web/API/MathMLElement
4241
+ */
4242
+ menclose: MathMLMencloseElementAttributes<MathMLElement> & Properties<MathMLElement>;
4243
+ /**
4244
+ * @deprecated
4245
+ * @url https://developer.mozilla.org/en-US/docs/Web/MathML/Element/maction
4246
+ * @url https://developer.mozilla.org/en-US/docs/Web/API/MathMLElement
4247
+ */
4248
+ maction: MathMLMactionElementAttributes<MathMLElement> & Properties<MathMLElement>;
4249
+ /**
4250
+ * @deprecated
4251
+ * @non-standard
4252
+ * @url https://developer.mozilla.org/en-US/docs/Web/MathML/Element/mfenced
4253
+ * @url https://developer.mozilla.org/en-US/docs/Web/API/MathMLElement
4254
+ */
4255
+ mfenced: MathMLMfencedElementAttributes<MathMLElement> & Properties<MathMLElement>;
4256
+ }
4257
+
4258
+ interface IntrinsicElements
4259
+ extends HTMLElementTags,
4260
+ HTMLElementDeprecatedTags,
4261
+ SVGElementTags,
4262
+ MathMLElementTags {}
4263
+ }