Update web-platform-tests to revision b'2d7c53f5bc604132d2c83955537e454ee9c788c0'

This commit is contained in:
WPT Sync Bot 2023-01-18 01:45:07 +00:00
parent 619a46113f
commit 1c6b303ef2
396 changed files with 29611 additions and 1967 deletions

View file

@ -0,0 +1,47 @@
<!DOCTYPE html>
<html dir="rtl">
<head>
<style>
body {
height: 200vh;
}
::view-transition-new(*) {
animation: unset;
opacity: 1;
}
::view-transition-old(*) {
animation-duration: 30s;
opacity: 0;
}
dialog {
width: 50dvw;
height: 50dvh;
box-sizing: border-box;
background-color: limegreen;
border: 1px solid black;
}
</style>
<script>
function show() {
document.getElementById('dialog').showModal();
}
function startTransition() {
window.transition = document.startViewTransition(() => {
show();
});
}
const params = new URLSearchParams(window.location.search);
if (params.has('show')) {
addEventListener('load', show);
}
</script>
</head>
<body>
<dialog id="dialog">
</dialog>
</body>
</html>