Skip to content

Commit

Permalink
Add patch to avoid overladed IDL definition in CSS View Transitions (#…
Browse files Browse the repository at this point in the history
  • Loading branch information
dontcallmedom authored Oct 12, 2023
1 parent 914be28 commit 5559e35
Showing 1 changed file with 28 additions and 0 deletions.
28 changes: 28 additions & 0 deletions ed/idlpatches/css-view-transitions.idl.patch
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
From 781cded8d7f2c5506bcd3b6dd0ccbc62e88fd12f Mon Sep 17 00:00:00 2001
From: Dominique Hazael-Massieux <dom@w3.org>
Date: Thu, 12 Oct 2023 08:43:24 +0200
Subject: [PATCH] [Patch] Remove overloaded IDL in css-view-transitions

CSS View Transitions Level 2 has an updated definition of the Document.startViewTransition method which this patch removes from level 1. This will likely need to be kept around until level 2 takes over at the main spec.
---
ed/idl/css-view-transitions.idl | 4 ----
1 file changed, 4 deletions(-)

diff --git a/ed/idl/css-view-transitions.idl b/ed/idl/css-view-transitions.idl
index 745eb1d96..ce39b7dcf 100644
--- a/ed/idl/css-view-transitions.idl
+++ b/ed/idl/css-view-transitions.idl
@@ -3,10 +3,6 @@
// (https://github.com/w3c/webref)
// Source: CSS View Transitions Module Level 1 (https://drafts.csswg.org/css-view-transitions-1/)

-partial interface Document {
- ViewTransition startViewTransition(optional UpdateCallback? updateCallback = null);
-};
-
callback UpdateCallback = Promise<any> ();

[Exposed=Window]
--
2.34.1

0 comments on commit 5559e35

Please sign in to comment.