Move parseFontFaceDescriptor to CSSPropertyParser.cpp
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / fast / events / wheel-event-dispatch-event.html
blob6dac5f2282fa3c91a75296ff991b5abab87cc653
1 <!DOCTYPE html>
2 <script src="../../resources/js-test.js"></script>
3 <div id=target></div>
4 <script type="text/javascript">
5 description('Test that wheel events should be dispatched and catched in the EventListener.');
7 var target = document.getElementById("target");
8 var wheelevent = new WheelEvent("wheelevent");
9 var recevied = false;
10 target.addEventListener("wheelevent", function() {
11 recevied = true;
12 debug("Wheelevent recevied");
13 });
14 target.dispatchEvent(wheelevent);
16 shouldBeTrue("recevied");
17 </script>