Skip to content

Truly independent web browser

741 B
Raw Blame
<!doctype html>
<html class="reftest-wait">
    <link rel="match" href="../expected/fill-stroke-none-style-recomputation-ref.html" />
    <svg width="120" height="80">
        <rect x="20" y="20" width="80" height="40" fill="green"></rect>
        <rect id="target" x="20" y="20" width="80" height="40" fill="red" stroke="red" stroke-width="8"></rect>
    </svg>
    <script>
        requestAnimationFrame(() => {
            requestAnimationFrame(() => {
                target.style.fill = "none";
                target.style.stroke = "none";
                requestAnimationFrame(() => {
                    document.documentElement.classList.remove("reftest-wait");
                });
            });
        });
    </script>
</html>