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 2007/04/04 11:56:40 UTC

DO NOT REPLY [Bug 41894] - fo:block-container: percentage-lengths + width/height->ipd/bpd

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=41894>.
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=41894





------- Additional Comments From jeremias@apache.org  2007-04-04 02:56 -------
I think this is a step in the right direction, but I believe the PercentBase
shouldn't be LengthBase.CONTAINING_REFAREA_HEIGHT but
LengthBase.CONTAINING_BLOCK_HEIGHT. i-p-d, b-p-d, width and height are all using
CONTAINING_BLOCK_WIDTH/HEIGHT as per the spec. top, left etc. are also defined
in terms of the containing block, not the nearest ancestor reference area.

In your example, that would place all three inner b-cs at the upper edge of the
block-container's content area because the block they are enclosed in doesn't
have a height in this case. Only if you remove the block between the inner and
outer b-c will the vertical positioning work again. It's what I would expect in
terms of behaviour.

-- 
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.