Source code

Revision control

Copy as Markdown

Other Tools

Test Info:

<!DOCTYPE html>
<title>View transitions: opt in without frame crash</title>
<link rel="author" href="mailto:vmpstr@chromium.org">
<script>
const htmlString = `
<!doctype html>
<style>
@view-transition { navigation: auto; }
</style>
<div>Hello!</div>`;
const parser = new DOMParser();
const doc = parser.parseFromString(htmlString, "text/html");
</script>