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
132 changes: 45 additions & 87 deletions baselines/dom.generated.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -351,7 +351,7 @@ interface CSSNumericType {
}

interface CSSStyleSheetInit {
baseURL?: string;
baseURL?: string | null;
disabled?: boolean;
media?: MediaList | string;
}
Expand Down Expand Up @@ -3152,6 +3152,7 @@ interface WebTransportHash {
interface WebTransportOptions {
allowPooling?: boolean;
congestionControl?: WebTransportCongestionControl;
headers?: HeadersInit;
protocols?: string[];
requireUnreliable?: boolean;
serverCertificateHashes?: WebTransportHash[];
Expand Down Expand Up @@ -5376,7 +5377,7 @@ declare var CSSCounterStyleRule: {
*/
interface CSSFontFaceRule extends CSSRule {
/**
* The read-only **`style`** property of the CSSFontFaceRule interface contains a CSSStyleDeclaration object representing the descriptors available in the @font-face rule's body.
* The read-only **`style`** property of the CSSFontFaceRule interface returns a CSSFontFaceDescriptors object representing the descriptors available in the @font-face rule's body.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSFontFaceRule/style)
*/
Expand Down Expand Up @@ -7389,7 +7390,7 @@ interface CSSStyleProperties extends CSSStyleDeclarationBase {
*/
columnWidth: string;
/**
* The **`columns`** CSS shorthand property sets the number of columns to use when drawing an element's contents, as well as those columns' widths.
* The **`columns`** CSS shorthand property sets the maximum number of columns to use when drawing an element's contents, along with the minimum width and maximum height of the element's columns.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/Reference/Properties/columns)
*/
Expand Down Expand Up @@ -11288,7 +11289,7 @@ declare var CryptoKey: {
};

/**
* The **`CustomElementRegistry`** interface provides methods for registering custom elements and querying registered elements. To get an instance of it, use the window.customElements property.
* The **`CustomElementRegistry`** interface provides methods for registering custom elements and querying registered elements. To get an instance of it, use the window.customElements property. To create a scoped registry, use the CustomElementRegistry() constructor.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CustomElementRegistry)
*/
Expand All @@ -11311,7 +11312,11 @@ interface CustomElementRegistry {
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CustomElementRegistry/getName)
*/
getName(constructor: CustomElementConstructor): string | null;
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CustomElementRegistry/initialize) */
/**
* The **`initialize()`** method of the CustomElementRegistry interface associates this registry with a DOM subtree, setting the customElementRegistry of each inclusive descendant that doesn't already have one, and attempting to upgrade any custom elements found.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CustomElementRegistry/initialize)
*/
initialize(root: Node): void;
/**
* The **`upgrade()`** method of the CustomElementRegistry interface upgrades all shadow-containing custom elements in a Node subtree, even before they are connected to the main document.
Expand Down Expand Up @@ -13621,7 +13626,11 @@ interface Element extends Node, ARIAMixin, Animatable, ChildNode, NonDocumentTyp
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/currentCSSZoom)
*/
readonly currentCSSZoom: number;
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/customElementRegistry) */
/**
* The **`customElementRegistry`** read-only property of the Element interface returns the CustomElementRegistry object associated with this element, or null if one has not been set.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/customElementRegistry)
*/
readonly customElementRegistry: CustomElementRegistry | null;
/**
* The **`id`** property of the Element interface represents the element's identifier, reflecting the id global attribute.
Expand Down Expand Up @@ -17096,7 +17105,7 @@ declare var HTMLAllCollection: {
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLAnchorElement)
*/
interface HTMLAnchorElement extends HTMLElement, HTMLHyperlinkElementUtils {
interface HTMLAnchorElement extends HTMLElement, HTMLHyperlinkElementUtils, HyperlinkElementUtils {
/** @deprecated */
charset: string;
/** @deprecated */
Expand Down Expand Up @@ -17178,7 +17187,7 @@ declare var HTMLAnchorElement: {
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLAreaElement)
*/
interface HTMLAreaElement extends HTMLElement, HTMLHyperlinkElementUtils {
interface HTMLAreaElement extends HTMLElement, HTMLHyperlinkElementUtils, HyperlinkElementUtils {
/**
* The **`alt`** property of the HTMLAreaElement interface specifies the text of the hyperlink, defining the textual label for an image map's link. It reflects the <area> element's alt attribute.
*
Expand Down Expand Up @@ -18430,30 +18439,6 @@ declare var HTMLHtmlElement: {
};

interface HTMLHyperlinkElementUtils {
/**
* Returns the hyperlink's URL's fragment (includes leading "#" if non-empty).
*
* Can be set, to change the URL's fragment (ignores leading "#").
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLAnchorElement/hash)
*/
hash: string;
/**
* Returns the hyperlink's URL's host and port (if different from the default port for the scheme).
*
* Can be set, to change the URL's host and port.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLAnchorElement/host)
*/
host: string;
/**
* Returns the hyperlink's URL's host.
*
* Can be set, to change the URL's host.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLAnchorElement/hostname)
*/
hostname: string;
/**
* Returns the hyperlink's URL.
*
Expand All @@ -18463,60 +18448,6 @@ interface HTMLHyperlinkElementUtils {
*/
href: string;
toString(): string;
/**
* Returns the hyperlink's URL's origin.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLAnchorElement/origin)
*/
readonly origin: string;
/**
* Returns the hyperlink's URL's password.
*
* Can be set, to change the URL's password.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLAnchorElement/password)
*/
password: string;
/**
* Returns the hyperlink's URL's path.
*
* Can be set, to change the URL's path.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLAnchorElement/pathname)
*/
pathname: string;
/**
* Returns the hyperlink's URL's port.
*
* Can be set, to change the URL's port.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLAnchorElement/port)
*/
port: string;
/**
* Returns the hyperlink's URL's scheme.
*
* Can be set, to change the URL's scheme.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLAnchorElement/protocol)
*/
protocol: string;
/**
* Returns the hyperlink's URL's query (includes leading "?" if non-empty).
*
* Can be set, to change the URL's query (ignores leading "?").
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLAnchorElement/search)
*/
search: string;
/**
* Returns the hyperlink's URL's username.
*
* Can be set, to change the URL's username.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLAnchorElement/username)
*/
username: string;
}

/**
Expand Down Expand Up @@ -21399,7 +21330,11 @@ interface HTMLTemplateElement extends HTMLElement {
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLTemplateElement/shadowRootClonable)
*/
shadowRootClonable: boolean;
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLTemplateElement/shadowRootCustomElementRegistry) */
/**
* The **`shadowRootCustomElementRegistry`** property of the HTMLTemplateElement interface reflects the value of the shadowrootcustomelementregistry attribute of the associated <template> element.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLTemplateElement/shadowRootCustomElementRegistry)
*/
shadowRootCustomElementRegistry: string;
/**
* The **`shadowRootDelegatesFocus`** property of the HTMLTemplateElement interface reflects the value of the shadowrootdelegatesfocus attribute of the associated <template> element.
Expand Down Expand Up @@ -22047,6 +21982,29 @@ declare var History: {
new(): History;
};

interface HyperlinkElementUtils {
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLAnchorElement/hash) */
hash: string;
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLAnchorElement/host) */
host: string;
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLAnchorElement/hostname) */
hostname: string;
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLAnchorElement/origin) */
readonly origin: string;
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLAnchorElement/password) */
password: string;
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLAnchorElement/pathname) */
pathname: string;
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLAnchorElement/port) */
port: string;
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLAnchorElement/protocol) */
protocol: string;
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLAnchorElement/search) */
search: string;
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLAnchorElement/username) */
username: string;
}

/**
* The **`IDBCursor`** interface of the IndexedDB API represents a cursor for traversing or iterating over multiple records in a database.
*
Expand Down
1 change: 1 addition & 0 deletions baselines/serviceworker.generated.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1235,6 +1235,7 @@ interface WebTransportHash {
interface WebTransportOptions {
allowPooling?: boolean;
congestionControl?: WebTransportCongestionControl;
headers?: HeadersInit;
protocols?: string[];
requireUnreliable?: boolean;
serverCertificateHashes?: WebTransportHash[];
Expand Down
1 change: 1 addition & 0 deletions baselines/sharedworker.generated.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1165,6 +1165,7 @@ interface WebTransportHash {
interface WebTransportOptions {
allowPooling?: boolean;
congestionControl?: WebTransportCongestionControl;
headers?: HeadersInit;
protocols?: string[];
requireUnreliable?: boolean;
serverCertificateHashes?: WebTransportHash[];
Expand Down
Loading