Hi,

Winterflood, Jonathan a écrit :
> Hi list,
> 
> I'm trying to find a way to set the height of a table, and set the
> row-height to a percentage of that, but I can't seem to get it to
> work...

Just a few notes about heights in tables as I worked on this a few 
months ago.
The XSL-FO Recommendation refers to CSS2 [1] for a description of how 
heights in tables should be handled. And CSS2 explicitely does not 
specify [2] how heights should be handled when they have an explicit 
value. More precisely:
- when specified on an fo:table, whether the height of the table’s 
  content should override that value, or how possible remaining space 
  should be distributed;
- for fo:table-row and fo:table-cell, what percentage values of `height’ 
  should refer to.

Thus, for now explicit values of `height’ on table, table-row, 
table-cell are discarded and replaced by `auto’ (I think a warning 
should appear in such cases). In the future we might decide on a certain 
behaviour, but in any case this would be FOP-specific and non standard. 
Perhaps the other renderers have a common reasonable behaviour, 
I haven’t looked. We will see when we decide to tackle this issue, but 
I’m afraid it may not be of high priority...

HTH,
Vincent

[1] http://www.w3.org/TR/xsl11/#height
[2] http://www.w3.org/TR/REC-CSS2/tables.html#height-layout

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to