On 29.06.2007 14:07:51 Pascal Sancho wrote:
> Hi,
> 
> Reading both CSS2 & XSLFO 1.1 specs,..
> 
> 1/ CSS2 17.5.1 gives the order of tables layers.
> background-color default to transparent.

Yes, the order, but not the extents.

> 2/ XSLFO 6.7.9 says that fo:table-row "does not generate any areas".
> 
> 
> My question is: how to display row background if there is no area for it?

It's fo:table (6.7.3) that generates the areas for its children. See the
section there:

"The areas generated and returned by the fo:table formatting object have
as children:
• Areas, with only background, corresponding to the table-header, table-footer, 
table-body, spanned
columns, columns, and rows.
    The spanned columns (fo:table-column with a "number-columns-spanned"
    value greater than 1) are used
in the same way as the "column groups" in CSS2 for determining the background. ☞
• Areas returned by the fo:table-cell formatting objects."

> I see 2 answers:
> 1/ forces to display it however
> In this case, 1st Vincent's schema seems to be the right one
> 
> 2/ display through table-cell, using inheritence mechanism
> In this case, 3rd Schema should be used.

What kind of inheritance? Property inheritance doesn't apply as the
background properties are not inherited.

> 
> WDYT?
> 
> Pascal

<snip/>


Jeremias Maerki

Reply via email to