Merge Chromium + Blink git repositories
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / fast / events / touch / resources / compositor-touch-hit-rects-iframe-nested.html
blobf6285309b8b1abed9b20a5f9a2646771d34421e7
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;
9 iframe {
10 width: 350px;
11 height: 40px;
14 </style>
15 </head>
16 <body id='tests'>
17 <br><br>
18 Nested iframe:<br>
19 <iframe id='frame' src='compositor-touch-hit-rects-iframe.html'></iframe>
20 <br><br><br>
21 <script>
22 if (window.testRunner)
23 document.documentElement.setAttribute('dumpRenderTree', 'true');
25 function handler() {};
26 var frame = document.getElementById('frame');
27 frameElement.addHandlers = function() {
28 frame.addHandlers();
30 frameElement.removeHandlers = function() {
31 frame.removeHandlers();
33 document.scrollingElement.scrollTop = 33;
34 </script>
35 </body>
36 </html>