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

Unified Diff: LayoutTests/fast/regions/selection/selecting-text-through-different-region-flows.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
Index: LayoutTests/fast/regions/selection/selecting-text-through-different-region-flows.html
diff --git a/LayoutTests/fast/regions/selection/selecting-text-through-different-region-flows.html b/LayoutTests/fast/regions/selection/selecting-text-through-different-region-flows.html
index 65f9a04fc7b272c75e16a4dd6f537423b9db5807..edb624db3e75797badd837db341db6a3fea9bbc8 100644
--- a/LayoutTests/fast/regions/selection/selecting-text-through-different-region-flows.html
+++ b/LayoutTests/fast/regions/selection/selecting-text-through-different-region-flows.html
@@ -1,6 +1,7 @@
<!DOCTYPE html>
<html>
<head>
+<script src="../resources/helper.js"></script>
<style>
body { width: 600px; }
@@ -46,9 +47,7 @@ if (window.testRunner) {
eventSender.mouseUp();
// We are moving the mouse somewhere else and click to clear the selection
- eventSender.mouseMoveTo(1, 1);
- eventSender.mouseDown();
- eventSender.mouseUp();
+ mouseClick(1, 1);
}
</script>
</body>

Powered by Google App Engine
This is Rietveld 408576698