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

Unified Diff: LayoutTests/platform/chromium-linux/compositing/gestures/gesture-tapHighlight-1-iframe-composited-scrolled.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-1-iframe-composited-scrolled.html
diff --git a/LayoutTests/platform/chromium-linux/compositing/gestures/gesture-tapHighlight-1-iframe-composited-scrolled.html b/LayoutTests/platform/chromium-linux/compositing/gestures/gesture-tapHighlight-1-iframe-composited-scrolled.html
deleted file mode 100644
index 84ee439eeb97108919d5e0bccfe1856e1955aac2..0000000000000000000000000000000000000000
--- a/LayoutTests/platform/chromium-linux/compositing/gestures/gesture-tapHighlight-1-iframe-composited-scrolled.html
+++ /dev/null
@@ -1,33 +0,0 @@
-<!DOCTYPE html>
-<html>
-<head>
-<script src="../../../../fast/js/resources/js-test-pre.js"></script>
-</head>
-<body onLoad="runTest();">
-<iframe id="targetFrame" src="resources/1-frame-composited.html" style="position: relative; left: 10px; top: 10px; width: 400px; height: 150px;"></iframe>
-<div style="position: relative; left: 10px; top: 20px;">
-This test is successful if "Target Link" is covered by a transparent green box with rounded rectangles,
-and the frame is partially scrolled.
-</div>
-<script>
-function runTest() {
- var targetFrame = document.getElementById("targetFrame");
- var clientRect = targetFrame.contentDocument.getElementById('targetLink').getBoundingClientRect();
- x = (clientRect.left + clientRect.right) / 2;
- y = (clientRect.top + clientRect.bottom) / 2 + targetFrame.getBoundingClientRect().top;
- if (window.testRunner) {
- testRunner.dumpAsText(true);
- testRunner.waitUntilDone();
- }
-
- if (window.eventSender) {
- eventSender.gestureTapDown(x, y);
- document.getElementById("targetFrame").contentWindow.scrollTo(0, 20);
- window.setTimeout(function() { window.testRunner.notifyDone(); }, 0);
- } else {
- debug("This test requires DumpRenderTree.");
- }
-}
-</script>
-</body>
-</html>

Powered by Google App Engine
This is Rietveld 408576698