grim/gplate

e9b4a69b5777
Parents 0cf3395585d6
Children 9c7806da0c37
Making the stupid validator happy
--- a/tests/check.xsl Sun Feb 10 08:44:59 2008 -0600
+++ b/tests/check.xsl Sun Feb 10 08:47:12 2008 -0600
@@ -15,7 +15,6 @@
/>
<xsl:variable name="script">
- <script type="text/javascript">
<xsl:comment>
function toggle(div) {
element = document.getElementById(div);
@@ -47,11 +46,9 @@
}
}
</xsl:comment>
- </script>
</xsl:variable>
<xsl:variable name="css">
- <style type="text/css">
<xsl:comment>
pre { margin: 0px; }
img { border: 0px; }
@@ -61,7 +58,6 @@
div.passed-message { margin: 2px 0px; background-color: #cfffcf; border: solid 1px #7fff7f; color: #000000; }
div.failed-message { margin: 2px 0px; background-color: #ffcfcf; border: solid 1px #ff7f7f; color: #000000; }
</xsl:comment>
- </style>
</xsl:variable>
<xsl:variable name="title">
@@ -79,8 +75,12 @@
<xsl:template match="check:testsuites">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
- <xsl:copy-of select="$script"/>
- <xsl:copy-of select="$css"/>
+ <script type="text/javascript">
+ <xsl:copy-of select="$script"/>
+ </script>
+ <style type="text/css">
+ <xsl:copy-of select="$css"/>
+ </style>
<title><xsl:copy-of select="$title"/></title>
</head>
<body>