W3C home > Mailing lists > Public > public-css-bugzilla@w3.org > February 2012

[Bug 16049] New: Margin collapsing: clarification needed to Note in 10.7 (min-height and max-height)

From: <bugzilla@jessica.w3.org>
Date: Mon, 20 Feb 2012 21:41:31 +0000
To: public-css-bugzilla@w3.org
Message-ID: <bug-16049-5148@http.www.w3.org/Bugs/Public/>
https://www.w3.org/Bugs/Public/show_bug.cgi?id=16049

           Summary: Margin collapsing: clarification needed to Note in
                    10.7 (min-height and max-height)
           Product: CSS
           Version: unspecified
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: P2
         Component: CSS Level 2
        AssignedTo: bert@w3.org
        ReportedBy: antonsforums@yahoo.co.uk
         QAContact: public-css-bugzilla@w3.org


Reported by Anton Prowse.

At the F2F in Paris 2012
[http://lists.w3.org/Archives/Public/www-style/2012Feb/0529.html] there was a
discussion about the note in 10.7 (min-height and max-height) which appears
immediately after the algorithm describing the calculation of a tentative
height and then used height (based on min-height and max-height).  The Note
says:

  # These steps do not affect the real computed values of the above
  # properties. 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).

There was strong agreement that the second sentence is intended to mean that
you determine whether and which margins collapse during the calculation of the
tentative height, and that information remains fixed during any recalculation
of the used height based on the values of min-height and max-height.  That is,
you don't recompute anything with respect to margin collapsing.

I feel that this is not clearly captured by the Note.

Additionally, the mention of 'max-height' is confusing since there are no
longer any rules concerning 'max-height' in 8.3.1 (since the spec changed a
while ago, removing any special consideration of 'max-height').

-- 
Configure bugmail: https://www.w3.org/Bugs/Public/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
Received on Monday, 20 February 2012 21:41:33 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 20 February 2012 21:41:33 GMT