@solidjs/h 2.0.0-experimental.15 → 2.0.0-experimental.16

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