From 01689394c118bb37e7fa83035f4a584000c16915 Mon Sep 17 00:00:00 2001 From: Jake Bailey <5341706+jakebailey@users.noreply.github.com> Date: Sun, 22 Feb 2026 16:38:50 -0800 Subject: [PATCH] DOM update --- src/lib/dom.generated.d.ts | 13 +++++++------ src/lib/webworker.generated.d.ts | 2 +- 2 files changed, 8 insertions(+), 7 deletions(-) diff --git a/src/lib/dom.generated.d.ts b/src/lib/dom.generated.d.ts index 4529183fb399a..d667879250cf4 100644 --- a/src/lib/dom.generated.d.ts +++ b/src/lib/dom.generated.d.ts @@ -1182,7 +1182,7 @@ interface GamepadEffectParameters { } interface GamepadEventInit extends EventInit { - gamepad: Gamepad; + gamepad?: Gamepad | null; } interface GetAnimationsOptions { @@ -5358,13 +5358,13 @@ declare var CSSFontFaceRule: { }; /** - * The **`CSSFontFeatureValuesRule`** interface represents an @font-feature-values at-rule, letting developers assign for each font face a common name to specify features indices to be used in font-variant-alternates. + * The **`CSSFontFeatureValuesRule`** interface represents an @font-feature-values at-rule. The values of its instance properties can be accessed with the CSSFontFeatureValuesMap interface. * * [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSFontFeatureValuesRule) */ interface CSSFontFeatureValuesRule extends CSSRule { /** - * The **`fontFamily`** property of the CSSConditionRule interface represents the name of the font family it applies to. + * The **`fontFamily`** property of the CSSFontFeatureValuesRule interface represents the name of the font family it applies to. * * [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSFontFeatureValuesRule/fontFamily) */ @@ -6815,6 +6815,7 @@ interface CSSStyleProperties extends CSSStyleDeclarationBase { * [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/Reference/Properties/background-size) */ backgroundSize: string; + /** The baseline-shift CSS property repositions the dominant-baseline of a text element relative to the dominant-baseline of its parent text content element. The shifted element might be a sub- or superscript. If the property is present, the value overrides the element's baseline-shift attribute. */ baselineShift: string; /** * The baseline-source CSS property defines which baseline to use when inline-level boxes have multiple possible baselines, such as multi-line inline blocks or inline flex containers. The values allow for choosing between aligning to the box's first baseline, last baseline, or letting the browser decide automatically based on the box type. @@ -16442,7 +16443,7 @@ interface GamepadEvent extends Event { declare var GamepadEvent: { prototype: GamepadEvent; - new(type: string, eventInitDict: GamepadEventInit): GamepadEvent; + new(type: string, eventInitDict?: GamepadEventInit): GamepadEvent; }; /** @@ -30349,7 +30350,7 @@ interface ReadableStreamDefaultController { * * [MDN Reference](https://developer.mozilla.org/docs/Web/API/ReadableStreamDefaultController/enqueue) */ - enqueue(chunk?: R): void; + enqueue(chunk: R): void; /** * The **`error()`** method of the ReadableStreamDefaultController interface causes any future interactions with the associated stream to error. * @@ -35321,7 +35322,7 @@ declare var ShadowRoot: { }; /** - * The **`SharedWorker`** interface represents a specific kind of worker that can be accessed from several browsing contexts, such as several windows, iframes or even workers. They implement an interface different than dedicated workers and have a different global scope, SharedWorkerGlobalScope. + * The **`SharedWorker`** interface represents a specific kind of worker that can be accessed from several browsing contexts, such as multiple windows or iframes. Shared workers implement a different interface than dedicated workers, have a different global scope (SharedWorkerGlobalScope), and their constructor is not exposed in DedicatedWorkerGlobalScope, so they cannot be instantiated from dedicated workers. * * [MDN Reference](https://developer.mozilla.org/docs/Web/API/SharedWorker) */ diff --git a/src/lib/webworker.generated.d.ts b/src/lib/webworker.generated.d.ts index ae16e24eb0694..e1de8865ba1f7 100644 --- a/src/lib/webworker.generated.d.ts +++ b/src/lib/webworker.generated.d.ts @@ -9276,7 +9276,7 @@ interface ReadableStreamDefaultController { * * [MDN Reference](https://developer.mozilla.org/docs/Web/API/ReadableStreamDefaultController/enqueue) */ - enqueue(chunk?: R): void; + enqueue(chunk: R): void; /** * The **`error()`** method of the ReadableStreamDefaultController interface causes any future interactions with the associated stream to error. *