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

Unified Diff: LayoutTests/platform/chromium-linux/compositing/gestures/gesture-tapHighlight-simple-div-boxshadow-static.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-div-boxshadow-static.html
diff --git a/LayoutTests/platform/chromium-linux/compositing/gestures/gesture-tapHighlight-simple-div-boxshadow-static.html b/LayoutTests/platform/chromium-linux/compositing/gestures/gesture-tapHighlight-simple-div-boxshadow-static.html
deleted file mode 100644
index b27b5bd7465a193aa14cff88085d289b9c1f22db..0000000000000000000000000000000000000000
--- a/LayoutTests/platform/chromium-linux/compositing/gestures/gesture-tapHighlight-simple-div-boxshadow-static.html
+++ /dev/null
@@ -1,36 +0,0 @@
-<!DOCTYPE html>
-<html>
-<head>
-<script src="../../../../fast/js/resources/js-test-pre.js"></script>
-<script src="resources/target-div-run-test.js"></script>
-</head>
-<body onload="runTest();">
-<div style="top: 10px; left: 10px; -webkit-transform: translateZ(0);">
-<div id="targetDiv" style="position: static; left: 50px; top: 50px; width: 50px; height: 50px; box-shadow: 0px 4px 23px 5px rgba(0, 0, 0, 0.2); border-style: solid; border-width: 2px; -webkit-tap-highlight-color: rgba(0, 255, 0, 0.5); cursor: Pointer">
-<br><center>Target</center><br>
-</div>
-</div>
-<div style="position: absolute; left: 10px; top: 250px; -webkit-transform: translateZ(0);">
-This test is successful if the box labelled "Target" has a transparent green rectangle centered on it.
-</div>
-<script>
-function runTest() {
- var clientRect = document.getElementById('targetDiv').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);
- 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