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

Unified Diff: LayoutTests/fast/regions/selection/selection-direction-expected.html

Issue 25761004: [CSS Regions] Helper functions for selection layout tests (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 7 years, 2 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/fast/regions/selection/selection-direction.html ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: LayoutTests/fast/regions/selection/selection-direction-expected.html
diff --git a/LayoutTests/fast/regions/selection/selection-direction-expected.html b/LayoutTests/fast/regions/selection/selection-direction-expected.html
index 63750894e4eb24fad030b45b4d0e6052b7b69cf9..b18d682672be3491f689d1c990bdf8759609a826 100644
--- a/LayoutTests/fast/regions/selection/selection-direction-expected.html
+++ b/LayoutTests/fast/regions/selection/selection-direction-expected.html
@@ -1,5 +1,6 @@
<html>
<head>
+ <script src="../resources/helper.js"></script>
<style>
#region {
height: 100px;
@@ -25,19 +26,8 @@
top: 200px;
}
</style>
- <script>
- function selectText() {
- if (window.testRunner) {
- eventSender.mouseMoveTo(100, 10);
- eventSender.mouseDown();
-
- eventSender.mouseMoveTo(100, 110);
- eventSender.mouseUp();
- }
- }
- </script>
</head>
-<body onload="selectText();">
+<body onload="selectContentByRange(100, 10, 100, 110);">
<div id="region">inside region inside region inside region inside region</div>
<div id="outside">outside region outside region outside region outside region</div>
<div id="description">
« no previous file with comments | « LayoutTests/fast/regions/selection/selection-direction.html ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698