]> granicus.if.org Git - docbook-dsssl/commitdiff
Handle height attribute like width on convert.to.style.
authorBob Stayton <bobs@sagehill.net>
Thu, 13 Dec 2012 21:11:39 +0000 (21:11 +0000)
committerBob Stayton <bobs@sagehill.net>
Thu, 13 Dec 2012 21:11:39 +0000 (21:11 +0000)
xsl/xhtml5/html5-element-mods.xsl

index 9aae285fc72b7dfc305f46ac516822712d927c48..a362d9b0b572ff8fa0f7a703e520af31d3797d7e 100644 (file)
           <xsl:text>; </xsl:text>
         </xsl:when>
 
+        <xsl:when test="local-name() = 'height'">
+          <xsl:text>height </xsl:text>
+          <xsl:value-of select="."/>
+          <xsl:text>; </xsl:text>
+        </xsl:when>
+
         <xsl:when test="local-name() = 'align'">
           <xsl:text>text-align: </xsl:text>
           <xsl:value-of select="."/>
     </xsl:if>
     <!-- Also skip disallowed summary attributes -->
     <xsl:copy-of select="@*[local-name(.) != 'width' and
+                            local-name(.) != 'height' and
                             local-name(.) != 'summary' and
                             local-name(.) != 'border' and
                             local-name(.) != 'cellspacing' and