<?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>15702</bug_id>
          
          <creation_ts>2012-01-24 23:08:09 +0000</creation_ts>
          <short_desc>Does the root element establish a block formatting context? (Issue 209)</short_desc>
          <delta_ts>2012-12-04 00:53:14 +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>63087</commentid>
    <comment_count>0</comment_count>
    <who name="Anton P">antonsforums</who>
    <bug_when>2012-01-24 23:08:09 +0000</bug_when>
    <thetext>Reported by Anton Prowse, L. David Baron

Does the root element establish a block formatting context?  (It was believed to do so in 2002.[http://lists.w3.org/Archives/Public/www-style/2002Nov/0145.html]) According to the current spec, it doesn&apos;t seem to if its specified value is &apos;inline&apos; or &apos;run-in&apos;, for example (in which case its computed value of &apos;display&apos; is &apos;block&apos;).  Indeed, 9.4.1 seems to explicitly exclude the possibility:

   # Floats, absolutely positioned elements, inline-blocks, table-cells,
   # table-captions, and elements with &apos;overflow&apos; other than &apos;visible&apos;
   # (except when that value has been propagated to the viewport)
   # establish new block formatting contexts.

However, it does seem like there ought to be an initial block
formatting context since the definition of &quot;block-level box&quot; is roughly &quot;a box which participates in a block formatting context&quot;.  More starkly, the issue affects whether the root element&apos;s height is computed using the rules in section 10.6.3 or the rules in section 10.6.7.  This difference in height is detectable using bottom-positioned background images, as reported in https://bugzilla.mozilla.org/show_bug.cgi?id=590491 

Note that the root element possesses all the characteristic properties
of an element which establishes a BFC, including in relation to margin
collapsing.

Bug description:
http://lists.w3.org/Archives/Public/www-style/2010Aug/0107.html
http://lists.w3.org/Archives/Public/www-style/2010Aug/0539.html



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

Summary
    Does the root element establish a new block formatting context?
URI
    http://lists.w3.org/Archives/Public/www-style/2010Aug/0107.html
    http://lists.w3.org/Archives/Public/www-style/2010Aug/0539.html
Proposal
    The root element participates in a block formatting context
    established by the initial containing block.
Status
    Open. =errata= Deferred to Errata</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>64997</commentid>
    <comment_count>1</comment_count>
    <who name="Anton P">antonsforums</who>
    <bug_when>2012-03-04 18:50:39 +0000</bug_when>
    <thetext>It was decided at the Paris F2F 2012 that the root element doesn&apos;t establish a block formatting context, but that there is an initial block formatting context (probably associated to the initial containing block).

http://lists.w3.org/Archives/Public/www-style/2012Feb/0530.html</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>