tor-browser

The Tor Browser
git clone https://git.dasho.dev/tor-browser.git
Log | Files | Refs | README | LICENSE

398289-resource.xhtml (1465B)


      1 <?xml version="1.0"?>
      2 
      3 <?xml-stylesheet href="chrome://global/skin/global.css" type="text/css"?>
      4 
      5 <window xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
      6 <dialog buttonlabelaccept="OK"
      7        buttonlabelcancel="Cancel">
      8  <style xmlns="http://www.w3.org/1999/xhtml">
      9    .tab-middle { outline: none !important }
     10  </style>
     11 
     12  <script>
     13    document.addEventListener("dialogaccept", function() { alert('OK') });
     14    document.addEventListener("dialogcancel", function() { alert('Cancel') });
     15  </script>
     16 
     17  <tabbox id="test" flex="1" persist="selectedIndex">
     18 
     19    <tabs>
     20      <tab label="One"/>
     21      <tab label="Two"/>
     22    </tabs>
     23 
     24    <tabpanels flex="1">
     25 
     26      <vbox flex="1">
     27        <description>Text for tab ONE</description>
     28        <description class="text-link"
     29                     onclick="window.open('https://bugzilla.mozilla.org/show_bug.cgi?id=398289');">(test case for bug 398289)</description>
     30        <tree>
     31          <treecols>
     32            <treecol label="Header" flex="1"/>
     33          </treecols>
     34        </tree>
     35      </vbox>
     36 
     37      <vbox flex="1">
     38        <description>Text for tab TWO</description>
     39        <description>(When the document is reloaded, this content gets replaced by the one from the first tab.)</description>
     40      </vbox>
     41 
     42    </tabpanels>
     43 
     44  </tabbox>
     45 
     46  <box height="1000"/> <!-- Push dialog buttons out of sight so that the animated default button isn't part of the snapshot -->
     47 
     48 </dialog>
     49 </window>