OLD | NEW |
1 <!DOCTYPE html> | 1 <!DOCTYPE html> |
2 <html> | 2 <html> |
3 <head> | 3 <head> |
4 <meta name="viewport" content="initial-scale=1"> | 4 <meta name="viewport" content="initial-scale=1"> |
5 <style> | 5 <style> |
6 .scrollable { | 6 .scrollable { |
7 overflow: auto; | 7 overflow: auto; |
8 -webkit-overflow-scrolling: touch; | 8 -webkit-overflow-scrolling: touch; |
9 width: 320px; | 9 width: 320px; |
10 height: 300px; | 10 height: 300px; |
(...skipping 12 matching lines...) Expand all Loading... |
23 position: relative; | 23 position: relative; |
24 height: 500px; | 24 height: 500px; |
25 width: 100%; | 25 width: 100%; |
26 background-color: rgba(0, 0, 0, 0.2); | 26 background-color: rgba(0, 0, 0, 0.2); |
27 padding: 10px; | 27 padding: 10px; |
28 } | 28 } |
29 </style> | 29 </style> |
30 <script> | 30 <script> |
31 if (window.testRunner) | 31 if (window.testRunner) |
32 testRunner.dumpAsText(); | 32 testRunner.dumpAsText(); |
| 33 if (window.internals) |
| 34 window.internals.settings.setAcceleratedCompositingForOverflowScrollEnable
d(true); |
33 </script> | 35 </script> |
34 </head> | 36 </head> |
35 | 37 |
36 <body> | 38 <body> |
37 <p>This test should not assert.</p> | 39 <p>This test should not assert.</p> |
38 <div class="scrollable"> | 40 <div class="scrollable"> |
39 <iframe></iframe> | 41 <iframe></iframe> |
40 <div class="box"></div> | 42 <div class="box"></div> |
41 </div> | 43 </div> |
42 </body> | 44 </body> |
43 | 45 |
44 </html> | 46 </html> |
OLD | NEW |