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

Unified Diff: LayoutTests/platform/chromium-linux/compositing/gestures/gesture-tapHighlight-2-overflow-div-composited-inner-scroll-outer.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-overflow-div-composited-inner-scroll-outer.html
diff --git a/LayoutTests/platform/chromium-linux/compositing/gestures/gesture-tapHighlight-2-overflow-div-composited-inner-scroll-outer.html b/LayoutTests/platform/chromium-linux/compositing/gestures/gesture-tapHighlight-2-overflow-div-composited-inner-scroll-outer.html
deleted file mode 100644
index 2eb0a502228e37c57ccf2c5fe8d2d46dfbc3f29e..0000000000000000000000000000000000000000
--- a/LayoutTests/platform/chromium-linux/compositing/gestures/gesture-tapHighlight-2-overflow-div-composited-inner-scroll-outer.html
+++ /dev/null
@@ -1,48 +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="outerDiv" style="position: relative; left: 10px; top: 40px; width: 300px; height: 150px; overflow-y: scroll; overflow-x: scroll;">
- <div id="targetDiv" style="position: relative; left: 10px; top: i10px; width: 200px; height: 100px; overflow-y: scroll; overflow-x: scroll;">
- <div style="-webkit-transform: translateZ(0)">
- <a href="">Link 1</a><br>
- <a href="">Link 2</a><br>
- <a href="">Link 3</a><br>
- <a href="" id="targetLink" style="-webkit-tap-highlight-color: rgba(0, 255, 0, 0.5)">Target Link.</a><br>
- <a href="">Link 4</a><br>
- <a href="">Link 5</a><br>
- </div>
- </div>
- <a href="">Link 6</a><br>
- <a href="">Link 7</a><br>
- <a href="">Link 8</a><br>
- <a href="">Link 9</a><br>
-</div>
-<div style="position: relative; left: 10px; top: 80px">
-This test is successful if "Target Link" above is covered in a transparent green rectangle with rounded corners.
-</div>
-<script>
-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) {
- eventSender.gestureTapDown(x, y);
- document.getElementById('outerDiv').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