From: SourceForge.net <no...@so...> - 2013-02-17 19:08:41
|
Bugs item #3605081, was opened at 2013-02-17 09:12 Message generated for change (Comment added) made by honyk You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=373747&aid=3605081&group_id=21935 Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: XSL Group: output: HTML Status: Open Resolution: None Priority: 5 Private: No Submitted By: Jan Tosovsky (honyk) Assigned to: Nobody/Anonymous (nobody) Summary: Suppressing cell borders when table frame=none Initial Comment: Despite the [informal]table 'frame' attribute is set to none (table.borders.with.css = 1), the individual cells still have their borders. I've fixed this in my local copy of the xhtml/table.xsl file (entry|entrytbl template modifying the rowsep/colsepvariables): ... </xsl:when> <!-- two new conditions --> <xsl:when test="ancestor::table[1][@frame='none']">0</xsl:when> <xsl:when test="ancestor::informaltable[1][@frame='none']">0</xsl:when> <xsl:otherwise> <xsl:call-template name="inherited.table.attribute"> ... I didn't succeed in placing this code directly to my customization layer because of priority issues. I wasn't able to fix it using common scenarios. I'd be grateful for fixing it (or using another approach). DocBook XSL 1.78.0 / Saxon 6.5.5 / DocBook 4.4 ---------------------------------------------------------------------- >Comment By: Jan Tosovsky (honyk) Date: 2013-02-17 11:08 Message: During processing more complex tables I realized the same change has to be applied also into the 'empty.table.cell' template in the same table.xsl stylesheet file. ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=373747&aid=3605081&group_id=21935 |