Index: Source/web/tests/data/composited_selection_bounds_basic.html |
diff --git a/Source/web/tests/data/composited_selection_bounds_basic.html b/Source/web/tests/data/composited_selection_bounds_basic.html |
new file mode 100644 |
index 0000000000000000000000000000000000000000..962418581e36ae592045e802c0453b07ec632c27 |
--- /dev/null |
+++ b/Source/web/tests/data/composited_selection_bounds_basic.html |
@@ -0,0 +1,22 @@ |
+<style> |
+ @font-face { |
+ font-family: ahem; |
+ src: url(Ahem.ttf); |
+ } |
+ * { |
+ font-family: ahem; |
+ } |
+</style> |
+<span id="text"> |
+ The quick brown fox jumped over the lazy dog. |
+</span> |
+<script> |
+ var range = document.createRange(); |
+ var textNode = document.getElementById("text").firstChild; |
+ range.setStart(textNode, 10); |
+ range.setEnd(textNode, 25); |
+ document.getSelection().addRange(range); |
+ |
+ window.expectedResult = [document, 68, 8, 68, 20, document, 248, 8, 248, 20]; |
+</script> |
+ |