touch-action-computed.html (811B)
1 <!DOCTYPE html> 2 <html> 3 <head> 4 <meta charset="utf-8"> 5 <title>Pointer Events: getComputedStyle().touchAction</title> 6 <link rel="help" href="https://w3c.github.io/pointerevents/#the-touch-action-css-property"> 7 <meta name="assert" content="touch-action computed value is as specified."> 8 <script src="/resources/testharness.js"></script> 9 <script src="/resources/testharnessreport.js"></script> 10 <script src="/css/support/computed-testcommon.js"></script> 11 </head> 12 <body> 13 <div id="target"></div> 14 <script> 15 test_computed_value("touch-action", "auto"); 16 test_computed_value("touch-action", "none"); 17 test_computed_value("touch-action", "manipulation"); 18 19 test_computed_value("touch-action", "pan-x"); 20 test_computed_value("touch-action", "pan-y"); 21 test_computed_value("touch-action", "pan-x pan-y"); 22 </script> 23 </body> 24 </html>