Move parseFontFaceDescriptor to CSSPropertyParser.cpp
[chromium-blink-merge.git] / third_party / WebKit / ManualTests / shift-alt-key-event.html
blob3dafa471d8f8b084123a0923278999d3645c49bc
1 <!DOCTYPE html>
2 <html>
3 <head>
4 <script>
5 window.onload = function() {
6 document.getElementById("myinput").focus();
7 };
9 function keyDown(event)
11 var output = document.getElementById("console");
12 var text = "shiftKey = "+event.shiftKey+ ", altKey = "+event.altKey+ ", which = "+ event.which;
14 if (event.shiftKey == true && event.altKey == true && event.which == 18) {
15 text = text + "<br>TEST : <b>PASSED</b>"
16 } else {
17 text = text + "<br>TEST : <b>FAILED</b>"
19 output.innerHTML = text;
22 </script>
23 </head>
24 <body>
25 <p>Test for <a href="http://bugs.webkit.org/show_bug.cgi?id=111112">bug 111112</a>:
26 Shift + Alt key press</p>
28 <p>Try press Shift then alt key.
29 The test passes if the shiftKey, altKey values of JsKeyEvent are true and keycode/which is 18.<p>
31 <input type="text" id="myinput" onkeydown="keyDown(event)">
32 <br><br>
33 <div id="console"></div>
34 </body>
35 </html>