@@ -9960,6 +9960,7 @@ declare var HTMLDataListElement: {
9960
9960
9961
9961
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLDetailsElement) */
9962
9962
interface HTMLDetailsElement extends HTMLElement {
9963
+ name: string;
9963
9964
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLDetailsElement/open) */
9964
9965
open: boolean;
9965
9966
addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLDetailsElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
@@ -10849,6 +10850,8 @@ interface HTMLImageElement extends HTMLElement {
10849
10850
readonly currentSrc: string;
10850
10851
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLImageElement/decoding) */
10851
10852
decoding: "async" | "sync" | "auto";
10853
+ /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLImageElement/fetchPriority) */
10854
+ fetchPriority: string;
10852
10855
/**
10853
10856
* Sets or retrieves the height of the object.
10854
10857
*
@@ -11277,6 +11280,8 @@ interface HTMLLinkElement extends HTMLElement, LinkStyle {
11277
11280
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLLinkElement/crossOrigin) */
11278
11281
crossOrigin: string | null;
11279
11282
disabled: boolean;
11283
+ /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLLinkElement/fetchPriority) */
11284
+ fetchPriority: string;
11280
11285
/** Sets or retrieves a destination URL or an anchor point. */
11281
11286
href: string;
11282
11287
/** Sets or retrieves the language code of the object. */
@@ -12328,6 +12333,7 @@ interface HTMLScriptElement extends HTMLElement {
12328
12333
* @deprecated
12329
12334
*/
12330
12335
event: string;
12336
+ fetchPriority: string;
12331
12337
/**
12332
12338
* Sets or retrieves the object that is bound to the event script.
12333
12339
* @deprecated
@@ -13488,6 +13494,26 @@ declare var Headers: {
13488
13494
new(init?: HeadersInit): Headers;
13489
13495
};
13490
13496
13497
+ interface Highlight {
13498
+ priority: number;
13499
+ type: HighlightType;
13500
+ forEach(callbackfn: (value: AbstractRange, key: AbstractRange, parent: Highlight) => void, thisArg?: any): void;
13501
+ }
13502
+
13503
+ declare var Highlight: {
13504
+ prototype: Highlight;
13505
+ new(...initialRanges: AbstractRange[]): Highlight;
13506
+ };
13507
+
13508
+ interface HighlightRegistry {
13509
+ forEach(callbackfn: (value: Highlight, key: string, parent: HighlightRegistry) => void, thisArg?: any): void;
13510
+ }
13511
+
13512
+ declare var HighlightRegistry: {
13513
+ prototype: HighlightRegistry;
13514
+ new(): HighlightRegistry;
13515
+ };
13516
+
13491
13517
/**
13492
13518
* Allows manipulation of the browser session history, that is the pages visited in the tab or frame that the current page is loaded in.
13493
13519
*
@@ -26564,10 +26590,13 @@ declare var console: Console;
26564
26590
26565
26591
/** Holds useful CSS-related methods. No object with this interface are implemented: it contains only static methods and therefore is a utilitarian interface. */
26566
26592
declare namespace CSS {
26593
+ /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSS/highlights_static) */
26594
+ var highlights: HighlightRegistry;
26567
26595
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSS/factory_functions_static) */
26568
26596
function Hz(value: number): CSSUnitValue;
26569
26597
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSS/factory_functions_static) */
26570
26598
function Q(value: number): CSSUnitValue;
26599
+ function cap(value: number): CSSUnitValue;
26571
26600
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSS/factory_functions_static) */
26572
26601
function ch(value: number): CSSUnitValue;
26573
26602
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSS/factory_functions_static) */
@@ -26646,10 +26675,14 @@ declare namespace CSS {
26646
26675
function px(value: number): CSSUnitValue;
26647
26676
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSS/factory_functions_static) */
26648
26677
function rad(value: number): CSSUnitValue;
26678
+ function rcap(value: number): CSSUnitValue;
26679
+ function rch(value: number): CSSUnitValue;
26649
26680
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSS/registerProperty_static) */
26650
26681
function registerProperty(definition: PropertyDefinition): void;
26651
26682
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSS/factory_functions_static) */
26652
26683
function rem(value: number): CSSUnitValue;
26684
+ function rex(value: number): CSSUnitValue;
26685
+ function ric(value: number): CSSUnitValue;
26653
26686
function rlh(value: number): CSSUnitValue;
26654
26687
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSS/factory_functions_static) */
26655
26688
function s(value: number): CSSUnitValue;
@@ -28190,6 +28223,7 @@ type GamepadMappingType = "" | "standard" | "xr-standard";
28190
28223
type GlobalCompositeOperation = "color" | "color-burn" | "color-dodge" | "copy" | "darken" | "destination-atop" | "destination-in" | "destination-out" | "destination-over" | "difference" | "exclusion" | "hard-light" | "hue" | "lighten" | "lighter" | "luminosity" | "multiply" | "overlay" | "saturation" | "screen" | "soft-light" | "source-atop" | "source-in" | "source-out" | "source-over" | "xor";
28191
28224
type HardwareAcceleration = "no-preference" | "prefer-hardware" | "prefer-software";
28192
28225
type HdrMetadataType = "smpteSt2086" | "smpteSt2094-10" | "smpteSt2094-40";
28226
+ type HighlightType = "grammar-error" | "highlight" | "spelling-error";
28193
28227
type IDBCursorDirection = "next" | "nextunique" | "prev" | "prevunique";
28194
28228
type IDBRequestReadyState = "done" | "pending";
28195
28229
type IDBTransactionDurability = "default" | "relaxed" | "strict";
0 commit comments