From: Andrew Sayers <andrew-libreoffice....@pileofstuff.org>

"createTabIndent" used to position spans absolutely, so a paragraph with
nothing but indented <span>s would be set to zero height.  A document that uses
tabs on adjacent paragraphs will therefore see all the text on top of each
other.

Padding gets much closer to the document's intent.
---
 filter/source/xslt/odf2xhtml/export/xhtml/body.xsl | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git filter/source/xslt/odf2xhtml/export/xhtml/body.xsl 
filter/source/xslt/odf2xhtml/export/xhtml/body.xsl
index 60b5808..bbf90d5 100644
--- filter/source/xslt/odf2xhtml/export/xhtml/body.xsl
+++ filter/source/xslt/odf2xhtml/export/xhtml/body.xsl
@@ -594,7 +594,7 @@
                <xsl:param name="parentMarginLeft" />
                <xsl:param name="pageMarginLeft" />
 
-               <xsl:text>position:absolute;left:</xsl:text>
+               <xsl:text>padding-left:</xsl:text>
                <xsl:variable name="tabPosition">
                        <xsl:if 
test="$tabStops/style:tab-stop[$tabCount]/@style:position">
                                <xsl:call-template name="convert2cm">
-- 
1.8.5.1

_______________________________________________
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice

Reply via email to