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