test_hover.html (912B)
1 <!DOCTYPE HTML> 2 <html> 3 <head> 4 <title>Test for :hover</title> 5 <script src="chrome://mochikit/content/tests/SimpleTest/SimpleTest.js"></script> 6 <script src="chrome://mochikit/content/tests/SimpleTest/EventUtils.js"></script> 7 <link rel="stylesheet" type="text/css" href="chrome://mochikit/content/tests/SimpleTest/test.css"/> 8 </head> 9 <body onload="startTest();"> 10 <a target="_blank" href="https://bugzilla.mozilla.org/show_bug.cgi?id=">Mozilla Bug </a> 11 <div id="display"> 12 13 </div> 14 <pre id="test"> 15 <script type="application/javascript"> 16 17 SimpleTest.waitForExplicitFinish(); 18 19 function startTest() { 20 // Run the test in a separate window so that the parent document doesn't have 21 // anything that will cause reflows and dispatch synth mouse moves when we don't 22 // want them and disturb our test. 23 window.open("hover_helper.html", "hover_helper", "width=200,height=300"); 24 } 25 26 </script> 27 </pre> 28 </body> 29 </html>