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,26 @@
<!DOCTYPE html>
<html>
<head>
<title>Animating the "rotate" property on an SVG element</title>
<link rel="help" href="https://drafts.csswg.org/css-transforms-2/#individual-transforms">
<style>
svg {
width: 400px;
height: 400px;
}
rect {
width: 100px;
height: 100px;
transform-origin: 100px 100px;
rotate: 180deg;
}
</style>
</head>
<body>
<svg><rect></rect></svg>
</body>
</html>

View file

@ -0,0 +1,42 @@
<!DOCTYPE html>
<html class="reftest-wait">
<head>
<title>Animating the "rotate" property on an SVG element</title>
<link rel="help" href="https://drafts.csswg.org/css-transforms-2/#individual-transforms">
<link rel="match" href="rotate-animation-on-svg-ref.html">
<style>
@keyframes rotate-animation {
from { rotate: 0; }
to { rotate: 180deg; }
}
svg {
width: 400px;
height: 400px;
overflow: visible;
}
rect {
width: 100px;
height: 100px;
transform-origin: 100px 100px;
animation: rotate-animation 1ms linear forwards;
}
</style>
</head>
<body>
<svg><rect></rect></svg>
<script>
(async function() {
await Promise.all(document.getAnimations().map(animation => animation.finished));
document.documentElement.classList.remove("reftest-wait");
})();
</script>
</body>
</html>

View file

@ -0,0 +1,26 @@
<!DOCTYPE html>
<html>
<head>
<title>Animating the "scale" property on an SVG element</title>
<link rel="help" href="https://drafts.csswg.org/css-transforms-2/#individual-transforms">
<style>
svg {
width: 400px;
height: 400px;
}
rect {
width: 100px;
height: 100px;
transform-origin: top left;
scale: 2;
}
</style>
</head>
<body>
<svg><rect></rect></svg>
</body>
</html>

View file

@ -0,0 +1,41 @@
<!DOCTYPE html>
<html class="reftest-wait">
<head>
<title>Animating the "scale" property on an SVG element</title>
<link rel="help" href="https://drafts.csswg.org/css-transforms-2/#individual-transforms">
<link rel="match" href="scale-animation-on-svg-ref.html">
<style>
@keyframes scale-animation {
from { scale: 1; }
to { scale: 2; }
}
svg {
width: 400px;
height: 400px;
}
rect {
width: 100px;
height: 100px;
transform-origin: top left;
animation: scale-animation 1ms linear forwards;
}
</style>
</head>
<body>
<svg><rect></rect></svg>
<script>
(async function() {
await Promise.all(document.getAnimations().map(animation => animation.finished));
document.documentElement.classList.remove("reftest-wait");
})();
</script>
</body>
</html>

View file

@ -0,0 +1,26 @@
<!DOCTYPE html>
<html>
<head>
<title>Animating the "translate" property on an SVG element</title>
<link rel="help" href="https://drafts.csswg.org/css-transforms-2/#individual-transforms">
<style>
svg {
width: 400px;
height: 400px;
}
rect {
width: 200px;
height: 200px;
transform-origin: top left;
translate: 100px 100px;
}
</style>
</head>
<body>
<svg><rect></rect></svg>
</body>
</html>

View file

@ -0,0 +1,41 @@
<!DOCTYPE html>
<html class="reftest-wait">
<head>
<title>Animating the "translate" property on an SVG element</title>
<link rel="help" href="https://drafts.csswg.org/css-transforms-2/#individual-transforms">
<link rel="match" href="translate-animation-on-svg-ref.html">
<style>
@keyframes translate-animation {
from { translate: 0 0; }
to { translate: 100px 100px; }
}
svg {
width: 400px;
height: 400px;
}
rect {
width: 100px;
height: 100px;
transform-origin: top left;
animation: translate-animation 1ms linear forwards;
}
</style>
</head>
<body>
<svg><rect></rect></svg>
<script>
(async function() {
await Promise.all(document.getAnimations().map(animation => animation.finished));
document.documentElement.classList.remove("reftest-wait");
})();
</script>
</body>
</html>