tor-browser

The Tor Browser
git clone https://git.dasho.dev/tor-browser.git
Log | Files | Refs | README | LICENSE

touch-action-valid.html (835B)


      1 <!DOCTYPE html>
      2 <html>
      3 <head>
      4 <title>Pointer Events: parsing touch-action with valid values</title>
      5 <link rel="help" href="https://w3c.github.io/pointerevents/#the-touch-action-css-property">
      6 <meta name="assert" content="touch-action supports the full grammar 'auto | none | [ pan-x || pan-y ] | manipulation'.">
      7 <script src="/resources/testharness.js"></script>
      8 <script src="/resources/testharnessreport.js"></script>
      9 <script src="/css/support/parsing-testcommon.js"></script>
     10 </head>
     11 <body>
     12 <script>
     13 test_valid_value("touch-action", "auto");
     14 test_valid_value("touch-action", "none");
     15 test_valid_value("touch-action", "manipulation");
     16 
     17 // [ pan-x || pan-y ]
     18 test_valid_value("touch-action", "pan-x");
     19 test_valid_value("touch-action", "pan-y");
     20 test_valid_value("touch-action", "pan-y pan-x", "pan-x pan-y");
     21 </script>
     22 </body>
     23 </html>