summaryrefslogtreecommitdiffstats
path: root/testing/talos/talos/tests/perf-reftest/style-sharing-ref.html
diff options
context:
space:
mode:
Diffstat (limited to 'testing/talos/talos/tests/perf-reftest/style-sharing-ref.html')
-rw-r--r--testing/talos/talos/tests/perf-reftest/style-sharing-ref.html20
1 files changed, 20 insertions, 0 deletions
diff --git a/testing/talos/talos/tests/perf-reftest/style-sharing-ref.html b/testing/talos/talos/tests/perf-reftest/style-sharing-ref.html
new file mode 100644
index 0000000000..d2db6783b2
--- /dev/null
+++ b/testing/talos/talos/tests/perf-reftest/style-sharing-ref.html
@@ -0,0 +1,20 @@
+<!DOCTYPE html>
+<html>
+ <head>
+ <script src="util.js"></script>
+ <script>
+window.onload = function() {
+ document.head.appendChild(build_rule("div", 1, "{ color: blue; } "));
+ let dom = build_dom(2000, "div");
+
+ flush_layout();
+ perf_start();
+ document.body.appendChild(dom);
+ flush_style(dom);
+ perf_finish();
+};
+ </script>
+ </head>
+ <body>
+ </body>
+</html>