wpt/css/css-images/gradient/color-stops-parsing.html fails
[WebKit-https.git] / LayoutTests / fast / events / keyboardevent-location-constants.html
1 <!DOCTYPE html>
2 <html>
3 <head>
4 <link rel="help" href="http://www.w3.org/TR/DOM-Level-3-Events/#events-KeyboardEvent" />
5 <script src="../../resources/js-test-pre.js"></script>
6 </head>
7 <body>
8 <script>
9 description("Tests that the DOM_KEY_LOCATION_* constants are defined on KeyboardEvent");
10
11 shouldBe('KeyboardEvent.DOM_KEY_LOCATION_STANDARD', '0x00');
12 shouldBe('KeyboardEvent.DOM_KEY_LOCATION_LEFT', '0x01');
13 shouldBe('KeyboardEvent.DOM_KEY_LOCATION_RIGHT', '0x02');
14 shouldBe('KeyboardEvent.DOM_KEY_LOCATION_NUMPAD', '0x03');
15 // These constants are not yet supported (crbug.com/265446)
16 shouldBeUndefined('KeyboardEvent.DOM_KEY_LOCATION_MOBILE');
17 shouldBeUndefined('KeyboardEvent.DOM_KEY_LOCATION_JOYSTICK');
18 </script>
19 <script src="../../resources/js-test-post.js"></script>
20 </body>
21 </html>
22