Source code
Revision control
Copy as Markdown
Other Tools
Test Info:
- This WPT test may be referenced by the following Test IDs:
- /css/css-transitions/top-layer-background-image-transition-crash.html - WPT Dashboard Interop Dashboard
<!DOCTYPE html>
<html class=test-wait>
<link rel=author href="mailto:jarhar@chromium.org">
<dialog></dialog>
<style>
dialog {
background-image: paint(source-out);
}
dialog.animate {
transition: overlay 2s allow-discrete, display 2s allow-discrete;
}
</style>
<script>
(async () => {
const dialog = document.querySelector('dialog');
dialog.showModal();
dialog.classList.add('animate');
dialog.close();
await new Promise(requestAnimationFrame);
await new Promise(requestAnimationFrame);
document.documentElement.classList.remove('test-wait');
})();
</script>