<?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>15672</bug_id>
          
          <creation_ts>2012-01-22 19:59:18 +0000</creation_ts>
          <short_desc>Term &quot;ancestor box&quot; is ambiguous in definition of containing block (Issue 142)</short_desc>
          <delta_ts>2012-12-04 00:52:28 +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>62990</commentid>
    <comment_count>0</comment_count>
    <who name="Anton P">antonsforums</who>
    <bug_when>2012-01-22 19:59:18 +0000</bug_when>
    <thetext>Issue 142: http://wiki.csswg.org/spec/css2.1#issue-142

Reported by Boris Zbarsky

10.1 (Definition of &quot;containing block&quot;) uses the term &quot;ancestor box&quot;, but it is unclear whether this is used with regard to the formatting structure or the document tree.

Two of the three occurrences of this term (which only appears in 10.1) seem to be replaceable by &quot;ancestor element&quot;.  The third, that in list item 2:
  # 2. For other elements, if the element&apos;s position is &apos;relative&apos;
  #    or &apos;static&apos;, the containing block is formed by the content
  #    edge of the nearest block container ancestor box.
is unclear; as he outlines in his second proposal, Bert is unhappy with &quot;block container element&quot;, I think because the defined term is &quot;block container box&quot;.


Issue 142: http://wiki.csswg.org/spec/css2.1#issue-142

URL
    http://lists.w3.org/Archives/Public/www-style/2009Sep/0126.html #4
Summary
    clarify terms like &quot;ancestor box&quot;, whether referring to formatting structure or document tree. Spec contains only three instances of ancestor box. They are all in section 10.1.
Resolution
    Agreed this is ambiguous.
Proposal
    first version [http://lists.w3.org/Archives/Public/www-style/2010Aug/0436.html];
    second version with support for run-in [http://lists.w3.org/Archives/Public/www-style/2010Oct/0042.html]
Follow-up 1
    There is probably an error [http://lists.w3.org/Archives/Public/www-style/2010Oct/0044.html] in the resolution of issue 120 [http://wiki.csswg.org/spec/css2.1#issue-120]. If so, the proposal needs changing.
Follow-up 2
    Boris Zbarsky asks [http://lists.w3.org/Archives/Public/www-style/2010Aug/0443.html] that the containing block of an element inside a table, in the absence of a table element, be created from the height of the row and the width of the column, even if one or both of those are implied rather than actual elements. If we accept that change, the proposal needs changing.
    This issue should be treated separately; it is filed as Bug 15671.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>62991</commentid>
    <comment_count>1</comment_count>
    <who name="Anton P">antonsforums</who>
    <bug_when>2012-01-22 20:03:32 +0000</bug_when>
    <thetext>I&apos;m not sure the block container box-vs-element is a concern; the spec freely uses &quot;block containers&quot; in various places where it should rightly be referring to elements.  (Fixing &quot;box&quot; vs &quot;element&quot; is a whole separate challenge throughout the spec.)</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>62992</commentid>
    <comment_count>2</comment_count>
    <who name="Anton P">antonsforums</who>
    <bug_when>2012-01-22 20:05:19 +0000</bug_when>
    <thetext>Actually, there is a fourth occurrence of &quot;ancestor box&quot;, as highlighted in http://lists.w3.org/Archives/Public/www-style/2010Oct/0822.html</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>