css tweaks for harness pages. no bug
css tweaks for harness pages. no bug
--- a/testing/mochitest/harness.xul
+++ b/testing/mochitest/harness.xul
@@ -51,17 +51,17 @@
}
gTestList = eval(srvScope.jsonArrayOfTestFiles(links));
connect(window, 'onload', populate);
connect(window, 'onload', hookup);
]]>
</script>
<vbox>
<button label="Run Chrome Tests" id="runtests" />
- <body xmlns="http://www.w3.org/1999/xhtml">
+ <body xmlns="http://www.w3.org/1999/xhtml" id="xulharness">
<div class="container">
<p style="float:right;">
<small>Based on the MochiKit unit tests.</small>
</p>
<div class="status">
<h1 id="indicator">Status</h1>
<h2 id="pass">Passed: <span id="pass-count">0</span></h2>
<h2 id="fail">Failed: <span id="fail-count">0</span></h2>
--- a/testing/mochitest/static/harness.css
+++ b/testing/mochitest/static/harness.css
@@ -1,14 +1,17 @@
body {
margin: 0;
padding: 0;
font-family: Verdana, Helvetica, Arial, sans-serif;
font-size: 11px;
background-color: #fff;
+}
+
+#xulharness {
position: fixed;
top: 30px;
bottom: 0;
right: 0px;
left: 0px;
overflow:auto;
}