Skip to content

Truly independent web browser

776 B
Raw Blame
<!DOCTYPE html>
<html class="reftest-wait">
<style>
    body { margin: 0; background: #848484; }
    /* rgb(28, 28, 30) is what white inverts to: the lift lands it on the surface gray, which snaps it here. */
    #box { width: 100px; height: 100px; background: rgb(28, 28, 30); border: 20px solid #cc0000; }
</style>
<div id="box"></div>
<script>
    // Force-dark rides the navigable, so it survives the harness navigating this view from the test to the reference.
    // Turn it off rather than assuming a fresh default.
    if (window.internals)
        internals.setForceDarkEnabled(false);
    requestAnimationFrame(() => {
        requestAnimationFrame(() => {
            document.documentElement.classList.remove("reftest-wait");
        });
    });
</script>
</html>