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 2006/03/29 08:07:36 UTC

DO NOT REPLY [Bug 39138] New: - block border-left/right works only if margin-left/right="0" is set

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

http://issues.apache.org/bugzilla/show_bug.cgi?id=39138

           Summary: block border-left/right works only if margin-
                    left/right="0" is set
           Product: Fop
           Version: 0.91
          Platform: All
        OS/Version: other
            Status: NEW
          Severity: normal
          Priority: P3
         Component: pdf
        AssignedTo: fop-dev@xmlgraphics.apache.org
        ReportedBy: wb@coware.de


<fo:block
        padding-top="5mm" padding-bottom="5mm" padding-left="5mm" padding-right="5mm"
        border-color="red" border-style="solid"  border-width="5mm">

outputs top/bottom borders, but not left/right borders. 

They appear if
        margin-top="0mm" margin-bottom="0mm" margin-left="0mm" margin-right="0mm"
are set as well

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

DO NOT REPLY [Bug 39138] - block border-left/right works only if margin-left/right="0" is set

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

http://issues.apache.org/bugzilla/show_bug.cgi?id=39138


jeremias@apache.org changed:

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




------- Additional Comments From jeremias@apache.org  2006-03-29 21:28 -------
I think the borders are only clipped in your case. In an example I've just done,
the border displayed nicely and as they should be. What's important to know is
that the border to the left and to the right is painted beyond/outside the
normal content area of the text. If you set margin-left="0mm" you trigger
certain rules that make the border appear inside the normal content area. These
rules can be found in chapter 5.3.2 in XSL 1.0.

If you want me to point out to you exactly why the border isn't shown in your
special case, please reopen the issue and attach a full FO file. Your snippet
doesn't show the reason why the border isn't painted.

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.