<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://www.w3.org/Bugs/Public/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.4"
          urlbase="https://www.w3.org/Bugs/Public/"
          
          maintainer="sysbot+bugzilla@w3.org"
>

    <bug>
          <bug_id>15744</bug_id>
          
          <creation_ts>2012-01-27 18:02:03 +0000</creation_ts>
          <short_desc>Margin collapsing: certain rules should depend on &quot;collapsing&quot; margins not &quot;adjoining&quot; margins</short_desc>
          <delta_ts>2012-12-04 00:54:38 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>CSS</product>
          <component>CSS Level 2</component>
          <version>unspecified</version>
          <rep_platform>All</rep_platform>
          <op_sys>Windows 3.1</op_sys>
          <bug_status>NEW</bug_status>
          <resolution></resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P2</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Anton P">antonsforums</reporter>
          <assigned_to name="Bert Bos">bert</assigned_to>
          
          
          <qa_contact>public-css-bugzilla</qa_contact>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>63191</commentid>
    <comment_count>0</comment_count>
    <who name="Anton P">antonsforums</who>
    <bug_when>2012-01-27 18:02:03 +0000</bug_when>
    <thetext>Reported by Anton Prowse

(A)

8.3.1 (Collapsing margins) says in a note listing various practical
implications of the margin collapsing rules:

  # If the top and bottom margins of an element with clearance are
  # adjoining, its margins collapse with the adjoining margins of
  # following siblings but that resulting margin does not collapse
  # with the bottom margin of the parent block.

However, the concept of adjointness is intransitive and so is common (as per previous versions of the spec) that the margins of the clearing element need to collapse despite not being mutually adjoining.  Hence the sentence needs reformulating in terms of collapsing:

s/are adjoining/collapse/

and maybe also
s/its margins/then they also/

See: http://lists.w3.org/Archives/Public/www-style/2010Aug/0364.html


(B)

8.3.1 says:

  # If the top and bottom margins of a box are adjoining, then it is
  # possible for margins to collapse through it. In this case, the
  # position of the element depends on its relationship with the other
  # elements whose margins are being collapsed.

s/are adjoining/collapse/

since we need to define the position of a collapsed-through element even 
when its top and bottom margins are not adjoining, which would be when 
it has a (necessarily self-collapsing) child.

And, for readability,
s/for margins/for other margins/

See: http://lists.w3.org/Archives/Public/www-style/2010Aug/0364.html
     http://lists.w3.org/Archives/Public/www-style/2010Sep/0698.html

Anyhow, it&apos;s not clear whether &quot;In this case&quot; refers to the margins being adjoinging or to other margins collapsing through it.  The whole sentence could be changed to:

  | If the top and bottom margins of a box collapse, the position of the
  | element is determined as follows.

See: http://lists.w3.org/Archives/Public/www-style/2010Aug/0364.html</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>