Skip to content

Commit

Permalink
Update 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 committed Oct 19, 2023
1 parent cd8f3a8 commit 656e3f0
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions ed/idlpatches/css-view-transitions.idl.patch
Original file line number Diff line number Diff line change
@@ -1,23 +1,23 @@
From 781cded8d7f2c5506bcd3b6dd0ccbc62e88fd12f Mon Sep 17 00:00:00 2001
From 72f31a2b45dd352fa3dca1c23f4cc5e98402690a 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
Date: Thu, 19 Oct 2023 08:46:24 +0200
Subject: [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
index 22e293aac..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);
- ViewTransition startViewTransition(optional UpdateCallback updateCallback);
-};
-
callback UpdateCallback = Promise<any> ();
Expand Down

0 comments on commit 656e3f0

Please sign in to comment.