Author: kkolinko
Date: Fri Apr  9 05:11:56 2010
New Revision: 932252

URL: http://svn.apache.org/viewvc?rev=932252&view=rev
Log:
Fix display of rtext:
The <td> of section body should occupy two columns when rtext used in the 
section header adds a column there.
The issue was visible in IE, but not in Firefox. That is because IE can wrap 
text on '-' signs.
It is followup to r901687.

Modified:
    tomcat/site/trunk/xdocs/stylesheets/tomcat-site.xsl

Modified: tomcat/site/trunk/xdocs/stylesheets/tomcat-site.xsl
URL: 
http://svn.apache.org/viewvc/tomcat/site/trunk/xdocs/stylesheets/tomcat-site.xsl?rev=932252&r1=932251&r2=932252&view=diff
==============================================================================
--- tomcat/site/trunk/xdocs/stylesheets/tomcat-site.xsl (original)
+++ tomcat/site/trunk/xdocs/stylesheets/tomcat-site.xsl Fri Apr  9 05:11:56 2010
@@ -195,6 +195,9 @@
       </tr>
       <!-- Section body -->
       <tr><td>
+      <xsl:if test="@rtext">
+          <xsl:attribute name="colspan">2</xsl:attribute>
+      </xsl:if>
       <p><blockquote>
         <xsl:apply-templates/>
       </blockquote></p>



---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to