[css2] Height of Table Row Group

Yesterday a suggestion arrived for HTML5:
http://lists.w3.org/Archives/Public/public-html-comments/2009Jun/0010.html
I replied saying that CSS2 currently does not define the interaction
of height and overflow for a table-row-group, but that may be
specified in a future spec.

Actually, reading 17.5.3 Table height algorithms table-row-groups (and
header-group / footer-group) are not mentioned, so their height is not
considered. But 10.5 Content height: the 'height' property says that
height applies to everything but inlines, columns and column-groups.

A solution to this that could allow future extensions in the proposed
direction involves the following change to 17.5.3

The height of a table is given by the 'height' property for the
'table' or 'inline-table' element. A value of 'auto' means that the
height is the sum of the row group, header
group and footer group heights plus any cell spacing or borders
between them. Any other value is treated as a minimum height in CSS 2.

The height of row group, header group or footer group is given by the
'height' property for the 'table-row-group' element. A value of 'auto'
means that it is the sum of the row heights plus any cell spacing and
borders between them. Any other value is treated as a minimum height
in CSS 2.

CSS 2 does not define how extra space is distributed when the 'height'
property causes the table, table-row-group, table-header-group,
table-footer-group to be taller than it otherwise would be.
Note. Future updates of CSS may specify this further and may assign
different meaning to fixed heights, in combination with other
properties that currently don't apply (for example overflow).

Hoping that this will be corrected,

Giovanni

Received on Thursday, 11 June 2009 13:30:58 UTC