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

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