1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/toolkit/content/tests/chrome/test_subframe_origin.xul Wed Dec 31 06:09:35 2014 +0100 1.3 @@ -0,0 +1,37 @@ 1.4 +<?xml version="1.0"?> 1.5 +<!-- This Source Code Form is subject to the terms of the Mozilla Public 1.6 + - License, v. 2.0. If a copy of the MPL was not distributed with this 1.7 + - file, You can obtain one at http://mozilla.org/MPL/2.0/. --> 1.8 +<?xml-stylesheet href="chrome://global/skin" type="text/css"?> 1.9 +<?xml-stylesheet href="chrome://mochikit/content/tests/SimpleTest/test.css" type="text/css"?> 1.10 + 1.11 +<window title="Subframe Event Tests" 1.12 + onload="setTimeout(runTest, 0);" 1.13 + xmlns:html="http://www.w3.org/1999/xhtml" 1.14 + xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"> 1.15 + 1.16 + <script type="application/javascript" 1.17 + src="chrome://mochikit/content/tests/SimpleTest/SimpleTest.js"/> 1.18 + 1.19 +<script> 1.20 + 1.21 +// Added after content child widgets were removed from ui windows. Tests sub frame 1.22 +// event client coordinate offsets. 1.23 + 1.24 +SimpleTest.waitForExplicitFinish(); 1.25 +function runTest() 1.26 +{ 1.27 + window.open("window_subframe_origin.xul", "_blank", "chrome,width=600,height=600"); 1.28 +} 1.29 +</script> 1.30 + 1.31 +<body xmlns="http://www.w3.org/1999/xhtml"> 1.32 +<p id="display"> 1.33 +</p> 1.34 +<div id="content" style="display: none"> 1.35 +</div> 1.36 +<pre id="test"> 1.37 +</pre> 1.38 +</body> 1.39 + 1.40 +</window>