<?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>106928</bug_id>
          
          <creation_ts>2013-01-15 11:10:50 -0800</creation_ts>
          <short_desc>[CSS Exclusions] Float position determination does not always ignore margins when the float has a shape-outside</short_desc>
          <delta_ts>2013-01-22 14:36:44 -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>http://dev.w3.org/csswg/css3-exclusions/#floats-and-exclusions</bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P2</priority>
          <bug_severity>Normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          <blocked>98664</blocked>
          <everconfirmed>1</everconfirmed>
          <reporter name="Bem Jones-Bey">bjonesbe</reporter>
          <assigned_to name="Bem Jones-Bey">bjonesbe</assigned_to>
          
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>807479</commentid>
    <comment_count>0</comment_count>
    <who name="Bem Jones-Bey">bjonesbe</who>
    <bug_when>2013-01-15 11:10:50 -0800</bug_when>
    <thetext>Specifically, RenderBlock::xPositionForFloatIncludingMargin and RenderBlock::yPositionForFloatIncludingMargin do not ignore the margin if the float has a shape outside.

It would be good to look for other cases as well when fixing this bug, but it might also be hard to find tests for this.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>812400</commentid>
    <comment_count>1</comment_count>
    <who name="Bem Jones-Bey">bjonesbe</who>
    <bug_when>2013-01-21 14:44:24 -0800</bug_when>
    <thetext>When doing this, add a comment to these methods to explain that when floats have shape-outside, the FloatingObject has different size/coordinates than the RenderBox. (it is a bit confusing)</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>813424</commentid>
    <comment_count>2</comment_count>
    <who name="Bem Jones-Bey">bjonesbe</who>
    <bug_when>2013-01-22 14:36:44 -0800</bug_when>
    <thetext>I can&apos;t come up with any situations in which this actually is an issue, so I&apos;m closing it. Things seem to work properly, and I think if I come up with an actual use case where this is a problem, I&apos;ll file a bug for that. This is almost too low level to be able to come up with a proper test case.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>