summaryrefslogtreecommitdiffstats
path: root/remote/test/puppeteer/test/assets/detect-touch.html
diff options
context:
space:
mode:
Diffstat (limited to 'remote/test/puppeteer/test/assets/detect-touch.html')
-rw-r--r--remote/test/puppeteer/test/assets/detect-touch.html12
1 files changed, 12 insertions, 0 deletions
diff --git a/remote/test/puppeteer/test/assets/detect-touch.html b/remote/test/puppeteer/test/assets/detect-touch.html
new file mode 100644
index 0000000000..80a4123fbd
--- /dev/null
+++ b/remote/test/puppeteer/test/assets/detect-touch.html
@@ -0,0 +1,12 @@
+<!DOCTYPE html>
+<html>
+ <head>
+ <title>Detect Touch Test</title>
+ <script src='modernizr.js'></script>
+ </head>
+ <body style="font-size:30vmin">
+ <script>
+ document.body.textContent = Modernizr.touchevents ? 'YES' : 'NO';
+ </script>
+ </body>
+</html>