| 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>
|
|
|