[Bug 16072] New: Margin collapsing: clarification needed as to where a collapsed margin manifests itself

https://www.w3.org/Bugs/Public/show_bug.cgi?id=16072

           Summary: Margin collapsing: clarification needed as to where a
                    collapsed margin manifests itself
           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

The spec currently says that the bottom margins collapse for an auto-height,
non-BFC parent with large min-height and a last in-flow non-self-collapsing
child, even when the parent's used height is larger than the total height of
all of its content and its last child's bottom margin.  The WG feels that this
is acceptable behaviour because the alternatives are worse in a world without
partial margin collapsing.  (See Bug 16037.)

However, nothing in the spec indicates where the collapsed margin should
manifest itself.  (See also Bug 15894 - Position of top content edge of
non-replaced block-level elements is not clearly defined.)  This problem has
always existed, although in most cases it's intuitive that the collapse margin
should manifest itself outside the parent's border box.  However, in the case
described above, it's less intuitive, since one could argue that the collapsed
margin might manifest itself immediately outside the /child's/ border box, for
example.

-- 
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 Wednesday, 22 February 2012 08:30:03 UTC