Re: max-height, etc

Anders Berglund <[email protected]>
Newsgroups gmane.org.w3c.xsl-editors
Message-ID <OF807E8099.EAF57DD9-ON85256FF9.006A7B02-85256FF9.006AEA95@us.ibm.com>
Thank-you for pointing out these deficiencies in the draft.

I have copied the appropriate text from the "fuller" property
descriptions to the other definitions.

Regarding the "auto" value; this is a CSS2 error, which has been
corrected in the CSS2.1 CR draft to be "0" when used for "min-height"
and "none" when used for "max-height". The XSL spec will be updated
accordingly.

Anders

>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/>
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.