Source code

Revision control

Copy as Markdown

Other Tools

<!DOCTYPE html>
<html>
<head>
<script src="util.js"></script>
<script>
window.onload = function() {
/* Use many rules, instead of one rule with many selectors, to test per-rule overhead. */
document.head.appendChild(build_rule("caption div, caption span", 1, "{ color: blue; } ", 20000));
let dom = build_dom(5000, "div");
flush_layout();
perf_start();
document.body.appendChild(dom);
flush_style(dom);
perf_finish();
};
</script>
</head>
<body>
</body>
</html>