1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/toolkit/content/tests/chrome/window_popup_anchor.xul Wed Dec 31 06:09:35 2014 +0100 1.3 @@ -0,0 +1,28 @@ 1.4 +<?xml version="1.0"?> 1.5 +<?xml-stylesheet href="chrome://global/skin" type="text/css"?> 1.6 + 1.7 +<window title="Popup Anchor Tests" 1.8 + xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"> 1.9 + 1.10 +<script> 1.11 +function runTests() 1.12 +{ 1.13 + frames[0].openPopup(); 1.14 +} 1.15 + 1.16 +window.opener.wrappedJSObject.SimpleTest.waitForFocus(runTests, window); 1.17 +</script> 1.18 + 1.19 +<spacer height="13"/> 1.20 +<button id="outerbutton" label="Button One" style="margin-left: 6px; -moz-appearance: none;"/> 1.21 +<hbox> 1.22 + <spacer width="20"/> 1.23 + <deck> 1.24 + <vbox> 1.25 + <iframe id="frame" style="margin-left: 60px; margin-top: 10px; border-left: 17px solid red; padding-left: 0 !important; padding-top: 3px;" 1.26 + width="250" height="80" src="frame_popup_anchor.xul"/> 1.27 + </vbox> 1.28 + </deck> 1.29 +</hbox> 1.30 + 1.31 +</window>