summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/interfaces/css-view-transitions-2.idl
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-05-15 03:34:42 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-05-15 03:34:42 +0000
commitda4c7e7ed675c3bf405668739c3012d140856109 (patch)
treecdd868dba063fecba609a1d819de271f0d51b23e /testing/web-platform/tests/interfaces/css-view-transitions-2.idl
parentAdding upstream version 125.0.3. (diff)
downloadfirefox-da4c7e7ed675c3bf405668739c3012d140856109.tar.xz
firefox-da4c7e7ed675c3bf405668739c3012d140856109.zip
Adding upstream version 126.0.upstream/126.0
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'testing/web-platform/tests/interfaces/css-view-transitions-2.idl')
-rw-r--r--testing/web-platform/tests/interfaces/css-view-transitions-2.idl38
1 files changed, 27 insertions, 11 deletions
diff --git a/testing/web-platform/tests/interfaces/css-view-transitions-2.idl b/testing/web-platform/tests/interfaces/css-view-transitions-2.idl
index 89e57e251b..41337f4e1e 100644
--- a/testing/web-platform/tests/interfaces/css-view-transitions-2.idl
+++ b/testing/web-platform/tests/interfaces/css-view-transitions-2.idl
@@ -3,23 +3,39 @@
// (https://github.com/w3c/webref)
// Source: CSS View Transitions Module Level 2 (https://drafts.csswg.org/css-view-transitions-2/)
-dictionary StartViewTransitionOptions {
- UpdateCallback? update = null;
- sequence<DOMString>? type = null;
+partial interface CSSRule {
+ const unsigned short VIEW_TRANSITION_RULE = 15;
};
-partial interface Document {
+enum ViewTransitionNavigation { "auto", "none" };
- ViewTransition startViewTransition(optional (UpdateCallback or StartViewTransitionOptions) callbackOptions = {});
+[Exposed=Window]
+interface CSSViewTransitionTypeSet {
+ readonly setlike<CSSOMString>;
};
-partial interface CSSRule {
- const unsigned short VIEW_TRANSITION_RULE = 15;
+[Exposed=Window]
+interface CSSViewTransitionRule : CSSRule {
+ readonly attribute ViewTransitionNavigation navigation;
+ readonly attribute CSSViewTransitionTypeSet types;
};
-enum ViewTransitionNavigation { "auto", "none" };
[Exposed=Window]
-interface CSSViewTransitionRule : CSSRule {
- attribute ViewTransitionNavigation navigation;
- attribute DOMTokenList typeList;
+interface ViewTransitionTypeSet {
+ setlike<DOMString>;
+};
+
+[Exposed=Window]
+partial interface ViewTransition {
+ attribute ViewTransitionTypeSet types;
+};
+
+dictionary StartViewTransitionOptions {
+ UpdateCallback? update = null;
+ sequence<DOMString>? types = null;
+};
+
+partial interface Document {
+
+ ViewTransition startViewTransition(optional (UpdateCallback or StartViewTransitionOptions) callbackOptions = {});
};