diff options
author | José Fonseca <[email protected]> | 2008-08-07 20:57:03 +0100 |
---|---|---|
committer | José Fonseca <[email protected]> | 2008-08-07 20:58:09 +0100 |
commit | 6a82ea2ed21c47749676e765311baed97f5dea9f (patch) | |
tree | 2f49fbdadfc4a54064d53805942a41c744555553 /src/gallium/drivers/trace/trace.xsl | |
parent | 05e90964cfd99bb8cad2d9146ab042730052b8a4 (diff) |
trace: Simplify HTML output.
Diffstat (limited to 'src/gallium/drivers/trace/trace.xsl')
-rw-r--r-- | src/gallium/drivers/trace/trace.xsl | 47 |
1 files changed, 7 insertions, 40 deletions
diff --git a/src/gallium/drivers/trace/trace.xsl b/src/gallium/drivers/trace/trace.xsl index 5a876e0f216..13039d44c42 100644 --- a/src/gallium/drivers/trace/trace.xsl +++ b/src/gallium/drivers/trace/trace.xsl @@ -38,33 +38,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. text-align : left; } - ul.calls { - list-style: none; - margin-left: 0px; - padding-left: 0px; - } - - ul.args { - display:inline; - list-style: none; - margin-left: 0px; - padding-left: 0px; - } - - ul.args li { - display:inline; - } - - ul.elems { - list-style: none; - margin-left: 2em; - padding-left: 0px; - } - - ul.elems li { - display:block; - } - .fun { font-weight: bold; } @@ -86,9 +59,9 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. } </style> <body> - <ul class="calls"> + <ol class="calls"> <xsl:apply-templates/> - </ul> + </ol> </body> </html> </xsl:template> @@ -101,23 +74,19 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. <xsl:value-of select="@method"/> </span> <xsl:text>(</xsl:text> - <ul class="args"> - <xsl:apply-templates select="arg"/> - </ul> + <xsl:apply-templates select="arg"/> <xsl:text>)</xsl:text> <xsl:apply-templates select="ret"/> </li> </xsl:template> <xsl:template match="arg|member"> - <li> <xsl:apply-templates select="@name"/> <xsl:text> = </xsl:text> <xsl:apply-templates /> <xsl:if test="position() != last()"> <xsl:text>, </xsl:text> </xsl:if> - </li> </xsl:template> <xsl:template match="ret"> @@ -146,12 +115,10 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. </xsl:template> <xsl:template match="elem"> - <li> - <xsl:apply-templates /> - <xsl:if test="position() != last()"> - <xsl:text>, </xsl:text> - </xsl:if> - </li> + <xsl:apply-templates /> + <xsl:if test="position() != last()"> + <xsl:text>, </xsl:text> + </xsl:if> </xsl:template> <xsl:template match="null"> |