Merge Chromium + Blink git repositories
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / fast / input / input-device-constructor.html
blobc2a202e86d2dea35dfb9a187de0e01e14849f4ee
1 <!DOCTYPE html>
2 <html>
3 <head>
4 <script src="../../resources/js-test.js"></script>
5 </head>
6 <body>
7 <script>
8 description("This tests the constructor for the InputDeviceCapabilities DOM class.");
10 shouldBeFalse("new InputDeviceCapabilities().firesTouchEvents");
11 shouldBeTrue("new InputDeviceCapabilities({ firesTouchEvents: true }).firesTouchEvents");
13 </script>
14 </body>
15 </html>