<?xml version="1.0"?> <?xml-stylesheet href="chrome://global/skin" type="text/css"?> <window onload="window.opener.doTest()" xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"> <scrollbox id="page-scrollbox" style="border: 1px solid red; background-color: black;overflow: auto" flex="1"> <box id="page-box" style="border: 1px solid green;"/> </scrollbox> </window>