@markuplint/ml-core 3.10.0 → 3.11.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (44) hide show
  1. package/lib/index.d.ts +1 -11
  2. package/lib/ml-core.d.ts +11 -22
  3. package/lib/ml-dom/helper/create-node.d.ts +1 -5
  4. package/lib/ml-dom/helper/getIndent.d.ts +7 -7
  5. package/lib/ml-dom/helper/walkers.d.ts +4 -14
  6. package/lib/ml-dom/manipulations/child-node-methods.d.ts +5 -18
  7. package/lib/ml-dom/manipulations/get-children.d.ts +1 -3
  8. package/lib/ml-dom/node/attr.d.ts +90 -93
  9. package/lib/ml-dom/node/block.d.ts +31 -35
  10. package/lib/ml-dom/node/character-data.d.ts +52 -59
  11. package/lib/ml-dom/node/child-node.d.ts +2 -9
  12. package/lib/ml-dom/node/comment.d.ts +12 -15
  13. package/lib/ml-dom/node/document-fragment.d.ts +19 -22
  14. package/lib/ml-dom/node/document-type.d.ts +31 -34
  15. package/lib/ml-dom/node/document.d.ts +1583 -1600
  16. package/lib/ml-dom/node/document.js +12 -1
  17. package/lib/ml-dom/node/dom-token-list.d.ts +26 -26
  18. package/lib/ml-dom/node/element.d.ts +1904 -1902
  19. package/lib/ml-dom/node/element.js +17 -1
  20. package/lib/ml-dom/node/named-node-map.d.ts +39 -44
  21. package/lib/ml-dom/node/node-list.d.ts +3 -9
  22. package/lib/ml-dom/node/node-store.d.ts +3 -8
  23. package/lib/ml-dom/node/node-store.js +1 -1
  24. package/lib/ml-dom/node/node.d.ts +471 -491
  25. package/lib/ml-dom/node/parent-node.d.ts +57 -66
  26. package/lib/ml-dom/node/rule-mapper.d.ts +7 -7
  27. package/lib/ml-dom/node/text.d.ts +46 -49
  28. package/lib/ml-dom/node/types.d.ts +12 -80
  29. package/lib/ml-dom/node/unexpected-call-error.d.ts +2 -1
  30. package/lib/ml-dom/token/token.d.ts +44 -44
  31. package/lib/ml-rule/create-rule.d.ts +1 -3
  32. package/lib/ml-rule/create-test-rule.d.ts +3 -5
  33. package/lib/ml-rule/ml-rule-context.d.ts +47 -55
  34. package/lib/ml-rule/ml-rule.d.ts +23 -33
  35. package/lib/ml-rule/ml-rule.js +5 -1
  36. package/lib/ml-rule/types.d.ts +13 -31
  37. package/lib/plugin/plugin.d.ts +1 -3
  38. package/lib/plugin/types.d.ts +5 -5
  39. package/lib/ruleset/index.d.ts +4 -4
  40. package/lib/test/index.d.ts +7 -19
  41. package/lib/types.d.ts +8 -8
  42. package/lib/utils/get-location-from-chars.d.ts +4 -9
  43. package/package.json +14 -14
  44. package/test/ml-dom/ml-rule/create-rule.spec.js +108 -0
@@ -9,1906 +9,1908 @@ import { MLToken } from '../token/token';
9
9
  import { MLAttr } from './attr';
10
10
  import { MLDomTokenList } from './dom-token-list';
11
11
  import { MLParentNode } from './parent-node';
12
- export declare class MLElement<T extends RuleConfigValue, O extends PlainData = undefined>
13
- extends MLParentNode<T, O, MLASTElement>
14
- implements Element, HTMLOrSVGElement, HTMLElement
15
- {
16
- #private;
17
- readonly closeTag: MLToken | null;
18
- readonly elementType: ElementType;
19
- readonly endSpace: MLToken | null;
20
- readonly hasSpreadAttr: boolean;
21
- readonly isForeignElement: boolean;
22
- readonly isOmitted: boolean;
23
- readonly namespaceURI: NamespaceURI;
24
- readonly ontouchcancel?: ((this: GlobalEventHandlers, ev: TouchEvent) => any) | null | undefined;
25
- readonly ontouchend?: ((this: GlobalEventHandlers, ev: TouchEvent) => any) | null | undefined;
26
- readonly ontouchmove?: ((this: GlobalEventHandlers, ev: TouchEvent) => any) | null | undefined;
27
- readonly ontouchstart?: ((this: GlobalEventHandlers, ev: TouchEvent) => any) | null | undefined;
28
- pretenderContext: PretenderContext<MLElement<T, O>, T, O> | null;
29
- readonly selfClosingSolidus: MLToken | null;
30
- constructor(astNode: MLASTElement, document: MLDocument<T, O>);
31
- /**
32
- * **IT THROWS AN ERROR WHEN CALLING THIS.**
33
- *
34
- * @deprecated
35
- * @unsupported
36
- * @implements DOM API: `Element`
37
- */
38
- get accessKey(): string;
39
- /**
40
- * **IT THROWS AN ERROR WHEN CALLING THIS.**
41
- *
42
- * @deprecated
43
- * @unsupported
44
- * @implements DOM API: `Element`
45
- */
46
- get accessKeyLabel(): string;
47
- /**
48
- * **IT THROWS AN ERROR WHEN CALLING THIS.**
49
- *
50
- * @deprecated
51
- * @unsupported
52
- * @implements DOM API: `Element`
53
- */
54
- get ariaAtomic(): string | null;
55
- /**
56
- * **IT THROWS AN ERROR WHEN CALLING THIS.**
57
- *
58
- * @deprecated
59
- * @unsupported
60
- * @implements DOM API: `Element`
61
- */
62
- get ariaAutoComplete(): string | null;
63
- /**
64
- * **IT THROWS AN ERROR WHEN CALLING THIS.**
65
- *
66
- * @deprecated
67
- * @unsupported
68
- * @implements DOM API: `Element`
69
- */
70
- get ariaBusy(): string | null;
71
- /**
72
- * **IT THROWS AN ERROR WHEN CALLING THIS.**
73
- *
74
- * @deprecated
75
- * @unsupported
76
- * @implements DOM API: `Element`
77
- */
78
- get ariaChecked(): string | null;
79
- /**
80
- * **IT THROWS AN ERROR WHEN CALLING THIS.**
81
- *
82
- * @deprecated
83
- * @unsupported
84
- * @implements DOM API: `Element`
85
- */
86
- get ariaColCount(): string | null;
87
- /**
88
- * **IT THROWS AN ERROR WHEN CALLING THIS.**
89
- *
90
- * @deprecated
91
- * @unsupported
92
- * @implements DOM API: `Element`
93
- */
94
- get ariaColIndex(): string | null;
95
- /**
96
- * **IT THROWS AN ERROR WHEN CALLING THIS.**
97
- *
98
- * @deprecated
99
- * @unsupported
100
- * @implements DOM API: `Element`
101
- */
102
- get ariaColIndexText(): string | null;
103
- /**
104
- * **IT THROWS AN ERROR WHEN CALLING THIS.**
105
- *
106
- * @deprecated
107
- * @unsupported
108
- * @implements DOM API: `Element`
109
- */
110
- get ariaColSpan(): string | null;
111
- /**
112
- * **IT THROWS AN ERROR WHEN CALLING THIS.**
113
- *
114
- * @deprecated
115
- * @unsupported
116
- * @implements DOM API: `Element`
117
- */
118
- get ariaCurrent(): string | null;
119
- /**
120
- * **IT THROWS AN ERROR WHEN CALLING THIS.**
121
- *
122
- * @deprecated
123
- * @unsupported
124
- * @implements DOM API: `Element`
125
- */
126
- get ariaDisabled(): string | null;
127
- /**
128
- * **IT THROWS AN ERROR WHEN CALLING THIS.**
129
- *
130
- * @deprecated
131
- * @unsupported
132
- * @implements DOM API: `Element`
133
- */
134
- get ariaExpanded(): string | null;
135
- /**
136
- * **IT THROWS AN ERROR WHEN CALLING THIS.**
137
- *
138
- * @deprecated
139
- * @unsupported
140
- * @implements DOM API: `Element`
141
- */
142
- get ariaHasPopup(): string | null;
143
- /**
144
- * **IT THROWS AN ERROR WHEN CALLING THIS.**
145
- *
146
- * @deprecated
147
- * @unsupported
148
- * @implements DOM API: `Element`
149
- */
150
- get ariaHidden(): string | null;
151
- /**
152
- * **IT THROWS AN ERROR WHEN CALLING THIS.**
153
- *
154
- * @deprecated
155
- * @unsupported
156
- * @implements DOM API: `Element`
157
- */
158
- get ariaInvalid(): string | null;
159
- /**
160
- * **IT THROWS AN ERROR WHEN CALLING THIS.**
161
- *
162
- * @deprecated
163
- * @unsupported
164
- * @implements DOM API: `Element`
165
- */
166
- get ariaKeyShortcuts(): string | null;
167
- /**
168
- * **IT THROWS AN ERROR WHEN CALLING THIS.**
169
- *
170
- * @deprecated
171
- * @unsupported
172
- * @implements DOM API: `Element`
173
- */
174
- get ariaLabel(): string | null;
175
- /**
176
- * **IT THROWS AN ERROR WHEN CALLING THIS.**
177
- *
178
- * @deprecated
179
- * @unsupported
180
- * @implements DOM API: `Element`
181
- */
182
- get ariaLevel(): string | null;
183
- /**
184
- * **IT THROWS AN ERROR WHEN CALLING THIS.**
185
- *
186
- * @deprecated
187
- * @unsupported
188
- * @implements DOM API: `Element`
189
- */
190
- get ariaLive(): string | null;
191
- /**
192
- * **IT THROWS AN ERROR WHEN CALLING THIS.**
193
- *
194
- * @deprecated
195
- * @unsupported
196
- * @implements DOM API: `Element`
197
- */
198
- get ariaModal(): string | null;
199
- /**
200
- * **IT THROWS AN ERROR WHEN CALLING THIS.**
201
- *
202
- * @deprecated
203
- * @unsupported
204
- * @implements DOM API: `Element`
205
- */
206
- get ariaMultiLine(): string | null;
207
- /**
208
- * **IT THROWS AN ERROR WHEN CALLING THIS.**
209
- *
210
- * @deprecated
211
- * @unsupported
212
- * @implements DOM API: `Element`
213
- */
214
- get ariaMultiSelectable(): string | null;
215
- /**
216
- * **IT THROWS AN ERROR WHEN CALLING THIS.**
217
- *
218
- * @deprecated
219
- * @unsupported
220
- * @implements DOM API: `Element`
221
- */
222
- get ariaOrientation(): string | null;
223
- /**
224
- * **IT THROWS AN ERROR WHEN CALLING THIS.**
225
- *
226
- * @deprecated
227
- * @unsupported
228
- * @implements DOM API: `Element`
229
- */
230
- get ariaPlaceholder(): string | null;
231
- /**
232
- * **IT THROWS AN ERROR WHEN CALLING THIS.**
233
- *
234
- * @deprecated
235
- * @unsupported
236
- * @implements DOM API: `Element`
237
- */
238
- get ariaPosInSet(): string | null;
239
- /**
240
- * **IT THROWS AN ERROR WHEN CALLING THIS.**
241
- *
242
- * @deprecated
243
- * @unsupported
244
- * @implements DOM API: `Element`
245
- */
246
- get ariaPressed(): string | null;
247
- /**
248
- * **IT THROWS AN ERROR WHEN CALLING THIS.**
249
- *
250
- * @deprecated
251
- * @unsupported
252
- * @implements DOM API: `Element`
253
- */
254
- get ariaReadOnly(): string | null;
255
- /**
256
- * **IT THROWS AN ERROR WHEN CALLING THIS.**
257
- *
258
- * @deprecated
259
- * @unsupported
260
- * @implements DOM API: `Element`
261
- */
262
- get ariaRequired(): string | null;
263
- /**
264
- * **IT THROWS AN ERROR WHEN CALLING THIS.**
265
- *
266
- * @deprecated
267
- * @unsupported
268
- * @implements DOM API: `Element`
269
- */
270
- get ariaRoleDescription(): string | null;
271
- /**
272
- * **IT THROWS AN ERROR WHEN CALLING THIS.**
273
- *
274
- * @deprecated
275
- * @unsupported
276
- * @implements DOM API: `Element`
277
- */
278
- get ariaRowCount(): string | null;
279
- /**
280
- * **IT THROWS AN ERROR WHEN CALLING THIS.**
281
- *
282
- * @deprecated
283
- * @unsupported
284
- * @implements DOM API: `Element`
285
- */
286
- get ariaRowIndex(): string | null;
287
- /**
288
- * **IT THROWS AN ERROR WHEN CALLING THIS.**
289
- *
290
- * @deprecated
291
- * @unsupported
292
- * @implements DOM API: `Element`
293
- */
294
- get ariaRowIndexText(): string | null;
295
- /**
296
- * **IT THROWS AN ERROR WHEN CALLING THIS.**
297
- *
298
- * @deprecated
299
- * @unsupported
300
- * @implements DOM API: `Element`
301
- */
302
- get ariaRowSpan(): string | null;
303
- /**
304
- * **IT THROWS AN ERROR WHEN CALLING THIS.**
305
- *
306
- * @deprecated
307
- * @unsupported
308
- * @implements DOM API: `Element`
309
- */
310
- get ariaSelected(): string | null;
311
- /**
312
- * **IT THROWS AN ERROR WHEN CALLING THIS.**
313
- *
314
- * @deprecated
315
- * @unsupported
316
- * @implements DOM API: `Element`
317
- */
318
- get ariaSetSize(): string | null;
319
- /**
320
- * **IT THROWS AN ERROR WHEN CALLING THIS.**
321
- *
322
- * @deprecated
323
- * @unsupported
324
- * @implements DOM API: `Element`
325
- */
326
- get ariaSort(): string | null;
327
- /**
328
- * **IT THROWS AN ERROR WHEN CALLING THIS.**
329
- *
330
- * @deprecated
331
- * @unsupported
332
- * @implements DOM API: `Element`
333
- */
334
- get ariaValueMax(): string | null;
335
- /**
336
- * **IT THROWS AN ERROR WHEN CALLING THIS.**
337
- *
338
- * @deprecated
339
- * @unsupported
340
- * @implements DOM API: `Element`
341
- */
342
- get ariaValueMin(): string | null;
343
- /**
344
- * **IT THROWS AN ERROR WHEN CALLING THIS.**
345
- *
346
- * @deprecated
347
- * @unsupported
348
- * @implements DOM API: `Element`
349
- */
350
- get ariaValueNow(): string | null;
351
- /**
352
- * **IT THROWS AN ERROR WHEN CALLING THIS.**
353
- *
354
- * @deprecated
355
- * @unsupported
356
- * @implements DOM API: `Element`
357
- */
358
- get ariaValueText(): string | null;
359
- /**
360
- * **IT THROWS AN ERROR WHEN CALLING THIS.**
361
- *
362
- * @unsupported
363
- * @implements DOM API: `Element`
364
- * @see https://dom.spec.whatwg.org/#dom-slotable-assignedslot
365
- */
366
- get assignedSlot(): HTMLSlotElement | null;
367
- /**
368
- * @implements DOM API: `Element`
369
- * @see https://dom.spec.whatwg.org/#dom-element-attributes
370
- */
371
- get attributes(): MLNamedNodeMap<T, O>;
372
- /**
373
- * **IT THROWS AN ERROR WHEN CALLING THIS.**
374
- *
375
- * @deprecated
376
- * @unsupported
377
- * @implements DOM API: `Element`
378
- */
379
- get autocapitalize(): string;
380
- /**
381
- * **IT THROWS AN ERROR WHEN CALLING THIS.**
382
- *
383
- * @deprecated
384
- * @unsupported
385
- * @implements DOM API: `Element`
386
- */
387
- get autofocus(): boolean;
388
- /**
389
- * @implements DOM API: `Element`
390
- * @see https://dom.spec.whatwg.org/#ref-for-dom-element-classlist%E2%91%A0
391
- */
392
- get classList(): MLDomTokenList;
393
- /**
394
- * @implements DOM API: `Element`
395
- * @see https://dom.spec.whatwg.org/#ref-for-dom-element-classname%E2%91%A0
396
- */
397
- get className(): string;
398
- /**
399
- * **IT THROWS AN ERROR WHEN CALLING THIS.**
400
- *
401
- * @unsupported
402
- * @implements DOM API: `Element`
403
- * @see https://www.w3.org/TR/cssom-view-1/#ref-for-dom-element-clientheight-1
404
- */
405
- get clientHeight(): number;
406
- /**
407
- * **IT THROWS AN ERROR WHEN CALLING THIS.**
408
- *
409
- * @unsupported
410
- * @implements DOM API: `Element`
411
- * @see https://www.w3.org/TR/cssom-view-1/#ref-for-dom-element-clientleft-1
412
- */
413
- get clientLeft(): number;
414
- /**
415
- * **IT THROWS AN ERROR WHEN CALLING THIS.**
416
- *
417
- * @unsupported
418
- * @implements DOM API: `Element`
419
- * @see https://www.w3.org/TR/cssom-view-1/#ref-for-dom-element-clienttop-1
420
- */
421
- get clientTop(): number;
422
- /**
423
- * **IT THROWS AN ERROR WHEN CALLING THIS.**
424
- *
425
- * @unsupported
426
- * @implements DOM API: `Element`
427
- * @see https://www.w3.org/TR/cssom-view-1/#ref-for-dom-element-clientwidth-1
428
- */
429
- get clientWidth(): number;
430
- /**
431
- * **IT THROWS AN ERROR WHEN CALLING THIS.**
432
- *
433
- * @deprecated
434
- * @unsupported
435
- * @implements DOM API: `Element`
436
- */
437
- get contentEditable(): string;
438
- /**
439
- * **IT THROWS AN ERROR WHEN CALLING THIS.**
440
- *
441
- * @deprecated
442
- * @unsupported
443
- * @implements DOM API: `Element`
444
- */
445
- get dataset(): DOMStringMap;
446
- /**
447
- * **IT THROWS AN ERROR WHEN CALLING THIS.**
448
- *
449
- * @deprecated
450
- * @unsupported
451
- * @implements DOM API: `Element`
452
- */
453
- get dir(): string;
454
- /**
455
- * **IT THROWS AN ERROR WHEN CALLING THIS.**
456
- *
457
- * @deprecated
458
- * @unsupported
459
- * @implements DOM API: `Element`
460
- */
461
- get draggable(): boolean;
462
- /**
463
- * **IT THROWS AN ERROR WHEN CALLING THIS.**
464
- *
465
- * @deprecated
466
- * @unsupported
467
- * @implements DOM API: `Element`
468
- */
469
- get enterKeyHint(): string;
470
- /**
471
- * @implements `@markuplint/ml-core` API: `MLElement`
472
- */
473
- get fixedNodeName(): string;
474
- /**
475
- * **IT THROWS AN ERROR WHEN CALLING THIS.**
476
- *
477
- * @deprecated
478
- * @unsupported
479
- * @implements DOM API: `Element`
480
- */
481
- get hidden(): boolean;
482
- /**
483
- * @implements DOM API: `Element`
484
- * @see https://dom.spec.whatwg.org/#ref-for-dom-element-id%E2%91%A0
485
- */
486
- get id(): string;
487
- /**
488
- * **IT THROWS AN ERROR WHEN CALLING THIS.**
489
- *
490
- * @deprecated
491
- * @unsupported
492
- * @implements DOM API: `Element`
493
- * @see https://html.spec.whatwg.org/multipage/interaction.html#dom-inert
494
- */
495
- get inert(): boolean;
496
- /**
497
- * **IT THROWS AN ERROR WHEN CALLING THIS.**
498
- *
499
- * @unsupported
500
- * @implements DOM API: `Element`
501
- * @see https://w3c.github.io/DOM-Parsing/#dom-innerhtml-innerhtml
502
- */
503
- get innerHTML(): string;
504
- /**
505
- * **IT THROWS AN ERROR WHEN CALLING THIS.**
506
- *
507
- * @deprecated
508
- * @unsupported
509
- * @implements DOM API: `Element`
510
- */
511
- get innerText(): string;
512
- /**
513
- * **IT THROWS AN ERROR WHEN CALLING THIS.**
514
- *
515
- * @deprecated
516
- * @unsupported
517
- * @implements DOM API: `Element`
518
- */
519
- get inputMode(): string;
520
- /**
521
- * **IT THROWS AN ERROR WHEN CALLING THIS.**
522
- *
523
- * @deprecated
524
- * @unsupported
525
- * @implements DOM API: `Element`
526
- */
527
- get isContentEditable(): boolean;
528
- /**
529
- * **IT THROWS AN ERROR WHEN CALLING THIS.**
530
- *
531
- * @deprecated
532
- * @unsupported
533
- * @implements DOM API: `Element`
534
- */
535
- get lang(): string;
536
- /**
537
- * Returns a lowercase name if it is an HTML element.
538
- *
539
- * ```html
540
- * <div> => "div"
541
- * <DIV> => "div"
542
- * <svg> => "svg"
543
- * <foreignObject> => "foreignObject"
544
- * <x-foo> => "x-foo"
545
- * <X-FOO> => "x-foo"
546
- * ```
547
- *
548
- * @implements DOM API: `Element`
549
- * @see https://dom.spec.whatwg.org/#ref-for-dom-element-localname%E2%91%A0
550
- */
551
- get localName(): string;
552
- /**
553
- * The element immediately following the specified one in its parent's children list.
554
- *
555
- * @readonly
556
- * @implements DOM API: `Element`
557
- * @see https://dom.spec.whatwg.org/#ref-for-dom-nondocumenttypechildnode-nextelementsibling%E2%91%A1
558
- */
559
- get nextElementSibling(): MLElement<T, O> | null;
560
- /**
561
- * Returns a string appropriate for the type of node as `Element`
562
- *
563
- * @see https://dom.spec.whatwg.org/#ref-for-element%E2%91%A2%E2%93%AA
564
- */
565
- get nodeName(): string;
566
- /**
567
- * Returns a number appropriate for the type of `Element`
568
- */
569
- get nodeType(): ElementNodeType;
570
- /**
571
- * **IT THROWS AN ERROR WHEN CALLING THIS.**
572
- *
573
- * @deprecated
574
- * @unsupported
575
- * @implements DOM API: `Element`
576
- */
577
- get nonce(): string | undefined;
578
- /**
579
- * **IT THROWS AN ERROR WHEN CALLING THIS.**
580
- *
581
- * @deprecated
582
- * @unsupported
583
- * @implements DOM API: `Element`
584
- */
585
- get offsetHeight(): number;
586
- /**
587
- * **IT THROWS AN ERROR WHEN CALLING THIS.**
588
- *
589
- * @deprecated
590
- * @unsupported
591
- * @implements DOM API: `Element`
592
- */
593
- get offsetLeft(): number;
594
- /**
595
- * **IT THROWS AN ERROR WHEN CALLING THIS.**
596
- *
597
- * @deprecated
598
- * @unsupported
599
- * @implements DOM API: `Element`
600
- */
601
- get offsetParent(): Element | null;
602
- /**
603
- * **IT THROWS AN ERROR WHEN CALLING THIS.**
604
- *
605
- * @deprecated
606
- * @unsupported
607
- * @implements DOM API: `Element`
608
- */
609
- get offsetTop(): number;
610
- /**
611
- * **IT THROWS AN ERROR WHEN CALLING THIS.**
612
- *
613
- * @deprecated
614
- * @unsupported
615
- * @implements DOM API: `Element`
616
- */
617
- get offsetWidth(): number;
618
- /**
619
- * **IT THROWS AN ERROR WHEN CALLING THIS.**
620
- *
621
- * @deprecated
622
- * @unsupported
623
- * @implements DOM API: `Element`
624
- */
625
- get onabort(): ((this: GlobalEventHandlers, ev: UIEvent) => any) | null;
626
- /**
627
- * **IT THROWS AN ERROR WHEN CALLING THIS.**
628
- *
629
- * @deprecated
630
- * @unsupported
631
- * @implements DOM API: `Element`
632
- */
633
- get onanimationcancel(): ((this: GlobalEventHandlers, ev: AnimationEvent) => any) | null;
634
- /**
635
- * **IT THROWS AN ERROR WHEN CALLING THIS.**
636
- *
637
- * @deprecated
638
- * @unsupported
639
- * @implements DOM API: `Element`
640
- */
641
- get onanimationend(): ((this: GlobalEventHandlers, ev: AnimationEvent) => any) | null;
642
- /**
643
- * **IT THROWS AN ERROR WHEN CALLING THIS.**
644
- *
645
- * @deprecated
646
- * @unsupported
647
- * @implements DOM API: `Element`
648
- */
649
- get onanimationiteration(): ((this: GlobalEventHandlers, ev: AnimationEvent) => any) | null;
650
- /**
651
- * **IT THROWS AN ERROR WHEN CALLING THIS.**
652
- *
653
- * @deprecated
654
- * @unsupported
655
- * @implements DOM API: `Element`
656
- */
657
- get onanimationstart(): ((this: GlobalEventHandlers, ev: AnimationEvent) => any) | null;
658
- /**
659
- * **IT THROWS AN ERROR WHEN CALLING THIS.**
660
- *
661
- * @deprecated
662
- * @unsupported
663
- * @implements DOM API: `Element`
664
- */
665
- get onauxclick(): ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null;
666
- /**
667
- * **IT THROWS AN ERROR WHEN CALLING THIS.**
668
- *
669
- * @deprecated
670
- * @unsupported
671
- * @implements DOM API: `Element`
672
- */
673
- get onbeforeinput(): ((this: GlobalEventHandlers, ev: InputEvent) => any) | null;
674
- /**
675
- * **IT THROWS AN ERROR WHEN CALLING THIS.**
676
- *
677
- * @deprecated
678
- * @unsupported
679
- * @implements DOM API: `Element`
680
- */
681
- get onblur(): ((this: GlobalEventHandlers, ev: FocusEvent) => any) | null;
682
- /**
683
- * **IT THROWS AN ERROR WHEN CALLING THIS.**
684
- *
685
- * @deprecated
686
- * @unsupported
687
- * @implements DOM API: `Element`
688
- */
689
- get oncancel(): ((this: GlobalEventHandlers, ev: Event) => any) | null;
690
- /**
691
- * **IT THROWS AN ERROR WHEN CALLING THIS.**
692
- *
693
- * @deprecated
694
- * @unsupported
695
- * @implements DOM API: `Element`
696
- */
697
- get oncanplay(): ((this: GlobalEventHandlers, ev: Event) => any) | null;
698
- /**
699
- * **IT THROWS AN ERROR WHEN CALLING THIS.**
700
- *
701
- * @deprecated
702
- * @unsupported
703
- * @implements DOM API: `Element`
704
- */
705
- get oncanplaythrough(): ((this: GlobalEventHandlers, ev: Event) => any) | null;
706
- /**
707
- * **IT THROWS AN ERROR WHEN CALLING THIS.**
708
- *
709
- * @deprecated
710
- * @unsupported
711
- * @implements DOM API: `Element`
712
- */
713
- get onchange(): ((this: GlobalEventHandlers, ev: Event) => any) | null;
714
- /**
715
- * **IT THROWS AN ERROR WHEN CALLING THIS.**
716
- *
717
- * @deprecated
718
- * @unsupported
719
- * @implements DOM API: `Element`
720
- */
721
- get onclick(): ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null;
722
- /**
723
- * **IT THROWS AN ERROR WHEN CALLING THIS.**
724
- *
725
- * @deprecated
726
- * @unsupported
727
- * @implements DOM API: `Element`
728
- */
729
- get onclose(): ((this: GlobalEventHandlers, ev: Event) => any) | null;
730
- /**
731
- * **IT THROWS AN ERROR WHEN CALLING THIS.**
732
- *
733
- * @deprecated
734
- * @unsupported
735
- * @implements DOM API: `Element`
736
- */
737
- get oncontextmenu(): ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null;
738
- /**
739
- * **IT THROWS AN ERROR WHEN CALLING THIS.**
740
- *
741
- * @deprecated
742
- * @unsupported
743
- * @implements DOM API: `Element`
744
- */
745
- get oncopy(): ((this: GlobalEventHandlers, ev: ClipboardEvent) => any) | null;
746
- /**
747
- * **IT THROWS AN ERROR WHEN CALLING THIS.**
748
- *
749
- * @deprecated
750
- * @unsupported
751
- * @implements DOM API: `Element`
752
- */
753
- get oncuechange(): ((this: GlobalEventHandlers, ev: Event) => any) | null;
754
- /**
755
- * **IT THROWS AN ERROR WHEN CALLING THIS.**
756
- *
757
- * @deprecated
758
- * @unsupported
759
- * @implements DOM API: `Element`
760
- */
761
- get oncut(): ((this: GlobalEventHandlers, ev: ClipboardEvent) => any) | null;
762
- /**
763
- * **IT THROWS AN ERROR WHEN CALLING THIS.**
764
- *
765
- * @deprecated
766
- * @unsupported
767
- * @implements DOM API: `Element`
768
- */
769
- get ondblclick(): ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null;
770
- /**
771
- * **IT THROWS AN ERROR WHEN CALLING THIS.**
772
- *
773
- * @deprecated
774
- * @unsupported
775
- * @implements DOM API: `Element`
776
- */
777
- get ondrag(): ((this: GlobalEventHandlers, ev: DragEvent) => any) | null;
778
- /**
779
- * **IT THROWS AN ERROR WHEN CALLING THIS.**
780
- *
781
- * @deprecated
782
- * @unsupported
783
- * @implements DOM API: `Element`
784
- */
785
- get ondragend(): ((this: GlobalEventHandlers, ev: DragEvent) => any) | null;
786
- /**
787
- * **IT THROWS AN ERROR WHEN CALLING THIS.**
788
- *
789
- * @deprecated
790
- * @unsupported
791
- * @implements DOM API: `Element`
792
- */
793
- get ondragenter(): ((this: GlobalEventHandlers, ev: DragEvent) => any) | null;
794
- /**
795
- * **IT THROWS AN ERROR WHEN CALLING THIS.**
796
- *
797
- * @deprecated
798
- * @unsupported
799
- * @implements DOM API: `Element`
800
- */
801
- get ondragleave(): ((this: GlobalEventHandlers, ev: DragEvent) => any) | null;
802
- /**
803
- * **IT THROWS AN ERROR WHEN CALLING THIS.**
804
- *
805
- * @deprecated
806
- * @unsupported
807
- * @implements DOM API: `Element`
808
- */
809
- get ondragover(): ((this: GlobalEventHandlers, ev: DragEvent) => any) | null;
810
- /**
811
- * **IT THROWS AN ERROR WHEN CALLING THIS.**
812
- *
813
- * @deprecated
814
- * @unsupported
815
- * @implements DOM API: `Element`
816
- */
817
- get ondragstart(): ((this: GlobalEventHandlers, ev: DragEvent) => any) | null;
818
- /**
819
- * **IT THROWS AN ERROR WHEN CALLING THIS.**
820
- *
821
- * @deprecated
822
- * @unsupported
823
- * @implements DOM API: `Element`
824
- */
825
- get ondrop(): ((this: GlobalEventHandlers, ev: DragEvent) => any) | null;
826
- /**
827
- * **IT THROWS AN ERROR WHEN CALLING THIS.**
828
- *
829
- * @deprecated
830
- * @unsupported
831
- * @implements DOM API: `Element`
832
- */
833
- get ondurationchange(): ((this: GlobalEventHandlers, ev: Event) => any) | null;
834
- /**
835
- * **IT THROWS AN ERROR WHEN CALLING THIS.**
836
- *
837
- * @deprecated
838
- * @unsupported
839
- * @implements DOM API: `Element`
840
- */
841
- get onemptied(): ((this: GlobalEventHandlers, ev: Event) => any) | null;
842
- /**
843
- * **IT THROWS AN ERROR WHEN CALLING THIS.**
844
- *
845
- * @deprecated
846
- * @unsupported
847
- * @implements DOM API: `Element`
848
- */
849
- get onended(): ((this: GlobalEventHandlers, ev: Event) => any) | null;
850
- /**
851
- * **IT THROWS AN ERROR WHEN CALLING THIS.**
852
- *
853
- * @deprecated
854
- * @unsupported
855
- * @implements DOM API: `Element`
856
- */
857
- get onerror(): OnErrorEventHandler;
858
- /**
859
- * **IT THROWS AN ERROR WHEN CALLING THIS.**
860
- *
861
- * @deprecated
862
- * @unsupported
863
- * @implements DOM API: `Element`
864
- */
865
- get onfocus(): ((this: GlobalEventHandlers, ev: FocusEvent) => any) | null;
866
- /**
867
- * **IT THROWS AN ERROR WHEN CALLING THIS.**
868
- *
869
- * @deprecated
870
- * @unsupported
871
- * @implements DOM API: `Element`
872
- */
873
- get onformdata(): ((this: GlobalEventHandlers, ev: FormDataEvent) => any) | null;
874
- /**
875
- * **IT THROWS AN ERROR WHEN CALLING THIS.**
876
- *
877
- * @deprecated
878
- * @unsupported
879
- * @implements DOM API: `Element`
880
- */
881
- get onfullscreenchange(): ((this: Element, ev: Event) => any) | null;
882
- /**
883
- * **IT THROWS AN ERROR WHEN CALLING THIS.**
884
- *
885
- * @deprecated
886
- * @unsupported
887
- * @implements DOM API: `Element`
888
- */
889
- get onfullscreenerror(): ((this: Element, ev: Event) => any) | null;
890
- /**
891
- * **IT THROWS AN ERROR WHEN CALLING THIS.**
892
- *
893
- * @deprecated
894
- * @unsupported
895
- * @implements DOM API: `Element`
896
- */
897
- get ongotpointercapture(): ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
898
- /**
899
- * **IT THROWS AN ERROR WHEN CALLING THIS.**
900
- *
901
- * @deprecated
902
- * @unsupported
903
- * @implements DOM API: `Element`
904
- */
905
- get oninput(): ((this: GlobalEventHandlers, ev: Event) => any) | null;
906
- /**
907
- * **IT THROWS AN ERROR WHEN CALLING THIS.**
908
- *
909
- * @deprecated
910
- * @unsupported
911
- * @implements DOM API: `Element`
912
- */
913
- get oninvalid(): ((this: GlobalEventHandlers, ev: Event) => any) | null;
914
- /**
915
- * **IT THROWS AN ERROR WHEN CALLING THIS.**
916
- *
917
- * @deprecated
918
- * @unsupported
919
- * @implements DOM API: `Element`
920
- */
921
- get onkeydown(): ((this: GlobalEventHandlers, ev: KeyboardEvent) => any) | null;
922
- /**
923
- * **IT THROWS AN ERROR WHEN CALLING THIS.**
924
- *
925
- * @deprecated
926
- * @unsupported
927
- * @implements DOM API: `Element`
928
- */
929
- get onkeypress(): ((this: GlobalEventHandlers, ev: KeyboardEvent) => any) | null;
930
- /**
931
- * **IT THROWS AN ERROR WHEN CALLING THIS.**
932
- *
933
- * @deprecated
934
- * @unsupported
935
- * @implements DOM API: `Element`
936
- */
937
- get onkeyup(): ((this: GlobalEventHandlers, ev: KeyboardEvent) => any) | null;
938
- /**
939
- * **IT THROWS AN ERROR WHEN CALLING THIS.**
940
- *
941
- * @deprecated
942
- * @unsupported
943
- * @implements DOM API: `Element`
944
- */
945
- get onload(): ((this: GlobalEventHandlers, ev: Event) => any) | null;
946
- /**
947
- * **IT THROWS AN ERROR WHEN CALLING THIS.**
948
- *
949
- * @deprecated
950
- * @unsupported
951
- * @implements DOM API: `Element`
952
- */
953
- get onloadeddata(): ((this: GlobalEventHandlers, ev: Event) => any) | null;
954
- /**
955
- * **IT THROWS AN ERROR WHEN CALLING THIS.**
956
- *
957
- * @deprecated
958
- * @unsupported
959
- * @implements DOM API: `Element`
960
- */
961
- get onloadedmetadata(): ((this: GlobalEventHandlers, ev: Event) => any) | null;
962
- /**
963
- * **IT THROWS AN ERROR WHEN CALLING THIS.**
964
- *
965
- * @deprecated
966
- * @unsupported
967
- * @implements DOM API: `Element`
968
- */
969
- get onloadstart(): ((this: GlobalEventHandlers, ev: Event) => any) | null;
970
- /**
971
- * **IT THROWS AN ERROR WHEN CALLING THIS.**
972
- *
973
- * @deprecated
974
- * @unsupported
975
- * @implements DOM API: `Element`
976
- */
977
- get onlostpointercapture(): ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
978
- /**
979
- * **IT THROWS AN ERROR WHEN CALLING THIS.**
980
- *
981
- * @deprecated
982
- * @unsupported
983
- * @implements DOM API: `Element`
984
- */
985
- get onmousedown(): ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null;
986
- /**
987
- * **IT THROWS AN ERROR WHEN CALLING THIS.**
988
- *
989
- * @deprecated
990
- * @unsupported
991
- * @implements DOM API: `Element`
992
- */
993
- get onmouseenter(): ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null;
994
- /**
995
- * **IT THROWS AN ERROR WHEN CALLING THIS.**
996
- *
997
- * @deprecated
998
- * @unsupported
999
- * @implements DOM API: `Element`
1000
- */
1001
- get onmouseleave(): ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null;
1002
- /**
1003
- * **IT THROWS AN ERROR WHEN CALLING THIS.**
1004
- *
1005
- * @deprecated
1006
- * @unsupported
1007
- * @implements DOM API: `Element`
1008
- */
1009
- get onmousemove(): ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null;
1010
- /**
1011
- * **IT THROWS AN ERROR WHEN CALLING THIS.**
1012
- *
1013
- * @deprecated
1014
- * @unsupported
1015
- * @implements DOM API: `Element`
1016
- */
1017
- get onmouseout(): ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null;
1018
- /**
1019
- * **IT THROWS AN ERROR WHEN CALLING THIS.**
1020
- *
1021
- * @deprecated
1022
- * @unsupported
1023
- * @implements DOM API: `Element`
1024
- */
1025
- get onmouseover(): ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null;
1026
- /**
1027
- * **IT THROWS AN ERROR WHEN CALLING THIS.**
1028
- *
1029
- * @deprecated
1030
- * @unsupported
1031
- * @implements DOM API: `Element`
1032
- */
1033
- get onmouseup(): ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null;
1034
- /**
1035
- * **IT THROWS AN ERROR WHEN CALLING THIS.**
1036
- *
1037
- * @deprecated
1038
- * @unsupported
1039
- * @implements DOM API: `Element`
1040
- */
1041
- get onpaste(): ((this: GlobalEventHandlers, ev: ClipboardEvent) => any) | null;
1042
- /**
1043
- * **IT THROWS AN ERROR WHEN CALLING THIS.**
1044
- *
1045
- * @deprecated
1046
- * @unsupported
1047
- * @implements DOM API: `Element`
1048
- */
1049
- get onpause(): ((this: GlobalEventHandlers, ev: Event) => any) | null;
1050
- /**
1051
- * **IT THROWS AN ERROR WHEN CALLING THIS.**
1052
- *
1053
- * @deprecated
1054
- * @unsupported
1055
- * @implements DOM API: `Element`
1056
- */
1057
- get onplay(): ((this: GlobalEventHandlers, ev: Event) => any) | null;
1058
- /**
1059
- * **IT THROWS AN ERROR WHEN CALLING THIS.**
1060
- *
1061
- * @deprecated
1062
- * @unsupported
1063
- * @implements DOM API: `Element`
1064
- */
1065
- get onplaying(): ((this: GlobalEventHandlers, ev: Event) => any) | null;
1066
- /**
1067
- * **IT THROWS AN ERROR WHEN CALLING THIS.**
1068
- *
1069
- * @deprecated
1070
- * @unsupported
1071
- * @implements DOM API: `Element`
1072
- */
1073
- get onpointercancel(): ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
1074
- /**
1075
- * **IT THROWS AN ERROR WHEN CALLING THIS.**
1076
- *
1077
- * @deprecated
1078
- * @unsupported
1079
- * @implements DOM API: `Element`
1080
- */
1081
- get onpointerdown(): ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
1082
- /**
1083
- * **IT THROWS AN ERROR WHEN CALLING THIS.**
1084
- *
1085
- * @deprecated
1086
- * @unsupported
1087
- * @implements DOM API: `Element`
1088
- */
1089
- get onpointerenter(): ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
1090
- /**
1091
- * **IT THROWS AN ERROR WHEN CALLING THIS.**
1092
- *
1093
- * @deprecated
1094
- * @unsupported
1095
- * @implements DOM API: `Element`
1096
- */
1097
- get onpointerleave(): ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
1098
- /**
1099
- * **IT THROWS AN ERROR WHEN CALLING THIS.**
1100
- *
1101
- * @deprecated
1102
- * @unsupported
1103
- * @implements DOM API: `Element`
1104
- */
1105
- get onpointermove(): ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
1106
- /**
1107
- * **IT THROWS AN ERROR WHEN CALLING THIS.**
1108
- *
1109
- * @deprecated
1110
- * @unsupported
1111
- * @implements DOM API: `Element`
1112
- */
1113
- get onpointerout(): ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
1114
- /**
1115
- * **IT THROWS AN ERROR WHEN CALLING THIS.**
1116
- *
1117
- * @deprecated
1118
- * @unsupported
1119
- * @implements DOM API: `Element`
1120
- */
1121
- get onpointerover(): ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
1122
- /**
1123
- * **IT THROWS AN ERROR WHEN CALLING THIS.**
1124
- *
1125
- * @deprecated
1126
- * @unsupported
1127
- * @implements DOM API: `Element`
1128
- */
1129
- get onpointerup(): ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
1130
- /**
1131
- * **IT THROWS AN ERROR WHEN CALLING THIS.**
1132
- *
1133
- * @deprecated
1134
- * @unsupported
1135
- * @implements DOM API: `Element`
1136
- */
1137
- get onprogress(): ((this: GlobalEventHandlers, ev: ProgressEvent<EventTarget>) => any) | null;
1138
- /**
1139
- * **IT THROWS AN ERROR WHEN CALLING THIS.**
1140
- *
1141
- * @deprecated
1142
- * @unsupported
1143
- * @implements DOM API: `Element`
1144
- */
1145
- get onratechange(): ((this: GlobalEventHandlers, ev: Event) => any) | null;
1146
- /**
1147
- * **IT THROWS AN ERROR WHEN CALLING THIS.**
1148
- *
1149
- * @deprecated
1150
- * @unsupported
1151
- * @implements DOM API: `Element`
1152
- */
1153
- get onreset(): ((this: GlobalEventHandlers, ev: Event) => any) | null;
1154
- /**
1155
- * **IT THROWS AN ERROR WHEN CALLING THIS.**
1156
- *
1157
- * @deprecated
1158
- * @unsupported
1159
- * @implements DOM API: `Element`
1160
- */
1161
- get onresize(): ((this: GlobalEventHandlers, ev: UIEvent) => any) | null;
1162
- /**
1163
- * **IT THROWS AN ERROR WHEN CALLING THIS.**
1164
- *
1165
- * @deprecated
1166
- * @unsupported
1167
- * @implements DOM API: `Element`
1168
- */
1169
- get onscroll(): ((this: GlobalEventHandlers, ev: Event) => any) | null;
1170
- /**
1171
- * **IT THROWS AN ERROR WHEN CALLING THIS.**
1172
- *
1173
- * @deprecated
1174
- * @unsupported
1175
- * @implements DOM API: `Element`
1176
- */
1177
- get onsecuritypolicyviolation(): ((this: GlobalEventHandlers, ev: SecurityPolicyViolationEvent) => any) | null;
1178
- /**
1179
- * **IT THROWS AN ERROR WHEN CALLING THIS.**
1180
- *
1181
- * @deprecated
1182
- * @unsupported
1183
- * @implements DOM API: `Element`
1184
- */
1185
- get onseeked(): ((this: GlobalEventHandlers, ev: Event) => any) | null;
1186
- /**
1187
- * **IT THROWS AN ERROR WHEN CALLING THIS.**
1188
- *
1189
- * @deprecated
1190
- * @unsupported
1191
- * @implements DOM API: `Element`
1192
- */
1193
- get onseeking(): ((this: GlobalEventHandlers, ev: Event) => any) | null;
1194
- /**
1195
- * **IT THROWS AN ERROR WHEN CALLING THIS.**
1196
- *
1197
- * @deprecated
1198
- * @unsupported
1199
- * @implements DOM API: `Element`
1200
- */
1201
- get onselect(): ((this: GlobalEventHandlers, ev: Event) => any) | null;
1202
- /**
1203
- * **IT THROWS AN ERROR WHEN CALLING THIS.**
1204
- *
1205
- * @deprecated
1206
- * @unsupported
1207
- * @implements DOM API: `Element`
1208
- */
1209
- get onselectionchange(): ((this: GlobalEventHandlers, ev: Event) => any) | null;
1210
- /**
1211
- * **IT THROWS AN ERROR WHEN CALLING THIS.**
1212
- *
1213
- * @deprecated
1214
- * @unsupported
1215
- * @implements DOM API: `Element`
1216
- */
1217
- get onselectstart(): ((this: GlobalEventHandlers, ev: Event) => any) | null;
1218
- /**
1219
- * **IT THROWS AN ERROR WHEN CALLING THIS.**
1220
- *
1221
- * @deprecated
1222
- * @unsupported
1223
- * @implements DOM API: `Element`
1224
- */
1225
- get onslotchange(): ((this: GlobalEventHandlers, ev: Event) => any) | null;
1226
- /**
1227
- * **IT THROWS AN ERROR WHEN CALLING THIS.**
1228
- *
1229
- * @deprecated
1230
- * @unsupported
1231
- * @implements DOM API: `Element`
1232
- */
1233
- get onstalled(): ((this: GlobalEventHandlers, ev: Event) => any) | null;
1234
- /**
1235
- * **IT THROWS AN ERROR WHEN CALLING THIS.**
1236
- *
1237
- * @deprecated
1238
- * @unsupported
1239
- * @implements DOM API: `Element`
1240
- */
1241
- get onsubmit(): ((this: GlobalEventHandlers, ev: SubmitEvent) => any) | null;
1242
- /**
1243
- * **IT THROWS AN ERROR WHEN CALLING THIS.**
1244
- *
1245
- * @deprecated
1246
- * @unsupported
1247
- * @implements DOM API: `Element`
1248
- */
1249
- get onsuspend(): ((this: GlobalEventHandlers, ev: Event) => any) | null;
1250
- /**
1251
- * **IT THROWS AN ERROR WHEN CALLING THIS.**
1252
- *
1253
- * @deprecated
1254
- * @unsupported
1255
- * @implements DOM API: `Element`
1256
- */
1257
- get ontimeupdate(): ((this: GlobalEventHandlers, ev: Event) => any) | null;
1258
- /**
1259
- * **IT THROWS AN ERROR WHEN CALLING THIS.**
1260
- *
1261
- * @deprecated
1262
- * @unsupported
1263
- * @implements DOM API: `Element`
1264
- */
1265
- get ontoggle(): ((this: GlobalEventHandlers, ev: Event) => any) | null;
1266
- /**
1267
- * **IT THROWS AN ERROR WHEN CALLING THIS.**
1268
- *
1269
- * @deprecated
1270
- * @unsupported
1271
- * @implements DOM API: `Element`
1272
- */
1273
- get ontransitioncancel(): ((this: GlobalEventHandlers, ev: TransitionEvent) => any) | null;
1274
- /**
1275
- * **IT THROWS AN ERROR WHEN CALLING THIS.**
1276
- *
1277
- * @deprecated
1278
- * @unsupported
1279
- * @implements DOM API: `Element`
1280
- */
1281
- get ontransitionend(): ((this: GlobalEventHandlers, ev: TransitionEvent) => any) | null;
1282
- /**
1283
- * **IT THROWS AN ERROR WHEN CALLING THIS.**
1284
- *
1285
- * @deprecated
1286
- * @unsupported
1287
- * @implements DOM API: `Element`
1288
- */
1289
- get ontransitionrun(): ((this: GlobalEventHandlers, ev: TransitionEvent) => any) | null;
1290
- /**
1291
- * **IT THROWS AN ERROR WHEN CALLING THIS.**
1292
- *
1293
- * @deprecated
1294
- * @unsupported
1295
- * @implements DOM API: `Element`
1296
- */
1297
- get ontransitionstart(): ((this: GlobalEventHandlers, ev: TransitionEvent) => any) | null;
1298
- /**
1299
- * **IT THROWS AN ERROR WHEN CALLING THIS.**
1300
- *
1301
- * @deprecated
1302
- * @unsupported
1303
- * @implements DOM API: `Element`
1304
- */
1305
- get onvolumechange(): ((this: GlobalEventHandlers, ev: Event) => any) | null;
1306
- /**
1307
- * **IT THROWS AN ERROR WHEN CALLING THIS.**
1308
- *
1309
- * @deprecated
1310
- * @unsupported
1311
- * @implements DOM API: `Element`
1312
- */
1313
- get onwaiting(): ((this: GlobalEventHandlers, ev: Event) => any) | null;
1314
- /**
1315
- * **IT THROWS AN ERROR WHEN CALLING THIS.**
1316
- *
1317
- * @deprecated
1318
- * @unsupported
1319
- * @implements DOM API: `Element`
1320
- */
1321
- get onwebkitanimationend(): ((this: GlobalEventHandlers, ev: Event) => any) | null;
1322
- /**
1323
- * **IT THROWS AN ERROR WHEN CALLING THIS.**
1324
- *
1325
- * @deprecated
1326
- * @unsupported
1327
- * @implements DOM API: `Element`
1328
- */
1329
- get onwebkitanimationiteration(): ((this: GlobalEventHandlers, ev: Event) => any) | null;
1330
- /**
1331
- * **IT THROWS AN ERROR WHEN CALLING THIS.**
1332
- *
1333
- * @deprecated
1334
- * @unsupported
1335
- * @implements DOM API: `Element`
1336
- */
1337
- get onwebkitanimationstart(): ((this: GlobalEventHandlers, ev: Event) => any) | null;
1338
- /**
1339
- * **IT THROWS AN ERROR WHEN CALLING THIS.**
1340
- *
1341
- * @deprecated
1342
- * @unsupported
1343
- * @implements DOM API: `Element`
1344
- */
1345
- get onwebkittransitionend(): ((this: GlobalEventHandlers, ev: Event) => any) | null;
1346
- /**
1347
- * **IT THROWS AN ERROR WHEN CALLING THIS.**
1348
- *
1349
- * @deprecated
1350
- * @unsupported
1351
- * @implements DOM API: `Element`
1352
- */
1353
- get onwheel(): ((this: GlobalEventHandlers, ev: WheelEvent) => any) | null;
1354
- /**
1355
- * **IT THROWS AN ERROR WHEN CALLING THIS.**
1356
- *
1357
- * @unsupported
1358
- * @implements DOM API: `Element`
1359
- * @see https://w3c.github.io/DOM-Parsing/#dom-element-outerhtml
1360
- */
1361
- get outerHTML(): string;
1362
- /**
1363
- * **IT THROWS AN ERROR WHEN CALLING THIS.**
1364
- *
1365
- * @deprecated
1366
- * @unsupported
1367
- * @implements DOM API: `Element`
1368
- */
1369
- get outerText(): string;
1370
- /**
1371
- * **IT THROWS AN ERROR WHEN CALLING THIS.**
1372
- *
1373
- * @unsupported
1374
- * @implements DOM API: `Element`
1375
- * @see https://www.w3.org/TR/css-shadow-parts-1/#idl
1376
- */
1377
- get part(): DOMTokenList;
1378
- /**
1379
- * **IT THROWS AN ERROR WHEN CALLING THIS.**
1380
- *
1381
- * @unsupported
1382
- * @implements DOM API: `Element`
1383
- * @see https://dom.spec.whatwg.org/#ref-for-dom-element-prefix%E2%91%A0
1384
- */
1385
- get prefix(): string | null;
1386
- /**
1387
- * The element immediately prior the specified one in its parent's children list.
1388
- *
1389
- * @readonly
1390
- * @implements DOM API: `Element`
1391
- * @see https://dom.spec.whatwg.org/#ref-for-dom-nondocumenttypechildnode-previouselementsibling%E2%91%A1
1392
- */
1393
- get previousElementSibling(): MLElement<T, O> | null;
1394
- get raw(): string;
1395
- /**
1396
- * @implements `@markuplint/ml-core` API: `MLElement`
1397
- */
1398
- get rawName(): string;
1399
- /**
1400
- * **IT THROWS AN ERROR WHEN CALLING THIS.**
1401
- *
1402
- * @unsupported
1403
- * @implements DOM API: `Element`
1404
- * @see https://w3c.github.io/aria/#ARIAMixin
1405
- */
1406
- get role(): string;
1407
- /**
1408
- * @implements `@markuplint/ml-core` API: `MLNode`
1409
- */
1410
- get rule(): RuleInfo<T, O>;
1411
- /**
1412
- * **IT THROWS AN ERROR WHEN CALLING THIS.**
1413
- *
1414
- * @unsupported
1415
- * @implements DOM API: `Element`
1416
- * @see https://www.w3.org/TR/cssom-view-1/#ref-for-dom-element-scrollheight-1
1417
- */
1418
- get scrollHeight(): number;
1419
- /**
1420
- * **IT THROWS AN ERROR WHEN CALLING THIS.**
1421
- *
1422
- * @unsupported
1423
- * @implements DOM API: `Element`
1424
- * @see https://www.w3.org/TR/cssom-view-1/#ref-for-dom-element-scrollleft-1
1425
- */
1426
- get scrollLeft(): number;
1427
- /**
1428
- * **IT THROWS AN ERROR WHEN CALLING THIS.**
1429
- *
1430
- * @unsupported
1431
- * @implements DOM API: `Element`
1432
- * @see https://www.w3.org/TR/cssom-view-1/#ref-for-dom-element-scrolltop-1
1433
- */
1434
- get scrollTop(): number;
1435
- /**
1436
- * **IT THROWS AN ERROR WHEN CALLING THIS.**
1437
- *
1438
- * @unsupported
1439
- * @implements DOM API: `Element`
1440
- * @see https://www.w3.org/TR/cssom-view-1/#ref-for-dom-element-scrollwidth-1
1441
- */
1442
- get scrollWidth(): number;
1443
- /**
1444
- * **IT THROWS AN ERROR WHEN CALLING THIS.**
1445
- *
1446
- * @unsupported
1447
- * @implements DOM API: `Element`
1448
- * @see https://dom.spec.whatwg.org/#ref-for-dom-element-shadowroot%E2%91%A0
1449
- */
1450
- get shadowRoot(): ShadowRoot | null;
1451
- /**
1452
- * @implements DOM API: `Element`
1453
- * @see https://dom.spec.whatwg.org/#ref-for-dom-element-slot%E2%91%A0
1454
- */
1455
- get slot(): string;
1456
- /**
1457
- * **IT THROWS AN ERROR WHEN CALLING THIS.**
1458
- *
1459
- * @deprecated
1460
- * @unsupported
1461
- * @implements DOM API: `Element`
1462
- */
1463
- get spellcheck(): boolean;
1464
- /**
1465
- * **IT THROWS AN ERROR WHEN CALLING THIS.**
1466
- *
1467
- * @deprecated
1468
- * @unsupported
1469
- * @implements DOM API: `Element`
1470
- */
1471
- get style(): CSSStyleDeclaration;
1472
- /**
1473
- * **IT THROWS AN ERROR WHEN CALLING THIS.**
1474
- *
1475
- * @deprecated
1476
- * @unsupported
1477
- * @implements DOM API: `Element`
1478
- */
1479
- get tabIndex(): number;
1480
- /**
1481
- * Returns the HTML-uppercased qualified name.
1482
- *
1483
- * If this is in the HTML namespace and its node document is an HTML document, then set qualifiedName to qualifiedName in ASCII uppercase.
1484
- *
1485
- * (In markuplint evaluation, the node document always is an HTML document.)
1486
- *
1487
- * ```html
1488
- * <div> => "DIV"
1489
- * <svg> => "svg"
1490
- * <x-foo> => "X-FOO"
1491
- * ```
1492
- *
1493
- * @implements DOM API: `Element`
1494
- * @see https://dom.spec.whatwg.org/#ref-for-dom-element-tagname%E2%91%A0
1495
- */
1496
- get tagName(): string;
1497
- get textContent(): string;
1498
- /**
1499
- * **IT THROWS AN ERROR WHEN CALLING THIS.**
1500
- *
1501
- * @deprecated
1502
- * @unsupported
1503
- * @implements DOM API: `Element`
1504
- */
1505
- get title(): string;
1506
- /**
1507
- * **IT THROWS AN ERROR WHEN CALLING THIS.**
1508
- *
1509
- * @deprecated
1510
- * @unsupported
1511
- * @implements DOM API: `Element`
1512
- */
1513
- get translate(): boolean;
1514
- /**
1515
- * @implements DOM API: `Element`
1516
- */
1517
- after(...nodes: (string | MLElement<any, any>)[]): void;
1518
- /**
1519
- * **IT THROWS AN ERROR WHEN CALLING THIS.**
1520
- *
1521
- * @unsupported
1522
- * @implements DOM API: `Element`
1523
- * @see https://www.w3.org/TR/web-animations-1/#dom-animatable-animate
1524
- */
1525
- animate(
1526
- keyframes: Keyframe[] | PropertyIndexedKeyframes | null,
1527
- options?: number | KeyframeAnimationOptions,
1528
- ): Animation;
1529
- /**
1530
- * **IT THROWS AN ERROR WHEN CALLING THIS.**
1531
- *
1532
- * @deprecated
1533
- * @unsupported
1534
- * @implements DOM API: `Element`
1535
- */
1536
- attachInternals(): ElementInternals;
1537
- /**
1538
- * **IT THROWS AN ERROR WHEN CALLING THIS.**
1539
- *
1540
- * @unsupported
1541
- * @implements DOM API: `Element`
1542
- * @see https://dom.spec.whatwg.org/#ref-for-dom-element-attachshadow%E2%91%A0
1543
- */
1544
- attachShadow(init: ShadowRootInit): ShadowRoot;
1545
- /**
1546
- * @implements DOM API: `Element`
1547
- */
1548
- before(...nodes: (string | MLElement<any, any>)[]): void;
1549
- /**
1550
- * **IT THROWS AN ERROR WHEN CALLING THIS.**
1551
- *
1552
- * @deprecated
1553
- * @unsupported
1554
- * @implements DOM API: `Element`
1555
- */
1556
- blur(): void;
1557
- /**
1558
- * **IT THROWS AN ERROR WHEN CALLING THIS.**
1559
- *
1560
- * @deprecated
1561
- * @unsupported
1562
- * @implements DOM API: `Element`
1563
- */
1564
- checkVisibility(options?: CheckVisibilityOptions): boolean;
1565
- /**
1566
- * **IT THROWS AN ERROR WHEN CALLING THIS.**
1567
- *
1568
- * @deprecated
1569
- * @unsupported
1570
- * @implements DOM API: `Element`
1571
- */
1572
- click(): void;
1573
- /**
1574
- * @implements DOM API: `Element`
1575
- * @see https://dom.spec.whatwg.org/#ref-for-dom-element-closest%E2%91%A0
1576
- */
1577
- closest(selectors: string): MLElement<T, O> | null;
1578
- fixNodeName(name: string): void;
1579
- /**
1580
- * **IT THROWS AN ERROR WHEN CALLING THIS.**
1581
- *
1582
- * @deprecated
1583
- * @unsupported
1584
- * @implements DOM API: `Element`
1585
- */
1586
- focus(options?: FocusOptions): void;
1587
- /**
1588
- * @implements `@markuplint/ml-core` API: `MLElement`
1589
- */
1590
- getAccessibleName(version: ARIAVersion): string;
1591
- /**
1592
- * **IT THROWS AN ERROR WHEN CALLING THIS.**
1593
- *
1594
- * @unsupported
1595
- * @implements DOM API: `Element`
1596
- * @see https://www.w3.org/TR/web-animations-1/#dom-animatable-getanimations
1597
- */
1598
- getAnimations(options?: GetAnimationsOptions): Animation[];
1599
- /**
1600
- * @implements DOM API: `Element`
1601
- * @see https://dom.spec.whatwg.org/#ref-for-dom-element-getattribute%E2%91%A0
1602
- */
1603
- getAttribute(attrName: string): string | null;
1604
- /**
1605
- * **IT THROWS AN ERROR WHEN CALLING THIS.**
1606
- *
1607
- * @unsupported
1608
- * @implements DOM API: `Element`
1609
- * @see https://dom.spec.whatwg.org/#dom-element-getattributenodens
1610
- */
1611
- getAttributeNS(namespace: string | null, localName: string): string | null;
1612
- /**
1613
- * @implements DOM API: `Element`
1614
- * @see https://dom.spec.whatwg.org/#ref-for-dom-element-getattributenames%E2%91%A0
1615
- */
1616
- getAttributeNames(): string[];
1617
- /**
1618
- * @implements DOM API: `Element`
1619
- * @see https://dom.spec.whatwg.org/#dom-element-getattributenode
1620
- */
1621
- getAttributeNode(qualifiedName: string): MLAttr<T, O> | null;
1622
- /**
1623
- * **IT THROWS AN ERROR WHEN CALLING THIS.**
1624
- *
1625
- * @unsupported
1626
- * @implements DOM API: `Element`
1627
- * @see https://dom.spec.whatwg.org/#dom-element-getattributenodens
1628
- */
1629
- getAttributeNodeNS(namespace: string | null, localName: string): Attr | null;
1630
- /**
1631
- * @implements `@markuplint/ml-core` API: `MLElement`
1632
- */
1633
- getAttributePretended(attrName: string): string | null;
1634
- /**
1635
- * @implements `@markuplint/ml-core` API: `MLElement`
1636
- */
1637
- getAttributeToken(attrName: string): MLAttr<T, O>[];
1638
- /**
1639
- * @implements `@markuplint/ml-core` API: `MLElement`
1640
- */
1641
- getAttributeTokens(): readonly MLAttr<T, O>[];
1642
- /**
1643
- * **IT THROWS AN ERROR WHEN CALLING THIS.**
1644
- *
1645
- * @unsupported
1646
- * @implements DOM API: `Element`
1647
- * @see https://www.w3.org/TR/cssom-view-1/#ref-for-dom-element-getboundingclientrect-1
1648
- */
1649
- getBoundingClientRect(): DOMRect;
1650
- getChildElementsAndTextNodeWithoutWhitespaces(): (MLElement<T, O> | MLText<T, O>)[];
1651
- /**
1652
- * **IT THROWS AN ERROR WHEN CALLING THIS.**
1653
- *
1654
- * @unsupported
1655
- * @implements DOM API: `Element`
1656
- * @see https://www.w3.org/TR/cssom-view-1/#ref-for-dom-element-getclientrects-1
1657
- */
1658
- getClientRects(): DOMRectList;
1659
- /**
1660
- * @implements DOM API: `Element`
1661
- * @see https://dom.spec.whatwg.org/#ref-for-dom-element-getelementsbyclassname
1662
- */
1663
- getElementsByClassName(classNames: string): HTMLCollectionOf<MLElement<T, O>>;
1664
- /**
1665
- * @implements DOM API: `Element`
1666
- * @see https://dom.spec.whatwg.org/#ref-for-dom-element-getelementsbyclassname
1667
- */
1668
- getElementsByTagName(qualifiedName: string): ReturnType<(typeof Element)['prototype']['getElementsByTagName']>;
1669
- /**
1670
- * **IT THROWS AN ERROR WHEN CALLING THIS.**
1671
- *
1672
- * @unsupported
1673
- * @implements DOM API: `Element`
1674
- * @see https://dom.spec.whatwg.org/#dom-element-getelementsbytagnamens
1675
- */
1676
- getElementsByTagNameNS(namespace: any, localName: any): any;
1677
- /**
1678
- * @implements `@markuplint/ml-core` API: `MLElement`
1679
- */
1680
- getNameLocation(): {
1681
- offset: number;
1682
- line: number;
1683
- col: number;
1684
- };
1685
- /**
1686
- * @implements DOM API: `Element`
1687
- * @see https://dom.spec.whatwg.org/#ref-for-dom-element-hasattribute%E2%91%A0
1688
- */
1689
- hasAttribute(qualifiedName: string): boolean;
1690
- /**
1691
- * **IT THROWS AN ERROR WHEN CALLING THIS.**
1692
- *
1693
- * @unsupported
1694
- * @implements DOM API: `Element`
1695
- * @see https://dom.spec.whatwg.org/#ref-for-dom-element-hasattributens%E2%91%A0
1696
- */
1697
- hasAttributeNS(namespace: string | null, localName: string): boolean;
1698
- /**
1699
- * @implements DOM API: `Element`
1700
- * @see https://dom.spec.whatwg.org/#dom-element-hasattributes
1701
- */
1702
- hasAttributes(): boolean;
1703
- /**
1704
- * @implements `@markuplint/ml-core` API: `MLElement`
1705
- */
1706
- hasMutableAttributes(): boolean;
1707
- /**
1708
- * This element has "Preprocessor Specific Block". In other words, Its children are potentially mutable.
1709
- *
1710
- * @implements `@markuplint/ml-core` API: `MLElement`
1711
- */
1712
- hasMutableChildren(attr?: boolean): boolean;
1713
- /**
1714
- * **IT THROWS AN ERROR WHEN CALLING THIS.**
1715
- *
1716
- * @unsupported
1717
- * @implements DOM API: `Element`
1718
- * @see https://www.w3.org/TR/pointerevents2/#dom-element-haspointercapture
1719
- */
1720
- hasPointerCapture(pointerId: number): boolean;
1721
- /**
1722
- * **IT THROWS AN ERROR WHEN CALLING THIS.**
1723
- *
1724
- * @unsupported
1725
- * @implements DOM API: `Element`
1726
- * @see https://dom.spec.whatwg.org/#dom-element-insertadjacentelement
1727
- */
1728
- insertAdjacentElement(where: InsertPosition, element: MLElement<T, O>): MLElement<T, O> | null;
1729
- /**
1730
- * **IT THROWS AN ERROR WHEN CALLING THIS.**
1731
- *
1732
- * @unsupported
1733
- * @implements DOM API: `Element`
1734
- * @see https://w3c.github.io/DOM-Parsing/#widl-Element-insertAdjacentHTML-void-DOMString-position-DOMString-text
1735
- */
1736
- insertAdjacentHTML(position: InsertPosition, text: string): void;
1737
- /**
1738
- * **IT THROWS AN ERROR WHEN CALLING THIS.**
1739
- *
1740
- * @unsupported
1741
- * @implements DOM API: `Element`
1742
- * @see https://dom.spec.whatwg.org/#dom-element-insertadjacenttext
1743
- */
1744
- insertAdjacentText(where: InsertPosition, data: string): void;
1745
- /**
1746
- * @implements `@markuplint/ml-core` API: `MLElement`
1747
- */
1748
- isDescendantByUUIDList(uuidList: readonly string[]): boolean;
1749
- /**
1750
- * @implements `@markuplint/ml-core` API: `MLElement`
1751
- */
1752
- isEmpty(): boolean;
1753
- /**
1754
- * @implements DOM API: `Element`
1755
- * @see https://dom.spec.whatwg.org/#ref-for-dom-element-matches%E2%91%A0
1756
- */
1757
- matches(selector: string): boolean;
1758
- /**
1759
- * Pretenders Initialization
1760
- */
1761
- pretending(pretenders: readonly Pretender[]): void;
1762
- /**
1763
- * **IT THROWS AN ERROR WHEN CALLING THIS.**
1764
- *
1765
- * @unsupported
1766
- * @implements DOM API: `Element`
1767
- * @see https://www.w3.org/TR/pointerevents2/#dom-element-releasepointercapture
1768
- */
1769
- releasePointerCapture(pointerId: number): void;
1770
- /**
1771
- * @implements DOM API: `Element`
1772
- */
1773
- remove(): void;
1774
- /**
1775
- * **IT THROWS AN ERROR WHEN CALLING THIS.**
1776
- *
1777
- * @unsupported
1778
- * @implements DOM API: `Element`
1779
- * @see https://dom.spec.whatwg.org/#dom-element-removeattribute
1780
- */
1781
- removeAttribute(qualifiedName: string): void;
1782
- /**
1783
- * **IT THROWS AN ERROR WHEN CALLING THIS.**
1784
- *
1785
- * @unsupported
1786
- * @implements DOM API: `Element`
1787
- * @see https://dom.spec.whatwg.org/#ref-for-dom-element-removeattributens%E2%91%A0
1788
- */
1789
- removeAttributeNS(namespace: string | null, localName: string): void;
1790
- /**
1791
- * **IT THROWS AN ERROR WHEN CALLING THIS.**
1792
- *
1793
- * @unsupported
1794
- * @implements DOM API: `Element`
1795
- * @see https://www.w3.org/TR/DOM-Level-2-Core/core.html#ID-D589198
1796
- */
1797
- removeAttributeNode(attr: Attr): Attr;
1798
- /**
1799
- * @implements DOM API: `Element`
1800
- */
1801
- replaceWith(...nodes: (string | MLElement<any, any>)[]): void;
1802
- /**
1803
- * **IT THROWS AN ERROR WHEN CALLING THIS.**
1804
- *
1805
- * @unsupported
1806
- * @implements DOM API: `Element`
1807
- * @see https://fullscreen.spec.whatwg.org/#dom-element-requestfullscreen
1808
- */
1809
- requestFullscreen(options?: FullscreenOptions): Promise<void>;
1810
- /**
1811
- * **IT THROWS AN ERROR WHEN CALLING THIS.**
1812
- *
1813
- * @unsupported
1814
- * @implements DOM API: `Element`
1815
- * @see https://w3c.github.io/pointerlock/#dom-element-requestpointerlock
1816
- */
1817
- requestPointerLock(): void;
1818
- /**
1819
- * **IT THROWS AN ERROR WHEN CALLING THIS.**
1820
- *
1821
- * @unsupported
1822
- * @implements DOM API: `Element`
1823
- * @see https://www.w3.org/TR/cssom-view-1/#dom-element-scroll
1824
- */
1825
- scroll(x?: any, y?: any): void;
1826
- /**
1827
- * **IT THROWS AN ERROR WHEN CALLING THIS.**
1828
- *
1829
- * @unsupported
1830
- * @implements DOM API: `Element`
1831
- * @see https://www.w3.org/TR/cssom-view-1/#dom-element-scrollby
1832
- */
1833
- scrollBy(x?: any, y?: any): void;
1834
- /**
1835
- * **IT THROWS AN ERROR WHEN CALLING THIS.**
1836
- *
1837
- * @unsupported
1838
- * @implements DOM API: `Element`
1839
- * @see https://www.w3.org/TR/cssom-view-1/#dom-element-scrollintoview
1840
- */
1841
- scrollIntoView(arg?: boolean | ScrollIntoViewOptions): void;
1842
- /**
1843
- * **IT THROWS AN ERROR WHEN CALLING THIS.**
1844
- *
1845
- * @unsupported
1846
- * @implements DOM API: `Element`
1847
- * @see https://www.w3.org/TR/cssom-view-1/#dom-element-scrollto
1848
- */
1849
- scrollTo(x?: any, y?: any): void;
1850
- /**
1851
- * **IT THROWS AN ERROR WHEN CALLING THIS.**
1852
- *
1853
- * @unsupported
1854
- * @implements DOM API: `Element`
1855
- * @see https://dom.spec.whatwg.org/#ref-for-dom-element-setattribute%E2%91%A0
1856
- */
1857
- setAttribute(qualifiedName: string, value: string): void;
1858
- /**
1859
- * **IT THROWS AN ERROR WHEN CALLING THIS.**
1860
- *
1861
- * @unsupported
1862
- * @implements DOM API: `Element`
1863
- * @see https://dom.spec.whatwg.org/#ref-for-dom-element-setattributens%E2%91%A0
1864
- */
1865
- setAttributeNS(namespace: string | null, qualifiedName: string, value: string): void;
1866
- /**
1867
- * **IT THROWS AN ERROR WHEN CALLING THIS.**
1868
- *
1869
- * @unsupported
1870
- * @implements DOM API: `Element`
1871
- * @see https://dom.spec.whatwg.org/#dom-element-setattributenode
1872
- */
1873
- setAttributeNode(attr: Attr): Attr | null;
1874
- /**
1875
- * **IT THROWS AN ERROR WHEN CALLING THIS.**
1876
- *
1877
- * @unsupported
1878
- * @implements DOM API: `Element`
1879
- * @see https://dom.spec.whatwg.org/#dom-element-setattributenodens
1880
- */
1881
- setAttributeNodeNS(attr: Attr): Attr | null;
1882
- /**
1883
- * **IT THROWS AN ERROR WHEN CALLING THIS.**
1884
- *
1885
- * @unsupported
1886
- * @implements DOM API: `Element`
1887
- * @see https://www.w3.org/TR/pointerevents2/#idl-def-element-setpointercapture-pointerid
1888
- */
1889
- setPointerCapture(pointerId: number): void;
1890
- /**
1891
- * @implements `@markuplint/ml-core` API: `MLElement`
1892
- */
1893
- toNormalizeString(): string;
1894
- /**
1895
- * @implements `@markuplint/ml-core` API: `MLElement`
1896
- */
1897
- toString(): string;
1898
- /**
1899
- * **IT THROWS AN ERROR WHEN CALLING THIS.**
1900
- *
1901
- * @unsupported
1902
- * @implements DOM API: `Element`
1903
- * @see https://dom.spec.whatwg.org/#ref-for-dom-element-toggleattribute%E2%91%A0
1904
- */
1905
- toggleAttribute(qualifiedName: string, force?: boolean): boolean;
1906
- /**
1907
- * **IT THROWS AN ERROR WHEN CALLING THIS.**
1908
- *
1909
- * @deprecated
1910
- * @unsupported
1911
- * @implements DOM API: `Element`
1912
- */
1913
- webkitMatchesSelector(selectors: string): boolean;
12
+ export declare class MLElement<T extends RuleConfigValue, O extends PlainData = undefined> extends MLParentNode<T, O, MLASTElement> implements Element, HTMLOrSVGElement, HTMLElement {
13
+ #private;
14
+ readonly closeTag: MLToken | null;
15
+ readonly elementType: ElementType;
16
+ readonly endSpace: MLToken | null;
17
+ readonly hasSpreadAttr: boolean;
18
+ readonly isForeignElement: boolean;
19
+ readonly isOmitted: boolean;
20
+ readonly namespaceURI: NamespaceURI;
21
+ readonly ontouchcancel?: ((this: GlobalEventHandlers, ev: TouchEvent) => any) | null | undefined;
22
+ readonly ontouchend?: ((this: GlobalEventHandlers, ev: TouchEvent) => any) | null | undefined;
23
+ readonly ontouchmove?: ((this: GlobalEventHandlers, ev: TouchEvent) => any) | null | undefined;
24
+ readonly ontouchstart?: ((this: GlobalEventHandlers, ev: TouchEvent) => any) | null | undefined;
25
+ pretenderContext: PretenderContext<MLElement<T, O>, T, O> | null;
26
+ readonly selfClosingSolidus: MLToken | null;
27
+ constructor(astNode: MLASTElement, document: MLDocument<T, O>);
28
+ /**
29
+ * **IT THROWS AN ERROR WHEN CALLING THIS.**
30
+ *
31
+ * @deprecated
32
+ * @unsupported
33
+ * @implements DOM API: `Element`
34
+ */
35
+ get accessKey(): string;
36
+ /**
37
+ * **IT THROWS AN ERROR WHEN CALLING THIS.**
38
+ *
39
+ * @deprecated
40
+ * @unsupported
41
+ * @implements DOM API: `Element`
42
+ */
43
+ get accessKeyLabel(): string;
44
+ /**
45
+ * **IT THROWS AN ERROR WHEN CALLING THIS.**
46
+ *
47
+ * @deprecated
48
+ * @unsupported
49
+ * @implements DOM API: `Element`
50
+ */
51
+ get ariaAtomic(): string | null;
52
+ /**
53
+ * **IT THROWS AN ERROR WHEN CALLING THIS.**
54
+ *
55
+ * @deprecated
56
+ * @unsupported
57
+ * @implements DOM API: `Element`
58
+ */
59
+ get ariaAutoComplete(): string | null;
60
+ /**
61
+ * **IT THROWS AN ERROR WHEN CALLING THIS.**
62
+ *
63
+ * @deprecated
64
+ * @unsupported
65
+ * @implements DOM API: `Element`
66
+ */
67
+ get ariaBusy(): string | null;
68
+ /**
69
+ * **IT THROWS AN ERROR WHEN CALLING THIS.**
70
+ *
71
+ * @deprecated
72
+ * @unsupported
73
+ * @implements DOM API: `Element`
74
+ */
75
+ get ariaChecked(): string | null;
76
+ /**
77
+ * **IT THROWS AN ERROR WHEN CALLING THIS.**
78
+ *
79
+ * @deprecated
80
+ * @unsupported
81
+ * @implements DOM API: `Element`
82
+ */
83
+ get ariaColCount(): string | null;
84
+ /**
85
+ * **IT THROWS AN ERROR WHEN CALLING THIS.**
86
+ *
87
+ * @deprecated
88
+ * @unsupported
89
+ * @implements DOM API: `Element`
90
+ */
91
+ get ariaColIndex(): string | null;
92
+ /**
93
+ * **IT THROWS AN ERROR WHEN CALLING THIS.**
94
+ *
95
+ * @deprecated
96
+ * @unsupported
97
+ * @implements DOM API: `Element`
98
+ */
99
+ get ariaColIndexText(): string | null;
100
+ /**
101
+ * **IT THROWS AN ERROR WHEN CALLING THIS.**
102
+ *
103
+ * @deprecated
104
+ * @unsupported
105
+ * @implements DOM API: `Element`
106
+ */
107
+ get ariaColSpan(): string | null;
108
+ /**
109
+ * **IT THROWS AN ERROR WHEN CALLING THIS.**
110
+ *
111
+ * @deprecated
112
+ * @unsupported
113
+ * @implements DOM API: `Element`
114
+ */
115
+ get ariaCurrent(): string | null;
116
+ /**
117
+ * **IT THROWS AN ERROR WHEN CALLING THIS.**
118
+ *
119
+ * @deprecated
120
+ * @unsupported
121
+ * @implements DOM API: `Element`
122
+ */
123
+ get ariaDisabled(): string | null;
124
+ /**
125
+ * **IT THROWS AN ERROR WHEN CALLING THIS.**
126
+ *
127
+ * @deprecated
128
+ * @unsupported
129
+ * @implements DOM API: `Element`
130
+ */
131
+ get ariaExpanded(): string | null;
132
+ /**
133
+ * **IT THROWS AN ERROR WHEN CALLING THIS.**
134
+ *
135
+ * @deprecated
136
+ * @unsupported
137
+ * @implements DOM API: `Element`
138
+ */
139
+ get ariaHasPopup(): string | null;
140
+ /**
141
+ * **IT THROWS AN ERROR WHEN CALLING THIS.**
142
+ *
143
+ * @deprecated
144
+ * @unsupported
145
+ * @implements DOM API: `Element`
146
+ */
147
+ get ariaHidden(): string | null;
148
+ /**
149
+ * **IT THROWS AN ERROR WHEN CALLING THIS.**
150
+ *
151
+ * @deprecated
152
+ * @unsupported
153
+ * @implements DOM API: `Element`
154
+ */
155
+ get ariaInvalid(): string | null;
156
+ /**
157
+ * **IT THROWS AN ERROR WHEN CALLING THIS.**
158
+ *
159
+ * @deprecated
160
+ * @unsupported
161
+ * @implements DOM API: `Element`
162
+ */
163
+ get ariaKeyShortcuts(): string | null;
164
+ /**
165
+ * **IT THROWS AN ERROR WHEN CALLING THIS.**
166
+ *
167
+ * @deprecated
168
+ * @unsupported
169
+ * @implements DOM API: `Element`
170
+ */
171
+ get ariaLabel(): string | null;
172
+ /**
173
+ * **IT THROWS AN ERROR WHEN CALLING THIS.**
174
+ *
175
+ * @deprecated
176
+ * @unsupported
177
+ * @implements DOM API: `Element`
178
+ */
179
+ get ariaLevel(): string | null;
180
+ /**
181
+ * **IT THROWS AN ERROR WHEN CALLING THIS.**
182
+ *
183
+ * @deprecated
184
+ * @unsupported
185
+ * @implements DOM API: `Element`
186
+ */
187
+ get ariaLive(): string | null;
188
+ /**
189
+ * **IT THROWS AN ERROR WHEN CALLING THIS.**
190
+ *
191
+ * @deprecated
192
+ * @unsupported
193
+ * @implements DOM API: `Element`
194
+ */
195
+ get ariaModal(): string | null;
196
+ /**
197
+ * **IT THROWS AN ERROR WHEN CALLING THIS.**
198
+ *
199
+ * @deprecated
200
+ * @unsupported
201
+ * @implements DOM API: `Element`
202
+ */
203
+ get ariaMultiLine(): string | null;
204
+ /**
205
+ * **IT THROWS AN ERROR WHEN CALLING THIS.**
206
+ *
207
+ * @deprecated
208
+ * @unsupported
209
+ * @implements DOM API: `Element`
210
+ */
211
+ get ariaMultiSelectable(): string | null;
212
+ /**
213
+ * **IT THROWS AN ERROR WHEN CALLING THIS.**
214
+ *
215
+ * @deprecated
216
+ * @unsupported
217
+ * @implements DOM API: `Element`
218
+ */
219
+ get ariaOrientation(): string | null;
220
+ /**
221
+ * **IT THROWS AN ERROR WHEN CALLING THIS.**
222
+ *
223
+ * @deprecated
224
+ * @unsupported
225
+ * @implements DOM API: `Element`
226
+ */
227
+ get ariaPlaceholder(): string | null;
228
+ /**
229
+ * **IT THROWS AN ERROR WHEN CALLING THIS.**
230
+ *
231
+ * @deprecated
232
+ * @unsupported
233
+ * @implements DOM API: `Element`
234
+ */
235
+ get ariaPosInSet(): string | null;
236
+ /**
237
+ * **IT THROWS AN ERROR WHEN CALLING THIS.**
238
+ *
239
+ * @deprecated
240
+ * @unsupported
241
+ * @implements DOM API: `Element`
242
+ */
243
+ get ariaPressed(): string | null;
244
+ /**
245
+ * **IT THROWS AN ERROR WHEN CALLING THIS.**
246
+ *
247
+ * @deprecated
248
+ * @unsupported
249
+ * @implements DOM API: `Element`
250
+ */
251
+ get ariaReadOnly(): string | null;
252
+ /**
253
+ * **IT THROWS AN ERROR WHEN CALLING THIS.**
254
+ *
255
+ * @deprecated
256
+ * @unsupported
257
+ * @implements DOM API: `Element`
258
+ */
259
+ get ariaRequired(): string | null;
260
+ /**
261
+ * **IT THROWS AN ERROR WHEN CALLING THIS.**
262
+ *
263
+ * @deprecated
264
+ * @unsupported
265
+ * @implements DOM API: `Element`
266
+ */
267
+ get ariaRoleDescription(): string | null;
268
+ /**
269
+ * **IT THROWS AN ERROR WHEN CALLING THIS.**
270
+ *
271
+ * @deprecated
272
+ * @unsupported
273
+ * @implements DOM API: `Element`
274
+ */
275
+ get ariaRowCount(): string | null;
276
+ /**
277
+ * **IT THROWS AN ERROR WHEN CALLING THIS.**
278
+ *
279
+ * @deprecated
280
+ * @unsupported
281
+ * @implements DOM API: `Element`
282
+ */
283
+ get ariaRowIndex(): string | null;
284
+ /**
285
+ * **IT THROWS AN ERROR WHEN CALLING THIS.**
286
+ *
287
+ * @deprecated
288
+ * @unsupported
289
+ * @implements DOM API: `Element`
290
+ */
291
+ get ariaRowIndexText(): string | null;
292
+ /**
293
+ * **IT THROWS AN ERROR WHEN CALLING THIS.**
294
+ *
295
+ * @deprecated
296
+ * @unsupported
297
+ * @implements DOM API: `Element`
298
+ */
299
+ get ariaRowSpan(): string | null;
300
+ /**
301
+ * **IT THROWS AN ERROR WHEN CALLING THIS.**
302
+ *
303
+ * @deprecated
304
+ * @unsupported
305
+ * @implements DOM API: `Element`
306
+ */
307
+ get ariaSelected(): string | null;
308
+ /**
309
+ * **IT THROWS AN ERROR WHEN CALLING THIS.**
310
+ *
311
+ * @deprecated
312
+ * @unsupported
313
+ * @implements DOM API: `Element`
314
+ */
315
+ get ariaSetSize(): string | null;
316
+ /**
317
+ * **IT THROWS AN ERROR WHEN CALLING THIS.**
318
+ *
319
+ * @deprecated
320
+ * @unsupported
321
+ * @implements DOM API: `Element`
322
+ */
323
+ get ariaSort(): string | null;
324
+ /**
325
+ * **IT THROWS AN ERROR WHEN CALLING THIS.**
326
+ *
327
+ * @deprecated
328
+ * @unsupported
329
+ * @implements DOM API: `Element`
330
+ */
331
+ get ariaValueMax(): string | null;
332
+ /**
333
+ * **IT THROWS AN ERROR WHEN CALLING THIS.**
334
+ *
335
+ * @deprecated
336
+ * @unsupported
337
+ * @implements DOM API: `Element`
338
+ */
339
+ get ariaValueMin(): string | null;
340
+ /**
341
+ * **IT THROWS AN ERROR WHEN CALLING THIS.**
342
+ *
343
+ * @deprecated
344
+ * @unsupported
345
+ * @implements DOM API: `Element`
346
+ */
347
+ get ariaValueNow(): string | null;
348
+ /**
349
+ * **IT THROWS AN ERROR WHEN CALLING THIS.**
350
+ *
351
+ * @deprecated
352
+ * @unsupported
353
+ * @implements DOM API: `Element`
354
+ */
355
+ get ariaValueText(): string | null;
356
+ /**
357
+ * **IT THROWS AN ERROR WHEN CALLING THIS.**
358
+ *
359
+ * @unsupported
360
+ * @implements DOM API: `Element`
361
+ * @see https://dom.spec.whatwg.org/#dom-slotable-assignedslot
362
+ */
363
+ get assignedSlot(): HTMLSlotElement | null;
364
+ get attributeStyleMap(): StylePropertyMap;
365
+ /**
366
+ * @implements DOM API: `Element`
367
+ * @see https://dom.spec.whatwg.org/#dom-element-attributes
368
+ */
369
+ get attributes(): MLNamedNodeMap<T, O>;
370
+ /**
371
+ * **IT THROWS AN ERROR WHEN CALLING THIS.**
372
+ *
373
+ * @deprecated
374
+ * @unsupported
375
+ * @implements DOM API: `Element`
376
+ */
377
+ get autocapitalize(): string;
378
+ /**
379
+ * **IT THROWS AN ERROR WHEN CALLING THIS.**
380
+ *
381
+ * @deprecated
382
+ * @unsupported
383
+ * @implements DOM API: `Element`
384
+ */
385
+ get autofocus(): boolean;
386
+ /**
387
+ * @implements DOM API: `Element`
388
+ * @see https://dom.spec.whatwg.org/#ref-for-dom-element-classlist%E2%91%A0
389
+ */
390
+ get classList(): MLDomTokenList;
391
+ /**
392
+ * @implements DOM API: `Element`
393
+ * @see https://dom.spec.whatwg.org/#ref-for-dom-element-classname%E2%91%A0
394
+ */
395
+ get className(): string;
396
+ /**
397
+ * **IT THROWS AN ERROR WHEN CALLING THIS.**
398
+ *
399
+ * @unsupported
400
+ * @implements DOM API: `Element`
401
+ * @see https://www.w3.org/TR/cssom-view-1/#ref-for-dom-element-clientheight-1
402
+ */
403
+ get clientHeight(): number;
404
+ /**
405
+ * **IT THROWS AN ERROR WHEN CALLING THIS.**
406
+ *
407
+ * @unsupported
408
+ * @implements DOM API: `Element`
409
+ * @see https://www.w3.org/TR/cssom-view-1/#ref-for-dom-element-clientleft-1
410
+ */
411
+ get clientLeft(): number;
412
+ /**
413
+ * **IT THROWS AN ERROR WHEN CALLING THIS.**
414
+ *
415
+ * @unsupported
416
+ * @implements DOM API: `Element`
417
+ * @see https://www.w3.org/TR/cssom-view-1/#ref-for-dom-element-clienttop-1
418
+ */
419
+ get clientTop(): number;
420
+ /**
421
+ * **IT THROWS AN ERROR WHEN CALLING THIS.**
422
+ *
423
+ * @unsupported
424
+ * @implements DOM API: `Element`
425
+ * @see https://www.w3.org/TR/cssom-view-1/#ref-for-dom-element-clientwidth-1
426
+ */
427
+ get clientWidth(): number;
428
+ /**
429
+ * **IT THROWS AN ERROR WHEN CALLING THIS.**
430
+ *
431
+ * @deprecated
432
+ * @unsupported
433
+ * @implements DOM API: `Element`
434
+ */
435
+ get contentEditable(): string;
436
+ /**
437
+ * **IT THROWS AN ERROR WHEN CALLING THIS.**
438
+ *
439
+ * @deprecated
440
+ * @unsupported
441
+ * @implements DOM API: `Element`
442
+ */
443
+ get dataset(): DOMStringMap;
444
+ /**
445
+ * **IT THROWS AN ERROR WHEN CALLING THIS.**
446
+ *
447
+ * @deprecated
448
+ * @unsupported
449
+ * @implements DOM API: `Element`
450
+ */
451
+ get dir(): string;
452
+ /**
453
+ * **IT THROWS AN ERROR WHEN CALLING THIS.**
454
+ *
455
+ * @deprecated
456
+ * @unsupported
457
+ * @implements DOM API: `Element`
458
+ */
459
+ get draggable(): boolean;
460
+ /**
461
+ * **IT THROWS AN ERROR WHEN CALLING THIS.**
462
+ *
463
+ * @deprecated
464
+ * @unsupported
465
+ * @implements DOM API: `Element`
466
+ */
467
+ get enterKeyHint(): string;
468
+ /**
469
+ * @implements `@markuplint/ml-core` API: `MLElement`
470
+ */
471
+ get fixedNodeName(): string;
472
+ /**
473
+ * **IT THROWS AN ERROR WHEN CALLING THIS.**
474
+ *
475
+ * @deprecated
476
+ * @unsupported
477
+ * @implements DOM API: `Element`
478
+ */
479
+ get hidden(): boolean;
480
+ /**
481
+ * @implements DOM API: `Element`
482
+ * @see https://dom.spec.whatwg.org/#ref-for-dom-element-id%E2%91%A0
483
+ */
484
+ get id(): string;
485
+ /**
486
+ * **IT THROWS AN ERROR WHEN CALLING THIS.**
487
+ *
488
+ * @deprecated
489
+ * @unsupported
490
+ * @implements DOM API: `Element`
491
+ * @see https://html.spec.whatwg.org/multipage/interaction.html#dom-inert
492
+ */
493
+ get inert(): boolean;
494
+ /**
495
+ * **IT THROWS AN ERROR WHEN CALLING THIS.**
496
+ *
497
+ * @unsupported
498
+ * @implements DOM API: `Element`
499
+ * @see https://w3c.github.io/DOM-Parsing/#dom-innerhtml-innerhtml
500
+ */
501
+ get innerHTML(): string;
502
+ /**
503
+ * **IT THROWS AN ERROR WHEN CALLING THIS.**
504
+ *
505
+ * @deprecated
506
+ * @unsupported
507
+ * @implements DOM API: `Element`
508
+ */
509
+ get innerText(): string;
510
+ /**
511
+ * **IT THROWS AN ERROR WHEN CALLING THIS.**
512
+ *
513
+ * @deprecated
514
+ * @unsupported
515
+ * @implements DOM API: `Element`
516
+ */
517
+ get inputMode(): string;
518
+ /**
519
+ * **IT THROWS AN ERROR WHEN CALLING THIS.**
520
+ *
521
+ * @deprecated
522
+ * @unsupported
523
+ * @implements DOM API: `Element`
524
+ */
525
+ get isContentEditable(): boolean;
526
+ /**
527
+ * **IT THROWS AN ERROR WHEN CALLING THIS.**
528
+ *
529
+ * @deprecated
530
+ * @unsupported
531
+ * @implements DOM API: `Element`
532
+ */
533
+ get lang(): string;
534
+ /**
535
+ * Returns a lowercase name if it is an HTML element.
536
+ *
537
+ * ```html
538
+ * <div> => "div"
539
+ * <DIV> => "div"
540
+ * <svg> => "svg"
541
+ * <foreignObject> => "foreignObject"
542
+ * <x-foo> => "x-foo"
543
+ * <X-FOO> => "x-foo"
544
+ * ```
545
+ *
546
+ * @implements DOM API: `Element`
547
+ * @see https://dom.spec.whatwg.org/#ref-for-dom-element-localname%E2%91%A0
548
+ */
549
+ get localName(): string;
550
+ /**
551
+ * The element immediately following the specified one in its parent's children list.
552
+ *
553
+ * @readonly
554
+ * @implements DOM API: `Element`
555
+ * @see https://dom.spec.whatwg.org/#ref-for-dom-nondocumenttypechildnode-nextelementsibling%E2%91%A1
556
+ */
557
+ get nextElementSibling(): MLElement<T, O> | null;
558
+ /**
559
+ * Returns a string appropriate for the type of node as `Element`
560
+ *
561
+ * @see https://dom.spec.whatwg.org/#ref-for-element%E2%91%A2%E2%93%AA
562
+ */
563
+ get nodeName(): string;
564
+ /**
565
+ * Returns a number appropriate for the type of `Element`
566
+ */
567
+ get nodeType(): ElementNodeType;
568
+ /**
569
+ * **IT THROWS AN ERROR WHEN CALLING THIS.**
570
+ *
571
+ * @deprecated
572
+ * @unsupported
573
+ * @implements DOM API: `Element`
574
+ */
575
+ get nonce(): string | undefined;
576
+ /**
577
+ * **IT THROWS AN ERROR WHEN CALLING THIS.**
578
+ *
579
+ * @deprecated
580
+ * @unsupported
581
+ * @implements DOM API: `Element`
582
+ */
583
+ get offsetHeight(): number;
584
+ /**
585
+ * **IT THROWS AN ERROR WHEN CALLING THIS.**
586
+ *
587
+ * @deprecated
588
+ * @unsupported
589
+ * @implements DOM API: `Element`
590
+ */
591
+ get offsetLeft(): number;
592
+ /**
593
+ * **IT THROWS AN ERROR WHEN CALLING THIS.**
594
+ *
595
+ * @deprecated
596
+ * @unsupported
597
+ * @implements DOM API: `Element`
598
+ */
599
+ get offsetParent(): Element | null;
600
+ /**
601
+ * **IT THROWS AN ERROR WHEN CALLING THIS.**
602
+ *
603
+ * @deprecated
604
+ * @unsupported
605
+ * @implements DOM API: `Element`
606
+ */
607
+ get offsetTop(): number;
608
+ /**
609
+ * **IT THROWS AN ERROR WHEN CALLING THIS.**
610
+ *
611
+ * @deprecated
612
+ * @unsupported
613
+ * @implements DOM API: `Element`
614
+ */
615
+ get offsetWidth(): number;
616
+ /**
617
+ * **IT THROWS AN ERROR WHEN CALLING THIS.**
618
+ *
619
+ * @deprecated
620
+ * @unsupported
621
+ * @implements DOM API: `Element`
622
+ */
623
+ get onabort(): ((this: GlobalEventHandlers, ev: UIEvent) => any) | null;
624
+ /**
625
+ * **IT THROWS AN ERROR WHEN CALLING THIS.**
626
+ *
627
+ * @deprecated
628
+ * @unsupported
629
+ * @implements DOM API: `Element`
630
+ */
631
+ get onanimationcancel(): ((this: GlobalEventHandlers, ev: AnimationEvent) => any) | null;
632
+ /**
633
+ * **IT THROWS AN ERROR WHEN CALLING THIS.**
634
+ *
635
+ * @deprecated
636
+ * @unsupported
637
+ * @implements DOM API: `Element`
638
+ */
639
+ get onanimationend(): ((this: GlobalEventHandlers, ev: AnimationEvent) => any) | null;
640
+ /**
641
+ * **IT THROWS AN ERROR WHEN CALLING THIS.**
642
+ *
643
+ * @deprecated
644
+ * @unsupported
645
+ * @implements DOM API: `Element`
646
+ */
647
+ get onanimationiteration(): ((this: GlobalEventHandlers, ev: AnimationEvent) => any) | null;
648
+ /**
649
+ * **IT THROWS AN ERROR WHEN CALLING THIS.**
650
+ *
651
+ * @deprecated
652
+ * @unsupported
653
+ * @implements DOM API: `Element`
654
+ */
655
+ get onanimationstart(): ((this: GlobalEventHandlers, ev: AnimationEvent) => any) | null;
656
+ /**
657
+ * **IT THROWS AN ERROR WHEN CALLING THIS.**
658
+ *
659
+ * @deprecated
660
+ * @unsupported
661
+ * @implements DOM API: `Element`
662
+ */
663
+ get onauxclick(): ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null;
664
+ /**
665
+ * **IT THROWS AN ERROR WHEN CALLING THIS.**
666
+ *
667
+ * @deprecated
668
+ * @unsupported
669
+ * @implements DOM API: `Element`
670
+ */
671
+ get onbeforeinput(): ((this: GlobalEventHandlers, ev: InputEvent) => any) | null;
672
+ /**
673
+ * **IT THROWS AN ERROR WHEN CALLING THIS.**
674
+ *
675
+ * @deprecated
676
+ * @unsupported
677
+ * @implements DOM API: `Element`
678
+ */
679
+ get onblur(): ((this: GlobalEventHandlers, ev: FocusEvent) => any) | null;
680
+ /**
681
+ * **IT THROWS AN ERROR WHEN CALLING THIS.**
682
+ *
683
+ * @deprecated
684
+ * @unsupported
685
+ * @implements DOM API: `Element`
686
+ */
687
+ get oncancel(): ((this: GlobalEventHandlers, ev: Event) => any) | null;
688
+ /**
689
+ * **IT THROWS AN ERROR WHEN CALLING THIS.**
690
+ *
691
+ * @deprecated
692
+ * @unsupported
693
+ * @implements DOM API: `Element`
694
+ */
695
+ get oncanplay(): ((this: GlobalEventHandlers, ev: Event) => any) | null;
696
+ /**
697
+ * **IT THROWS AN ERROR WHEN CALLING THIS.**
698
+ *
699
+ * @deprecated
700
+ * @unsupported
701
+ * @implements DOM API: `Element`
702
+ */
703
+ get oncanplaythrough(): ((this: GlobalEventHandlers, ev: Event) => any) | null;
704
+ /**
705
+ * **IT THROWS AN ERROR WHEN CALLING THIS.**
706
+ *
707
+ * @deprecated
708
+ * @unsupported
709
+ * @implements DOM API: `Element`
710
+ */
711
+ get onchange(): ((this: GlobalEventHandlers, ev: Event) => any) | null;
712
+ /**
713
+ * **IT THROWS AN ERROR WHEN CALLING THIS.**
714
+ *
715
+ * @deprecated
716
+ * @unsupported
717
+ * @implements DOM API: `Element`
718
+ */
719
+ get onclick(): ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null;
720
+ /**
721
+ * **IT THROWS AN ERROR WHEN CALLING THIS.**
722
+ *
723
+ * @deprecated
724
+ * @unsupported
725
+ * @implements DOM API: `Element`
726
+ */
727
+ get onclose(): ((this: GlobalEventHandlers, ev: Event) => any) | null;
728
+ /**
729
+ * **IT THROWS AN ERROR WHEN CALLING THIS.**
730
+ *
731
+ * @deprecated
732
+ * @unsupported
733
+ * @implements DOM API: `Element`
734
+ */
735
+ get oncontextmenu(): ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null;
736
+ /**
737
+ * **IT THROWS AN ERROR WHEN CALLING THIS.**
738
+ *
739
+ * @deprecated
740
+ * @unsupported
741
+ * @implements DOM API: `Element`
742
+ */
743
+ get oncopy(): ((this: GlobalEventHandlers, ev: ClipboardEvent) => any) | null;
744
+ /**
745
+ * **IT THROWS AN ERROR WHEN CALLING THIS.**
746
+ *
747
+ * @deprecated
748
+ * @unsupported
749
+ * @implements DOM API: `Element`
750
+ */
751
+ get oncuechange(): ((this: GlobalEventHandlers, ev: Event) => any) | null;
752
+ /**
753
+ * **IT THROWS AN ERROR WHEN CALLING THIS.**
754
+ *
755
+ * @deprecated
756
+ * @unsupported
757
+ * @implements DOM API: `Element`
758
+ */
759
+ get oncut(): ((this: GlobalEventHandlers, ev: ClipboardEvent) => any) | null;
760
+ /**
761
+ * **IT THROWS AN ERROR WHEN CALLING THIS.**
762
+ *
763
+ * @deprecated
764
+ * @unsupported
765
+ * @implements DOM API: `Element`
766
+ */
767
+ get ondblclick(): ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null;
768
+ /**
769
+ * **IT THROWS AN ERROR WHEN CALLING THIS.**
770
+ *
771
+ * @deprecated
772
+ * @unsupported
773
+ * @implements DOM API: `Element`
774
+ */
775
+ get ondrag(): ((this: GlobalEventHandlers, ev: DragEvent) => any) | null;
776
+ /**
777
+ * **IT THROWS AN ERROR WHEN CALLING THIS.**
778
+ *
779
+ * @deprecated
780
+ * @unsupported
781
+ * @implements DOM API: `Element`
782
+ */
783
+ get ondragend(): ((this: GlobalEventHandlers, ev: DragEvent) => any) | null;
784
+ /**
785
+ * **IT THROWS AN ERROR WHEN CALLING THIS.**
786
+ *
787
+ * @deprecated
788
+ * @unsupported
789
+ * @implements DOM API: `Element`
790
+ */
791
+ get ondragenter(): ((this: GlobalEventHandlers, ev: DragEvent) => any) | null;
792
+ /**
793
+ * **IT THROWS AN ERROR WHEN CALLING THIS.**
794
+ *
795
+ * @deprecated
796
+ * @unsupported
797
+ * @implements DOM API: `Element`
798
+ */
799
+ get ondragleave(): ((this: GlobalEventHandlers, ev: DragEvent) => any) | null;
800
+ /**
801
+ * **IT THROWS AN ERROR WHEN CALLING THIS.**
802
+ *
803
+ * @deprecated
804
+ * @unsupported
805
+ * @implements DOM API: `Element`
806
+ */
807
+ get ondragover(): ((this: GlobalEventHandlers, ev: DragEvent) => any) | null;
808
+ /**
809
+ * **IT THROWS AN ERROR WHEN CALLING THIS.**
810
+ *
811
+ * @deprecated
812
+ * @unsupported
813
+ * @implements DOM API: `Element`
814
+ */
815
+ get ondragstart(): ((this: GlobalEventHandlers, ev: DragEvent) => any) | null;
816
+ /**
817
+ * **IT THROWS AN ERROR WHEN CALLING THIS.**
818
+ *
819
+ * @deprecated
820
+ * @unsupported
821
+ * @implements DOM API: `Element`
822
+ */
823
+ get ondrop(): ((this: GlobalEventHandlers, ev: DragEvent) => any) | null;
824
+ /**
825
+ * **IT THROWS AN ERROR WHEN CALLING THIS.**
826
+ *
827
+ * @deprecated
828
+ * @unsupported
829
+ * @implements DOM API: `Element`
830
+ */
831
+ get ondurationchange(): ((this: GlobalEventHandlers, ev: Event) => any) | null;
832
+ /**
833
+ * **IT THROWS AN ERROR WHEN CALLING THIS.**
834
+ *
835
+ * @deprecated
836
+ * @unsupported
837
+ * @implements DOM API: `Element`
838
+ */
839
+ get onemptied(): ((this: GlobalEventHandlers, ev: Event) => any) | null;
840
+ /**
841
+ * **IT THROWS AN ERROR WHEN CALLING THIS.**
842
+ *
843
+ * @deprecated
844
+ * @unsupported
845
+ * @implements DOM API: `Element`
846
+ */
847
+ get onended(): ((this: GlobalEventHandlers, ev: Event) => any) | null;
848
+ /**
849
+ * **IT THROWS AN ERROR WHEN CALLING THIS.**
850
+ *
851
+ * @deprecated
852
+ * @unsupported
853
+ * @implements DOM API: `Element`
854
+ */
855
+ get onerror(): OnErrorEventHandler;
856
+ /**
857
+ * **IT THROWS AN ERROR WHEN CALLING THIS.**
858
+ *
859
+ * @deprecated
860
+ * @unsupported
861
+ * @implements DOM API: `Element`
862
+ */
863
+ get onfocus(): ((this: GlobalEventHandlers, ev: FocusEvent) => any) | null;
864
+ /**
865
+ * **IT THROWS AN ERROR WHEN CALLING THIS.**
866
+ *
867
+ * @deprecated
868
+ * @unsupported
869
+ * @implements DOM API: `Element`
870
+ */
871
+ get onformdata(): ((this: GlobalEventHandlers, ev: FormDataEvent) => any) | null;
872
+ /**
873
+ * **IT THROWS AN ERROR WHEN CALLING THIS.**
874
+ *
875
+ * @deprecated
876
+ * @unsupported
877
+ * @implements DOM API: `Element`
878
+ */
879
+ get onfullscreenchange(): ((this: Element, ev: Event) => any) | null;
880
+ /**
881
+ * **IT THROWS AN ERROR WHEN CALLING THIS.**
882
+ *
883
+ * @deprecated
884
+ * @unsupported
885
+ * @implements DOM API: `Element`
886
+ */
887
+ get onfullscreenerror(): ((this: Element, ev: Event) => any) | null;
888
+ /**
889
+ * **IT THROWS AN ERROR WHEN CALLING THIS.**
890
+ *
891
+ * @deprecated
892
+ * @unsupported
893
+ * @implements DOM API: `Element`
894
+ */
895
+ get ongotpointercapture(): ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
896
+ /**
897
+ * **IT THROWS AN ERROR WHEN CALLING THIS.**
898
+ *
899
+ * @deprecated
900
+ * @unsupported
901
+ * @implements DOM API: `Element`
902
+ */
903
+ get oninput(): ((this: GlobalEventHandlers, ev: Event) => any) | null;
904
+ /**
905
+ * **IT THROWS AN ERROR WHEN CALLING THIS.**
906
+ *
907
+ * @deprecated
908
+ * @unsupported
909
+ * @implements DOM API: `Element`
910
+ */
911
+ get oninvalid(): ((this: GlobalEventHandlers, ev: Event) => any) | null;
912
+ /**
913
+ * **IT THROWS AN ERROR WHEN CALLING THIS.**
914
+ *
915
+ * @deprecated
916
+ * @unsupported
917
+ * @implements DOM API: `Element`
918
+ */
919
+ get onkeydown(): ((this: GlobalEventHandlers, ev: KeyboardEvent) => any) | null;
920
+ /**
921
+ * **IT THROWS AN ERROR WHEN CALLING THIS.**
922
+ *
923
+ * @deprecated
924
+ * @unsupported
925
+ * @implements DOM API: `Element`
926
+ */
927
+ get onkeypress(): ((this: GlobalEventHandlers, ev: KeyboardEvent) => any) | null;
928
+ /**
929
+ * **IT THROWS AN ERROR WHEN CALLING THIS.**
930
+ *
931
+ * @deprecated
932
+ * @unsupported
933
+ * @implements DOM API: `Element`
934
+ */
935
+ get onkeyup(): ((this: GlobalEventHandlers, ev: KeyboardEvent) => any) | null;
936
+ /**
937
+ * **IT THROWS AN ERROR WHEN CALLING THIS.**
938
+ *
939
+ * @deprecated
940
+ * @unsupported
941
+ * @implements DOM API: `Element`
942
+ */
943
+ get onload(): ((this: GlobalEventHandlers, ev: Event) => any) | null;
944
+ /**
945
+ * **IT THROWS AN ERROR WHEN CALLING THIS.**
946
+ *
947
+ * @deprecated
948
+ * @unsupported
949
+ * @implements DOM API: `Element`
950
+ */
951
+ get onloadeddata(): ((this: GlobalEventHandlers, ev: Event) => any) | null;
952
+ /**
953
+ * **IT THROWS AN ERROR WHEN CALLING THIS.**
954
+ *
955
+ * @deprecated
956
+ * @unsupported
957
+ * @implements DOM API: `Element`
958
+ */
959
+ get onloadedmetadata(): ((this: GlobalEventHandlers, ev: Event) => any) | null;
960
+ /**
961
+ * **IT THROWS AN ERROR WHEN CALLING THIS.**
962
+ *
963
+ * @deprecated
964
+ * @unsupported
965
+ * @implements DOM API: `Element`
966
+ */
967
+ get onloadstart(): ((this: GlobalEventHandlers, ev: Event) => any) | null;
968
+ /**
969
+ * **IT THROWS AN ERROR WHEN CALLING THIS.**
970
+ *
971
+ * @deprecated
972
+ * @unsupported
973
+ * @implements DOM API: `Element`
974
+ */
975
+ get onlostpointercapture(): ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
976
+ /**
977
+ * **IT THROWS AN ERROR WHEN CALLING THIS.**
978
+ *
979
+ * @deprecated
980
+ * @unsupported
981
+ * @implements DOM API: `Element`
982
+ */
983
+ get onmousedown(): ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null;
984
+ /**
985
+ * **IT THROWS AN ERROR WHEN CALLING THIS.**
986
+ *
987
+ * @deprecated
988
+ * @unsupported
989
+ * @implements DOM API: `Element`
990
+ */
991
+ get onmouseenter(): ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null;
992
+ /**
993
+ * **IT THROWS AN ERROR WHEN CALLING THIS.**
994
+ *
995
+ * @deprecated
996
+ * @unsupported
997
+ * @implements DOM API: `Element`
998
+ */
999
+ get onmouseleave(): ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null;
1000
+ /**
1001
+ * **IT THROWS AN ERROR WHEN CALLING THIS.**
1002
+ *
1003
+ * @deprecated
1004
+ * @unsupported
1005
+ * @implements DOM API: `Element`
1006
+ */
1007
+ get onmousemove(): ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null;
1008
+ /**
1009
+ * **IT THROWS AN ERROR WHEN CALLING THIS.**
1010
+ *
1011
+ * @deprecated
1012
+ * @unsupported
1013
+ * @implements DOM API: `Element`
1014
+ */
1015
+ get onmouseout(): ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null;
1016
+ /**
1017
+ * **IT THROWS AN ERROR WHEN CALLING THIS.**
1018
+ *
1019
+ * @deprecated
1020
+ * @unsupported
1021
+ * @implements DOM API: `Element`
1022
+ */
1023
+ get onmouseover(): ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null;
1024
+ /**
1025
+ * **IT THROWS AN ERROR WHEN CALLING THIS.**
1026
+ *
1027
+ * @deprecated
1028
+ * @unsupported
1029
+ * @implements DOM API: `Element`
1030
+ */
1031
+ get onmouseup(): ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null;
1032
+ /**
1033
+ * **IT THROWS AN ERROR WHEN CALLING THIS.**
1034
+ *
1035
+ * @deprecated
1036
+ * @unsupported
1037
+ * @implements DOM API: `Element`
1038
+ */
1039
+ get onpaste(): ((this: GlobalEventHandlers, ev: ClipboardEvent) => any) | null;
1040
+ /**
1041
+ * **IT THROWS AN ERROR WHEN CALLING THIS.**
1042
+ *
1043
+ * @deprecated
1044
+ * @unsupported
1045
+ * @implements DOM API: `Element`
1046
+ */
1047
+ get onpause(): ((this: GlobalEventHandlers, ev: Event) => any) | null;
1048
+ /**
1049
+ * **IT THROWS AN ERROR WHEN CALLING THIS.**
1050
+ *
1051
+ * @deprecated
1052
+ * @unsupported
1053
+ * @implements DOM API: `Element`
1054
+ */
1055
+ get onplay(): ((this: GlobalEventHandlers, ev: Event) => any) | null;
1056
+ /**
1057
+ * **IT THROWS AN ERROR WHEN CALLING THIS.**
1058
+ *
1059
+ * @deprecated
1060
+ * @unsupported
1061
+ * @implements DOM API: `Element`
1062
+ */
1063
+ get onplaying(): ((this: GlobalEventHandlers, ev: Event) => any) | null;
1064
+ /**
1065
+ * **IT THROWS AN ERROR WHEN CALLING THIS.**
1066
+ *
1067
+ * @deprecated
1068
+ * @unsupported
1069
+ * @implements DOM API: `Element`
1070
+ */
1071
+ get onpointercancel(): ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
1072
+ /**
1073
+ * **IT THROWS AN ERROR WHEN CALLING THIS.**
1074
+ *
1075
+ * @deprecated
1076
+ * @unsupported
1077
+ * @implements DOM API: `Element`
1078
+ */
1079
+ get onpointerdown(): ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
1080
+ /**
1081
+ * **IT THROWS AN ERROR WHEN CALLING THIS.**
1082
+ *
1083
+ * @deprecated
1084
+ * @unsupported
1085
+ * @implements DOM API: `Element`
1086
+ */
1087
+ get onpointerenter(): ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
1088
+ /**
1089
+ * **IT THROWS AN ERROR WHEN CALLING THIS.**
1090
+ *
1091
+ * @deprecated
1092
+ * @unsupported
1093
+ * @implements DOM API: `Element`
1094
+ */
1095
+ get onpointerleave(): ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
1096
+ /**
1097
+ * **IT THROWS AN ERROR WHEN CALLING THIS.**
1098
+ *
1099
+ * @deprecated
1100
+ * @unsupported
1101
+ * @implements DOM API: `Element`
1102
+ */
1103
+ get onpointermove(): ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
1104
+ /**
1105
+ * **IT THROWS AN ERROR WHEN CALLING THIS.**
1106
+ *
1107
+ * @deprecated
1108
+ * @unsupported
1109
+ * @implements DOM API: `Element`
1110
+ */
1111
+ get onpointerout(): ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
1112
+ /**
1113
+ * **IT THROWS AN ERROR WHEN CALLING THIS.**
1114
+ *
1115
+ * @deprecated
1116
+ * @unsupported
1117
+ * @implements DOM API: `Element`
1118
+ */
1119
+ get onpointerover(): ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
1120
+ /**
1121
+ * **IT THROWS AN ERROR WHEN CALLING THIS.**
1122
+ *
1123
+ * @deprecated
1124
+ * @unsupported
1125
+ * @implements DOM API: `Element`
1126
+ */
1127
+ get onpointerup(): ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
1128
+ /**
1129
+ * **IT THROWS AN ERROR WHEN CALLING THIS.**
1130
+ *
1131
+ * @deprecated
1132
+ * @unsupported
1133
+ * @implements DOM API: `Element`
1134
+ */
1135
+ get onprogress(): ((this: GlobalEventHandlers, ev: ProgressEvent<EventTarget>) => any) | null;
1136
+ /**
1137
+ * **IT THROWS AN ERROR WHEN CALLING THIS.**
1138
+ *
1139
+ * @deprecated
1140
+ * @unsupported
1141
+ * @implements DOM API: `Element`
1142
+ */
1143
+ get onratechange(): ((this: GlobalEventHandlers, ev: Event) => any) | null;
1144
+ /**
1145
+ * **IT THROWS AN ERROR WHEN CALLING THIS.**
1146
+ *
1147
+ * @deprecated
1148
+ * @unsupported
1149
+ * @implements DOM API: `Element`
1150
+ */
1151
+ get onreset(): ((this: GlobalEventHandlers, ev: Event) => any) | null;
1152
+ /**
1153
+ * **IT THROWS AN ERROR WHEN CALLING THIS.**
1154
+ *
1155
+ * @deprecated
1156
+ * @unsupported
1157
+ * @implements DOM API: `Element`
1158
+ */
1159
+ get onresize(): ((this: GlobalEventHandlers, ev: UIEvent) => any) | null;
1160
+ /**
1161
+ * **IT THROWS AN ERROR WHEN CALLING THIS.**
1162
+ *
1163
+ * @deprecated
1164
+ * @unsupported
1165
+ * @implements DOM API: `Element`
1166
+ */
1167
+ get onscroll(): ((this: GlobalEventHandlers, ev: Event) => any) | null;
1168
+ /**
1169
+ * **IT THROWS AN ERROR WHEN CALLING THIS.**
1170
+ *
1171
+ * @deprecated
1172
+ * @unsupported
1173
+ * @implements DOM API: `Element`
1174
+ */
1175
+ get onsecuritypolicyviolation(): ((this: GlobalEventHandlers, ev: SecurityPolicyViolationEvent) => any) | null;
1176
+ /**
1177
+ * **IT THROWS AN ERROR WHEN CALLING THIS.**
1178
+ *
1179
+ * @deprecated
1180
+ * @unsupported
1181
+ * @implements DOM API: `Element`
1182
+ */
1183
+ get onseeked(): ((this: GlobalEventHandlers, ev: Event) => any) | null;
1184
+ /**
1185
+ * **IT THROWS AN ERROR WHEN CALLING THIS.**
1186
+ *
1187
+ * @deprecated
1188
+ * @unsupported
1189
+ * @implements DOM API: `Element`
1190
+ */
1191
+ get onseeking(): ((this: GlobalEventHandlers, ev: Event) => any) | null;
1192
+ /**
1193
+ * **IT THROWS AN ERROR WHEN CALLING THIS.**
1194
+ *
1195
+ * @deprecated
1196
+ * @unsupported
1197
+ * @implements DOM API: `Element`
1198
+ */
1199
+ get onselect(): ((this: GlobalEventHandlers, ev: Event) => any) | null;
1200
+ /**
1201
+ * **IT THROWS AN ERROR WHEN CALLING THIS.**
1202
+ *
1203
+ * @deprecated
1204
+ * @unsupported
1205
+ * @implements DOM API: `Element`
1206
+ */
1207
+ get onselectionchange(): ((this: GlobalEventHandlers, ev: Event) => any) | null;
1208
+ /**
1209
+ * **IT THROWS AN ERROR WHEN CALLING THIS.**
1210
+ *
1211
+ * @deprecated
1212
+ * @unsupported
1213
+ * @implements DOM API: `Element`
1214
+ */
1215
+ get onselectstart(): ((this: GlobalEventHandlers, ev: Event) => any) | null;
1216
+ /**
1217
+ * **IT THROWS AN ERROR WHEN CALLING THIS.**
1218
+ *
1219
+ * @deprecated
1220
+ * @unsupported
1221
+ * @implements DOM API: `Element`
1222
+ */
1223
+ get onslotchange(): ((this: GlobalEventHandlers, ev: Event) => any) | null;
1224
+ /**
1225
+ * **IT THROWS AN ERROR WHEN CALLING THIS.**
1226
+ *
1227
+ * @deprecated
1228
+ * @unsupported
1229
+ * @implements DOM API: `Element`
1230
+ */
1231
+ get onstalled(): ((this: GlobalEventHandlers, ev: Event) => any) | null;
1232
+ /**
1233
+ * **IT THROWS AN ERROR WHEN CALLING THIS.**
1234
+ *
1235
+ * @deprecated
1236
+ * @unsupported
1237
+ * @implements DOM API: `Element`
1238
+ */
1239
+ get onsubmit(): ((this: GlobalEventHandlers, ev: SubmitEvent) => any) | null;
1240
+ /**
1241
+ * **IT THROWS AN ERROR WHEN CALLING THIS.**
1242
+ *
1243
+ * @deprecated
1244
+ * @unsupported
1245
+ * @implements DOM API: `Element`
1246
+ */
1247
+ get onsuspend(): ((this: GlobalEventHandlers, ev: Event) => any) | null;
1248
+ /**
1249
+ * **IT THROWS AN ERROR WHEN CALLING THIS.**
1250
+ *
1251
+ * @deprecated
1252
+ * @unsupported
1253
+ * @implements DOM API: `Element`
1254
+ */
1255
+ get ontimeupdate(): ((this: GlobalEventHandlers, ev: Event) => any) | null;
1256
+ /**
1257
+ * **IT THROWS AN ERROR WHEN CALLING THIS.**
1258
+ *
1259
+ * @deprecated
1260
+ * @unsupported
1261
+ * @implements DOM API: `Element`
1262
+ */
1263
+ get ontoggle(): ((this: GlobalEventHandlers, ev: Event) => any) | null;
1264
+ /**
1265
+ * **IT THROWS AN ERROR WHEN CALLING THIS.**
1266
+ *
1267
+ * @deprecated
1268
+ * @unsupported
1269
+ * @implements DOM API: `Element`
1270
+ */
1271
+ get ontransitioncancel(): ((this: GlobalEventHandlers, ev: TransitionEvent) => any) | null;
1272
+ /**
1273
+ * **IT THROWS AN ERROR WHEN CALLING THIS.**
1274
+ *
1275
+ * @deprecated
1276
+ * @unsupported
1277
+ * @implements DOM API: `Element`
1278
+ */
1279
+ get ontransitionend(): ((this: GlobalEventHandlers, ev: TransitionEvent) => any) | null;
1280
+ /**
1281
+ * **IT THROWS AN ERROR WHEN CALLING THIS.**
1282
+ *
1283
+ * @deprecated
1284
+ * @unsupported
1285
+ * @implements DOM API: `Element`
1286
+ */
1287
+ get ontransitionrun(): ((this: GlobalEventHandlers, ev: TransitionEvent) => any) | null;
1288
+ /**
1289
+ * **IT THROWS AN ERROR WHEN CALLING THIS.**
1290
+ *
1291
+ * @deprecated
1292
+ * @unsupported
1293
+ * @implements DOM API: `Element`
1294
+ */
1295
+ get ontransitionstart(): ((this: GlobalEventHandlers, ev: TransitionEvent) => any) | null;
1296
+ /**
1297
+ * **IT THROWS AN ERROR WHEN CALLING THIS.**
1298
+ *
1299
+ * @deprecated
1300
+ * @unsupported
1301
+ * @implements DOM API: `Element`
1302
+ */
1303
+ get onvolumechange(): ((this: GlobalEventHandlers, ev: Event) => any) | null;
1304
+ /**
1305
+ * **IT THROWS AN ERROR WHEN CALLING THIS.**
1306
+ *
1307
+ * @deprecated
1308
+ * @unsupported
1309
+ * @implements DOM API: `Element`
1310
+ */
1311
+ get onwaiting(): ((this: GlobalEventHandlers, ev: Event) => any) | null;
1312
+ /**
1313
+ * **IT THROWS AN ERROR WHEN CALLING THIS.**
1314
+ *
1315
+ * @deprecated
1316
+ * @unsupported
1317
+ * @implements DOM API: `Element`
1318
+ */
1319
+ get onwebkitanimationend(): ((this: GlobalEventHandlers, ev: Event) => any) | null;
1320
+ /**
1321
+ * **IT THROWS AN ERROR WHEN CALLING THIS.**
1322
+ *
1323
+ * @deprecated
1324
+ * @unsupported
1325
+ * @implements DOM API: `Element`
1326
+ */
1327
+ get onwebkitanimationiteration(): ((this: GlobalEventHandlers, ev: Event) => any) | null;
1328
+ /**
1329
+ * **IT THROWS AN ERROR WHEN CALLING THIS.**
1330
+ *
1331
+ * @deprecated
1332
+ * @unsupported
1333
+ * @implements DOM API: `Element`
1334
+ */
1335
+ get onwebkitanimationstart(): ((this: GlobalEventHandlers, ev: Event) => any) | null;
1336
+ /**
1337
+ * **IT THROWS AN ERROR WHEN CALLING THIS.**
1338
+ *
1339
+ * @deprecated
1340
+ * @unsupported
1341
+ * @implements DOM API: `Element`
1342
+ */
1343
+ get onwebkittransitionend(): ((this: GlobalEventHandlers, ev: Event) => any) | null;
1344
+ /**
1345
+ * **IT THROWS AN ERROR WHEN CALLING THIS.**
1346
+ *
1347
+ * @deprecated
1348
+ * @unsupported
1349
+ * @implements DOM API: `Element`
1350
+ */
1351
+ get onwheel(): ((this: GlobalEventHandlers, ev: WheelEvent) => any) | null;
1352
+ /**
1353
+ * **IT THROWS AN ERROR WHEN CALLING THIS.**
1354
+ *
1355
+ * @unsupported
1356
+ * @implements DOM API: `Element`
1357
+ * @see https://w3c.github.io/DOM-Parsing/#dom-element-outerhtml
1358
+ */
1359
+ get outerHTML(): string;
1360
+ /**
1361
+ * **IT THROWS AN ERROR WHEN CALLING THIS.**
1362
+ *
1363
+ * @deprecated
1364
+ * @unsupported
1365
+ * @implements DOM API: `Element`
1366
+ */
1367
+ get outerText(): string;
1368
+ /**
1369
+ * **IT THROWS AN ERROR WHEN CALLING THIS.**
1370
+ *
1371
+ * @unsupported
1372
+ * @implements DOM API: `Element`
1373
+ * @see https://www.w3.org/TR/css-shadow-parts-1/#idl
1374
+ */
1375
+ get part(): DOMTokenList;
1376
+ /**
1377
+ * **IT THROWS AN ERROR WHEN CALLING THIS.**
1378
+ *
1379
+ * @unsupported
1380
+ * @implements DOM API: `Element`
1381
+ * @see https://dom.spec.whatwg.org/#ref-for-dom-element-prefix%E2%91%A0
1382
+ */
1383
+ get prefix(): string | null;
1384
+ /**
1385
+ * The element immediately prior the specified one in its parent's children list.
1386
+ *
1387
+ * @readonly
1388
+ * @implements DOM API: `Element`
1389
+ * @see https://dom.spec.whatwg.org/#ref-for-dom-nondocumenttypechildnode-previouselementsibling%E2%91%A1
1390
+ */
1391
+ get previousElementSibling(): MLElement<T, O> | null;
1392
+ get raw(): string;
1393
+ /**
1394
+ * @implements `@markuplint/ml-core` API: `MLElement`
1395
+ */
1396
+ get rawName(): string;
1397
+ /**
1398
+ * **IT THROWS AN ERROR WHEN CALLING THIS.**
1399
+ *
1400
+ * @unsupported
1401
+ * @implements DOM API: `Element`
1402
+ * @see https://w3c.github.io/aria/#ARIAMixin
1403
+ */
1404
+ get role(): string;
1405
+ /**
1406
+ * @implements `@markuplint/ml-core` API: `MLNode`
1407
+ */
1408
+ get rule(): RuleInfo<T, O>;
1409
+ /**
1410
+ * **IT THROWS AN ERROR WHEN CALLING THIS.**
1411
+ *
1412
+ * @unsupported
1413
+ * @implements DOM API: `Element`
1414
+ * @see https://www.w3.org/TR/cssom-view-1/#ref-for-dom-element-scrollheight-1
1415
+ */
1416
+ get scrollHeight(): number;
1417
+ /**
1418
+ * **IT THROWS AN ERROR WHEN CALLING THIS.**
1419
+ *
1420
+ * @unsupported
1421
+ * @implements DOM API: `Element`
1422
+ * @see https://www.w3.org/TR/cssom-view-1/#ref-for-dom-element-scrollleft-1
1423
+ */
1424
+ get scrollLeft(): number;
1425
+ /**
1426
+ * **IT THROWS AN ERROR WHEN CALLING THIS.**
1427
+ *
1428
+ * @unsupported
1429
+ * @implements DOM API: `Element`
1430
+ * @see https://www.w3.org/TR/cssom-view-1/#ref-for-dom-element-scrolltop-1
1431
+ */
1432
+ get scrollTop(): number;
1433
+ /**
1434
+ * **IT THROWS AN ERROR WHEN CALLING THIS.**
1435
+ *
1436
+ * @unsupported
1437
+ * @implements DOM API: `Element`
1438
+ * @see https://www.w3.org/TR/cssom-view-1/#ref-for-dom-element-scrollwidth-1
1439
+ */
1440
+ get scrollWidth(): number;
1441
+ /**
1442
+ * **IT THROWS AN ERROR WHEN CALLING THIS.**
1443
+ *
1444
+ * @unsupported
1445
+ * @implements DOM API: `Element`
1446
+ * @see https://dom.spec.whatwg.org/#ref-for-dom-element-shadowroot%E2%91%A0
1447
+ */
1448
+ get shadowRoot(): ShadowRoot | null;
1449
+ /**
1450
+ * @implements DOM API: `Element`
1451
+ * @see https://dom.spec.whatwg.org/#ref-for-dom-element-slot%E2%91%A0
1452
+ */
1453
+ get slot(): string;
1454
+ /**
1455
+ * **IT THROWS AN ERROR WHEN CALLING THIS.**
1456
+ *
1457
+ * @deprecated
1458
+ * @unsupported
1459
+ * @implements DOM API: `Element`
1460
+ */
1461
+ get spellcheck(): boolean;
1462
+ /**
1463
+ * **IT THROWS AN ERROR WHEN CALLING THIS.**
1464
+ *
1465
+ * @deprecated
1466
+ * @unsupported
1467
+ * @implements DOM API: `Element`
1468
+ */
1469
+ get style(): CSSStyleDeclaration;
1470
+ /**
1471
+ * **IT THROWS AN ERROR WHEN CALLING THIS.**
1472
+ *
1473
+ * @deprecated
1474
+ * @unsupported
1475
+ * @implements DOM API: `Element`
1476
+ */
1477
+ get tabIndex(): number;
1478
+ /**
1479
+ * Returns the HTML-uppercased qualified name.
1480
+ *
1481
+ * If this is in the HTML namespace and its node document is an HTML document, then set qualifiedName to qualifiedName in ASCII uppercase.
1482
+ *
1483
+ * (In markuplint evaluation, the node document always is an HTML document.)
1484
+ *
1485
+ * ```html
1486
+ * <div> => "DIV"
1487
+ * <svg> => "svg"
1488
+ * <x-foo> => "X-FOO"
1489
+ * ```
1490
+ *
1491
+ * @implements DOM API: `Element`
1492
+ * @see https://dom.spec.whatwg.org/#ref-for-dom-element-tagname%E2%91%A0
1493
+ */
1494
+ get tagName(): string;
1495
+ get textContent(): string;
1496
+ /**
1497
+ * **IT THROWS AN ERROR WHEN CALLING THIS.**
1498
+ *
1499
+ * @deprecated
1500
+ * @unsupported
1501
+ * @implements DOM API: `Element`
1502
+ */
1503
+ get title(): string;
1504
+ /**
1505
+ * **IT THROWS AN ERROR WHEN CALLING THIS.**
1506
+ *
1507
+ * @deprecated
1508
+ * @unsupported
1509
+ * @implements DOM API: `Element`
1510
+ */
1511
+ get translate(): boolean;
1512
+ /**
1513
+ * @implements DOM API: `Element`
1514
+ */
1515
+ after(...nodes: (string | MLElement<any, any>)[]): void;
1516
+ /**
1517
+ * **IT THROWS AN ERROR WHEN CALLING THIS.**
1518
+ *
1519
+ * @unsupported
1520
+ * @implements DOM API: `Element`
1521
+ * @see https://www.w3.org/TR/web-animations-1/#dom-animatable-animate
1522
+ */
1523
+ animate(keyframes: Keyframe[] | PropertyIndexedKeyframes | null, options?: number | KeyframeAnimationOptions): Animation;
1524
+ /**
1525
+ * **IT THROWS AN ERROR WHEN CALLING THIS.**
1526
+ *
1527
+ * @deprecated
1528
+ * @unsupported
1529
+ * @implements DOM API: `Element`
1530
+ */
1531
+ attachInternals(): ElementInternals;
1532
+ /**
1533
+ * **IT THROWS AN ERROR WHEN CALLING THIS.**
1534
+ *
1535
+ * @unsupported
1536
+ * @implements DOM API: `Element`
1537
+ * @see https://dom.spec.whatwg.org/#ref-for-dom-element-attachshadow%E2%91%A0
1538
+ */
1539
+ attachShadow(init: ShadowRootInit): ShadowRoot;
1540
+ /**
1541
+ * @implements DOM API: `Element`
1542
+ */
1543
+ before(...nodes: (string | MLElement<any, any>)[]): void;
1544
+ /**
1545
+ * **IT THROWS AN ERROR WHEN CALLING THIS.**
1546
+ *
1547
+ * @deprecated
1548
+ * @unsupported
1549
+ * @implements DOM API: `Element`
1550
+ */
1551
+ blur(): void;
1552
+ /**
1553
+ * **IT THROWS AN ERROR WHEN CALLING THIS.**
1554
+ *
1555
+ * @deprecated
1556
+ * @unsupported
1557
+ * @implements DOM API: `Element`
1558
+ */
1559
+ checkVisibility(options?: CheckVisibilityOptions): boolean;
1560
+ /**
1561
+ * **IT THROWS AN ERROR WHEN CALLING THIS.**
1562
+ *
1563
+ * @deprecated
1564
+ * @unsupported
1565
+ * @implements DOM API: `Element`
1566
+ */
1567
+ click(): void;
1568
+ /**
1569
+ * @implements DOM API: `Element`
1570
+ * @see https://dom.spec.whatwg.org/#ref-for-dom-element-closest%E2%91%A0
1571
+ */
1572
+ closest(selectors: string): MLElement<T, O> | null;
1573
+ /**
1574
+ * **IT THROWS AN ERROR WHEN CALLING THIS.**
1575
+ *
1576
+ * @unsupported
1577
+ * @implements DOM API: `Element`
1578
+ */
1579
+ computedStyleMap(): StylePropertyMapReadOnly;
1580
+ fixNodeName(name: string): void;
1581
+ /**
1582
+ * **IT THROWS AN ERROR WHEN CALLING THIS.**
1583
+ *
1584
+ * @deprecated
1585
+ * @unsupported
1586
+ * @implements DOM API: `Element`
1587
+ */
1588
+ focus(options?: FocusOptions): void;
1589
+ /**
1590
+ * @implements `@markuplint/ml-core` API: `MLElement`
1591
+ */
1592
+ getAccessibleName(version: ARIAVersion): string;
1593
+ /**
1594
+ * **IT THROWS AN ERROR WHEN CALLING THIS.**
1595
+ *
1596
+ * @unsupported
1597
+ * @implements DOM API: `Element`
1598
+ * @see https://www.w3.org/TR/web-animations-1/#dom-animatable-getanimations
1599
+ */
1600
+ getAnimations(options?: GetAnimationsOptions): Animation[];
1601
+ /**
1602
+ * @implements DOM API: `Element`
1603
+ * @see https://dom.spec.whatwg.org/#ref-for-dom-element-getattribute%E2%91%A0
1604
+ */
1605
+ getAttribute(attrName: string): string | null;
1606
+ /**
1607
+ * **IT THROWS AN ERROR WHEN CALLING THIS.**
1608
+ *
1609
+ * @unsupported
1610
+ * @implements DOM API: `Element`
1611
+ * @see https://dom.spec.whatwg.org/#dom-element-getattributenodens
1612
+ */
1613
+ getAttributeNS(namespace: string | null, localName: string): string | null;
1614
+ /**
1615
+ * @implements DOM API: `Element`
1616
+ * @see https://dom.spec.whatwg.org/#ref-for-dom-element-getattributenames%E2%91%A0
1617
+ */
1618
+ getAttributeNames(): string[];
1619
+ /**
1620
+ * @implements DOM API: `Element`
1621
+ * @see https://dom.spec.whatwg.org/#dom-element-getattributenode
1622
+ */
1623
+ getAttributeNode(qualifiedName: string): MLAttr<T, O> | null;
1624
+ /**
1625
+ * **IT THROWS AN ERROR WHEN CALLING THIS.**
1626
+ *
1627
+ * @unsupported
1628
+ * @implements DOM API: `Element`
1629
+ * @see https://dom.spec.whatwg.org/#dom-element-getattributenodens
1630
+ */
1631
+ getAttributeNodeNS(namespace: string | null, localName: string): Attr | null;
1632
+ /**
1633
+ * @implements `@markuplint/ml-core` API: `MLElement`
1634
+ */
1635
+ getAttributePretended(attrName: string): string | null;
1636
+ /**
1637
+ * @implements `@markuplint/ml-core` API: `MLElement`
1638
+ */
1639
+ getAttributeToken(attrName: string): MLAttr<T, O>[];
1640
+ /**
1641
+ * @implements `@markuplint/ml-core` API: `MLElement`
1642
+ */
1643
+ getAttributeTokens(): readonly MLAttr<T, O>[];
1644
+ /**
1645
+ * **IT THROWS AN ERROR WHEN CALLING THIS.**
1646
+ *
1647
+ * @unsupported
1648
+ * @implements DOM API: `Element`
1649
+ * @see https://www.w3.org/TR/cssom-view-1/#ref-for-dom-element-getboundingclientrect-1
1650
+ */
1651
+ getBoundingClientRect(): DOMRect;
1652
+ getChildElementsAndTextNodeWithoutWhitespaces(): (MLElement<T, O> | MLText<T, O>)[];
1653
+ /**
1654
+ * **IT THROWS AN ERROR WHEN CALLING THIS.**
1655
+ *
1656
+ * @unsupported
1657
+ * @implements DOM API: `Element`
1658
+ * @see https://www.w3.org/TR/cssom-view-1/#ref-for-dom-element-getclientrects-1
1659
+ */
1660
+ getClientRects(): DOMRectList;
1661
+ /**
1662
+ * @implements DOM API: `Element`
1663
+ * @see https://dom.spec.whatwg.org/#ref-for-dom-element-getelementsbyclassname
1664
+ */
1665
+ getElementsByClassName(classNames: string): HTMLCollectionOf<MLElement<T, O>>;
1666
+ /**
1667
+ * @implements DOM API: `Element`
1668
+ * @see https://dom.spec.whatwg.org/#ref-for-dom-element-getelementsbyclassname
1669
+ */
1670
+ getElementsByTagName(qualifiedName: string): ReturnType<(typeof Element)['prototype']['getElementsByTagName']>;
1671
+ /**
1672
+ * **IT THROWS AN ERROR WHEN CALLING THIS.**
1673
+ *
1674
+ * @unsupported
1675
+ * @implements DOM API: `Element`
1676
+ * @see https://dom.spec.whatwg.org/#dom-element-getelementsbytagnamens
1677
+ */
1678
+ getElementsByTagNameNS(namespace: any, localName: any): any;
1679
+ /**
1680
+ * @implements `@markuplint/ml-core` API: `MLElement`
1681
+ */
1682
+ getNameLocation(): {
1683
+ offset: number;
1684
+ line: number;
1685
+ col: number;
1686
+ };
1687
+ /**
1688
+ * @implements DOM API: `Element`
1689
+ * @see https://dom.spec.whatwg.org/#ref-for-dom-element-hasattribute%E2%91%A0
1690
+ */
1691
+ hasAttribute(qualifiedName: string): boolean;
1692
+ /**
1693
+ * **IT THROWS AN ERROR WHEN CALLING THIS.**
1694
+ *
1695
+ * @unsupported
1696
+ * @implements DOM API: `Element`
1697
+ * @see https://dom.spec.whatwg.org/#ref-for-dom-element-hasattributens%E2%91%A0
1698
+ */
1699
+ hasAttributeNS(namespace: string | null, localName: string): boolean;
1700
+ /**
1701
+ * @implements DOM API: `Element`
1702
+ * @see https://dom.spec.whatwg.org/#dom-element-hasattributes
1703
+ */
1704
+ hasAttributes(): boolean;
1705
+ /**
1706
+ * @implements `@markuplint/ml-core` API: `MLElement`
1707
+ */
1708
+ hasMutableAttributes(): boolean;
1709
+ /**
1710
+ * This element has "Preprocessor Specific Block". In other words, Its children are potentially mutable.
1711
+ *
1712
+ * @implements `@markuplint/ml-core` API: `MLElement`
1713
+ */
1714
+ hasMutableChildren(attr?: boolean): boolean;
1715
+ /**
1716
+ * **IT THROWS AN ERROR WHEN CALLING THIS.**
1717
+ *
1718
+ * @unsupported
1719
+ * @implements DOM API: `Element`
1720
+ * @see https://www.w3.org/TR/pointerevents2/#dom-element-haspointercapture
1721
+ */
1722
+ hasPointerCapture(pointerId: number): boolean;
1723
+ /**
1724
+ * **IT THROWS AN ERROR WHEN CALLING THIS.**
1725
+ *
1726
+ * @unsupported
1727
+ * @implements DOM API: `Element`
1728
+ * @see https://dom.spec.whatwg.org/#dom-element-insertadjacentelement
1729
+ */
1730
+ insertAdjacentElement(where: InsertPosition, element: MLElement<T, O>): MLElement<T, O> | null;
1731
+ /**
1732
+ * **IT THROWS AN ERROR WHEN CALLING THIS.**
1733
+ *
1734
+ * @unsupported
1735
+ * @implements DOM API: `Element`
1736
+ * @see https://w3c.github.io/DOM-Parsing/#widl-Element-insertAdjacentHTML-void-DOMString-position-DOMString-text
1737
+ */
1738
+ insertAdjacentHTML(position: InsertPosition, text: string): void;
1739
+ /**
1740
+ * **IT THROWS AN ERROR WHEN CALLING THIS.**
1741
+ *
1742
+ * @unsupported
1743
+ * @implements DOM API: `Element`
1744
+ * @see https://dom.spec.whatwg.org/#dom-element-insertadjacenttext
1745
+ */
1746
+ insertAdjacentText(where: InsertPosition, data: string): void;
1747
+ /**
1748
+ * @implements `@markuplint/ml-core` API: `MLElement`
1749
+ */
1750
+ isDescendantByUUIDList(uuidList: readonly string[]): boolean;
1751
+ /**
1752
+ * @implements `@markuplint/ml-core` API: `MLElement`
1753
+ */
1754
+ isEmpty(): boolean;
1755
+ /**
1756
+ * @implements DOM API: `Element`
1757
+ * @see https://dom.spec.whatwg.org/#ref-for-dom-element-matches%E2%91%A0
1758
+ */
1759
+ matches(selector: string): boolean;
1760
+ /**
1761
+ * Pretenders Initialization
1762
+ */
1763
+ pretending(pretenders: readonly Pretender[]): void;
1764
+ /**
1765
+ * **IT THROWS AN ERROR WHEN CALLING THIS.**
1766
+ *
1767
+ * @unsupported
1768
+ * @implements DOM API: `Element`
1769
+ * @see https://www.w3.org/TR/pointerevents2/#dom-element-releasepointercapture
1770
+ */
1771
+ releasePointerCapture(pointerId: number): void;
1772
+ /**
1773
+ * @implements DOM API: `Element`
1774
+ */
1775
+ remove(): void;
1776
+ /**
1777
+ * **IT THROWS AN ERROR WHEN CALLING THIS.**
1778
+ *
1779
+ * @unsupported
1780
+ * @implements DOM API: `Element`
1781
+ * @see https://dom.spec.whatwg.org/#dom-element-removeattribute
1782
+ */
1783
+ removeAttribute(qualifiedName: string): void;
1784
+ /**
1785
+ * **IT THROWS AN ERROR WHEN CALLING THIS.**
1786
+ *
1787
+ * @unsupported
1788
+ * @implements DOM API: `Element`
1789
+ * @see https://dom.spec.whatwg.org/#ref-for-dom-element-removeattributens%E2%91%A0
1790
+ */
1791
+ removeAttributeNS(namespace: string | null, localName: string): void;
1792
+ /**
1793
+ * **IT THROWS AN ERROR WHEN CALLING THIS.**
1794
+ *
1795
+ * @unsupported
1796
+ * @implements DOM API: `Element`
1797
+ * @see https://www.w3.org/TR/DOM-Level-2-Core/core.html#ID-D589198
1798
+ */
1799
+ removeAttributeNode(attr: Attr): Attr;
1800
+ /**
1801
+ * @implements DOM API: `Element`
1802
+ */
1803
+ replaceWith(...nodes: (string | MLElement<any, any>)[]): void;
1804
+ /**
1805
+ * **IT THROWS AN ERROR WHEN CALLING THIS.**
1806
+ *
1807
+ * @unsupported
1808
+ * @implements DOM API: `Element`
1809
+ * @see https://fullscreen.spec.whatwg.org/#dom-element-requestfullscreen
1810
+ */
1811
+ requestFullscreen(options?: FullscreenOptions): Promise<void>;
1812
+ /**
1813
+ * **IT THROWS AN ERROR WHEN CALLING THIS.**
1814
+ *
1815
+ * @unsupported
1816
+ * @implements DOM API: `Element`
1817
+ * @see https://w3c.github.io/pointerlock/#dom-element-requestpointerlock
1818
+ */
1819
+ requestPointerLock(): void;
1820
+ /**
1821
+ * **IT THROWS AN ERROR WHEN CALLING THIS.**
1822
+ *
1823
+ * @unsupported
1824
+ * @implements DOM API: `Element`
1825
+ * @see https://www.w3.org/TR/cssom-view-1/#dom-element-scroll
1826
+ */
1827
+ scroll(x?: any, y?: any): void;
1828
+ /**
1829
+ * **IT THROWS AN ERROR WHEN CALLING THIS.**
1830
+ *
1831
+ * @unsupported
1832
+ * @implements DOM API: `Element`
1833
+ * @see https://www.w3.org/TR/cssom-view-1/#dom-element-scrollby
1834
+ */
1835
+ scrollBy(x?: any, y?: any): void;
1836
+ /**
1837
+ * **IT THROWS AN ERROR WHEN CALLING THIS.**
1838
+ *
1839
+ * @unsupported
1840
+ * @implements DOM API: `Element`
1841
+ * @see https://www.w3.org/TR/cssom-view-1/#dom-element-scrollintoview
1842
+ */
1843
+ scrollIntoView(arg?: boolean | ScrollIntoViewOptions): void;
1844
+ /**
1845
+ * **IT THROWS AN ERROR WHEN CALLING THIS.**
1846
+ *
1847
+ * @unsupported
1848
+ * @implements DOM API: `Element`
1849
+ * @see https://www.w3.org/TR/cssom-view-1/#dom-element-scrollto
1850
+ */
1851
+ scrollTo(x?: any, y?: any): void;
1852
+ /**
1853
+ * **IT THROWS AN ERROR WHEN CALLING THIS.**
1854
+ *
1855
+ * @unsupported
1856
+ * @implements DOM API: `Element`
1857
+ * @see https://dom.spec.whatwg.org/#ref-for-dom-element-setattribute%E2%91%A0
1858
+ */
1859
+ setAttribute(qualifiedName: string, value: string): void;
1860
+ /**
1861
+ * **IT THROWS AN ERROR WHEN CALLING THIS.**
1862
+ *
1863
+ * @unsupported
1864
+ * @implements DOM API: `Element`
1865
+ * @see https://dom.spec.whatwg.org/#ref-for-dom-element-setattributens%E2%91%A0
1866
+ */
1867
+ setAttributeNS(namespace: string | null, qualifiedName: string, value: string): void;
1868
+ /**
1869
+ * **IT THROWS AN ERROR WHEN CALLING THIS.**
1870
+ *
1871
+ * @unsupported
1872
+ * @implements DOM API: `Element`
1873
+ * @see https://dom.spec.whatwg.org/#dom-element-setattributenode
1874
+ */
1875
+ setAttributeNode(attr: Attr): Attr | null;
1876
+ /**
1877
+ * **IT THROWS AN ERROR WHEN CALLING THIS.**
1878
+ *
1879
+ * @unsupported
1880
+ * @implements DOM API: `Element`
1881
+ * @see https://dom.spec.whatwg.org/#dom-element-setattributenodens
1882
+ */
1883
+ setAttributeNodeNS(attr: Attr): Attr | null;
1884
+ /**
1885
+ * **IT THROWS AN ERROR WHEN CALLING THIS.**
1886
+ *
1887
+ * @unsupported
1888
+ * @implements DOM API: `Element`
1889
+ * @see https://www.w3.org/TR/pointerevents2/#idl-def-element-setpointercapture-pointerid
1890
+ */
1891
+ setPointerCapture(pointerId: number): void;
1892
+ /**
1893
+ * @implements `@markuplint/ml-core` API: `MLElement`
1894
+ */
1895
+ toNormalizeString(): string;
1896
+ /**
1897
+ * @implements `@markuplint/ml-core` API: `MLElement`
1898
+ */
1899
+ toString(): string;
1900
+ /**
1901
+ * **IT THROWS AN ERROR WHEN CALLING THIS.**
1902
+ *
1903
+ * @unsupported
1904
+ * @implements DOM API: `Element`
1905
+ * @see https://dom.spec.whatwg.org/#ref-for-dom-element-toggleattribute%E2%91%A0
1906
+ */
1907
+ toggleAttribute(qualifiedName: string, force?: boolean): boolean;
1908
+ /**
1909
+ * **IT THROWS AN ERROR WHEN CALLING THIS.**
1910
+ *
1911
+ * @deprecated
1912
+ * @unsupported
1913
+ * @implements DOM API: `Element`
1914
+ */
1915
+ webkitMatchesSelector(selectors: string): boolean;
1914
1916
  }