diff options
Diffstat (limited to 'testing/talos/talos/tests/perf-reftest/display-none-1-ref.html')
-rw-r--r-- | testing/talos/talos/tests/perf-reftest/display-none-1-ref.html | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/testing/talos/talos/tests/perf-reftest/display-none-1-ref.html b/testing/talos/talos/tests/perf-reftest/display-none-1-ref.html new file mode 100644 index 0000000000..160cf104d3 --- /dev/null +++ b/testing/talos/talos/tests/perf-reftest/display-none-1-ref.html @@ -0,0 +1,19 @@ +<!DOCTYPE html> +<style> +.root { display: none; } +.x div { color: blue; } +</style> +<script src="util.js"></script> +<script> +window.onload = function() { + let root = document.createElement("div"); + root.className = "root"; + document.body.appendChild(root); + flush_style(root); + perf_start(); + document.body.className = "x"; + flush_style(root); + perf_finish(); +}; +</script> +<body></body> |