Skip to content

Commit 4a002c9

Browse files
authored
Manually update to bcd@7.3.9 (#2458)
Co-authored-by: saschanaz <saschanaz@users.noreply.github.com>
1 parent a32928f commit 4a002c9

File tree

8 files changed

+234
-15
lines changed

8 files changed

+234
-15
lines changed

baselines/dom.generated.d.ts

Lines changed: 55 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1215,6 +1215,15 @@ interface HashChangeEventInit extends EventInit {
12151215
oldURL?: string;
12161216
}
12171217

1218+
interface HighlightHitResult {
1219+
highlight?: Highlight;
1220+
ranges?: AbstractRange[];
1221+
}
1222+
1223+
interface HighlightsFromPointOptions {
1224+
shadowRoots?: ShadowRoot[];
1225+
}
1226+
12181227
interface HkdfParams extends Algorithm {
12191228
hash: HashAlgorithmIdentifier;
12201229
info: BufferSource;
@@ -5369,6 +5378,36 @@ declare var CSSCounterStyleRule: {
53695378
new(): CSSCounterStyleRule;
53705379
};
53715380

5381+
/**
5382+
* The **`CSSFontFaceDescriptors`** interface represents a CSS declaration block for an @font-face at-rule.
5383+
*
5384+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSFontFaceDescriptors)
5385+
*/
5386+
interface CSSFontFaceDescriptors extends CSSStyleDeclarationBase {
5387+
"font-display": string;
5388+
"font-family": string;
5389+
"font-feature-settings": string;
5390+
"font-stretch": string;
5391+
"font-style": string;
5392+
"font-weight": string;
5393+
fontDisplay: string;
5394+
fontFamily: string;
5395+
fontFeatureSettings: string;
5396+
fontStretch: string;
5397+
fontStyle: string;
5398+
fontWeight: string;
5399+
"size-adjust": string;
5400+
sizeAdjust: string;
5401+
src: string;
5402+
"unicode-range": string;
5403+
unicodeRange: string;
5404+
}
5405+
5406+
declare var CSSFontFaceDescriptors: {
5407+
prototype: CSSFontFaceDescriptors;
5408+
new(): CSSFontFaceDescriptors;
5409+
};
5410+
53725411
/**
53735412
* The **`CSSFontFaceRule`** interface represents an @font-face at-rule.
53745413
*
@@ -5380,7 +5419,7 @@ interface CSSFontFaceRule extends CSSRule {
53805419
*
53815420
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSFontFaceRule/style)
53825421
*/
5383-
get style(): CSSStyleDeclaration;
5422+
get style(): CSSFontFaceDescriptors;
53845423
set style(cssText: string);
53855424
}
53865425

@@ -21912,6 +21951,12 @@ declare var Highlight: {
2191221951
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HighlightRegistry)
2191321952
*/
2191421953
interface HighlightRegistry {
21954+
/**
21955+
* The **`highlightsFromPoint()`** method of the HighlightRegistry interface returns an array of objects representing the custom highlights applied at a specific point within the viewport.
21956+
*
21957+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HighlightRegistry/highlightsFromPoint)
21958+
*/
21959+
highlightsFromPoint(x: number, y: number, options?: HighlightsFromPointOptions): HighlightHitResult[];
2191521960
forEach(callbackfn: (value: Highlight, key: string, parent: HighlightRegistry) => void, thisArg?: any): void;
2191621961
}
2191721962

@@ -29479,6 +29524,12 @@ interface RTCIceTransport extends EventTarget {
2947929524
onselectedcandidatepairchange: ((this: RTCIceTransport, ev: Event) => any) | null;
2948029525
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/RTCIceTransport/statechange_event) */
2948129526
onstatechange: ((this: RTCIceTransport, ev: Event) => any) | null;
29527+
/**
29528+
* The **`role`** read-only property of the RTCIceTransport interface indicates which ICE role the transport is fulfilling: that of the controlling agent, or the agent that is being controlled.
29529+
*
29530+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/RTCIceTransport/role)
29531+
*/
29532+
readonly role: RTCIceRole;
2948229533
/**
2948329534
* The **`state`** read-only property of the RTCIceTransport interface returns the current state of the ICE transport, so you can determine the state of ICE gathering in which the ICE agent currently is operating.
2948429535
*
@@ -38303,6 +38354,7 @@ declare var ViewTransitionTypeSet: {
3830338354
interface VisualViewportEventMap {
3830438355
"resize": Event;
3830538356
"scroll": Event;
38357+
"scrollend": Event;
3830638358
}
3830738359

3830838360
/**
@@ -38333,6 +38385,8 @@ interface VisualViewport extends EventTarget {
3833338385
onresize: ((this: VisualViewport, ev: Event) => any) | null;
3833438386
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/VisualViewport/scroll_event) */
3833538387
onscroll: ((this: VisualViewport, ev: Event) => any) | null;
38388+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/VisualViewport/scrollend_event) */
38389+
onscrollend: ((this: VisualViewport, ev: Event) => any) | null;
3833638390
/**
3833738391
* The **`pageLeft`** read-only property of the VisualViewport interface returns the x coordinate of the left edge of the visual viewport relative to the initial containing block origin, in CSS pixels, or 0 if current document is not fully active.
3833838392
*

baselines/ts5.5/dom.generated.d.ts

Lines changed: 55 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1212,6 +1212,15 @@ interface HashChangeEventInit extends EventInit {
12121212
oldURL?: string;
12131213
}
12141214

1215+
interface HighlightHitResult {
1216+
highlight?: Highlight;
1217+
ranges?: AbstractRange[];
1218+
}
1219+
1220+
interface HighlightsFromPointOptions {
1221+
shadowRoots?: ShadowRoot[];
1222+
}
1223+
12151224
interface HkdfParams extends Algorithm {
12161225
hash: HashAlgorithmIdentifier;
12171226
info: BufferSource;
@@ -5366,6 +5375,36 @@ declare var CSSCounterStyleRule: {
53665375
new(): CSSCounterStyleRule;
53675376
};
53685377

5378+
/**
5379+
* The **`CSSFontFaceDescriptors`** interface represents a CSS declaration block for an @font-face at-rule.
5380+
*
5381+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSFontFaceDescriptors)
5382+
*/
5383+
interface CSSFontFaceDescriptors extends CSSStyleDeclarationBase {
5384+
"font-display": string;
5385+
"font-family": string;
5386+
"font-feature-settings": string;
5387+
"font-stretch": string;
5388+
"font-style": string;
5389+
"font-weight": string;
5390+
fontDisplay: string;
5391+
fontFamily: string;
5392+
fontFeatureSettings: string;
5393+
fontStretch: string;
5394+
fontStyle: string;
5395+
fontWeight: string;
5396+
"size-adjust": string;
5397+
sizeAdjust: string;
5398+
src: string;
5399+
"unicode-range": string;
5400+
unicodeRange: string;
5401+
}
5402+
5403+
declare var CSSFontFaceDescriptors: {
5404+
prototype: CSSFontFaceDescriptors;
5405+
new(): CSSFontFaceDescriptors;
5406+
};
5407+
53695408
/**
53705409
* The **`CSSFontFaceRule`** interface represents an @font-face at-rule.
53715410
*
@@ -5377,7 +5416,7 @@ interface CSSFontFaceRule extends CSSRule {
53775416
*
53785417
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSFontFaceRule/style)
53795418
*/
5380-
readonly style: CSSStyleDeclaration;
5419+
readonly style: CSSFontFaceDescriptors;
53815420
}
53825421

53835422
declare var CSSFontFaceRule: {
@@ -21888,6 +21927,12 @@ declare var Highlight: {
2188821927
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HighlightRegistry)
2188921928
*/
2189021929
interface HighlightRegistry {
21930+
/**
21931+
* The **`highlightsFromPoint()`** method of the HighlightRegistry interface returns an array of objects representing the custom highlights applied at a specific point within the viewport.
21932+
*
21933+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HighlightRegistry/highlightsFromPoint)
21934+
*/
21935+
highlightsFromPoint(x: number, y: number, options?: HighlightsFromPointOptions): HighlightHitResult[];
2189121936
forEach(callbackfn: (value: Highlight, key: string, parent: HighlightRegistry) => void, thisArg?: any): void;
2189221937
}
2189321938

@@ -29455,6 +29500,12 @@ interface RTCIceTransport extends EventTarget {
2945529500
onselectedcandidatepairchange: ((this: RTCIceTransport, ev: Event) => any) | null;
2945629501
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/RTCIceTransport/statechange_event) */
2945729502
onstatechange: ((this: RTCIceTransport, ev: Event) => any) | null;
29503+
/**
29504+
* The **`role`** read-only property of the RTCIceTransport interface indicates which ICE role the transport is fulfilling: that of the controlling agent, or the agent that is being controlled.
29505+
*
29506+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/RTCIceTransport/role)
29507+
*/
29508+
readonly role: RTCIceRole;
2945829509
/**
2945929510
* The **`state`** read-only property of the RTCIceTransport interface returns the current state of the ICE transport, so you can determine the state of ICE gathering in which the ICE agent currently is operating.
2946029511
*
@@ -38277,6 +38328,7 @@ declare var ViewTransitionTypeSet: {
3827738328
interface VisualViewportEventMap {
3827838329
"resize": Event;
3827938330
"scroll": Event;
38331+
"scrollend": Event;
3828038332
}
3828138333

3828238334
/**
@@ -38307,6 +38359,8 @@ interface VisualViewport extends EventTarget {
3830738359
onresize: ((this: VisualViewport, ev: Event) => any) | null;
3830838360
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/VisualViewport/scroll_event) */
3830938361
onscroll: ((this: VisualViewport, ev: Event) => any) | null;
38362+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/VisualViewport/scrollend_event) */
38363+
onscrollend: ((this: VisualViewport, ev: Event) => any) | null;
3831038364
/**
3831138365
* The **`pageLeft`** read-only property of the VisualViewport interface returns the x coordinate of the left edge of the visual viewport relative to the initial containing block origin, in CSS pixels, or 0 if current document is not fully active.
3831238366
*

baselines/ts5.6/dom.generated.d.ts

Lines changed: 55 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1212,6 +1212,15 @@ interface HashChangeEventInit extends EventInit {
12121212
oldURL?: string;
12131213
}
12141214

1215+
interface HighlightHitResult {
1216+
highlight?: Highlight;
1217+
ranges?: AbstractRange[];
1218+
}
1219+
1220+
interface HighlightsFromPointOptions {
1221+
shadowRoots?: ShadowRoot[];
1222+
}
1223+
12151224
interface HkdfParams extends Algorithm {
12161225
hash: HashAlgorithmIdentifier;
12171226
info: BufferSource;
@@ -5366,6 +5375,36 @@ declare var CSSCounterStyleRule: {
53665375
new(): CSSCounterStyleRule;
53675376
};
53685377

5378+
/**
5379+
* The **`CSSFontFaceDescriptors`** interface represents a CSS declaration block for an @font-face at-rule.
5380+
*
5381+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSFontFaceDescriptors)
5382+
*/
5383+
interface CSSFontFaceDescriptors extends CSSStyleDeclarationBase {
5384+
"font-display": string;
5385+
"font-family": string;
5386+
"font-feature-settings": string;
5387+
"font-stretch": string;
5388+
"font-style": string;
5389+
"font-weight": string;
5390+
fontDisplay: string;
5391+
fontFamily: string;
5392+
fontFeatureSettings: string;
5393+
fontStretch: string;
5394+
fontStyle: string;
5395+
fontWeight: string;
5396+
"size-adjust": string;
5397+
sizeAdjust: string;
5398+
src: string;
5399+
"unicode-range": string;
5400+
unicodeRange: string;
5401+
}
5402+
5403+
declare var CSSFontFaceDescriptors: {
5404+
prototype: CSSFontFaceDescriptors;
5405+
new(): CSSFontFaceDescriptors;
5406+
};
5407+
53695408
/**
53705409
* The **`CSSFontFaceRule`** interface represents an @font-face at-rule.
53715410
*
@@ -5377,7 +5416,7 @@ interface CSSFontFaceRule extends CSSRule {
53775416
*
53785417
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSFontFaceRule/style)
53795418
*/
5380-
get style(): CSSStyleDeclaration;
5419+
get style(): CSSFontFaceDescriptors;
53815420
set style(cssText: string);
53825421
}
53835422

@@ -21909,6 +21948,12 @@ declare var Highlight: {
2190921948
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HighlightRegistry)
2191021949
*/
2191121950
interface HighlightRegistry {
21951+
/**
21952+
* The **`highlightsFromPoint()`** method of the HighlightRegistry interface returns an array of objects representing the custom highlights applied at a specific point within the viewport.
21953+
*
21954+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HighlightRegistry/highlightsFromPoint)
21955+
*/
21956+
highlightsFromPoint(x: number, y: number, options?: HighlightsFromPointOptions): HighlightHitResult[];
2191221957
forEach(callbackfn: (value: Highlight, key: string, parent: HighlightRegistry) => void, thisArg?: any): void;
2191321958
}
2191421959

@@ -29476,6 +29521,12 @@ interface RTCIceTransport extends EventTarget {
2947629521
onselectedcandidatepairchange: ((this: RTCIceTransport, ev: Event) => any) | null;
2947729522
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/RTCIceTransport/statechange_event) */
2947829523
onstatechange: ((this: RTCIceTransport, ev: Event) => any) | null;
29524+
/**
29525+
* The **`role`** read-only property of the RTCIceTransport interface indicates which ICE role the transport is fulfilling: that of the controlling agent, or the agent that is being controlled.
29526+
*
29527+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/RTCIceTransport/role)
29528+
*/
29529+
readonly role: RTCIceRole;
2947929530
/**
2948029531
* The **`state`** read-only property of the RTCIceTransport interface returns the current state of the ICE transport, so you can determine the state of ICE gathering in which the ICE agent currently is operating.
2948129532
*
@@ -38300,6 +38351,7 @@ declare var ViewTransitionTypeSet: {
3830038351
interface VisualViewportEventMap {
3830138352
"resize": Event;
3830238353
"scroll": Event;
38354+
"scrollend": Event;
3830338355
}
3830438356

3830538357
/**
@@ -38330,6 +38382,8 @@ interface VisualViewport extends EventTarget {
3833038382
onresize: ((this: VisualViewport, ev: Event) => any) | null;
3833138383
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/VisualViewport/scroll_event) */
3833238384
onscroll: ((this: VisualViewport, ev: Event) => any) | null;
38385+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/VisualViewport/scrollend_event) */
38386+
onscrollend: ((this: VisualViewport, ev: Event) => any) | null;
3833338387
/**
3833438388
* The **`pageLeft`** read-only property of the VisualViewport interface returns the x coordinate of the left edge of the visual viewport relative to the initial containing block origin, in CSS pixels, or 0 if current document is not fully active.
3833538389
*

0 commit comments

Comments
 (0)