OLD | NEW |
1 <!DOCTYPE html> | 1 <!DOCTYPE html> |
2 <html> | 2 <html> |
3 <head> | 3 <head> |
4 <link rel="stylesheet" href="compositor-touch-hit-rects.css"> | 4 <link rel="stylesheet" href="compositor-touch-hit-rects.css"> |
5 <style> | 5 <style> |
6 html { | 6 html { |
7 font-size: 10px; | 7 font-size: 10px; |
8 } | 8 } |
9 iframe { | 9 iframe { |
10 width: 350px; | 10 width: 350px; |
(...skipping 12 matching lines...) Expand all Loading... |
23 document.documentElement.setAttribute('dumpRenderTree', 'true'); | 23 document.documentElement.setAttribute('dumpRenderTree', 'true'); |
24 | 24 |
25 function handler() {}; | 25 function handler() {}; |
26 var frame = document.getElementById('frame'); | 26 var frame = document.getElementById('frame'); |
27 frameElement.addHandlers = function() { | 27 frameElement.addHandlers = function() { |
28 frame.addHandlers(); | 28 frame.addHandlers(); |
29 } | 29 } |
30 frameElement.removeHandlers = function() { | 30 frameElement.removeHandlers = function() { |
31 frame.removeHandlers(); | 31 frame.removeHandlers(); |
32 } | 32 } |
33 document.body.scrollTop = 33; | 33 document.documentElement.scrollTop = 33; |
34 </script> | 34 </script> |
35 </body> | 35 </body> |
36 </html> | 36 </html> |
OLD | NEW |