summaryrefslogtreecommitdiff
path: root/test/data/html/text-source-range.html
diff options
context:
space:
mode:
authorJames Maa <jmaa@berkeley.edu>2024-06-16 18:39:44 -0700
committerGitHub <noreply@github.com>2024-06-17 01:39:44 +0000
commit1d2a91523604cce7dd608408da65bea5645fc7d4 (patch)
tree7c2b915dc29fffc707a5376002682256bce2c6de /test/data/html/text-source-range.html
parent0283b298af2d04c7bc013fad7db5966d651f0142 (diff)
Fix DOMTextScanner entering initial div on backwards seeks (#1071)
* Fix dom-text-scanner entering initial div on reverse seeks * Add new case * Add launch.json * Cleanup launch.json
Diffstat (limited to 'test/data/html/text-source-range.html')
-rw-r--r--test/data/html/text-source-range.html17
1 files changed, 17 insertions, 0 deletions
diff --git a/test/data/html/text-source-range.html b/test/data/html/text-source-range.html
new file mode 100644
index 00000000..c4b151f8
--- /dev/null
+++ b/test/data/html/text-source-range.html
@@ -0,0 +1,17 @@
+<!DOCTYPE html>
+<html>
+<head>
+<meta charset="UTF-8">
+ <title>TextSourceRange Tests</title>
+</head>
+ <body>
+ <h1>TextSourceRange Tests</h1>
+ <test-case id="text-source-range-lazy">
+ <p>人</p>
+ </test-case>
+
+ <test-case id="text-source-range">
+<p>山</p>
+ </test-case>
+ </body>
+</html>