diff --git a/baselines/dom.generated.d.ts b/baselines/dom.generated.d.ts index d693a3cd6..26ae854e2 100644 --- a/baselines/dom.generated.d.ts +++ b/baselines/dom.generated.d.ts @@ -351,7 +351,7 @@ interface CSSNumericType { } interface CSSStyleSheetInit { - baseURL?: string; + baseURL?: string | null; disabled?: boolean; media?: MediaList | string; } @@ -3152,6 +3152,7 @@ interface WebTransportHash { interface WebTransportOptions { allowPooling?: boolean; congestionControl?: WebTransportCongestionControl; + headers?: HeadersInit; protocols?: string[]; requireUnreliable?: boolean; serverCertificateHashes?: WebTransportHash[]; @@ -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) */ @@ -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) */ @@ -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) */ @@ -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. @@ -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. @@ -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 */ @@ -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 element's alt attribute. * @@ -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. * @@ -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; } /** @@ -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