@markuplint/ml-core 2.2.3 → 2.3.2

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