As much as it hurts to admit it (being a FOP developer), Antenna House
is right, I believe. The section in the spec that defines the layering
is this:

I guess that slipped through the cracks and we'll need to see to it that
this gets fixed. Thanks for bringing this up.

On 20.10.2008 12:20:53 Tacio Naja Domingos wrote:
> I am running the below peace of code in both Fop 0.94 and Antenna house 
> formatter, but get a rather different behaviour. I was hoping someone could 
> point out which implementation is correct by directing me to the correct 
> sentence in the FO spec.
> In Fop the table border is drawn below the block-container. In Antenna house 
> formatter, the table-cell border is above the block-container but the 
> table-cell contents are below the block-container.
> The code is:
> <fo:table width="5cm" table-layout="fixed">
>     <fo:table-body>
>         <fo:table-row>
>             <fo:table-cell border-style="solid" border-color="black" 
> border-width="1pt">
>                 <fo:block color="red" background-color="yellow">Below
>                 <fo:block-container absolute-position="absolute" top="0.15cm" 
> left="0.25cm">
>                         <fo:block text-align="left">                        
>                             <fo:inline background-color="grey" 
> keep-together="always">Above</fo:inline>                            
>                         </fo:block>
>                     </fo:block-container> 
> </fo:block>
>             </fo:table-cell>
>         </fo:table-row>
>     </fo:table-body>
> </fo:table>    
> Thanks for your help in advance.
> Tacio

Jeremias Maerki

Reply via email to