turns out IE8 doesn't like when class names start with a '_' character.

This commit is contained in:
AJ Kelly
2011-06-05 01:26:00 -05:00
parent 40c1cff888
commit 0326b54c22
+6 -16
View File
@@ -78,13 +78,13 @@
margin: 1px 2px 1px 2px; margin: 1px 2px 1px 2px;
border: 1px solid #777; border: 1px solid #777;
} }
._fallbackTheme{ .fallbackTheme{
text-align: justify; text-align: justify;
vertical-align: text-top; vertical-align: text-top;
background: #DDFFEE url(./bgline.png) repeat-x scroll 0 0; background: #DDFFEE url(./bgline.png) repeat-x scroll 0 0;
padding: 1px; padding: 1px;
} }
fieldset div._fallbackTheme{ fieldset div.fallbackTheme{
margin: 1px 2px 1px 2px; margin: 1px 2px 1px 2px;
border: 1px solid #777; border: 1px solid #777;
} }
@@ -235,7 +235,7 @@
<legend>Function Colors</legend> <legend>Function Colors</legend>
<div class="descriptionCell">Available in sm-ssc and StepMania 5</div> <div class="descriptionCell">Available in sm-ssc and StepMania 5</div>
<div class="renamed">Renamed or changed from StepMania 4 alphas</div> <div class="renamed">Renamed or changed from StepMania 4 alphas</div>
<div class="_fallbackTheme">Defined in the _fallback theme</div> <div class="fallbackTheme">Defined in the _fallback theme</div>
<div class="defaultTheme">Defined in the default theme</div> <div class="defaultTheme">Defined in the default theme</div>
</fieldset> </fieldset>
</div> </div>
@@ -476,21 +476,13 @@
<xsl:choose> <xsl:choose>
<!-- "renamed" also covers functions with modified behavior --> <!-- "renamed" also covers functions with modified behavior -->
<xsl:when test="$elmt/@renamed='true'">renamed</xsl:when> <xsl:when test="$elmt/@renamed='true'">renamed</xsl:when>
<xsl:when test="$elmt/@theme='_fallback'">_fallbackTheme</xsl:when> <xsl:when test="$elmt/@theme='_fallback'">fallbackTheme</xsl:when>
<xsl:when test="$elmt/@theme='default'">defaultTheme</xsl:when> <xsl:when test="$elmt/@theme='default'">defaultTheme</xsl:when>
<xsl:otherwise>descriptionCell</xsl:otherwise> <xsl:otherwise>descriptionCell</xsl:otherwise>
</xsl:choose> </xsl:choose>
</xsl:attribute> </xsl:attribute>
<span class="descriptionName"> <span class="descriptionName">
<xsl:choose> <xsl:value-of select="@name" />
<!-- make commands in certain sections link to the SMTheming
wiki article for said command: -->
<xsl:when test="string($class)='Actor'"><a href="http://kki.ajworld.net/wiki/Commands:{@name}" title="'{@name}' on the SMTheming Wiki"><xsl:value-of select="@name" /></a></xsl:when>
<xsl:when test="string($class)='ActorFrame'"><a href="http://kki.ajworld.net/wiki/Commands:{@name}" title="'{@name}' on the SMTheming Wiki"><xsl:value-of select="@name" /></a></xsl:when>
<xsl:when test="string($class)='Sprite'"><a href="http://kki.ajworld.net/wiki/Commands:{@name}" title="'{@name}' on the SMTheming Wiki"><xsl:value-of select="@name" /></a></xsl:when>
<!-- and don't handle wiki links for anything else -->
<xsl:otherwise><xsl:value-of select="@name" /></xsl:otherwise>
</xsl:choose>
</span> </span>
<span class="descriptionArguments"> <span class="descriptionArguments">
<xsl:text>( </xsl:text> <xsl:text>( </xsl:text>
@@ -511,9 +503,7 @@
<td class="returnTypeCell" /> <td class="returnTypeCell" />
<td> <td>
<xsl:attribute name="class"> <xsl:attribute name="class">
<xsl:choose> descriptionCell
<xsl:otherwise>descriptionCell</xsl:otherwise>
</xsl:choose>
</xsl:attribute> </xsl:attribute>
<span class="descriptionName"><xsl:value-of select="@name" /></span> <span class="descriptionName"><xsl:value-of select="@name" /></span>
</td> </td>