Truly independent web browser
<!DOCTYPE html>
<html class="reftest-wait">
<link rel="match" href="../expected/multicol-text-change-in-later-column-ref.html">
<style>
@font-face {
font-family: Ahem;
src: url("../data/fonts/Ahem.ttf");
}
body { margin: 0; }
div { columns: 2; column-fill: auto; height: 40px; width: 220px; column-gap: 20px; font: 20px/20px Ahem; }
p { margin: 0; }
</style>
<div><p id="paragraph">aaaa bbbb cccc dddd</p></div>
<script>
requestAnimationFrame(() => requestAnimationFrame(() => {
document.getElementById("paragraph").textContent = "aaaa bbbb cccc yy";
requestAnimationFrame(() => document.documentElement.classList.remove("reftest-wait"));
}));
</script>
</html>