1
    2
    3
    4
    5
    6
    7
    8
    9
   10
   11
   12
   13
   14
   15
   16
   17
   18
   19
   20
   21

content / test / data / devtools / synthetic_gesture_tests.html [blame]

<!DOCTYPE html>
<html lang="en">
  <head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width,initial-scale=1.0">
    <title>Synthetic Gesture Test Page</title>
  </head>
  <body>
    <a href="#bottom">Go to the bottom of the page</a>
    <div id="padding">
      We need some padding here so that the page is large enough to test swipe
      and scroll actions.
    </div>
    <div id="bottom"><a name="bottom">This is the bottom of the page.</a></div>
    <script>
      var padding = document.getElementById('padding');
      padding.style.border = 'solid';
      padding.style.height = window.screen.height * 2 + 'px';
    </script>
  </body>
</html>