summaryrefslogtreecommitdiff
path: root/test/data/html/test-document3-frame1.html
diff options
context:
space:
mode:
authortoasted-nutbread <toasted-nutbread@users.noreply.github.com>2023-12-20 00:31:45 -0500
committerGitHub <noreply@github.com>2023-12-20 05:31:45 +0000
commit0a0994ca64fceafde05997d93e5ca7d6e5baa7b2 (patch)
treec876ddcf63171ff1121f1e46799c2515e63ad370 /test/data/html/test-document3-frame1.html
parent3c226215419ca815712e9568f7d871a96f5ff1cf (diff)
HTML test updates (#398)
* Rename y-test to test-case * Rename y-description to test-description * Remove extension name * Update placeholder favicon * Refactor scripts * Make element types more consistent * More updates * Rename * Simplify file URLs * Rename file * Add descriptions * Rename * Rename * Rename
Diffstat (limited to 'test/data/html/test-document3-frame1.html')
-rw-r--r--test/data/html/test-document3-frame1.html44
1 files changed, 0 insertions, 44 deletions
diff --git a/test/data/html/test-document3-frame1.html b/test/data/html/test-document3-frame1.html
deleted file mode 100644
index 83f82c6e..00000000
--- a/test/data/html/test-document3-frame1.html
+++ /dev/null
@@ -1,44 +0,0 @@
-<!DOCTYPE html>
-<html>
- <head>
- <meta charset="UTF-8">
- <meta name="viewport" content="width=device-width,initial-scale=1">
- <title>Yomitan Manual Performance Tests</title>
- <link rel="stylesheet" href="test-stylesheet.css">
- </head>
-<body><div class="content">
-
- <div class="description">Add elements</div>
-
- <div>
- <a href="#" id="add-elements-1000">1000</a>
- <a href="#" id="add-elements-10000">10000</a>
- <a href="#" id="add-elements-100000">100000</a>
- <a href="#" id="add-elements-1000000">1000000</a>
- <script>
-document.querySelector('#add-elements-1000').addEventListener('click', () => addElements(1000), false);
-document.querySelector('#add-elements-10000').addEventListener('click', () => addElements(10000), false);
-document.querySelector('#add-elements-100000').addEventListener('click', () => addElements(100000), false);
-document.querySelector('#add-elements-1000000').addEventListener('click', () => addElements(1000000), false);
-
-let counter = 0;
-
-function addElements(amount) {
- const container = document.querySelector('#container');
- for (let i = 0; i < amount; i++) {
- const element = document.createElement('div');
- element.textContent = 'ありがとう';
- container.appendChild(element);
- }
-
- counter += amount;
- document.querySelector('#counter').textContent = counter;
-}
- </script>
- </div>
-
- <div id="counter"></div>
- <div id="container"></div>
-
-</div></body>
-</html>