Index: Source/web/tests/data/tap_handled.html |
diff --git a/Source/web/tests/data/tap_handled.html b/Source/web/tests/data/tap_handled.html |
new file mode 100644 |
index 0000000000000000000000000000000000000000..5dd431563fd2939fe73ab4158bf5d25e2672149a |
--- /dev/null |
+++ b/Source/web/tests/data/tap_handled.html |
@@ -0,0 +1,28 @@ |
+t <!DOCTYPE html> |
+<html> |
+<head> |
+ <meta charset="utf-8"> |
+ <title>Tap Handled Test</title> |
+ <style> |
+ #static, |
+ #editable, |
+ #consumes, |
+ #ignores { |
+ border: 1px solid black; |
+ height: 30px; |
+ } |
+ </style> |
+</head> |
+<body> |
+ <span id="static">Static text</span><br> |
+ <input id="editable" type="text" value="Editable Text"> |
+ <div id="consumes">Consumes clicks</div> |
+ <div id="ignores">Ignores clicks</div> |
+ <script> |
+ function consume(e) { |
+ e.preventDefault(); |
+ } |
+ document.getElementById('consumes').addEventListener('click', consume); |
+ </script> |
+</body> |
+</html> |