Chromium Code Reviews| OLD | NEW |
|---|---|
| (Empty) | |
| 1 <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML//EN"> | |
|
Mike West
2013/07/29 12:40:24
<!DOCTYPE html>
| |
| 2 <html> | |
| 3 <head> | |
| 4 <link rel="help" href="http://www.w3.org/TR/DOM-Level-3-Events/#events-KeyboardE vent" /> | |
|
Mike West
2013/07/29 12:40:24
This is clever; I like it.
| |
| 5 <script src="../js/resources/js-test-pre.js"></script> | |
| 6 </head> | |
| 7 <body> | |
| 8 <script> | |
| 9 description("Tests that the DOM_KEY_LOCATION_* constants are defined on Keyboard Event"); | |
| 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 shouldBe('KeyboardEvent.DOM_KEY_LOCATION_MOBILE', '0x04'); | |
| 16 shouldBe('KeyboardEvent.DOM_KEY_LOCATION_JOYSTICK', '0x05'); | |
| 17 </script> | |
| 18 <script src="../js/resources/js-test-post.js"></script> | |
| 19 </body> | |
| 20 </html> | |
| OLD | NEW |