diff options
author | James Maa <jmaa@berkeley.edu> | 2024-06-16 18:39:44 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-06-17 01:39:44 +0000 |
commit | 1d2a91523604cce7dd608408da65bea5645fc7d4 (patch) | |
tree | 7c2b915dc29fffc707a5376002682256bce2c6de /test/data | |
parent | 0283b298af2d04c7bc013fad7db5966d651f0142 (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')
-rw-r--r-- | test/data/html/text-source-range.html | 17 | ||||
-rw-r--r-- | test/data/json.json | 1 |
2 files changed, 18 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> diff --git a/test/data/json.json b/test/data/json.json index 73709fd5..f5b632e1 100644 --- a/test/data/json.json +++ b/test/data/json.json @@ -8,6 +8,7 @@ {"path": ".eslintrc.json", "ignore": true}, {"path": ".vscode/settings.json", "ignore": true}, {"path": ".vscode/extensions.json", "ignore": true}, + {"path": ".vscode/launch.json", "ignore": true}, {"path": "dev/jsconfig.json", "ignore": true}, {"path": "ext/manifest.json", "ignore": true}, {"path": "test/data/dictionaries/invalid-dictionary1/index.json", "ignore": true}, |