W3C home > Mailing lists > Public > xsl-editors@w3.org > January to March 2005

max-height, etc

From: Peter B. West <lists@pbw.id.au>
Date: Thu, 10 Mar 2005 13:09:07 +1000
Message-ID: <422FBA53.9000908@pbw.id.au>
To: xsl-editors <xsl-editors@w3.org>

The editors,

In the draft version of XSL 1.1 (2004-12-16) the property definition for
  7.14.8 "max-height" contains
<quote>
Value: <length> | <percentage> | none | inherit
...
Percentages: refer to height of containing block
</quote>

The discussion of <percentage> has
<quote>
Specifies a percentage for determining the computed value. The
percentage is calculated with respect to the height of the generated
box's containing block. If the height of the containing block is not
specified explicitly (i.e., it depends on content height), the
percentage value is interpreted like "auto".
</quote>

"auto" is not defined for max-height.

For 7.14.19 "min-height", there is no discussion of the meaning of
<percentage> at all, except by reference to the CSS2 "min-height" property.

In CSS2, section 10.7 discusses "min-height" and "max-height" together,
and the discussion of <percentage> relates to both properties.  Neither
property includes "auto" as a valid specified value.  There is, however,
a detailed discussion in "10.6 Computing heights and margins" of the
meaning of "auto" in a number of circumstances.

If, as I assume, this is the relevant discussion for the resolution of
percentages on both min-height and max-height, it would be useful to
modify the definition of min-height to reflect its commonality with
max-height, and to specifically note the appropriate place to determine
the value of "auto" on these properties.

Yours faithfully,
-- 
Peter B. West <http://cv.pbw.id.au/>
Folio <http://defoe.sourceforge.net/folio/> <http://folio.bkbits.net/>
Received on Thursday, 10 March 2005 03:09:12 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 7 December 2009 10:59:58 GMT