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

Unified Diff: LayoutTests/compositing/gestures/gesture-tapHighlight-with-squashing.html

Issue 687313002: Fix LinkHighlight to position correctly w.r.t. squashed layers. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Fixed Created 6 years, 2 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/compositing/gestures/gesture-tapHighlight-with-squashing.html
diff --git a/LayoutTests/compositing/gestures/gesture-tapHighlight-with-squashing.html b/LayoutTests/compositing/gestures/gesture-tapHighlight-with-squashing.html
index 9985e802d7f445dfca94b9158cfdb39b2a5b5319..f57a93fd348638942fbeaccbdf2c555d72fb6a8e 100644
--- a/LayoutTests/compositing/gestures/gesture-tapHighlight-with-squashing.html
+++ b/LayoutTests/compositing/gestures/gesture-tapHighlight-with-squashing.html
@@ -29,15 +29,21 @@
background-color: orange;
}
+ .squash-spacer {
+ position: relative;
+ top: 40px;
+ }
+
.target {
position: relative;
top: 80px;
+ height: 10px; width: 100%;
}
</style>
<script>
if (window.testRunner) {
- testRunner.dumpAsText();
+ testRunner.dumpAsTextWithPixelResults();
testRunner.waitUntilDone();
}
@@ -53,7 +59,7 @@
if (window.eventSender) {
eventSender.gestureShowPress(x, y);
- window.testRunner.notifyDone();
+ window.setTimeout(function() { window.testRunner.notifyDone(); }, 0);
}
}
@@ -64,6 +70,7 @@
<div class='fixed composited'></div>
<div class='container'>
<div class='composited'></div>
+ <div class='squash-spacer'></div>
<div class='target'>
<a href='#' id='targetLink'>Target Link.</a>
</div>

Powered by Google App Engine
This is Rietveld 408576698