Skip to content

Truly independent web browser

822 B
Raw Blame
<!DOCTYPE html>
<html class="reftest-wait">
<style>
    body { margin: 0; background: #808080; }
</style>
<svg width="64" height="32">
    <defs>
        <linearGradient id="g" x1="0" y1="0" x2="1" y2="0">
            <stop offset="0" stop-color="#000000"></stop>
            <stop offset="1" stop-color="#303030"></stop>
        </linearGradient>
    </defs>
    <path d="M 4 4 L 60 4 L 60 28 L 4 28 Z" fill="url(#g)" stroke="url(#g)" stroke-width="4"></path>
</svg>
<script>
    // The same page with force-dark off. The darkened test page must not render like this.
    if (window.internals)
        internals.setForceDarkEnabled(false);
    requestAnimationFrame(() => {
        requestAnimationFrame(() => {
            document.documentElement.classList.remove("reftest-wait");
        });
    });
</script>
</html>