Move parseFontFaceDescriptor to CSSPropertyParser.cpp
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / fast / events / iframe-onmousemove.html
blobe79164b5989a34df6b053ccdbc4951dde312a7ba
1 <html>
2 <head>
3 <script src="../../resources/js-test.js"></script>
4 <script>
5 if (window.testRunner)
6 testRunner.waitUntilDone();
8 var testFinished = false;
10 function done()
12 if (testFinished)
13 return;
14 testFinished = true;
15 testPassed("received mousemove event.");
16 debug('<br /><span class="pass">TEST COMPLETE</span>');
17 if (window.testRunner)
18 testRunner.notifyDone();
21 function runTest()
23 if (!window.eventSender)
24 return;
26 var frame = document.getElementById("frame");
27 var centerX = frame.offsetLeft + frame.offsetWidth / 2;
28 var centerY = frame.offsetTop + frame.offsetHeight / 2;
29 eventSender.mouseMoveTo(centerX, centerY);
32 window.onload = runTest;
33 </script>
34 </head>
35 <body>
36 <p id="description"></p>
37 <iframe id="frame" src="resources/iframe-onmousemove.html"></iframe>
38 <div id="console"></div>
39 <script>
40 description("This test can be used to verify that a mousemove event is fired when moving the mouse cursor over an element in a subframe.");
41 </script>
42 </body>
43 </html>