Truly independent web browser
<!DOCTYPE html>
<html class="reftest-wait">
<link rel="match" href="../expected/scaled-animated-svg-background-ref.html">
<style>
body { margin: 0; }
.box { position: absolute; left: 8px; width: 24px; height: 24px; overflow: hidden; transform-origin: top left; }
.strip { width: 48px; height: 100%; background-image: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' preserveAspectRatio='none'><circle cx='12' cy='12' r='10' fill='none' stroke='blue' stroke-width='1'/></svg>"); background-size: 24px 24px; background-repeat: repeat-x; }
@keyframes slide { from, to { transform: translate3d(-2px, 0, 0); } }
.first { top: 8px; transform: scale(4); }
.second { top: 112px; transform: scale(2); }
.third { left: 112px; top: 8px; transform: scale(4); }
.fourth { left: 112px; top: 112px; transform: scale(4); }
.first .strip, .second .strip { animation: slide 1s linear infinite; }
.second .strip { background-image: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><circle cx='12' cy='12' r='10' fill='none' stroke='blue' stroke-width='1'/></svg>"); background-size: 24px 12px; }
.fourth .strip { background-image: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' width='24' height='24'><circle cx='12' cy='12' r='10' fill='none' stroke='blue' stroke-width='1'/></svg>"); background-size: auto; }
</style>
<div class="box first"><div class="strip"></div></div>
<div class="box second"><div class="strip"></div></div>
<div class="box third"><div class="strip"></div></div>
<div class="box fourth"><div class="strip"></div></div>
<script>
requestAnimationFrame(() => requestAnimationFrame(() => requestAnimationFrame(() => {
document.documentElement.classList.remove("reftest-wait");
})));
</script>
</html>