Index: Source/web/tests/data/textbox.html |
diff --git a/Source/web/tests/data/move_range.html b/Source/web/tests/data/textbox.html |
similarity index 61% |
copy from Source/web/tests/data/move_range.html |
copy to Source/web/tests/data/textbox.html |
index d3e62039ce2af28438edf3fd89baa4ab1ee68a73..a0e296fe3ad79d9c08675d7f774a7d3bda4536d4 100644 |
--- a/Source/web/tests/data/move_range.html |
+++ b/Source/web/tests/data/textbox.html |
@@ -2,13 +2,20 @@ |
<html> |
<head> |
<style> |
- .text { |
- font-family: courier; |
- font-size: 12px; |
- padding: 0px; |
+ html { |
+ font: 10px Ahem; |
+ -webkit-font-smoothing: none; |
margin: 0px; |
- border: 0px; |
} |
+ textarea { |
+ font: 10px Ahem; |
+ -webkit-font-smoothing: none; |
+ margin: 0px; |
+ position: absolute; |
+ left: 200px; |
+ top: 250px; |
+ } |
+ |
</style> |
</head> |
<body> |
@@ -17,11 +24,6 @@ First Line |
Second Text Row |
</textarea> |
<script> |
- function selectCaret() { |
- var text = document.getElementById('target'); |
- text.focus(); |
- text.setSelectionRange(17, 17); |
- } |
function selectRange() { |
var text = document.getElementById('target'); |
text.focus(); |