Automatic update from web-platform-tests Increase fuzziness of css/css-view-transitions/table-caption.html (#60295) -- wpt-commits: 9a91abda1af693a4558c3e8dcf18733240e7e5bb wpt-pr: 60295
45 lines
1.1 KiB
HTML
45 lines
1.1 KiB
HTML
<!doctype html>
|
|
<html class="reftest-wait">
|
|
<meta charset="utf-8">
|
|
<title>View Transitions: Table with captions</title>
|
|
<link rel="help" href="https://drafts.csswg.org/css-view-transitions-1/">
|
|
<link rel="help" href="https://bugzilla.mozilla.org/show_bug.cgi?id=1985924">
|
|
<link rel="author" href="mailto:emilio@crisal.io" title="Emilio Cobos Álvarez">
|
|
<link rel="author" href="https://mozilla.org" title="Mozilla">
|
|
<link rel="match" href="table-caption-ref.html">
|
|
<meta name="fuzzy" content="maxDifference=0-1; totalPixels=0-5">
|
|
<style>
|
|
table {
|
|
view-transition-name: table;
|
|
}
|
|
|
|
:root::view-transition-group(root) {
|
|
opacity: 0;
|
|
}
|
|
|
|
:root::view-transition-group(*) {
|
|
animation-play-state: paused;
|
|
}
|
|
|
|
:root::view-transition {
|
|
background: pink;
|
|
}
|
|
</style>
|
|
<table>
|
|
<caption>Caption</caption>
|
|
<tr>
|
|
<td>Some row</td>
|
|
</tr>
|
|
</table>
|
|
<script>
|
|
onload = () => {
|
|
requestAnimationFrame(() => {
|
|
requestAnimationFrame(() => {
|
|
document.startViewTransition().ready.then(() => {
|
|
document.documentElement.classList = "";
|
|
});
|
|
})
|
|
});
|
|
}
|
|
</script>
|