Skip to content

Truly independent web browser

570 B
Raw Blame
<!DOCTYPE html>
<head>
</head>
<html class="reftest-wait">
<body>
<ol reversed id="ol">
<li>Three</li>
<li>Two</li>
</ol>
<script>
    // Two nested requestAnimationFrame() calls to force code execution _after_ initial paint
    requestAnimationFrame(() => {
      requestAnimationFrame(() => {
        const ol = document.getElementById("ol");
        const one = document.createElement("li");
        one.innerHTML = "One";

        ol.appendChild( one );

        document.documentElement.classList.remove("reftest-wait");
      });
    });
</script>
</body>
</html>