You are viewing a plain text version of this content. The canonical link for it is here.
Posted to fop-dev@xmlgraphics.apache.org by bu...@apache.org on 2002/11/26 15:22:23 UTC

DO NOT REPLY [Bug 8391] - padding-start/end not working on fo:block

DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=8391>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=8391

padding-start/end not working on fo:block

oleg@tkachenko.com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |INVALID



------- Additional Comments From oleg@tkachenko.com  2002-11-26 14:22 -------
Fist of all you should use start-indent property to indent a block. Try 
<fo:block start-indent="10mm">test</fo:block>

Using padding in xsl-fo is a little bit tricky due to a burden of CSS
compatibility. See spec description and formulaes [1].
Shortly speaking one have to specify corresponding margin to get indentation
with padding property.
This one wont indent
<fo:block padding-start="10mm">test</fo:block>
This one will indent
<fo:block padding-start="10mm" margin-left="0mm">test</fo:block>

I believe FOP is right in this behavior and btw antenna and XEP manifest the same.

[1]
http://www.w3.org/TR/xsl/slice5.html#section-N5987-Margin,-Space,-and-Indent-Properties

---------------------------------------------------------------------
To unsubscribe, e-mail: fop-dev-unsubscribe@xml.apache.org
For additional commands, email: fop-dev-help@xml.apache.org