Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
31 changes: 19 additions & 12 deletions baselines/dom.generated.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3195,6 +3195,11 @@ interface WindowPostMessageOptions extends StructuredSerializeOptions {
targetOrigin?: string;
}

interface WorkerAndParameters {
type?: RTCRtpScriptTransformType;
worker: Worker;
}

interface WorkerOptions {
credentials?: RequestCredentials;
name?: string;
Expand Down Expand Up @@ -9299,7 +9304,7 @@ interface CSSStyleProperties extends CSSStyleDeclarationBase {
*/
vectorEffect: string;
/**
* The vertical-align CSS property sets vertical alignment of an inline, inline-block or table-cell box.
* The vertical-align CSS shorthand property sets the vertical alignment of an inline, inline-block, or table-cell box.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/Reference/Properties/vertical-align)
*/
Expand Down Expand Up @@ -10494,7 +10499,7 @@ interface CanvasRect {
*/
interface CanvasRenderingContext2D extends CanvasCompositing, CanvasDrawImage, CanvasDrawPath, CanvasFillStrokeStyles, CanvasFilters, CanvasImageData, CanvasImageSmoothing, CanvasPath, CanvasPathDrawingStyles, CanvasRect, CanvasSettings, CanvasShadowStyles, CanvasState, CanvasText, CanvasTextDrawingStyles, CanvasTransform, CanvasUserInterface {
/**
* The **`CanvasRenderingContext2D.canvas`** property, part of the Canvas API, is a read-only reference to the HTMLCanvasElement object that is associated with a given context. It might be null if there is no associated <canvas> element.
* The **`CanvasRenderingContext2D.canvas`** property, part of the Canvas API, is a read-only reference to the HTMLCanvasElement object that is associated with a given context.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CanvasRenderingContext2D/canvas)
*/
Expand Down Expand Up @@ -11504,7 +11509,7 @@ declare var DOMException: {
*/
interface DOMImplementation {
/**
* The **`DOMImplementation.createDocument()`** method creates and returns an XMLDocument.
* The **`createDocument()`** method of the DOMImplementation interface creates and returns an XMLDocument.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMImplementation/createDocument)
*/
Expand Down Expand Up @@ -13000,13 +13005,13 @@ interface Document extends Node, DocumentOrShadowRoot, FontFaceSource, GlobalEve
*/
close(): void;
/**
* The **`Document.createAttribute()`** method creates a new attribute node, and returns it. The object created is a node implementing the Attr interface. The DOM does not enforce what sort of attributes can be added to a particular element in this manner.
* The **`createAttribute()`** method of the Document interface creates a new attribute node.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Document/createAttribute)
*/
createAttribute(localName: string): Attr;
/**
* The **`Document.createAttributeNS()`** method creates a new attribute node with the specified namespace URI and qualified name, and returns it. The object created is a node implementing the Attr interface. The DOM does not enforce what sort of attributes can be added to a particular element in this manner.
* The **`createAttributeNS()`** method of the Document interface creates a new attribute node with the specified namespace URI and qualified name.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Document/createAttributeNS)
*/
Expand All @@ -13030,7 +13035,7 @@ interface Document extends Node, DocumentOrShadowRoot, FontFaceSource, GlobalEve
*/
createDocumentFragment(): DocumentFragment;
/**
* In an HTML document, the **`document.createElement()`** method creates the HTML element specified by localName, or an HTMLUnknownElement if localName isn't recognized.
* The **`createElement()`** method of the Document interface creates a new HTMLElement that has the specified localName.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Document/createElement)
*/
Expand All @@ -13039,7 +13044,7 @@ interface Document extends Node, DocumentOrShadowRoot, FontFaceSource, GlobalEve
createElement<K extends keyof HTMLElementDeprecatedTagNameMap>(tagName: K, options?: ElementCreationOptions): HTMLElementDeprecatedTagNameMap[K];
createElement(tagName: string, options?: ElementCreationOptions): HTMLElement;
/**
* Creates an element with the specified namespace URI and qualified name.
* The **`createElementNS()`** method of the Document interface creates a new element with the specified namespace URI and qualified name.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Document/createElementNS)
*/
Expand Down Expand Up @@ -14012,7 +14017,7 @@ interface Element extends Node, ARIAMixin, Animatable, ChildNode, NonDocumentTyp
*/
setPointerCapture(pointerId: number): void;
/**
* The **`toggleAttribute()`** method of the Element interface toggles a Boolean attribute (removing it if it is present and adding it if it is not present) on the given element.
* The **`toggleAttribute()`** method of the Element interface toggles a Boolean attribute on the given element, removing it if present and adding it if not present.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/toggleAttribute)
*/
Expand Down Expand Up @@ -18529,7 +18534,7 @@ interface HTMLIFrameElement extends HTMLElement {
*/
height: string;
/**
* The **`loading`** property of the HTMLIFrameElement interface is a string that provides a hint to the user agent indicating whether the iframe should be loaded immediately on page load, or only when it is needed.
* The **`loading`** property of the HTMLIFrameElement interface is a string that provides a hint to the browser indicating whether the iframe should be loaded immediately on page load, or only when it is needed.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLIFrameElement/loading)
*/
Expand Down Expand Up @@ -18672,7 +18677,7 @@ interface HTMLImageElement extends HTMLElement {
*/
isMap: boolean;
/**
* The **`loading`** property of the HTMLImageElement interface provides a hint to the user agent on how to handle the loading of the image which is currently outside the window's visual viewport. This helps to optimize the loading of the document's contents by postponing loading the image until it's expected to be needed, rather than immediately during the initial page load. It reflects the <img> element's loading content attribute.
* The **`loading`** property of the HTMLImageElement interface provides a hint to the browser on how to handle the loading of the image which is currently outside the window's visual viewport. This helps to optimize the loading of the document's contents by postponing loading the image until it's expected to be needed, rather than immediately during the initial page load. It reflects the <img> element's loading content attribute.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLImageElement/loading)
*/
Expand Down Expand Up @@ -29909,7 +29914,7 @@ interface RTCRtpScriptTransform {

declare var RTCRtpScriptTransform: {
prototype: RTCRtpScriptTransform;
new(worker: Worker, options?: any, transfer?: any[]): RTCRtpScriptTransform;
new(workerOrWorkerAndParameters: WorkerOrWorkerAndParameters, options?: any, transfer?: any[]): RTCRtpScriptTransform;
};

/**
Expand Down Expand Up @@ -34996,7 +35001,7 @@ interface SecurityPolicyViolationEvent extends Event {
*/
readonly blockedURI: string;
/**
* The **`columnNumber`** read-only property of the SecurityPolicyViolationEvent interface is the column number in the document or worker script at which the Content Security Policy (CSP) violation occurred.
* The **`columnNumber`** read-only property of the SecurityPolicyViolationEvent interface is the character position in the source file line of the document or worker script at which the Content Security Policy (CSP) violation occurred.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/SecurityPolicyViolationEvent/columnNumber)
*/
Expand Down Expand Up @@ -44468,6 +44473,7 @@ type URLPatternInput = string | URLPatternInit;
type Uint32List = Uint32Array<ArrayBufferLike> | GLuint[];
type VibratePattern = number | number[];
type WindowProxy = Window;
type WorkerOrWorkerAndParameters = Worker | WorkerAndParameters;
type XMLHttpRequestBodyInit = Blob | BufferSource | FormData | URLSearchParams | string;
type AacBitstreamFormat = "aac" | "adts";
type AlignSetting = "center" | "end" | "left" | "right" | "start";
Expand Down Expand Up @@ -44650,6 +44656,7 @@ type RTCPeerConnectionState = "closed" | "connected" | "connecting" | "disconnec
type RTCPriorityType = "high" | "low" | "medium" | "very-low";
type RTCQualityLimitationReason = "bandwidth" | "cpu" | "none" | "other";
type RTCRtcpMuxPolicy = "require";
type RTCRtpScriptTransformType = "sframe";
type RTCRtpTransceiverDirection = "inactive" | "recvonly" | "sendonly" | "sendrecv" | "stopped";
type RTCSctpTransportState = "closed" | "connected" | "connecting";
type RTCSdpType = "answer" | "offer" | "pranswer" | "rollback";
Expand Down
2 changes: 1 addition & 1 deletion baselines/serviceworker.generated.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8490,7 +8490,7 @@ interface SecurityPolicyViolationEvent extends Event {
*/
readonly blockedURI: string;
/**
* The **`columnNumber`** read-only property of the SecurityPolicyViolationEvent interface is the column number in the document or worker script at which the Content Security Policy (CSP) violation occurred.
* The **`columnNumber`** read-only property of the SecurityPolicyViolationEvent interface is the character position in the source file line of the document or worker script at which the Content Security Policy (CSP) violation occurred.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/SecurityPolicyViolationEvent/columnNumber)
*/
Expand Down
2 changes: 1 addition & 1 deletion baselines/sharedworker.generated.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8073,7 +8073,7 @@ interface SecurityPolicyViolationEvent extends Event {
*/
readonly blockedURI: string;
/**
* The **`columnNumber`** read-only property of the SecurityPolicyViolationEvent interface is the column number in the document or worker script at which the Content Security Policy (CSP) violation occurred.
* The **`columnNumber`** read-only property of the SecurityPolicyViolationEvent interface is the character position in the source file line of the document or worker script at which the Content Security Policy (CSP) violation occurred.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/SecurityPolicyViolationEvent/columnNumber)
*/
Expand Down
31 changes: 19 additions & 12 deletions baselines/ts5.5/dom.generated.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3192,6 +3192,11 @@ interface WindowPostMessageOptions extends StructuredSerializeOptions {
targetOrigin?: string;
}

interface WorkerAndParameters {
type?: RTCRtpScriptTransformType;
worker: Worker;
}

interface WorkerOptions {
credentials?: RequestCredentials;
name?: string;
Expand Down Expand Up @@ -9289,7 +9294,7 @@ interface CSSStyleProperties extends CSSStyleDeclarationBase {
*/
vectorEffect: string;
/**
* The vertical-align CSS property sets vertical alignment of an inline, inline-block or table-cell box.
* The vertical-align CSS shorthand property sets the vertical alignment of an inline, inline-block, or table-cell box.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/Reference/Properties/vertical-align)
*/
Expand Down Expand Up @@ -10483,7 +10488,7 @@ interface CanvasRect {
*/
interface CanvasRenderingContext2D extends CanvasCompositing, CanvasDrawImage, CanvasDrawPath, CanvasFillStrokeStyles, CanvasFilters, CanvasImageData, CanvasImageSmoothing, CanvasPath, CanvasPathDrawingStyles, CanvasRect, CanvasSettings, CanvasShadowStyles, CanvasState, CanvasText, CanvasTextDrawingStyles, CanvasTransform, CanvasUserInterface {
/**
* The **`CanvasRenderingContext2D.canvas`** property, part of the Canvas API, is a read-only reference to the HTMLCanvasElement object that is associated with a given context. It might be null if there is no associated <canvas> element.
* The **`CanvasRenderingContext2D.canvas`** property, part of the Canvas API, is a read-only reference to the HTMLCanvasElement object that is associated with a given context.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CanvasRenderingContext2D/canvas)
*/
Expand Down Expand Up @@ -11493,7 +11498,7 @@ declare var DOMException: {
*/
interface DOMImplementation {
/**
* The **`DOMImplementation.createDocument()`** method creates and returns an XMLDocument.
* The **`createDocument()`** method of the DOMImplementation interface creates and returns an XMLDocument.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMImplementation/createDocument)
*/
Expand Down Expand Up @@ -12989,13 +12994,13 @@ interface Document extends Node, DocumentOrShadowRoot, FontFaceSource, GlobalEve
*/
close(): void;
/**
* The **`Document.createAttribute()`** method creates a new attribute node, and returns it. The object created is a node implementing the Attr interface. The DOM does not enforce what sort of attributes can be added to a particular element in this manner.
* The **`createAttribute()`** method of the Document interface creates a new attribute node.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Document/createAttribute)
*/
createAttribute(localName: string): Attr;
/**
* The **`Document.createAttributeNS()`** method creates a new attribute node with the specified namespace URI and qualified name, and returns it. The object created is a node implementing the Attr interface. The DOM does not enforce what sort of attributes can be added to a particular element in this manner.
* The **`createAttributeNS()`** method of the Document interface creates a new attribute node with the specified namespace URI and qualified name.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Document/createAttributeNS)
*/
Expand All @@ -13019,7 +13024,7 @@ interface Document extends Node, DocumentOrShadowRoot, FontFaceSource, GlobalEve
*/
createDocumentFragment(): DocumentFragment;
/**
* In an HTML document, the **`document.createElement()`** method creates the HTML element specified by localName, or an HTMLUnknownElement if localName isn't recognized.
* The **`createElement()`** method of the Document interface creates a new HTMLElement that has the specified localName.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Document/createElement)
*/
Expand All @@ -13028,7 +13033,7 @@ interface Document extends Node, DocumentOrShadowRoot, FontFaceSource, GlobalEve
createElement<K extends keyof HTMLElementDeprecatedTagNameMap>(tagName: K, options?: ElementCreationOptions): HTMLElementDeprecatedTagNameMap[K];
createElement(tagName: string, options?: ElementCreationOptions): HTMLElement;
/**
* Creates an element with the specified namespace URI and qualified name.
* The **`createElementNS()`** method of the Document interface creates a new element with the specified namespace URI and qualified name.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Document/createElementNS)
*/
Expand Down Expand Up @@ -13999,7 +14004,7 @@ interface Element extends Node, ARIAMixin, Animatable, ChildNode, NonDocumentTyp
*/
setPointerCapture(pointerId: number): void;
/**
* The **`toggleAttribute()`** method of the Element interface toggles a Boolean attribute (removing it if it is present and adding it if it is not present) on the given element.
* The **`toggleAttribute()`** method of the Element interface toggles a Boolean attribute on the given element, removing it if present and adding it if not present.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/toggleAttribute)
*/
Expand Down Expand Up @@ -18512,7 +18517,7 @@ interface HTMLIFrameElement extends HTMLElement {
*/
height: string;
/**
* The **`loading`** property of the HTMLIFrameElement interface is a string that provides a hint to the user agent indicating whether the iframe should be loaded immediately on page load, or only when it is needed.
* The **`loading`** property of the HTMLIFrameElement interface is a string that provides a hint to the browser indicating whether the iframe should be loaded immediately on page load, or only when it is needed.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLIFrameElement/loading)
*/
Expand Down Expand Up @@ -18654,7 +18659,7 @@ interface HTMLImageElement extends HTMLElement {
*/
isMap: boolean;
/**
* The **`loading`** property of the HTMLImageElement interface provides a hint to the user agent on how to handle the loading of the image which is currently outside the window's visual viewport. This helps to optimize the loading of the document's contents by postponing loading the image until it's expected to be needed, rather than immediately during the initial page load. It reflects the <img> element's loading content attribute.
* The **`loading`** property of the HTMLImageElement interface provides a hint to the browser on how to handle the loading of the image which is currently outside the window's visual viewport. This helps to optimize the loading of the document's contents by postponing loading the image until it's expected to be needed, rather than immediately during the initial page load. It reflects the <img> element's loading content attribute.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLImageElement/loading)
*/
Expand Down Expand Up @@ -29885,7 +29890,7 @@ interface RTCRtpScriptTransform {

declare var RTCRtpScriptTransform: {
prototype: RTCRtpScriptTransform;
new(worker: Worker, options?: any, transfer?: any[]): RTCRtpScriptTransform;
new(workerOrWorkerAndParameters: WorkerOrWorkerAndParameters, options?: any, transfer?: any[]): RTCRtpScriptTransform;
};

/**
Expand Down Expand Up @@ -34971,7 +34976,7 @@ interface SecurityPolicyViolationEvent extends Event {
*/
readonly blockedURI: string;
/**
* The **`columnNumber`** read-only property of the SecurityPolicyViolationEvent interface is the column number in the document or worker script at which the Content Security Policy (CSP) violation occurred.
* The **`columnNumber`** read-only property of the SecurityPolicyViolationEvent interface is the character position in the source file line of the document or worker script at which the Content Security Policy (CSP) violation occurred.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/SecurityPolicyViolationEvent/columnNumber)
*/
Expand Down Expand Up @@ -44442,6 +44447,7 @@ type URLPatternInput = string | URLPatternInit;
type Uint32List = Uint32Array | GLuint[];
type VibratePattern = number | number[];
type WindowProxy = Window;
type WorkerOrWorkerAndParameters = Worker | WorkerAndParameters;
type XMLHttpRequestBodyInit = Blob | BufferSource | FormData | URLSearchParams | string;
type AacBitstreamFormat = "aac" | "adts";
type AlignSetting = "center" | "end" | "left" | "right" | "start";
Expand Down Expand Up @@ -44624,6 +44630,7 @@ type RTCPeerConnectionState = "closed" | "connected" | "connecting" | "disconnec
type RTCPriorityType = "high" | "low" | "medium" | "very-low";
type RTCQualityLimitationReason = "bandwidth" | "cpu" | "none" | "other";
type RTCRtcpMuxPolicy = "require";
type RTCRtpScriptTransformType = "sframe";
type RTCRtpTransceiverDirection = "inactive" | "recvonly" | "sendonly" | "sendrecv" | "stopped";
type RTCSctpTransportState = "closed" | "connected" | "connecting";
type RTCSdpType = "answer" | "offer" | "pranswer" | "rollback";
Expand Down
Loading
Loading