summaryrefslogtreecommitdiffstats
path: root/testing/talos/talos/tests/perf-reftest-singletons/bidi-resolution-1.html
diff options
context:
space:
mode:
Diffstat (limited to 'testing/talos/talos/tests/perf-reftest-singletons/bidi-resolution-1.html')
-rw-r--r--testing/talos/talos/tests/perf-reftest-singletons/bidi-resolution-1.html24
1 files changed, 24 insertions, 0 deletions
diff --git a/testing/talos/talos/tests/perf-reftest-singletons/bidi-resolution-1.html b/testing/talos/talos/tests/perf-reftest-singletons/bidi-resolution-1.html
new file mode 100644
index 0000000000..c07899386a
--- /dev/null
+++ b/testing/talos/talos/tests/perf-reftest-singletons/bidi-resolution-1.html
@@ -0,0 +1,24 @@
+<!DOCTYPE html>
+<html style="overflow-y: scroll">
+<head>
+<meta charset="UTF-8">
+<script src="util.js"></script>
+<script>
+window.onload = function() {
+ const TEST_WORD = "iqwdzx zzaعظأkvcg rvde";
+ let div = document.getElementById("test");
+
+ div.textContent = TEST_WORD;
+ flush_layout();
+
+ perf_start();
+ div.textContent = build_text(TEST_WORD, 30, 800);
+ flush_layout(div);
+ perf_finish();
+};
+</script>
+</head>
+<body>
+ <div id="test" style="white-space: normal"></div>
+</body>
+</html>