Skip to content

Commit 6d415c8

Browse files
committed
Update to bcd@5.5.42
1 parent a90212c commit 6d415c8

File tree

2 files changed

+48
-5
lines changed

2 files changed

+48
-5
lines changed

baselines/dom.generated.d.ts

Lines changed: 45 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -190,6 +190,10 @@ interface CanvasRenderingContext2DSettings {
190190
willReadFrequently?: boolean;
191191
}
192192

193+
interface CaretPositionFromPointOptions {
194+
shadowRoots?: ShadowRoot[];
195+
}
196+
193197
interface ChannelMergerOptions extends AudioNodeOptions {
194198
numberOfInputs?: number;
195199
}
@@ -2223,6 +2227,8 @@ interface ARIAMixin {
22232227
ariaColCount: string | null;
22242228
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/ariaColIndex) */
22252229
ariaColIndex: string | null;
2230+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/ariaColIndexText) */
2231+
ariaColIndexText: string | null;
22262232
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/ariaColSpan) */
22272233
ariaColSpan: string | null;
22282234
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/ariaCurrent) */
@@ -2270,6 +2276,8 @@ interface ARIAMixin {
22702276
ariaRowCount: string | null;
22712277
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/ariaRowIndex) */
22722278
ariaRowIndex: string | null;
2279+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/ariaRowIndexText) */
2280+
ariaRowIndexText: string | null;
22732281
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/ariaRowSpan) */
22742282
ariaRowSpan: string | null;
22752283
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/ariaSelected) */
@@ -4145,7 +4153,9 @@ interface CSSStyleDeclaration {
41454153
cssText: string;
41464154
/** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/cursor) */
41474155
cursor: string;
4156+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/cx) */
41484157
cx: string;
4158+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/cy) */
41494159
cy: string;
41504160
d: string;
41514161
/** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/direction) */
@@ -4505,6 +4515,8 @@ interface CSSStyleDeclaration {
45054515
rotate: string;
45064516
/** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/row-gap) */
45074517
rowGap: string;
4518+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/ruby-align) */
4519+
rubyAlign: string;
45084520
/** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/ruby-position) */
45094521
rubyPosition: string;
45104522
/** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/rx) */
@@ -5638,6 +5650,18 @@ interface CanvasUserInterface {
56385650
drawFocusIfNeeded(path: Path2D, element: Element): void;
56395651
}
56405652

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+
56415665
/**
56425666
* 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.
56435667
*
@@ -7157,6 +7181,8 @@ interface Document extends Node, DocumentOrShadowRoot, FontFaceSource, GlobalEve
71577181
adoptNode<T extends Node>(node: T): T;
71587182
/** @deprecated */
71597183
captureEvents(): void;
7184+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Document/caretPositionFromPoint) */
7185+
caretPositionFromPoint(x: number, y: number, options?: CaretPositionFromPointOptions): CaretPosition | null;
71607186
/** @deprecated */
71617187
caretRangeFromPoint(x: number, y: number): Range | null;
71627188
/**
@@ -7744,6 +7770,8 @@ interface Element extends Node, ARIAMixin, Animatable, ChildNode, NonDocumentTyp
77447770
readonly clientTop: number;
77457771
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/clientWidth) */
77467772
readonly clientWidth: number;
7773+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/currentCSSZoom) */
7774+
readonly currentCSSZoom: number;
77477775
/**
77487776
* Returns the value of element's id content attribute. Can be set to change it.
77497777
*
@@ -8854,6 +8882,7 @@ declare var GamepadEvent: {
88548882
interface GamepadHapticActuator {
88558883
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GamepadHapticActuator/playEffect) */
88568884
playEffect(type: GamepadHapticEffectType, params?: GamepadEffectParameters): Promise<GamepadHapticsResult>;
8885+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GamepadHapticActuator/reset) */
88578886
reset(): Promise<GamepadHapticsResult>;
88588887
}
88598888

@@ -12404,6 +12433,8 @@ interface HTMLTableCaptionElement extends HTMLElement {
1240412433
/**
1240512434
* Sets or retrieves the alignment of the caption or legend.
1240612435
* @deprecated
12436+
*
12437+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLTableCaptionElement/align)
1240712438
*/
1240812439
align: string;
1240912440
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 {
1276612797
/**
1276712798
* Sets or retrieves how the object is aligned with adjacent text.
1276812799
* @deprecated
12800+
*
12801+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLTableRowElement/align)
1276912802
*/
1277012803
align: string;
1277112804
/**
@@ -12804,7 +12837,11 @@ interface HTMLTableRowElement extends HTMLElement {
1280412837
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLTableRowElement/sectionRowIndex)
1280512838
*/
1280612839
readonly sectionRowIndex: number;
12807-
/** @deprecated */
12840+
/**
12841+
* @deprecated
12842+
*
12843+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLTableRowElement/vAlign)
12844+
*/
1280812845
vAlign: string;
1280912846
/**
1281012847
* Removes the specified cell from the table row, as well as from the cells collection.
@@ -12840,6 +12877,8 @@ interface HTMLTableSectionElement extends HTMLElement {
1284012877
/**
1284112878
* Sets or retrieves a value that indicates the table alignment.
1284212879
* @deprecated
12880+
*
12881+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLTableSectionElement/align)
1284312882
*/
1284412883
align: string;
1284512884
/**
@@ -12860,7 +12899,11 @@ interface HTMLTableSectionElement extends HTMLElement {
1286012899
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLTableSectionElement/rows)
1286112900
*/
1286212901
readonly rows: HTMLCollectionOf<HTMLTableRowElement>;
12863-
/** @deprecated */
12902+
/**
12903+
* @deprecated
12904+
*
12905+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLTableSectionElement/vAlign)
12906+
*/
1286412907
vAlign: string;
1286512908
/**
1286612909
* Removes the specified row (tr) from the element and from the rows collection.

package-lock.json

Lines changed: 3 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)