aboutsummaryrefslogtreecommitdiff
path: root/test/data
diff options
context:
space:
mode:
authorCashew <52880648+Scrub1492@users.noreply.github.com>2023-12-19 12:45:14 +0900
committerGitHub <noreply@github.com>2023-12-19 03:45:14 +0000
commit521e87d01142063c785054741d3703de37a1636c (patch)
treedaa3897860f074fb5203255a5126dd8aa99c3b26 /test/data
parentc661eafa7d57c32e33e51dd6eb787b97832e97f0 (diff)
capture all terminators and quotes in the sentence (#360)
* capture all terminators and quotes in the sentence * fix negative position, add documents and tests * fix comments giving wrong semantics * add test case coverage * remove cursor namespace for possible performance penalties * while loop optimization
Diffstat (limited to 'test/data')
-rw-r--r--test/data/html/test-document1.html32
1 files changed, 32 insertions, 0 deletions
diff --git a/test/data/html/test-document1.html b/test/data/html/test-document1.html
index 964d12c0..d66e459d 100644
--- a/test/data/html/test-document1.html
+++ b/test/data/html/test-document1.html
@@ -94,6 +94,38 @@
<div
class="test"
data-test-type="scan"
+ data-element-from-point-selector="span"
+ data-caret-range-from-point-selector="span"
+ data-start-node-selector="span"
+ data-start-offset="4"
+ data-end-node-selector="span"
+ data-end-offset="4"
+ data-result-type="TextSourceRange"
+ data-sentence-scan-extent="100"
+ data-sentence="ありがとございます。!?"
+ >
+ <span>ありがとございます。!?ありがとございます。!?</span>
+ </div>
+
+ <div
+ class="test"
+ data-test-type="scan"
+ data-element-from-point-selector="span"
+ data-caret-range-from-point-selector="span"
+ data-start-node-selector="span"
+ data-start-offset="4"
+ data-end-node-selector="span"
+ data-end-offset="4"
+ data-result-type="TextSourceRange"
+ data-sentence-scan-extent="100"
+ data-sentence="ありがとございます!!!"
+ >
+ <span>ありがとございます!!!ありがとございます!!!</span>
+ </div>
+
+ <div
+ class="test"
+ data-test-type="scan"
data-element-from-point-selector="input"
data-caret-range-from-point-selector="input"
data-start-node-selector="input"