Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(2605)

Unified Diff: Source/web/tests/data/textbox.html

Issue 1007503003: Fixed key event context menu and added tests for coordinate cleanups (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Fixed typo in expectation Created 5 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « Source/web/tests/data/sometext.html ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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();
« no previous file with comments | « Source/web/tests/data/sometext.html ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698