Wed, 31 Dec 2014 13:27:57 +0100
Ignore runtime configuration files generated during quality assurance.
michael@0 | 1 | <!DOCTYPE HTML> |
michael@0 | 2 | <html> |
michael@0 | 3 | <!-- |
michael@0 | 4 | https://bugzilla.mozilla.org/show_bug.cgi?id=541668 |
michael@0 | 5 | --> |
michael@0 | 6 | <head> |
michael@0 | 7 | <title>Test for Bug 541668</title> |
michael@0 | 8 | <script type="application/javascript" src="/tests/SimpleTest/SimpleTest.js"></script> |
michael@0 | 9 | <script type="application/javascript" src="/tests/SimpleTest/EventUtils.js"></script> |
michael@0 | 10 | <link rel="stylesheet" type="text/css" href="/tests/SimpleTest/test.css"/> |
michael@0 | 11 | </head> |
michael@0 | 12 | <body> |
michael@0 | 13 | <a target="_blank" href="https://bugzilla.mozilla.org/show_bug.cgi?id=541668">Mozilla Bug 541668</a> |
michael@0 | 14 | <table id="display"> |
michael@0 | 15 | <tr> |
michael@0 | 16 | <td rowspan="2"> |
michael@0 | 17 | <div id="target" style="background:fuchsia;height:200px;width:200px"></div> |
michael@0 | 18 | </td> |
michael@0 | 19 | <td>Cell</td> |
michael@0 | 20 | </tr> |
michael@0 | 21 | <tr> |
michael@0 | 22 | <td>Cell</td> |
michael@0 | 23 | </tr> |
michael@0 | 24 | </table> |
michael@0 | 25 | <pre id="test"> |
michael@0 | 26 | <script type="application/javascript"> |
michael@0 | 27 | |
michael@0 | 28 | /** Test for Bug 541668 **/ |
michael@0 | 29 | |
michael@0 | 30 | SimpleTest.waitForExplicitFinish(); |
michael@0 | 31 | SimpleTest.waitForFocus(run_test); |
michael@0 | 32 | |
michael@0 | 33 | function run_test() |
michael@0 | 34 | { |
michael@0 | 35 | var target = document.getElementById("target"); |
michael@0 | 36 | |
michael@0 | 37 | var got_mousemove = false; |
michael@0 | 38 | target.addEventListener("mousemove", |
michael@0 | 39 | function(event) { got_mousemove = true }, |
michael@0 | 40 | false); |
michael@0 | 41 | synthesizeMouse(target, 150, 150, { type: "mousemove" }); |
michael@0 | 42 | is(got_mousemove, true, "should get mousemove on block"); |
michael@0 | 43 | SimpleTest.finish(); |
michael@0 | 44 | } |
michael@0 | 45 | |
michael@0 | 46 | </script> |
michael@0 | 47 | </pre> |
michael@0 | 48 | </body> |
michael@0 | 49 | </html> |