Add @page margin support
[WebKit-https.git] / LayoutTests / pointer-lock / pointer-lock-api.html
1 <!DOCTYPE HTML>
2 <html>
3 <head>
4 <script src="../http/tests/resources/js-test-pre.js"></script>
5 </head>
6 <body>
7 <script>
8     description("Basic API existence test for Pointer Lock.")
9
10     shouldBeDefined("document.onpointerlockchange");
11     shouldBeDefined("document.onpointerlockerror");
12     shouldBeDefined("document.exitPointerLock");
13     shouldEvaluateTo("document.pointerLockElement", null);
14     element = document.createElement("div");
15     shouldBeDefined("element.requestPointerLock");
16 </script>
17 <script src="../http/tests/resources/js-test-post.js"></script>
18 </body>
19 </html>