<?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>124678</bug_id>
          
          <creation_ts>2013-11-20 14:40:02 -0800</creation_ts>
          <short_desc>[CSS Shapes] Negative margin-top on a float with shape-outside does not lay out correctly</short_desc>
          <delta_ts>2014-02-24 11:30:20 -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>CSS</component>
          <version>528+ (Nightly build)</version>
          <rep_platform>Unspecified</rep_platform>
          <op_sys>Unspecified</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>WORKSFORME</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords>InRadar</keywords>
          <priority>P2</priority>
          <bug_severity>Normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          <blocked>98664</blocked>
          <everconfirmed>1</everconfirmed>
          <reporter name="Bear Travis">betravis</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>bjonesbe</cc>
    
    <cc>dino</cc>
    
    <cc>webkit-bug-importer</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>952781</commentid>
    <comment_count>0</comment_count>
      <attachid>217481</attachid>
    <who name="Bear Travis">betravis</who>
    <bug_when>2013-11-20 14:40:02 -0800</bug_when>
    <thetext>Created attachment 217481
Test case

ShapeOutsideInfo clamps top margin to 0 when calculating the line&apos;s offset relative to the float.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>974369</commentid>
    <comment_count>1</comment_count>
    <who name="Radar WebKit Bug Importer">webkit-bug-importer</who>
    <bug_when>2014-01-31 11:05:45 -0800</bug_when>
    <thetext>&lt;rdar://problem/15958581&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>983975</commentid>
    <comment_count>2</comment_count>
      <attachid>225077</attachid>
    <who name="Bem Jones-Bey">bjonesbe</who>
    <bug_when>2014-02-24 11:27:03 -0800</bug_when>
    <thetext>Created attachment 225077
Updated test case using proper reference box

The original test case assumes that the shape is sized and positioned based on the content box, so update it to explicitly use the content-box sizing.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>983977</commentid>
    <comment_count>3</comment_count>
    <who name="Bem Jones-Bey">bjonesbe</who>
    <bug_when>2014-02-24 11:30:20 -0800</bug_when>
    <thetext>As far as I can tell, this has been fixed. I believe my fix for bug 128631 is what fixed it.</thetext>
  </long_desc>
      
          <attachment
              isobsolete="1"
              ispatch="0"
              isprivate="0"
          >
            <attachid>217481</attachid>
            <date>2013-11-20 14:40:02 -0800</date>
            <delta_ts>2014-02-24 11:27:03 -0800</delta_ts>
            <desc>Test case</desc>
            <filename>shape-outside-negative-margins.html</filename>
            <type>text/html</type>
            <size>488</size>
            <attacher name="Bear Travis">betravis</attacher>
            
              <data encoding="base64">PGh0bWw+CjxoZWFkPgo8c3R5bGU+Ci5jb250YWluZXIgewogICAgd2lkdGg6IDIwMHB4OwogICAg
aGVpZ2h0OiAyMDBweDsKICAgIGZvbnQ6IDIwcHgvMSBBaGVtLCBzYW5zLXNlcmlmOwogICAgY29s
b3I6IGdyZWVuOwp9Ci5mbG9hdCB7CiAgICBmbG9hdDogbGVmdDsKICAgIHdpZHRoOiAxMDBweDsK
ICAgIGhlaWdodDogMTAwcHg7CiAgICBtYXJnaW4tdG9wOiAtNTBweDsKICAgIGJhY2tncm91bmQ6
IC13ZWJraXQtbGluZWFyLWdyYWRpZW50KHRvcCByaWdodCwgdHJhbnNwYXJlbnQsIHRyYW5zcGFy
ZW50IDUwJSwgYmx1ZSA1MCUpOwogICAgLXdlYmtpdC1zaGFwZS1vdXRzaWRlOiBwb2x5Z29uKDAg
MCwgMTAwJSAxMDAlLCAwIDEwMCUpOwp9Cjwvc3R5bGU+CjwvaGVhZD4KPGJvZHk+CjxkaXYgY2xh
c3M9J2NvbnRhaW5lcic+CjxkaXYgY2xhc3M9J2Zsb2F0Jz48L2Rpdj4KeCB4IHggeCB4IHggeCB4
IHggeCB4IHgKPC9kaXY+CjwvYm9keT4KPC9odG1sPgo=
</data>

          </attachment>
          <attachment
              isobsolete="0"
              ispatch="0"
              isprivate="0"
          >
            <attachid>225077</attachid>
            <date>2014-02-24 11:27:03 -0800</date>
            <delta_ts>2014-02-24 11:27:03 -0800</delta_ts>
            <desc>Updated test case using proper reference box</desc>
            <filename>shape-negative-margin.html</filename>
            <type>text/html</type>
            <size>500</size>
            <attacher name="Bem Jones-Bey">bjonesbe</attacher>
            
              <data encoding="base64">PGh0bWw+CjxoZWFkPgo8c3R5bGU+Ci5jb250YWluZXIgewogICAgd2lkdGg6IDIwMHB4OwogICAg
aGVpZ2h0OiAyMDBweDsKICAgIGZvbnQ6IDIwcHgvMSBBaGVtLCBzYW5zLXNlcmlmOwogICAgY29s
b3I6IGdyZWVuOwp9Ci5mbG9hdCB7CiAgICBmbG9hdDogbGVmdDsKICAgIHdpZHRoOiAxMDBweDsK
ICAgIGhlaWdodDogMTAwcHg7CiAgICBtYXJnaW4tdG9wOiAtNTBweDsKICAgIGJhY2tncm91bmQ6
IC13ZWJraXQtbGluZWFyLWdyYWRpZW50KHRvcCByaWdodCwgdHJhbnNwYXJlbnQsIHRyYW5zcGFy
ZW50IDUwJSwgYmx1ZSA1MCUpOwogICAgLXdlYmtpdC1zaGFwZS1vdXRzaWRlOiBwb2x5Z29uKDAg
MCwgMTAwJSAxMDAlLCAwIDEwMCUpIGNvbnRlbnQtYm94Owp9Cjwvc3R5bGU+CjwvaGVhZD4KPGJv
ZHk+CjxkaXYgY2xhc3M9J2NvbnRhaW5lcic+CjxkaXYgY2xhc3M9J2Zsb2F0Jz48L2Rpdj4KeCB4
IHggeCB4IHggeCB4IHggeCB4IHgKPC9kaXY+CjwvYm9keT4KPC9odG1sPgo=
</data>

          </attachment>
      

    </bug>

</bugzilla>