test_bug418986-3.xhtml (1057B)
1 <?xml version="1.0"?> 2 <?xml-stylesheet href="chrome://global/skin" type="text/css"?> 3 <?xml-stylesheet href="chrome://mochikit/content/tests/SimpleTest/test.css" type="text/css"?> 4 <!-- 5 Bug 418986 6 --> 7 <window title="Mozilla Bug 418986" 8 xmlns:html="http://www.w3.org/1999/xhtml" 9 xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"> 10 11 <script src="chrome://mochikit/content/tests/SimpleTest/SimpleTest.js"></script> 12 <script src="chrome://mochikit/content/tests/SimpleTest/EventUtils.js"></script> 13 14 <body id="body" xmlns="http://www.w3.org/1999/xhtml"> 15 <a target="_blank" href="https://bugzilla.mozilla.org/show_bug.cgi?id=418986"> 16 Mozilla Bug 418986</a> 17 </body> 18 19 <script type="application/javascript" src="bug418986-3.js"></script> 20 <script type="application/javascript"><![CDATA[ 21 // This test produces fake mouse events and checks that the screenX and screenY 22 // properties of the received event objects provide client window coordinates. 23 // Run the test once the window has loaded. 24 test(false); 25 ]]></script> 26 27 </window>