Source code
Revision control
Copy as Markdown
Other Tools
Test Info:
- This WPT test may be referenced by the following Test IDs:
- /css/css-view-transitions/navigation/at-rule-opt-in-none-in-old.html - WPT Dashboard Interop Dashboard
<!DOCTYPE html>
<html class="reftest-wait">
<title>View Transitions: @view-transition opt out in new document.</title>
<link rel="author" href="mailto:bokan@chromium.org">
<link rel="match" href="at-rule-opt-in-none-ref.html">
<script src="/common/reftest-wait.js"></script>
<style>
@view-transition {
navigation: none;
}
html {
background: blue;
}
</style>
<script>
function runTest() {
const url = "resources/at-rule-opt-in-auto.html";
window.location.replace(new URL(url, window.location));
}
onload = () => requestAnimationFrame(() => requestAnimationFrame(runTest));
</script>
</html>