toolkit/content/tests/chrome/window_popup_anchor.xul

Wed, 31 Dec 2014 06:09:35 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Wed, 31 Dec 2014 06:09:35 +0100
changeset 0
6474c204b198
permissions
-rw-r--r--

Cloned upstream origin tor-browser at tor-browser-31.3.0esr-4.5-1-build1
revision ID fc1c9ff7c1b2defdbc039f12214767608f46423f for hacking purpose.

     1 <?xml version="1.0"?>
     2 <?xml-stylesheet href="chrome://global/skin" type="text/css"?>
     4 <window title="Popup Anchor Tests"
     5         xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
     7 <script>
     8 function runTests()
     9 {
    10   frames[0].openPopup();
    11 }
    13 window.opener.wrappedJSObject.SimpleTest.waitForFocus(runTests, window);
    14 </script>
    16 <spacer height="13"/>
    17 <button id="outerbutton" label="Button One" style="margin-left: 6px; -moz-appearance: none;"/>
    18 <hbox>
    19   <spacer width="20"/>
    20   <deck>
    21     <vbox>
    22       <iframe id="frame" style="margin-left: 60px; margin-top: 10px; border-left: 17px solid red; padding-left: 0 !important; padding-top: 3px;"
    23               width="250" height="80" src="frame_popup_anchor.xul"/>
    24     </vbox>
    25   </deck>
    26 </hbox>
    28 </window>

mercurial