Skip to content

Truly independent web browser

803 B
Raw Blame
<!doctype html>
<html class="reftest-wait">
<link rel="match" href="../expected/overlapping-inline-paint-order-ref.html">
<link rel="stylesheet" href="../data/fonts/ahem.css">
<style>
    body { margin: 40px; font: 20px/20px Ahem; }
    div { margin-bottom: 60px; }
    span { border: 2px solid red; background: yellow; padding: 10px; }
    .final span { border-color: black; background: lightgray; }
</style>
<div><span>XXX</span><br><span>XXXXX</span></div>
<div><span><span>XXX</span><br><span>XXXXX</span></span></div>
<div style="position: relative"><span>XXX</span><br><span>XXXXX</span></div>
<script>
    requestAnimationFrame(() => requestAnimationFrame(() => {
        document.body.classList.add("final");
        document.documentElement.classList.remove("reftest-wait");
    }));
</script>