W3C home > Mailing lists > Public > www-xsl-fo@w3.org > October 2008


From: Jeremias Maerki <dev@jeremias-maerki.ch>
Date: Mon, 20 Oct 2008 19:09:14 +0200
To: www-xsl-fo@w3.org
Cc: Tacio Naja Domingos <taciodomingos@yahoo.com>, fop-dev@xmlgraphics.apache.org
Message-Id: <20081020190749.6E80.60BA733C@jeremias-maerki.ch>

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
Received on Monday, 20 October 2008 17:09:36 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 20:58:32 UTC