Pull up upstream revision db8568696ad5a100ab3f118ac1cde53ee61ccbc3:

Fix some XSLT/CSS bugs that leaked some internal tags into the HTML file.
This, together with some CSS inconsistency, supposedly prevented the
timestamp column from being right-aligned... although I have not been able
to reproduce it with neither Chrome nor Firefox.  That said, the changes
in here should fix this.

While doing this, also change the background color of the timestamp column
for test programs to improve the divider bar between test programs.

Based on patches and ideas from pgoyette@.  Should fix PR bin/45859.
This commit is contained in:
jmmv 2012-01-23 23:03:39 +00:00
parent 8d947a05b5
commit a5f84fa6bf
2 changed files with 18 additions and 6 deletions

View File

@ -148,10 +148,22 @@ table.tcs-summary th {
}
table.tcs-summary td.numeric {
text-align: right;
width: 1pt;
}
table.tcs-summary td.numeric p {
text-align: right;
}
table.tcs-summary td.tp-numeric {
background: #dddddd;
width: 1pt;
}
table.tcs-summary td.tp-numeric p {
text-align: right;
}
table.tcs-summary td.tp-id {
background: #dddddd;
font-weight: bold;

View File

@ -382,8 +382,8 @@
<td class="tp-id" colspan="3">
<p><xsl:value-of select="@id" /></p>
</td>
<td class="numeric">
<xsl:apply-templates select="tp-time" />s
<td class="tp-numeric">
<p><xsl:value-of select="tp-time" />s</p>
</td>
</tr>
<xsl:if test="$which != 'bogus'">
@ -437,9 +437,9 @@
expected_failure|expected_timeout|
expected_signal|failed|passed|
skipped" mode="tc" />
<td class="numeric">
<xsl:apply-templates select="tc-time" />s
</td>
<td class="numeric">
<p><xsl:value-of select="tc-time" />s</p>
</td>
</tr>
</xsl:if>
</xsl:template>