<?xml version="1.0"?>
<?xml-stylesheet href="chrome://global/skin" type="text/css"?>
<?xml-stylesheet href="/tests/SimpleTest/test.css" type="text/css"?>
<?xml-stylesheet href="data:text/css,description {min-width: 1px; padding: 2px;}" type="text/css"?>
<!--
XUL <resizer> tests
-->
<window title="XUL resizer tests"
  xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
  <script type="application/javascript" src="/MochiKit/packed.js" />
  <script type="application/javascript" src="/tests/SimpleTest/SimpleTest.js"/>

  <!-- test resuls are displayed in the html:body -->
  <body xmlns="http://www.w3.org/1999/xhtml">
  </body>

  <!-- test code goes here -->
  <script type="application/javascript"><![CDATA[
    // GTK has a native drag resizing implementation so we can't test that here
    if (navigator.platform.indexOf("Mac") == 0 || navigator.platform.indexOf("Win") == 0) {
      SimpleTest.waitForExplicitFinish();

      window.open("window_resizer.xul", "_blank", "left=200,top=200,outerWidth=300,outerHeight=300");
    }
   ]]></script>
</window>
