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

Side by Side 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 unified diff | Download patch
OLDNEW
(Empty)
1 t <!DOCTYPE html>
2 <html>
3 <head>
4 <meta charset="utf-8">
5 <title>Tap Handled Test</title>
6 <style>
7 #static,
8 #editable,
9 #consumes,
10 #ignores {
11 border: 1px solid black;
12 height: 30px;
13 }
14 </style>
15 </head>
16 <body>
17 <span id="static">Static text</span><br>
18 <input id="editable" type="text" value="Editable Text">
19 <div id="consumes">Consumes clicks</div>
20 <div id="ignores">Ignores clicks</div>
21 <script>
22 function consume(e) {
23 e.preventDefault();
24 }
25 document.getElementById('consumes').addEventListener('click', consume);
26 </script>
27 </body>
28 </html>
OLDNEW
« 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