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

Unified Diff: LayoutTests/compositing/gestures/gesture-tapHighlight-inline-block-crash.html

Issue 622253004: Use a composed tree based traversal in computing quads in LinkHighlight::computeQuads(). (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: no pixel test 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
« no previous file with comments | « no previous file | LayoutTests/compositing/gestures/gesture-tapHighlight-inline-block-crash-expected.txt » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: LayoutTests/compositing/gestures/gesture-tapHighlight-inline-block-crash.html
diff --git a/LayoutTests/compositing/gestures/gesture-tapHighlight-inline-block-crash.html b/LayoutTests/compositing/gestures/gesture-tapHighlight-inline-block-crash.html
new file mode 100644
index 0000000000000000000000000000000000000000..8417698088e7253d696f94263e4b9891de9e8d8c
--- /dev/null
+++ b/LayoutTests/compositing/gestures/gesture-tapHighlight-inline-block-crash.html
@@ -0,0 +1,18 @@
+<!DOCTYPE html>
+<a href="" id="targetLink" width="320" height="240" ><div>Shoudn't crash</div></a>
+<script>
+if (window.testRunner) {
+ testRunner.dumpAsText();
+ testRunner.waitUntilDone();
+}
+var targetLink = document.querySelector('#targetLink');
+var clientRect = targetLink.getBoundingClientRect();
+x = (clientRect.left + clientRect.right) / 2;
+y = (clientRect.top + clientRect.bottom) / 2;
+if (window.eventSender) {
+ eventSender.gestureShowPress(x, y);
+ window.setTimeout(function() { window.testRunner.notifyDone(); }, 0);
+} else {
+ debug("This test requires DumpRenderTree.");
+}
+</script>
« no previous file with comments | « no previous file | LayoutTests/compositing/gestures/gesture-tapHighlight-inline-block-crash-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698