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

Unified Diff: LayoutTests/editing/selection/drag-select-rapidly.html

Issue 217003006: Remove carriage returns from LayoutTests (01) (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Fix caret-and-focus-ring Created 6 years, 9 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 | « LayoutTests/editing/selection/document-mutation.html ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: LayoutTests/editing/selection/drag-select-rapidly.html
diff --git a/LayoutTests/editing/selection/drag-select-rapidly.html b/LayoutTests/editing/selection/drag-select-rapidly.html
index cd386315136cae1987d4f7a376deb790fce9346a..7ff4daf28f42098e19ef5d953bc73d21976b80e1 100644
--- a/LayoutTests/editing/selection/drag-select-rapidly.html
+++ b/LayoutTests/editing/selection/drag-select-rapidly.html
@@ -1,26 +1,26 @@
-<!DOCTYPE html>
-<html>
-<body>
-<p>This test verifies that selection begins at the mouse-down position. Select rapidly inside the box blow. The first letter should be selected.</p>
-<div id='text' style="border: solid 1px; padding: 10px;">The first part of this text should be selected.</div>
-<script>
-if (window.testRunner)
- testRunner.dumpAsText();
-
-if (window.eventSender) {
- var div = document.getElementById('text');
- var x = div.offsetLeft + 1;
- var y = div.offsetTop + div.offsetHeight / 2;
-
- eventSender.mouseMoveTo(x, y);
- eventSender.mouseDown();
-
- eventSender.mouseMoveTo(x + div.offsetWidth - 5, y);
- eventSender.mouseUp();
-
- var sel = window.getSelection();
- document.write(sel.anchorNode == sel.focusNode && sel.anchorOffset < sel.focusOffset ? 'PASS' : 'FAIL');
-}
-</script>
-</body>
-</html>
+<!DOCTYPE html>
+<html>
+<body>
+<p>This test verifies that selection begins at the mouse-down position. Select rapidly inside the box blow. The first letter should be selected.</p>
+<div id='text' style="border: solid 1px; padding: 10px;">The first part of this text should be selected.</div>
+<script>
+if (window.testRunner)
+ testRunner.dumpAsText();
+
+if (window.eventSender) {
+ var div = document.getElementById('text');
+ var x = div.offsetLeft + 1;
+ var y = div.offsetTop + div.offsetHeight / 2;
+
+ eventSender.mouseMoveTo(x, y);
+ eventSender.mouseDown();
+
+ eventSender.mouseMoveTo(x + div.offsetWidth - 5, y);
+ eventSender.mouseUp();
+
+ var sel = window.getSelection();
+ document.write(sel.anchorNode == sel.focusNode && sel.anchorOffset < sel.focusOffset ? 'PASS' : 'FAIL');
+}
+</script>
+</body>
+</html>
« no previous file with comments | « LayoutTests/editing/selection/document-mutation.html ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698