summaryrefslogtreecommitdiffstats
path: root/testing/talos/talos/tests/perf-reftest/style-sharing.html
blob: fb32bde8fd7393412e4fdc05ca1449ea5b72c379 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
<!DOCTYPE html>
<html>
  <head>
    <script src="util.js"></script>
    <script>
window.onload = function() {
  document.head.appendChild(build_rule("caption div", 10000, "{ color: blue; } "));
  let dom = build_dom(5000, "div", { elemNameLeft: "div", elemNameRight: "div" });

  flush_style();
  perf_start();
  document.body.appendChild(dom);
  flush_style(dom);
  perf_finish();
};
    </script>
  </head>
  <body>
  </body>
</html>