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