@@ -1180,6 +1180,15 @@ interface OscillatorOptions extends AudioNodeOptions {
11801180 type?: OscillatorType;
11811181}
11821182
1183+ interface PageRevealEventInit extends EventInit {
1184+ viewTransition?: ViewTransition | null;
1185+ }
1186+
1187+ interface PageSwapEventInit extends EventInit {
1188+ activation?: NavigationActivation | null;
1189+ viewTransition?: ViewTransition | null;
1190+ }
1191+
11831192interface PageTransitionEventInit extends EventInit {
11841193 persisted?: boolean;
11851194}
@@ -5029,6 +5038,7 @@ interface CSSStyleDeclaration {
50295038 vectorEffect: string;
50305039 /** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/vertical-align) */
50315040 verticalAlign: string;
5041+ viewTransitionClass: string;
50325042 /** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/view-transition-name) */
50335043 viewTransitionName: string;
50345044 /** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/visibility) */
@@ -5667,6 +5677,16 @@ declare var CSSVariableReferenceValue: {
56675677 new(variable: string, fallback?: CSSUnparsedValue | null): CSSVariableReferenceValue;
56685678};
56695679
5680+ interface CSSViewTransitionRule extends CSSRule {
5681+ readonly navigation: string;
5682+ readonly types: ReadonlyArray<string>;
5683+ }
5684+
5685+ declare var CSSViewTransitionRule: {
5686+ prototype: CSSViewTransitionRule;
5687+ new(): CSSViewTransitionRule;
5688+ };
5689+
56705690/**
56715691 * Provides a storage mechanism for Request / Response object pairs that are cached, for example as part of the ServiceWorker life cycle. Note that the Cache interface is exposed to windowed scopes as well as workers. You don't have to use it in conjunction with service workers, even though it is defined in the service worker spec.
56725692 * Available only in secure contexts.
@@ -7638,6 +7658,8 @@ interface Document extends Node, DocumentOrShadowRoot, FontFaceSource, GlobalEve
76387658 createEvent(eventInterface: "MouseEvent"): MouseEvent;
76397659 createEvent(eventInterface: "MouseEvents"): MouseEvent;
76407660 createEvent(eventInterface: "OfflineAudioCompletionEvent"): OfflineAudioCompletionEvent;
7661+ createEvent(eventInterface: "PageRevealEvent"): PageRevealEvent;
7662+ createEvent(eventInterface: "PageSwapEvent"): PageSwapEvent;
76417663 createEvent(eventInterface: "PageTransitionEvent"): PageTransitionEvent;
76427664 createEvent(eventInterface: "PaymentMethodChangeEvent"): PaymentMethodChangeEvent;
76437665 createEvent(eventInterface: "PaymentRequestUpdateEvent"): PaymentRequestUpdateEvent;
@@ -11812,6 +11834,9 @@ declare var HTMLLegendElement: {
1181211834interface HTMLLinkElement extends HTMLElement, LinkStyle {
1181311835 /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLLinkElement/as) */
1181411836 as: string;
11837+ /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLLinkElement/blocking) */
11838+ get blocking(): DOMTokenList;
11839+ set blocking(value: string);
1181511840 /**
1181611841 * Sets or retrieves the character set used to encode the object.
1181711842 * @deprecated
@@ -12827,6 +12852,9 @@ declare var HTMLQuoteElement: {
1282712852interface HTMLScriptElement extends HTMLElement {
1282812853 /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLScriptElement/async) */
1282912854 async: boolean;
12855+ /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLScriptElement/blocking) */
12856+ get blocking(): DOMTokenList;
12857+ set blocking(value: string);
1283012858 /**
1283112859 * Sets or retrieves the character set used to encode the object.
1283212860 * @deprecated
@@ -13114,6 +13142,9 @@ declare var HTMLSpanElement: {
1311413142 * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLStyleElement)
1311513143 */
1311613144interface HTMLStyleElement extends HTMLElement, LinkStyle {
13145+ /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLStyleElement/blocking) */
13146+ get blocking(): DOMTokenList;
13147+ set blocking(value: string);
1311713148 /**
1311813149 * Enables or disables the style sheet.
1311913150 *
@@ -16497,6 +16528,52 @@ declare var NamedNodeMap: {
1649716528 new(): NamedNodeMap;
1649816529};
1649916530
16531+ /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/NavigationActivation) */
16532+ interface NavigationActivation {
16533+ /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/NavigationActivation/entry) */
16534+ readonly entry: NavigationHistoryEntry;
16535+ /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/NavigationActivation/from) */
16536+ readonly from: NavigationHistoryEntry | null;
16537+ /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/NavigationActivation/navigationType) */
16538+ readonly navigationType: NavigationType;
16539+ }
16540+
16541+ declare var NavigationActivation: {
16542+ prototype: NavigationActivation;
16543+ new(): NavigationActivation;
16544+ };
16545+
16546+ interface NavigationHistoryEntryEventMap {
16547+ "dispose": Event;
16548+ }
16549+
16550+ /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/NavigationHistoryEntry) */
16551+ interface NavigationHistoryEntry extends EventTarget {
16552+ /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/NavigationHistoryEntry/id) */
16553+ readonly id: string;
16554+ /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/NavigationHistoryEntry/index) */
16555+ readonly index: number;
16556+ /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/NavigationHistoryEntry/key) */
16557+ readonly key: string;
16558+ /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/NavigationHistoryEntry/dispose_event) */
16559+ ondispose: ((this: NavigationHistoryEntry, ev: Event) => any) | null;
16560+ /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/NavigationHistoryEntry/sameDocument) */
16561+ readonly sameDocument: boolean;
16562+ /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/NavigationHistoryEntry/url) */
16563+ readonly url: string | null;
16564+ /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/NavigationHistoryEntry/getState) */
16565+ getState(): any;
16566+ addEventListener<K extends keyof NavigationHistoryEntryEventMap>(type: K, listener: (this: NavigationHistoryEntry, ev: NavigationHistoryEntryEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
16567+ addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
16568+ removeEventListener<K extends keyof NavigationHistoryEntryEventMap>(type: K, listener: (this: NavigationHistoryEntry, ev: NavigationHistoryEntryEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
16569+ removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;
16570+ }
16571+
16572+ declare var NavigationHistoryEntry: {
16573+ prototype: NavigationHistoryEntry;
16574+ new(): NavigationHistoryEntry;
16575+ };
16576+
1650016577/**
1650116578 * Available only in secure contexts.
1650216579 *
@@ -17354,6 +17431,30 @@ declare var OverconstrainedError: {
1735417431 new(constraint: string, message?: string): OverconstrainedError;
1735517432};
1735617433
17434+ /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/PageRevealEvent) */
17435+ interface PageRevealEvent extends Event {
17436+ /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/PageRevealEvent/viewTransition) */
17437+ readonly viewTransition: ViewTransition | null;
17438+ }
17439+
17440+ declare var PageRevealEvent: {
17441+ prototype: PageRevealEvent;
17442+ new(type: string, eventInitDict?: PageRevealEventInit): PageRevealEvent;
17443+ };
17444+
17445+ /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/PageSwapEvent) */
17446+ interface PageSwapEvent extends Event {
17447+ /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/PageSwapEvent/activation) */
17448+ readonly activation: NavigationActivation | null;
17449+ /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/PageSwapEvent/viewTransition) */
17450+ readonly viewTransition: ViewTransition | null;
17451+ }
17452+
17453+ declare var PageSwapEvent: {
17454+ prototype: PageSwapEvent;
17455+ new(type: string, eventInitDict?: PageSwapEventInit): PageSwapEvent;
17456+ };
17457+
1735717458/**
1735817459 * The PageTransitionEvent is fired when a document is being loaded or unloaded.
1735917460 *
@@ -23745,6 +23846,7 @@ interface ViewTransition {
2374523846 readonly finished: Promise<undefined>;
2374623847 /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/ViewTransition/ready) */
2374723848 readonly ready: Promise<undefined>;
23849+ types: ViewTransitionTypeSet;
2374823850 /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/ViewTransition/updateCallbackDone) */
2374923851 readonly updateCallbackDone: Promise<undefined>;
2375023852 /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/ViewTransition/skipTransition) */
@@ -23756,6 +23858,15 @@ declare var ViewTransition: {
2375623858 new(): ViewTransition;
2375723859};
2375823860
23861+ interface ViewTransitionTypeSet {
23862+ forEach(callbackfn: (value: string, key: string, parent: ViewTransitionTypeSet) => void, thisArg?: any): void;
23863+ }
23864+
23865+ declare var ViewTransitionTypeSet: {
23866+ prototype: ViewTransitionTypeSet;
23867+ new(): ViewTransitionTypeSet;
23868+ };
23869+
2375923870interface VisualViewportEventMap {
2376023871 "resize": Event;
2376123872 "scroll": Event;
@@ -29045,6 +29156,7 @@ type MediaSessionAction = "nexttrack" | "pause" | "play" | "previoustrack" | "se
2904529156type MediaSessionPlaybackState = "none" | "paused" | "playing";
2904629157type MediaStreamTrackState = "ended" | "live";
2904729158type NavigationTimingType = "back_forward" | "navigate" | "prerender" | "reload";
29159+ type NavigationType = "push" | "reload" | "replace" | "traverse";
2904829160type NotificationDirection = "auto" | "ltr" | "rtl";
2904929161type NotificationPermission = "default" | "denied" | "granted";
2905029162type OffscreenRenderingContextId = "2d" | "bitmaprenderer" | "webgl" | "webgl2" | "webgpu";
0 commit comments