graouts@webkit.org | d486c2f | 2019-07-09 18:43:57 +0000 | [diff] [blame] | 1 | <!DOCTYPE html> <!-- webkit-test-runner [ internal:AsyncOverflowScrollingEnabled=true ] --> |
| 2 | <html> |
| 3 | <head> |
| 4 | <meta charset=utf-8> |
| 5 | <meta name="viewport" content="width=device-width, initial-scale=1"> |
| 6 | <style> |
| 7 | |
| 8 | #container { |
| 9 | position: absolute; |
| 10 | left: 0; |
| 11 | top: 0; |
| 12 | width: 200px; |
| 13 | height: 200px; |
| 14 | overflow: scroll; |
| 15 | } |
| 16 | |
| 17 | #content { |
| 18 | position: absolute; |
| 19 | width: 200%; |
| 20 | height: 200%; |
| 21 | touch-action: none; |
| 22 | } |
| 23 | |
| 24 | </style> |
| 25 | </head> |
| 26 | <body> |
| 27 | <div id="container"><div id="content"></div></div> |
| 28 | <script src="../utils.js"></script> |
| 29 | <script> |
| 30 | |
| 31 | if (window.testRunner) |
| 32 | ui.swipe({ x: 150, y: 150 }, { x: 50, y: 50 }).then(() => testRunner.notifyDone()); |
| 33 | |
| 34 | </script> |
| 35 | </body> |
| 36 | </html> |