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

Unified Diff: Source/web/tests/data/tap_handled.html

Issue 267313008: First-cut at fixing unhandled Tap event returns in Blink. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Added separate isInteractiveNode() static function to EventHandler.cpp. Created 6 years, 7 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
« Source/core/page/EventHandler.cpp ('K') | « Source/web/tests/WebViewTest.cpp ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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>
« Source/core/page/EventHandler.cpp ('K') | « Source/web/tests/WebViewTest.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698