@@ -190,6 +190,10 @@ interface CanvasRenderingContext2DSettings {
190
190
willReadFrequently?: boolean;
191
191
}
192
192
193
+ interface CaretPositionFromPointOptions {
194
+ shadowRoots?: ShadowRoot[];
195
+ }
196
+
193
197
interface ChannelMergerOptions extends AudioNodeOptions {
194
198
numberOfInputs?: number;
195
199
}
@@ -2223,6 +2227,8 @@ interface ARIAMixin {
2223
2227
ariaColCount: string | null;
2224
2228
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/ariaColIndex) */
2225
2229
ariaColIndex: string | null;
2230
+ /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/ariaColIndexText) */
2231
+ ariaColIndexText: string | null;
2226
2232
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/ariaColSpan) */
2227
2233
ariaColSpan: string | null;
2228
2234
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/ariaCurrent) */
@@ -2270,6 +2276,8 @@ interface ARIAMixin {
2270
2276
ariaRowCount: string | null;
2271
2277
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/ariaRowIndex) */
2272
2278
ariaRowIndex: string | null;
2279
+ /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/ariaRowIndexText) */
2280
+ ariaRowIndexText: string | null;
2273
2281
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/ariaRowSpan) */
2274
2282
ariaRowSpan: string | null;
2275
2283
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/ariaSelected) */
@@ -4145,7 +4153,9 @@ interface CSSStyleDeclaration {
4145
4153
cssText: string;
4146
4154
/** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/cursor) */
4147
4155
cursor: string;
4156
+ /** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/cx) */
4148
4157
cx: string;
4158
+ /** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/cy) */
4149
4159
cy: string;
4150
4160
d: string;
4151
4161
/** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/direction) */
@@ -4505,6 +4515,8 @@ interface CSSStyleDeclaration {
4505
4515
rotate: string;
4506
4516
/** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/row-gap) */
4507
4517
rowGap: string;
4518
+ /** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/ruby-align) */
4519
+ rubyAlign: string;
4508
4520
/** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/ruby-position) */
4509
4521
rubyPosition: string;
4510
4522
/** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/rx) */
@@ -5638,6 +5650,18 @@ interface CanvasUserInterface {
5638
5650
drawFocusIfNeeded(path: Path2D, element: Element): void;
5639
5651
}
5640
5652
5653
+ /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CaretPosition) */
5654
+ interface CaretPosition {
5655
+ readonly offset: number;
5656
+ readonly offsetNode: Node;
5657
+ getClientRect(): DOMRect | null;
5658
+ }
5659
+
5660
+ declare var CaretPosition: {
5661
+ prototype: CaretPosition;
5662
+ new(): CaretPosition;
5663
+ };
5664
+
5641
5665
/**
5642
5666
* The ChannelMergerNode interface, often used in conjunction with its opposite, ChannelSplitterNode, reunites different mono inputs into a single output. Each input is used to fill a channel of the output. This is useful for accessing each channels separately, e.g. for performing channel mixing where gain must be separately controlled on each channel.
5643
5667
*
@@ -7157,6 +7181,8 @@ interface Document extends Node, DocumentOrShadowRoot, FontFaceSource, GlobalEve
7157
7181
adoptNode<T extends Node>(node: T): T;
7158
7182
/** @deprecated */
7159
7183
captureEvents(): void;
7184
+ /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Document/caretPositionFromPoint) */
7185
+ caretPositionFromPoint(x: number, y: number, options?: CaretPositionFromPointOptions): CaretPosition | null;
7160
7186
/** @deprecated */
7161
7187
caretRangeFromPoint(x: number, y: number): Range | null;
7162
7188
/**
@@ -7744,6 +7770,8 @@ interface Element extends Node, ARIAMixin, Animatable, ChildNode, NonDocumentTyp
7744
7770
readonly clientTop: number;
7745
7771
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/clientWidth) */
7746
7772
readonly clientWidth: number;
7773
+ /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/currentCSSZoom) */
7774
+ readonly currentCSSZoom: number;
7747
7775
/**
7748
7776
* Returns the value of element's id content attribute. Can be set to change it.
7749
7777
*
@@ -8854,6 +8882,7 @@ declare var GamepadEvent: {
8854
8882
interface GamepadHapticActuator {
8855
8883
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GamepadHapticActuator/playEffect) */
8856
8884
playEffect(type: GamepadHapticEffectType, params?: GamepadEffectParameters): Promise<GamepadHapticsResult>;
8885
+ /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GamepadHapticActuator/reset) */
8857
8886
reset(): Promise<GamepadHapticsResult>;
8858
8887
}
8859
8888
@@ -12404,6 +12433,8 @@ interface HTMLTableCaptionElement extends HTMLElement {
12404
12433
/**
12405
12434
* Sets or retrieves the alignment of the caption or legend.
12406
12435
* @deprecated
12436
+ *
12437
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLTableCaptionElement/align)
12407
12438
*/
12408
12439
align: string;
12409
12440
addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLTableCaptionElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
@@ -12766,6 +12797,8 @@ interface HTMLTableRowElement extends HTMLElement {
12766
12797
/**
12767
12798
* Sets or retrieves how the object is aligned with adjacent text.
12768
12799
* @deprecated
12800
+ *
12801
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLTableRowElement/align)
12769
12802
*/
12770
12803
align: string;
12771
12804
/**
@@ -12804,7 +12837,11 @@ interface HTMLTableRowElement extends HTMLElement {
12804
12837
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLTableRowElement/sectionRowIndex)
12805
12838
*/
12806
12839
readonly sectionRowIndex: number;
12807
- /** @deprecated */
12840
+ /**
12841
+ * @deprecated
12842
+ *
12843
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLTableRowElement/vAlign)
12844
+ */
12808
12845
vAlign: string;
12809
12846
/**
12810
12847
* Removes the specified cell from the table row, as well as from the cells collection.
@@ -12840,6 +12877,8 @@ interface HTMLTableSectionElement extends HTMLElement {
12840
12877
/**
12841
12878
* Sets or retrieves a value that indicates the table alignment.
12842
12879
* @deprecated
12880
+ *
12881
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLTableSectionElement/align)
12843
12882
*/
12844
12883
align: string;
12845
12884
/**
@@ -12860,7 +12899,11 @@ interface HTMLTableSectionElement extends HTMLElement {
12860
12899
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLTableSectionElement/rows)
12861
12900
*/
12862
12901
readonly rows: HTMLCollectionOf<HTMLTableRowElement>;
12863
- /** @deprecated */
12902
+ /**
12903
+ * @deprecated
12904
+ *
12905
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLTableSectionElement/vAlign)
12906
+ */
12864
12907
vAlign: string;
12865
12908
/**
12866
12909
* Removes the specified row (tr) from the element and from the rows collection.
0 commit comments