mirror of
https://github.com/servo/servo.git
synced 2025-08-09 15:35:34 +01:00
Update web-platform-tests to revision b'b6f6bf16fe6069aed53d28af86a79b8ff4963844'
This commit is contained in:
parent
0720f4f736
commit
8bfdc02dd8
590 changed files with 11442 additions and 3709 deletions
|
@ -0,0 +1,45 @@
|
|||
<!DOCTYPE html>
|
||||
<html class=reftest-wait>
|
||||
<head>
|
||||
<title>View transitions: Transition from an empty iframe</title>
|
||||
<link rel="help" href="https://github.com/WICG/view-transitions">
|
||||
<link rel="author" href="mailto:bokan@chromium.org">
|
||||
<link rel="match" href="transition-in-empty-iframe-ref.html">
|
||||
<meta name=fuzzy content="transition-in-empty-iframe-ref.html:0-80;0-1000">
|
||||
<script src="/common/reftest-wait.js"></script>
|
||||
<style>
|
||||
iframe {
|
||||
position: absolute;
|
||||
left: 25px;
|
||||
top: 25px;
|
||||
width: 50vw;
|
||||
height: 50vh;
|
||||
}
|
||||
/* This div overlaps with the iframe, because the iframe is empty it should
|
||||
* be visible behind the iframe. */
|
||||
div {
|
||||
background-color: skyblue;
|
||||
width: 100px;
|
||||
height: 100px;
|
||||
}
|
||||
</style>
|
||||
<script>
|
||||
onload = () => {
|
||||
requestAnimationFrame(()=>{requestAnimationFrame(()=> {
|
||||
frames[0].window.startTransition();
|
||||
frames[0].window.transition.ready.then(() => {
|
||||
requestAnimationFrame(()=>{requestAnimationFrame(()=> {
|
||||
takeScreenshot();
|
||||
})});
|
||||
});
|
||||
})});
|
||||
}
|
||||
</script>
|
||||
</head>
|
||||
|
||||
<body>
|
||||
<iframe src="support/transition-in-empty-iframe-child.html">
|
||||
</iframe>
|
||||
<div></div>
|
||||
</body>
|
||||
</html>
|
Loading…
Add table
Add a link
Reference in a new issue