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

Unified Diff: LayoutTests/platform/chromium-linux/compositing/gestures/gesture-tapHighlight-simple-longPress.html

Issue 14860019: Move Linux-specific LayoutTests to generic location (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 7 years, 7 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/platform/chromium-linux/compositing/gestures/gesture-tapHighlight-simple-longPress.html
diff --git a/LayoutTests/platform/chromium-linux/compositing/gestures/gesture-tapHighlight-simple-longPress.html b/LayoutTests/platform/chromium-linux/compositing/gestures/gesture-tapHighlight-simple-longPress.html
deleted file mode 100644
index 4f387227b5c8768c05b7635cc2bad439e4447af9..0000000000000000000000000000000000000000
--- a/LayoutTests/platform/chromium-linux/compositing/gestures/gesture-tapHighlight-simple-longPress.html
+++ /dev/null
@@ -1,38 +0,0 @@
-<!DOCTYPE html>
-<html>
-<head>
-<script src="../../../../fast/js/resources/js-test-pre.js"></script>
-</head>
-<body onload="runTest();" onclick="doNothing();">
-<div style="-webkit-transform: translateZ(0); position: relative; left: 10px; top: 40px">
-<a href="" id="targetLink" style="-webkit-tap-highlight-color: rgba(0, 255, 0, 0.5)">Target Link.</a>
-</div>
-<div style="position: relative; left: 10px; top: 70px">
-This test is successful if no link highlight appears.
-</div>
-<script>
-// This test makes sure a highlight does not survive beyond GestureLongPress.
-function runTest() {
- var clientRect = document.getElementById('targetLink').getBoundingClientRect();
- x = (clientRect.left + clientRect.right) / 2;
- y = (clientRect.top + clientRect.bottom) / 2;
- if (window.testRunner) {
- testRunner.dumpAsText(true);
- testRunner.waitUntilDone();
- }
-
- if (window.eventSender) {
- // Generate valid link highlight.
- eventSender.gestureTapDown(x, y);
-
- // Generate long press ... this should cancel highlight.
- eventSender.gestureLongPress(x, y);
- window.setTimeout(function() { window.testRunner.notifyDone(); }, 0);
- } else {
- debug("This test requires DumpRenderTree.");
- }
-}
-</script>
-</script>
-</body>
-</html>

Powered by Google App Engine
This is Rietveld 408576698