Update web-platform-tests to revision b'8d8b273d2265095c7f5330ff231940e68fb49754'

This commit is contained in:
WPT Sync Bot 2023-05-07 01:27:55 +00:00
parent bee09efcc5
commit 9b45fdb3f5
1819 changed files with 34819 additions and 33935 deletions

View file

@ -4,7 +4,7 @@
<link rel="help" href="https://github.com/WICG/view-transitions">
<link rel="author" href="mailto:vmpstr@chromium.org">
<link rel="match" href="3d-transform-incoming-ref.html">
<meta name=fuzzy content="3d-transform-incoming-ref.html:0-255;0-500">
<meta name=fuzzy content="3d-transform-incoming-ref.html:0-255;0-515">
<script src="/common/reftest-wait.js"></script>
<style>
div { box-sizing: border-box; will-change: transform }

View file

@ -0,0 +1,35 @@
<!DOCTYPE html>
<html class=reftest-wait>
<title>View transitions: fractional box -- new content</title>
<link rel="help" href="https://drafts.csswg.org/css-view-transitions-1/">
<link rel="author" href="mailto:vmpstr@chromium.org">
<link rel="match" href="fractional-box-ref.html">
<script src="/common/reftest-wait.js"></script>
<style>
.box {
margin: 15px;
background: green;
width: 100.125px;
height: 50.875px;
}
.shift {
position: relative;
left: 0.4px;
}
html::view-transition-group(*) { animation-duration: 300s; }
html::view-transition-new(*) { animation: unset; opacity: 1; }
html::view-transition-old(*) { animation: unset; opacity: 0; }
html::view-transition-group(root) { animation: unset; opacity: 0; }
html::view-transition { background: lightpink; }
</style>
<div class="box" style="view-transition-name: one"></div>
<div class="box shift" style="view-transition-name: two"></div>
<script>
failIfNot(document.startViewTransition, "Missing document.startViewTransition");
async function runTest() {
document.startViewTransition().ready.then(takeScreenshot);
}
onload = () => requestAnimationFrame(() => requestAnimationFrame(runTest));
</script>

View file

@ -0,0 +1,35 @@
<!DOCTYPE html>
<html class=reftest-wait>
<title>View transitions: fractional box -- old content</title>
<link rel="help" href="https://drafts.csswg.org/css-view-transitions-1/">
<link rel="author" href="mailto:vmpstr@chromium.org">
<link rel="match" href="fractional-box-ref.html">
<script src="/common/reftest-wait.js"></script>
<style>
.box {
margin: 15px;
background: green;
width: 100.125px;
height: 50.875px;
}
.shift {
position: relative;
left: 0.4px;
}
html::view-transition-group(*) { animation-duration: 300s; }
html::view-transition-new(*) { animation: unset; opacity: 0; }
html::view-transition-old(*) { animation: unset; opacity: 1; }
html::view-transition-group(root) { animation: unset; opacity: 0; }
html::view-transition { background: lightpink; }
</style>
<div class="box" style="view-transition-name: one"></div>
<div class="box shift" style="view-transition-name: two"></div>
<script>
failIfNot(document.startViewTransition, "Missing document.startViewTransition");
async function runTest() {
document.startViewTransition().ready.then(takeScreenshot);
}
onload = () => requestAnimationFrame(() => requestAnimationFrame(runTest));
</script>

View file

@ -0,0 +1,19 @@
<!DOCTYPE html>
<title>View transitions: fractional box -- reference</title>
<link rel="help" href="https://drafts.csswg.org/css-view-transitions-1/">
<link rel="author" href="mailto:vmpstr@chromium.org">
<style>
.box {
margin: 15px;
background: green;
width: 100.125px;
height: 50.875px;
}
.shift {
position: relative;
left: 0.4px;
}
body { background: lightpink }
</style>
<div class="box"></div>
<div class="box shift"></div>

View file

@ -0,0 +1,52 @@
<!DOCTYPE html>
<html class=reftest-wait>
<title>View transitions: fractional box with overflow children -- new content</title>
<link rel="help" href="https://drafts.csswg.org/css-view-transitions-1/">
<link rel="author" href="mailto:vmpstr@chromium.org">
<link rel="match" href="fractional-box-with-overflow-children-ref.html">
<!-- subpixel differences are ok in this test (in highdpi), but channel difference
should not be perceptible -->
<meta name=fuzzy content="fractional-box-with-overflow-children-ref.html:0-3;0-100">
<script src="/common/reftest-wait.js"></script>
<style>
.box {
position: relative;
margin: 15px;
background: green;
width: 100.125px;
height: 50.875px;
}
.shift {
left: 0.4px;
}
.child1 {
position: absolute;
left: -2px;
width: 110px;
height: 25px;
background: darkgreen;
}
.child2 {
position: absolute;
top: -3px;
width: 50px;
height: 55px;
background: darkgreen;
}
html::view-transition-group(*) { animation-duration: 300s; }
html::view-transition-new(*) { animation: unset; opacity: 1; }
html::view-transition-old(*) { animation: unset; opacity: 0; }
html::view-transition-group(root) { animation: unset; opacity: 0; }
html::view-transition { background: lightpink; }
</style>
<div class="box" style="view-transition-name: one"><div class="child1"></div><div class="child2"></div></div>
<div class="box shift" style="view-transition-name: two"><div class="child1"></div><div class="child2"></div></div>
<script>
failIfNot(document.startViewTransition, "Missing document.startViewTransition");
async function runTest() {
document.startViewTransition().ready.then(takeScreenshot);
}
onload = () => requestAnimationFrame(() => requestAnimationFrame(runTest));
</script>

View file

@ -0,0 +1,52 @@
<!DOCTYPE html>
<html class=reftest-wait>
<title>View transitions: fractional box with overflow children -- old content</title>
<link rel="help" href="https://drafts.csswg.org/css-view-transitions-1/">
<link rel="author" href="mailto:vmpstr@chromium.org">
<link rel="match" href="fractional-box-with-overflow-children-ref.html">
<!-- subpixel differences are ok in this test (in highdpi), but channel difference
should not be perceptible -->
<meta name=fuzzy content="fractional-box-with-overflow-children-ref.html:0-3;0-100">
<script src="/common/reftest-wait.js"></script>
<style>
.box {
position: relative;
margin: 15px;
background: green;
width: 100.125px;
height: 50.875px;
}
.shift {
left: 0.4px;
}
.child1 {
position: absolute;
left: -2px;
width: 110px;
height: 25px;
background: darkgreen;
}
.child2 {
position: absolute;
top: -3px;
width: 50px;
height: 55px;
background: darkgreen;
}
html::view-transition-group(*) { animation-duration: 300s; }
html::view-transition-new(*) { animation: unset; opacity: 0; }
html::view-transition-old(*) { animation: unset; opacity: 1; }
html::view-transition-group(root) { animation: unset; opacity: 0; }
html::view-transition { background: lightpink; }
</style>
<div class="box" style="view-transition-name: one"><div class="child1"></div><div class="child2"></div></div>
<div class="box shift" style="view-transition-name: two"><div class="child1"></div><div class="child2"></div></div>
<script>
failIfNot(document.startViewTransition, "Missing document.startViewTransition");
async function runTest() {
document.startViewTransition().ready.then(takeScreenshot);
}
onload = () => requestAnimationFrame(() => requestAnimationFrame(runTest));
</script>

View file

@ -0,0 +1,33 @@
<!DOCTYPE html>
<title>View transitions: fractional box with overflow children-- reference</title>
<link rel="help" href="https://drafts.csswg.org/css-view-transitions-1/">
<link rel="author" href="mailto:vmpstr@chromium.org">
<style>
.box {
position: relative;
margin: 15px;
background: green;
width: 100.125px;
height: 50.875px;
}
.shift {
left: 0.4px;
}
.child1 {
position: absolute;
left: -2px;
width: 110px;
height: 25px;
background: darkgreen;
}
.child2 {
position: absolute;
top: -3px;
width: 50px;
height: 55px;
background: darkgreen;
}
body { background: lightpink }
</style>
<div class="box"><div class="child1"></div><div class="child2"></div></div>
<div class="box shift"><div class="child1"></div><div class="child2"></div></div>

View file

@ -0,0 +1,36 @@
<!DOCTYPE html>
<html class=reftest-wait>
<title>View transitions: fractional box with shadow -- new content</title>
<link rel="help" href="https://drafts.csswg.org/css-view-transitions-1/">
<link rel="author" href="mailto:vmpstr@chromium.org">
<link rel="match" href="fractional-box-with-shadow-ref.html">
<script src="/common/reftest-wait.js"></script>
<style>
.box {
box-shadow: -2px -3px 0 7px darkgreen;
margin: 15px;
background: green;
width: 100.125px;
height: 50.875px;
}
.shift {
position: relative;
left: 0.4px;
}
html::view-transition-group(*) { animation-duration: 300s; }
html::view-transition-new(*) { animation: unset; opacity: 1; }
html::view-transition-old(*) { animation: unset; opacity: 0; }
html::view-transition-group(root) { animation: unset; opacity: 0; }
html::view-transition { background: lightpink; }
</style>
<div class="box" style="view-transition-name: one"></div>
<div class="box shift" style="view-transition-name: two"></div>
<script>
failIfNot(document.startViewTransition, "Missing document.startViewTransition");
async function runTest() {
document.startViewTransition().ready.then(takeScreenshot);
}
onload = () => requestAnimationFrame(() => requestAnimationFrame(runTest));
</script>

View file

@ -0,0 +1,36 @@
<!DOCTYPE html>
<html class=reftest-wait>
<title>View transitions: fractional box with shadow -- old content</title>
<link rel="help" href="https://drafts.csswg.org/css-view-transitions-1/">
<link rel="author" href="mailto:vmpstr@chromium.org">
<link rel="match" href="fractional-box-with-shadow-ref.html">
<script src="/common/reftest-wait.js"></script>
<style>
.box {
box-shadow: -2px -3px 0 7px darkgreen;
margin: 15px;
background: green;
width: 100.125px;
height: 50.875px;
}
.shift {
position: relative;
left: 0.4px;
}
html::view-transition-group(*) { animation-duration: 300s; }
html::view-transition-new(*) { animation: unset; opacity: 0; }
html::view-transition-old(*) { animation: unset; opacity: 1; }
html::view-transition-group(root) { animation: unset; opacity: 0; }
html::view-transition { background: lightpink; }
</style>
<div class="box" style="view-transition-name: one"></div>
<div class="box shift" style="view-transition-name: two"></div>
<script>
failIfNot(document.startViewTransition, "Missing document.startViewTransition");
async function runTest() {
document.startViewTransition().ready.then(takeScreenshot);
}
onload = () => requestAnimationFrame(() => requestAnimationFrame(runTest));
</script>

View file

@ -0,0 +1,20 @@
<!DOCTYPE html>
<title>View transitions: fractional box with shadow -- reference</title>
<link rel="help" href="https://drafts.csswg.org/css-view-transitions-1/">
<link rel="author" href="mailto:vmpstr@chromium.org">
<style>
.box {
box-shadow: -2px -3px 0 7px darkgreen;
margin: 15px;
background: green;
width: 100.125px;
height: 50.875px;
}
.shift {
position: relative;
left: 0.4px;
}
body { background: lightpink }
</style>
<div class="box"></div>
<div class="box shift"></div>