Re: [xsl] table-row height attribute

Subject: Re: [xsl] table-row height attribute
From: David Tolpin <dvd@xxxxxxxxxxxxxx>
Date: Thu, 11 Mar 2004 09:50:48 +0400 (AMT)
> I have to agree with Ken--it appears that the XSL-FO spec delegates to 
> the CSS2 spec to define the semantics of height on rows.

Yes, it is true.

>
> As Ken says, if you want to limit the height of the cell content, you 
> must put it in an fo:block-container with an explicit height= (or 
> block-progression-dimension= value).

No, it is not so. block-container with block-progression-dimension
is a workaround which may work in some cases, and will not in others
(when the cell is neihboring another one with row-span!=1). The
correct way to limit the height of a cell is to specify block-progression-dimension
on the table-cell itself. The specification allows to do so
by explicitely listing block-progression-dimension on fo:table-cell.

There is an error in the specification in that both height and 
block-progression-dimension are listed for table-cell. This makes
no sense since height is mapped to block-progression-dimension in
XSL FO.

I admit that proper support of block-progression-dimension on table-cell
may not be available in FOP. But then it is a bug in FOP; XSL FO allows
it and it is the right way to specify cells with fixed height.

David Tolpin
http://davidashen.net/

 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list


Current Thread