Move parseFontFaceDescriptor to CSSPropertyParser.cpp
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / pointer-lock / mouse-event-api.html
blobc42f87cd7f64ea34bf533e3b8eb9783b749dd9c9
1 <!DOCTYPE HTML>
2 <html>
3 <head>
4 <script src="../resources/js-test.js"></script>
5 </head>
6 <body>
7 <script>
8 var mouseEvent = document.createEvent("MouseEvent");
9 shouldBeDefined("mouseEvent.movementX");
10 shouldBeDefined("mouseEvent.movementY");
12 // initializers are passed.
13 shouldBe("new MouseEvent('eventType', { movementX: 888, movementY: 999 }).movementX", "888");
14 shouldBe("new MouseEvent('eventType', { movementX: 888, movementY: 999 }).movementY", "999");
15 </script>
16 </body>
17 </html>