Source code

Revision control

Copy as Markdown

Other Tools

Test Info:

<!DOCTYPE html>
<html class="reftest-wait">
<title>View Transitions: paint holding timeout cancels transition</title>
<link rel="author" href="mailto:vmpstr@chromium.org">
<link rel="match" href="chromium-paint-holding-timeout-ref.html">
<link rel="assert" content="Ensures paint holding timeout cancels transition. Note that this is a Chromium only test">
<script src="/common/reftest-wait.js"></script>
<script src="/web-animations/testcommon.js"></script>
<style>
@view-transition {
navigation: auto;
}
.left {
view-transition-name: target;
width: 100px;
height: 100px;
background: red;
}
</style>
<div class=left></div>
<script>
function runTest() {
const url = "resources/chromium-paint-holding-timeout.html";
window.location.replace(new URL(url, window.location));
}
onload = async () => {
await waitForCompositorReady();
runTest();
}
</script>
</html>