Skip to content

Commit c5dcd9e

Browse files
authored
Merge branch 'microsoft:main' into kdl/method
2 parents fcd4188 + 72684f0 commit c5dcd9e

20 files changed

+306
-552
lines changed

baselines/dom.generated.d.ts

Lines changed: 33 additions & 66 deletions
Original file line numberDiff line numberDiff line change
@@ -6851,6 +6851,7 @@ interface CSSStyleProperties extends CSSStyleDeclaration {
68516851
textAlignLast: string;
68526852
/** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/text-anchor) */
68536853
textAnchor: string;
6854+
textAutospace: string;
68546855
/** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/text-box) */
68556856
textBox: string;
68566857
/** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/text-box-edge) */
@@ -11068,7 +11069,7 @@ interface Element extends Node, ARIAMixin, Animatable, ChildNode, NonDocumentTyp
1106811069
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/fullscreenerror_event) */
1106911070
onfullscreenerror: ((this: Element, ev: Event) => any) | null;
1107011071
/**
11071-
* The **`outerHTML`** attribute of the Element DOM interface gets the serialized HTML fragment describing the element including its descendants.
11072+
* The **`outerHTML`** attribute of the Element interface gets or sets the HTML or XML markup of the element and its descendants, omitting any shadow tree in both cases.
1107211073
*
1107311074
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/outerHTML)
1107411075
*/
@@ -12405,6 +12406,12 @@ interface FontFace {
1240512406
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/FontFace/unicodeRange)
1240612407
*/
1240712408
unicodeRange: string;
12409+
/**
12410+
* The **`variationSettings`** property of the FontFace interface retrieves or sets low-level OpenType or TrueType font variations.
12411+
*
12412+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/FontFace/variationSettings)
12413+
*/
12414+
variationSettings: string;
1240812415
/**
1240912416
* The **`weight`** property of the FontFace interface retrieves or sets the weight of the font.
1241012417
*
@@ -12989,7 +12996,7 @@ interface GlobalEventHandlersEventMap {
1298912996
"focusout": FocusEvent;
1299012997
"formdata": FormDataEvent;
1299112998
"gotpointercapture": PointerEvent;
12992-
"input": Event;
12999+
"input": InputEvent;
1299313000
"invalid": Event;
1299413001
"keydown": KeyboardEvent;
1299513002
"keypress": KeyboardEvent;
@@ -13130,7 +13137,7 @@ interface GlobalEventHandlers {
1313013137
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/gotpointercapture_event) */
1313113138
ongotpointercapture: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
1313213139
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/input_event) */
13133-
oninput: ((this: GlobalEventHandlers, ev: Event) => any) | null;
13140+
oninput: ((this: GlobalEventHandlers, ev: InputEvent) => any) | null;
1313413141
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLInputElement/invalid_event) */
1313513142
oninvalid: ((this: GlobalEventHandlers, ev: Event) => any) | null;
1313613143
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/keydown_event) */
@@ -13575,7 +13582,7 @@ declare var HTMLBodyElement: {
1357513582
*
1357613583
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLButtonElement)
1357713584
*/
13578-
interface HTMLButtonElement extends HTMLElement, PopoverInvokerElement {
13585+
interface HTMLButtonElement extends HTMLElement, PopoverTargetAttributes {
1357913586
/**
1358013587
* The **`HTMLButtonElement.disabled`** property indicates whether the control is disabled, meaning that it does not accept any clicks.
1358113588
*
@@ -15026,7 +15033,7 @@ declare var HTMLImageElement: {
1502615033
*
1502715034
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLInputElement)
1502815035
*/
15029-
interface HTMLInputElement extends HTMLElement, PopoverInvokerElement {
15036+
interface HTMLInputElement extends HTMLElement, PopoverTargetAttributes {
1503015037
/**
1503115038
* The **`accept`** property of the HTMLInputElement interface reflects the input element's `accept` attribute, generally a comma-separated list of unique file type specifiers providing a hint for the expected file type for an `<input>` of type `file`.
1503215039
*
@@ -16403,7 +16410,7 @@ interface HTMLOrSVGElement {
1640316410
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLElement/dataset) */
1640416411
readonly dataset: DOMStringMap;
1640516412
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLElement/nonce) */
16406-
nonce?: string;
16413+
nonce: string;
1640716414
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLElement/tabIndex) */
1640816415
tabIndex: number;
1640916416
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLElement/blur) */
@@ -19598,7 +19605,11 @@ interface LargestContentfulPaint extends PerformanceEntry {
1959819605
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/LargestContentfulPaint/loadTime)
1959919606
*/
1960019607
readonly loadTime: DOMHighResTimeStamp;
19601-
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/LargestContentfulPaint/renderTime) */
19608+
/**
19609+
* The **`renderTime`** read-only property of the LargestContentfulPaint interface represents the time that the element was rendered to the screen.
19610+
*
19611+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/LargestContentfulPaint/renderTime)
19612+
*/
1960219613
readonly renderTime: DOMHighResTimeStamp;
1960319614
/**
1960419615
* The **`size`** read-only property of the LargestContentfulPaint interface returns the intrinsic size of the element that is the largest contentful paint.
@@ -19766,8 +19777,8 @@ interface LockManager {
1976619777
*
1976719778
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/LockManager/request)
1976819779
*/
19769-
request<T>(name: string, callback: LockGrantedCallback<T>): Promise<T>;
19770-
request<T>(name: string, options: LockOptions, callback: LockGrantedCallback<T>): Promise<T>;
19780+
request<T>(name: string, callback: LockGrantedCallback<T>): Promise<Awaited<T>>;
19781+
request<T>(name: string, options: LockOptions, callback: LockGrantedCallback<T>): Promise<Awaited<T>>;
1977119782
}
1977219783

1977319784
declare var LockManager: {
@@ -21888,55 +21899,23 @@ interface NavigatorCookies {
2188821899
}
2188921900

2189021901
interface NavigatorID {
21891-
/**
21892-
* @deprecated
21893-
*
21894-
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Navigator/appCodeName)
21895-
*/
21902+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Navigator/appCodeName) */
2189621903
readonly appCodeName: string;
21897-
/**
21898-
* @deprecated
21899-
*
21900-
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Navigator/appName)
21901-
*/
21904+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Navigator/appName) */
2190221905
readonly appName: string;
21903-
/**
21904-
* @deprecated
21905-
*
21906-
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Navigator/appVersion)
21907-
*/
21906+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Navigator/appVersion) */
2190821907
readonly appVersion: string;
21909-
/**
21910-
* @deprecated
21911-
*
21912-
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Navigator/platform)
21913-
*/
21908+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Navigator/platform) */
2191421909
readonly platform: string;
21915-
/**
21916-
* @deprecated
21917-
*
21918-
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Navigator/product)
21919-
*/
21910+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Navigator/product) */
2192021911
readonly product: string;
21921-
/**
21922-
* @deprecated
21923-
*
21924-
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Navigator/productSub)
21925-
*/
21912+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Navigator/productSub) */
2192621913
readonly productSub: string;
2192721914
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Navigator/userAgent) */
2192821915
readonly userAgent: string;
21929-
/**
21930-
* @deprecated
21931-
*
21932-
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Navigator/vendor)
21933-
*/
21916+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Navigator/vendor) */
2193421917
readonly vendor: string;
21935-
/**
21936-
* @deprecated
21937-
*
21938-
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Navigator/vendorSub)
21939-
*/
21918+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Navigator/vendorSub) */
2194021919
readonly vendorSub: string;
2194121920
}
2194221921

@@ -21979,25 +21958,13 @@ interface NavigatorOnLine {
2197921958
}
2198021959

2198121960
interface NavigatorPlugins {
21982-
/**
21983-
* @deprecated
21984-
*
21985-
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Navigator/mimeTypes)
21986-
*/
21961+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Navigator/mimeTypes) */
2198721962
readonly mimeTypes: MimeTypeArray;
2198821963
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Navigator/pdfViewerEnabled) */
2198921964
readonly pdfViewerEnabled: boolean;
21990-
/**
21991-
* @deprecated
21992-
*
21993-
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Navigator/plugins)
21994-
*/
21965+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Navigator/plugins) */
2199521966
readonly plugins: PluginArray;
21996-
/**
21997-
* @deprecated
21998-
*
21999-
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Navigator/javaEnabled)
22000-
*/
21967+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Navigator/javaEnabled) */
2200121968
javaEnabled(): boolean;
2200221969
}
2200321970

@@ -24499,7 +24466,7 @@ declare var PopStateEvent: {
2449924466
new(type: string, eventInitDict?: PopStateEventInit): PopStateEvent;
2450024467
};
2450124468

24502-
interface PopoverInvokerElement {
24469+
interface PopoverTargetAttributes {
2450324470
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLButtonElement/popoverTargetAction) */
2450424471
popoverTargetAction: string;
2450524472
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLButtonElement/popoverTargetElement) */
@@ -39600,7 +39567,7 @@ declare var onformdata: ((this: Window, ev: FormDataEvent) => any) | null;
3960039567
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/gotpointercapture_event) */
3960139568
declare var ongotpointercapture: ((this: Window, ev: PointerEvent) => any) | null;
3960239569
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/input_event) */
39603-
declare var oninput: ((this: Window, ev: Event) => any) | null;
39570+
declare var oninput: ((this: Window, ev: InputEvent) => any) | null;
3960439571
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLInputElement/invalid_event) */
3960539572
declare var oninvalid: ((this: Window, ev: Event) => any) | null;
3960639573
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/keydown_event) */

baselines/serviceworker.generated.d.ts

Lines changed: 14 additions & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -495,7 +495,7 @@ interface PromiseRejectionEventInit extends EventInit {
495495
}
496496

497497
interface PushEventInit extends ExtendableEventInit {
498-
data?: PushMessageDataInit;
498+
data?: PushMessageDataInit | null;
499499
}
500500

501501
interface PushSubscriptionChangeEventInit extends ExtendableEventInit {
@@ -3966,6 +3966,12 @@ interface FontFace {
39663966
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/FontFace/unicodeRange)
39673967
*/
39683968
unicodeRange: string;
3969+
/**
3970+
* The **`variationSettings`** property of the FontFace interface retrieves or sets low-level OpenType or TrueType font variations.
3971+
*
3972+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/FontFace/variationSettings)
3973+
*/
3974+
variationSettings: string;
39693975
/**
39703976
* The **`weight`** property of the FontFace interface retrieves or sets the weight of the font.
39713977
*
@@ -5024,8 +5030,8 @@ interface LockManager {
50245030
*
50255031
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/LockManager/request)
50265032
*/
5027-
request<T>(name: string, callback: LockGrantedCallback<T>): Promise<T>;
5028-
request<T>(name: string, options: LockOptions, callback: LockGrantedCallback<T>): Promise<T>;
5033+
request<T>(name: string, callback: LockGrantedCallback<T>): Promise<Awaited<T>>;
5034+
request<T>(name: string, options: LockOptions, callback: LockGrantedCallback<T>): Promise<Awaited<T>>;
50295035
}
50305036

50315037
declare var LockManager: {
@@ -5237,35 +5243,15 @@ interface NavigatorConcurrentHardware {
52375243
}
52385244

52395245
interface NavigatorID {
5240-
/**
5241-
* @deprecated
5242-
*
5243-
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Navigator/appCodeName)
5244-
*/
5246+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Navigator/appCodeName) */
52455247
readonly appCodeName: string;
5246-
/**
5247-
* @deprecated
5248-
*
5249-
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Navigator/appName)
5250-
*/
5248+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Navigator/appName) */
52515249
readonly appName: string;
5252-
/**
5253-
* @deprecated
5254-
*
5255-
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Navigator/appVersion)
5256-
*/
5250+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Navigator/appVersion) */
52575251
readonly appVersion: string;
5258-
/**
5259-
* @deprecated
5260-
*
5261-
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Navigator/platform)
5262-
*/
5252+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Navigator/platform) */
52635253
readonly platform: string;
5264-
/**
5265-
* @deprecated
5266-
*
5267-
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Navigator/product)
5268-
*/
5254+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Navigator/product) */
52695255
readonly product: string;
52705256
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Navigator/userAgent) */
52715257
readonly userAgent: string;

baselines/sharedworker.generated.d.ts

Lines changed: 13 additions & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -3649,6 +3649,12 @@ interface FontFace {
36493649
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/FontFace/unicodeRange)
36503650
*/
36513651
unicodeRange: string;
3652+
/**
3653+
* The **`variationSettings`** property of the FontFace interface retrieves or sets low-level OpenType or TrueType font variations.
3654+
*
3655+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/FontFace/variationSettings)
3656+
*/
3657+
variationSettings: string;
36523658
/**
36533659
* The **`weight`** property of the FontFace interface retrieves or sets the weight of the font.
36543660
*
@@ -4707,8 +4713,8 @@ interface LockManager {
47074713
*
47084714
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/LockManager/request)
47094715
*/
4710-
request<T>(name: string, callback: LockGrantedCallback<T>): Promise<T>;
4711-
request<T>(name: string, options: LockOptions, callback: LockGrantedCallback<T>): Promise<T>;
4716+
request<T>(name: string, callback: LockGrantedCallback<T>): Promise<Awaited<T>>;
4717+
request<T>(name: string, options: LockOptions, callback: LockGrantedCallback<T>): Promise<Awaited<T>>;
47124718
}
47134719

47144720
declare var LockManager: {
@@ -4920,35 +4926,15 @@ interface NavigatorConcurrentHardware {
49204926
}
49214927

49224928
interface NavigatorID {
4923-
/**
4924-
* @deprecated
4925-
*
4926-
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Navigator/appCodeName)
4927-
*/
4929+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Navigator/appCodeName) */
49284930
readonly appCodeName: string;
4929-
/**
4930-
* @deprecated
4931-
*
4932-
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Navigator/appName)
4933-
*/
4931+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Navigator/appName) */
49344932
readonly appName: string;
4935-
/**
4936-
* @deprecated
4937-
*
4938-
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Navigator/appVersion)
4939-
*/
4933+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Navigator/appVersion) */
49404934
readonly appVersion: string;
4941-
/**
4942-
* @deprecated
4943-
*
4944-
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Navigator/platform)
4945-
*/
4935+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Navigator/platform) */
49464936
readonly platform: string;
4947-
/**
4948-
* @deprecated
4949-
*
4950-
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Navigator/product)
4951-
*/
4937+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Navigator/product) */
49524938
readonly product: string;
49534939
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Navigator/userAgent) */
49544940
readonly userAgent: string;

0 commit comments

Comments
 (0)