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

<bugzilla version="5.0.4.1"
          urlbase="https://bugs.webkit.org/"
          
          maintainer="admin@webkit.org"
>

    <bug>
          <bug_id>29189</bug_id>
          
          <creation_ts>2009-09-11 09:28:56 -0700</creation_ts>
          <short_desc>Incorrect containing block for blocks that have an inline parent</short_desc>
          <delta_ts>2013-11-19 10:21:14 -0800</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>WebKit</product>
          <component>Layout and Rendering</component>
          <version>528+ (Nightly build)</version>
          <rep_platform>PC</rep_platform>
          <op_sys>OS X 10.5</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>WORKSFORME</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="Boris Zbarsky">bzbarsky</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>aestes</cc>
    
    <cc>hyatt</cc>
    
    <cc>mitz</cc>
    
    <cc>robert</cc>
    
    <cc>simon.fraser</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>146602</commentid>
    <comment_count>0</comment_count>
      <attachid>39443</attachid>
    <who name="Boris Zbarsky">bzbarsky</who>
    <bug_when>2009-09-11 09:28:56 -0700</bug_when>
    <thetext>Created attachment 39443
Testcase showing height issue

BUILD: Today&apos;s webkit nightly

STEPS TO REPRODUCE:  Load attached testcases

EXPECTED RESULTS:
First testcase: Block with black border has height 100px
Second testcase: Block with black border has a left margin of 0 and a right margin of 10px

ACTUAL RESULTS:
First testcase: Block with black border has height 0
Second testcase: Block with black border has a left margin of 10px and a right margin of 0

Both are most likely due to using the wrong thing as the containing block.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>146603</commentid>
    <comment_count>1</comment_count>
      <attachid>39444</attachid>
    <who name="Boris Zbarsky">bzbarsky</who>
    <bug_when>2009-09-11 09:29:17 -0700</bug_when>
    <thetext>Created attachment 39444
Testcase showing margin issue</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>333723</commentid>
    <comment_count>2</comment_count>
    <who name="Simon Fraser (smfr)">simon.fraser</who>
    <bug_when>2011-01-13 08:53:08 -0800</bug_when>
    <thetext>*** Bug 52373 has been marked as a duplicate of this bug. ***</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>951978</commentid>
    <comment_count>3</comment_count>
    <who name="Robert Hogan">robert</who>
    <bug_when>2013-11-18 23:05:27 -0800</bug_when>
    <thetext>These both pass now.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>952129</commentid>
    <comment_count>4</comment_count>
    <who name="Alexey Proskuryakov">ap</who>
    <bug_when>2013-11-19 10:21:14 -0800</bug_when>
    <thetext>Do we need to land a test case?</thetext>
  </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="0"
              isprivate="0"
          >
            <attachid>39443</attachid>
            <date>2009-09-11 09:28:56 -0700</date>
            <delta_ts>2009-09-11 09:28:56 -0700</delta_ts>
            <desc>Testcase showing height issue</desc>
            <filename>test.html</filename>
            <type>text/html</type>
            <size>183</size>
            <attacher name="Boris Zbarsky">bzbarsky</attacher>
            
              <data encoding="base64">PCFET0NUWVBFIGh0bWw+CjxodG1sPgogIDxib2R5IHN0eWxlPSJoZWlnaHQ6IDIwMHB4Ij4KICAg
IDxzcGFuPgogICAgICA8c3BhbiBzdHlsZT0iZGlzcGxheTogYmxvY2s7IGhlaWdodDogNTAlOyBi
b3JkZXI6IDFweCBzb2xpZCBibGFjayI+CiAgICAgIDwvc3Bhbj4KICAgIDwvc3Bhbj4KICA8L2Jv
ZHk+CjwvaHRtbD4K
</data>

          </attachment>
          <attachment
              isobsolete="0"
              ispatch="0"
              isprivate="0"
          >
            <attachid>39444</attachid>
            <date>2009-09-11 09:29:17 -0700</date>
            <delta_ts>2009-09-11 09:29:17 -0700</delta_ts>
            <desc>Testcase showing margin issue</desc>
            <filename>foo.html</filename>
            <type>text/html</type>
            <size>304</size>
            <attacher name="Boris Zbarsky">bzbarsky</attacher>
            
              <data encoding="base64">PCFET0NUWVBFIGh0bWw+CjxodG1sPgogIDxib2R5PgogICAgPGRpdiBzdHlsZT0iZGlyZWN0aW9u
OiBydGw7IHdpZHRoOiAxMDBweDsgYm9yZGVyOiAxcHggc29saWQgZ3JlZW47Ij4KICAgICAgPHNw
YW4gc3R5bGU9ImRpcmVjdGlvbjogbHRyIj4KICAgICAgICA8c3BhbiBzdHlsZT0iZGlzcGxheTog
YmxvY2s7IGhlaWdodDogMjBweDsgd2lkdGg6IDg4cHg7IG1hcmdpbjogMTBweDsgYm9yZGVyOiAx
cHggc29saWQgYmxhY2siPgogICAgICAgIDwvc3Bhbj4KICAgICAgPC9zcGFuPgogICAgPC9kaXY+
CiAgPC9ib2R5Pgo8L2h0bWw+Cg==
</data>

          </attachment>
      

    </bug>

</bugzilla>