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

Unified Diff: LayoutTests/platform/chromium-linux/compositing/gestures/gesture-tapHighlight-1-overflow-div-composited-scroll-clip.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-overflow-div-composited-scroll-clip.html
diff --git a/LayoutTests/platform/chromium-linux/compositing/gestures/gesture-tapHighlight-1-overflow-div-composited-scroll-clip.html b/LayoutTests/platform/chromium-linux/compositing/gestures/gesture-tapHighlight-1-overflow-div-composited-scroll-clip.html
deleted file mode 100644
index ccb6f5041563b1dfe79f4552696a9a753f3d784b..0000000000000000000000000000000000000000
--- a/LayoutTests/platform/chromium-linux/compositing/gestures/gesture-tapHighlight-1-overflow-div-composited-scroll-clip.html
+++ /dev/null
@@ -1,42 +0,0 @@
-<!DOCTYPE html>
-<html>
-<head>
-<script src="../../../../fast/js/resources/js-test-pre.js"></script>
-</head>
-<body onload="runTest();">
-<div style="position: relative; left: 10px; top: 10px"></div>
-<div id="targetDiv" style="position: relative; left: 10px; top: 40px; width: 200px; height: 100px; overflow-y: scroll; overflow-x: scroll;">
-<div style="-webkit-transform: translateZ(0)">
-<a href="" id="targetLink" style="-webkit-tap-highlight-color: rgba(0, 255, 0, 0.5)">Target Link.</a><br>
-<a href="">Link 1</a><br>
-<a href="">Link 2</a><br>
-<a href="">Link 3</a><br>
-<a href="">Link 4</a><br>
-<a href="">Link 5</a><br>
-</div></div>
-<div style="position: relative; left: 10px; top: 80px">
-This test is successful if "Target Link" is not visible and no transparent green rectangle with rounded corners is seen.
-</div>
-<script>
-function runTest() {
- var targetDiv = document.getElementById('targetDiv');
- 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) {
- eventSender.gestureTapDown(x, y);
- targetDiv.scrollTop += 20;
- 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