mirror of
https://github.com/servo/servo.git
synced 2025-08-22 22:05:32 +01:00
Update web-platform-tests to revision b'0802d8bd01e17178d9cd2355e6fbaf3c098e7953'
This commit is contained in:
parent
aa427dd412
commit
9ed042224a
254 changed files with 10823 additions and 1484 deletions
|
@ -0,0 +1,25 @@
|
|||
<!doctype html>
|
||||
|
||||
<style>
|
||||
div {
|
||||
width: 100px;
|
||||
height: 100px;
|
||||
background: green;
|
||||
}
|
||||
html { height: 50%; }
|
||||
::view-transition-group(*) { animation-duration: 500s }
|
||||
</style>
|
||||
|
||||
<div></div>
|
||||
|
||||
<script>
|
||||
function run() {
|
||||
document.startViewTransition(() => {
|
||||
requestAnimationFrame(() => requestAnimationFrame(() => {
|
||||
window.parent.postMessage({}, "*");
|
||||
}));
|
||||
});
|
||||
}
|
||||
onload = requestAnimationFrame(() => requestAnimationFrame(run));
|
||||
</script>
|
||||
|
Loading…
Add table
Add a link
Reference in a new issue