Source code
Revision control
Copy as Markdown
Other Tools
Test Info:
- This WPT test may be referenced by the following Test IDs:
- /scroll-animations/crashtests/view-timeline-on-view-transition-pseudo-element-crash.html - WPT Dashboard Interop Dashboard
<!DOCTYPE html>
<html class="reftest-wait">
<title>Same view timeline name on named view-transition pseudo-element shouldn't crash</title>
<style>
::view-transition-old(root), .tl { view-timeline: --a; }
</style>
<div class="tl"></div>
<script>
addEventListener("DOMContentLoaded", async () => {
let vt = document.startViewTransition();
await vt.ready;
document.documentElement.classList.remove("reftest-wait");
});
</script>
</html>