We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3e09896 commit 40f89b0Copy full SHA for 40f89b0
css/css-view-transitions/scoped/start-view-transition.html
@@ -0,0 +1,20 @@
1
+<!DOCTYPE html>
2
+<html>
3
+<head>
4
+<link rel="help" href="https://drafts.csswg.org/css-view-transitions-2/">
5
+<script src="/resources/testharness.js"></script>
6
+<script src="/resources/testharnessreport.js"></script>
7
+</head>
8
+<body>
9
+<div id=scope></div>
10
+<script>
11
+
12
+test(() => {
13
+ const element = document.querySelector("#scope");
14
+ const transition = element.startViewTransition(() => {});
15
+ assert_true(transition instanceof ViewTransition);
16
+});
17
18
+</script>
19
+</body>
20
+</html>
0 commit comments