blob: 8735369bff410e438d777bb17637b1e8477f2bd8 [file] [log] [blame]
<!DOCTYPE html>
<html>
<head>
<link rel="help" href="http://www.w3.org/TR/DOM-Level-3-Events/#events-KeyboardEvent" />
<script src="../../resources/js-test.js"></script>
</head>
<body>
<script>
description("Tests that the DOM_KEY_LOCATION_* constants are defined on KeyboardEvent");
shouldBe('KeyboardEvent.DOM_KEY_LOCATION_STANDARD', '0x00');
shouldBe('KeyboardEvent.DOM_KEY_LOCATION_LEFT', '0x01');
shouldBe('KeyboardEvent.DOM_KEY_LOCATION_RIGHT', '0x02');
shouldBe('KeyboardEvent.DOM_KEY_LOCATION_NUMPAD', '0x03');
</script>
</body>
</html>