W3C home > Mailing lists > Public > www-style@w3.org > November 2008

[css2.1 issue 79] proposed text

From: Alex Mogilevsky <alexmog@microsoft.com>
Date: Wed, 12 Nov 2008 10:22:19 -0800
To: "www-style@w3.org" <www-style@w3.org>
Message-ID: <7C2F64B551D8664AAD94A28DAC37D0206B4C609188@NA-EXMSG-C103.redmond.corp.microsoft.com>

My action from telcon today -- proposed changes for min-height/max-height in margin collapsing

Change 1 -- remove min/max height text from bottom-margin rule in 8.3.1 [1]:

        The bottom margin of an in-flow block-level element with a 'height' of 'auto'
        <DEL>and 'min-height' less than the element's used height
        and 'max-height' greater than the element's used height </DEL>
        is adjoining to its last in-flow block-level child's
        bottom margin if the element has no bottom padding or border.

Change 2 -- add a clarifying statement in 10.7 [2]

                     These steps do not affect the real computed values of the above properties.
        <INS>The change of used 'height' has no effect on margin collapsing except as
        specifically required by rules for min-height or max-height in "Collapsing Margins" (8.3.1)</INS>

I still not sure what exactly is a concern in 10.7. Does this change sound reasonable? We can't really say "min-height and max-height have no effect on margin collapsing" because non-zero min-height prevents collapsing through an otherwise empty element...

[1] http://www.w3.org/TR/CSS21/box.html#collapsing-margins
[2] http://www.w3.org/TR/CSS21/visudet.html#min-max-heights
Received on Wednesday, 12 November 2008 18:23:15 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 27 April 2009 13:55:17 GMT