On 08.05.2006 14:54:41 Florent Georges wrote: > Hi > > Doesn't the following have to result in a table with a > border of 1pt, and two rules of 0.25pt?
No. > <fo:table border-style="solid" border-width="1pt"> > <fo:table-column column-width="100pt"/> > <fo:table-body border-width="0.25pt"> > <fo:table-row> > <fo:table-cell border-bottom-style="solid"> > <fo:block> > <fo:inline>Line 1</fo:inline> > </fo:block> > </fo:table-cell> > </fo:table-row> > <fo:table-row> > <fo:table-cell border-bottom-style="solid"> > <fo:block> > <fo:inline>Line 2</fo:inline> > </fo:block> > </fo:table-cell> > </fo:table-row> > <fo:table-row> > <fo:table-cell> > <fo:block> > <fo:inline>Line 3</fo:inline> > </fo:block> > </fo:table-cell> > </fo:table-row> > </fo:table-body> > </fo:table> > > Actually, the two rules are of 1pt. Is it expected? Yes. > I > thought that by "inherit", the value was the one of the > nearest ancestor with that value (well, the value in the > parent, itself maybe "inherit"). The border properties are not inherited properties and you didn't specify "inherit" as the property value anywhere. The default border-width is "medium" which results in a 1pt border in FOP. The border-width on the table-body has no effect, especially since in FOP 0.92beta the border-collapse property is forced to the value "separate" because the default collapsing border model isn't supported, yet. So, as soon as you set the border-style you simply activate the default border-width of "medium" (=1pt). > So is the above result right or a bug? It's correct. > PS: I use FOP 0.92beta. Jeremias Maerki --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
