Chromium Code Reviews| Index: LayoutTests/fast/events/touch/resources/frame-touchevent-forwarder.html |
| diff --git a/LayoutTests/fast/events/touch/resources/frame-touchevent-forwarder.html b/LayoutTests/fast/events/touch/resources/frame-touchevent-forwarder.html |
| new file mode 100644 |
| index 0000000000000000000000000000000000000000..73a169250bfa029cd38f8b48a8fd44a98bdacec2 |
| --- /dev/null |
| +++ b/LayoutTests/fast/events/touch/resources/frame-touchevent-forwarder.html |
| @@ -0,0 +1,15 @@ |
| +<!DOCTYPE html> |
| +<style> |
| +html { |
| + border: 1px solid blue; |
| + box-sizing: border-box; |
| + width: 100%; |
| + height: 100%; |
| +} |
| +</style> |
| +<script> |
| + document.addEventListener('touchstart', function(e) { |
| + parent.onTouchStart(e); |
| + }); |
| +</script> |
| +Iframe |