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

Side by Side Diff: LayoutTests/fast/events/touch/resources/compositor-touch-hit-rects-iframe-doc.html

Issue 17471008: Rework compositor touch hit testing (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Various fixes and test additions Created 7 years, 5 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 <!DOCTYPE html>
2 <html>
3 <head>
4 <link rel="stylesheet" href="compositor-touch-hit-rects.css">
5 <style>
6 html {
7 font-size: 10px;
8 }
9 </style>
10 </head>
11 <body id='tests'>
12 Document with touch handlers.
13 <br><br>
14 <br><br><br>
15 <script>
16 if (window.testRunner)
17 document.documentElement.setAttribute('dumpRenderTree', 'true');
18
19 function handler() {};
20 frameElement.addHandlers = function() {
21 document.addEventListener('touchstart', handler, false);
22 }
23 frameElement.removeHandlers = function() {
24 document.removeEventListener('touchstart', handler, false);
25 }
26 </script>
27 </body>
28 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698