Re: margin herit

Glenn,
discussing differences between implementations (i.e. the interpretation
of the spec) is perfectly within scope of this mailing list, if you ask
me.


Jeremias Maerki


On 08.06.2012 15:16:43 Glenn Adams wrote:
> For future reference, this mail list is for discussing the XSL-FO
> specification, not for discussing specific implementation behavior. Please
> continue your email thread on fop-users@xmlgraphics.apache.org if
> necessary, but make sure you read and understand [1] and [2] first:
> 
> [1] http://xmlgraphics.apache.org/fop/faq.html#indent-inheritance
> [2] http://wiki.apache.org/xmlgraphics-fop/IndentInheritance
> 
> Regards,
> Glenn
> 
> On Fri, Jun 8, 2012 at 5:51 AM, Marc <Marc.Liste@free.fr> wrote:
> 
> > Hallo,
> > I have a problem with FOP with the FO file join below.
> > The problem is from the margin heritage.
> > The margin is inherited else if I indicate new value.
> > Here is the sample, I test it with XEP it's ok, but not with FOP.
> > Do anyone knows this problem? I don't read anything about that!
> >
> > Marc
> > ------------------------------**------------------------------**--------
> > <?xml version="1.0" encoding="UTF-8"?>
> > <fo:root xmlns:fo="http://www.w3.org/**1999/XSL/Format<http://www.w3.org/1999/XSL/Format>
> > ">
> >   <fo:layout-master-set>
> >       <fo:simple-page-master master-name="page" page-height="29.7cm"
> > page-width="21cm" margin-left="2cm">
> >           <fo:region-body/>
> >       </fo:simple-page-master>
> >   </fo:layout-master-set>
> >   <fo:page-sequence master-reference="page">
> >       <fo:flow flow-name="xsl-region-body">
> >           <fo:block background-color="blue">
> >               <fo:block-container reference-orientation="0"
> > background-color="red" margin-left="1cm">
> >                   <fo:block background-color="yellow"
> > margin-left="0cm">should be ok</fo:block>
> >               </fo:block-container>
> >           </fo:block>
> >           <fo:block background-color="blue">
> >               <fo:block-container reference-orientation="0"
> > background-color="red" margin-left="1cm">
> >                   <fo:block background-color="yellow"
> > margin-left="-1cm">is ok with a -1cm as margin-left</fo:block>
> >               </fo:block-container>
> >           </fo:block>
> >           <fo:block background-color="blue">
> >               <fo:block background-color="yellow" margin-left="1cm">
> >                   <fo:table>
> >                       <fo:table-body>
> >                           <fo:table-row>
> >                               <fo:table-cell background-color="green">
> >                                   <fo:block background-color="red"
> > margin-left="0cm">should be ok</fo:block>
> >                               </fo:table-cell>
> >                           </fo:table-row>
> >                       </fo:table-body>
> >                   </fo:table>
> >               </fo:block>
> >           </fo:block>
> >           <fo:block background-color="blue">
> >               <fo:block background-color="yellow" margin-left="1cm">
> >                   <fo:table>
> >                       <fo:table-body>
> >                           <fo:table-row>
> >                               <fo:table-cell background-color="green"
> > margin-left="0cm">
> >                                   <fo:block background-color="red">is ok
> > with a margin-left at 0cm on the table-cell</fo:block>
> >                               </fo:table-cell>
> >                           </fo:table-row>
> >                       </fo:table-body>
> >                   </fo:table>
> >               </fo:block>
> >           </fo:block>
> >       </fo:flow>
> >   </fo:page-sequence>
> > </fo:root>
> >
> >

Received on Friday, 8 June 2012 13:34:53 UTC