Move parseFontFaceDescriptor to CSSPropertyParser.cpp
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / fast / events / keyboard-event-source-device-event-sender.html
blob0a4f3893ad141b282129f05f52f7628fec2ffe9b
1 <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML//EN">
2 <script src="../../resources/js-test.js"></script>
3 <script type="text/javascript">
4 description('Test that keyboard events should have a sourceCapabilities and its firesTouchEvents should be false.');
6 function keyHandler() {
7 debug(event.type);
8 shouldBeNonNull("event.sourceCapabilities");
9 shouldBeFalse("event.sourceCapabilities.firesTouchEvents");
12 if (window.eventSender) {
13 for (var evt of ['keydown', 'keypress', 'keyup']) {
14 document.addEventListener(evt, keyHandler);
17 eventSender.keyDown(' ');
19 } else {
20 debug('This test requires eventSender.');
23 </script>