diff options
Diffstat (limited to 'test/wpt/tests/interfaces/css-view-transitions.idl')
-rw-r--r-- | test/wpt/tests/interfaces/css-view-transitions.idl | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/test/wpt/tests/interfaces/css-view-transitions.idl b/test/wpt/tests/interfaces/css-view-transitions.idl new file mode 100644 index 0000000..745eb1d --- /dev/null +++ b/test/wpt/tests/interfaces/css-view-transitions.idl @@ -0,0 +1,18 @@ +// GENERATED CONTENT - DO NOT EDIT +// Content was automatically extracted by Reffy into webref +// (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] +interface ViewTransition { + readonly attribute Promise<undefined> updateCallbackDone; + readonly attribute Promise<undefined> ready; + readonly attribute Promise<undefined> finished; + undefined skipTransition(); +}; |