<!DOCTYPE html>
<style>
.x, .x * { color: yellow; }
</style>
<script src="util.js"></script>
<script>
window.onload = function() {
  let root = build_dom(50000, "div");
  document.body.appendChild(root);
  flush_layout(root);
  root.className = "x";
  perf_start();
  flush_style(root);
  perf_finish();
};
</script>
<body></body>
