<?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>18203</bug_id>
          
          <creation_ts>2008-03-28 19:08:24 -0700</creation_ts>
          <short_desc>Right floats should be allowed to overflow past left border edge</short_desc>
          <delta_ts>2008-09-03 11:32:19 -0700</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>Mac</rep_platform>
          <op_sys>OS X 10.5</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc>http://css-class.com/test/css/overflow/float-container-margin-overflow.htm</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="Dave Hyatt">hyatt</reporter>
          <assigned_to name="Dave Hyatt">hyatt</assigned_to>
          <cc>alan</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>75718</commentid>
    <comment_count>0</comment_count>
    <who name="Dave Hyatt">hyatt</who>
    <bug_when>2008-03-28 19:08:24 -0700</bug_when>
    <thetext>See:

http://css-class.com/test/css/overflow/float-container-margin-overflow.htm

In current WebKit, the right float is not allowed to have its left edge extend beyond the left border edge.  This is not correct according to the CSS2.1 spec and does not match Firefox.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>75719</commentid>
    <comment_count>1</comment_count>
      <attachid>20179</attachid>
    <who name="Dave Hyatt">hyatt</who>
    <bug_when>2008-03-28 19:09:47 -0700</bug_when>
    <thetext>Created attachment 20179
Remove the clamping code

Remove the code that clamps right floats to the left border edge.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>75720</commentid>
    <comment_count>2</comment_count>
    <who name="Dave Hyatt">hyatt</who>
    <bug_when>2008-03-28 19:11:26 -0700</bug_when>
    <thetext>I will land this patch with a better test case that doesn&apos;t depend on resizing the window.
</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>75879</commentid>
    <comment_count>3</comment_count>
      <attachid>20179</attachid>
    <who name="Darin Adler">darin</who>
    <bug_when>2008-03-30 16:44:24 -0700</bug_when>
    <thetext>Comment on attachment 20179
Remove the clamping code

r=me because I know you&apos;ll add a ChangeLog and test case -- but why not do that before setting the review flag next time?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>75884</commentid>
    <comment_count>4</comment_count>
    <who name="Dave Hyatt">hyatt</who>
    <bug_when>2008-03-30 17:07:15 -0700</bug_when>
    <thetext>Because keeping a ChangeLog in my tree for days is a giant pain when I&apos;m doing other work.

</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>76427</commentid>
    <comment_count>5</comment_count>
    <who name="Alan Gresley">alan</who>
    <bug_when>2008-04-06 10:49:20 -0700</bug_when>
    <thetext>I have created a new test case without the need for scrolling. Just one element floated right. Firefox will hide the left edge of the float beyond the left edge of the viewpoint. Safari will show the full width of the float causing a horizontal scrollbar. See:

http://css-class.com/test/bug/float-right-left-edge-hidden.htm

</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>82635</commentid>
    <comment_count>6</comment_count>
    <who name="Darin Adler">darin</who>
    <bug_when>2008-06-08 12:27:32 -0700</bug_when>
    <thetext>Hyatt, are you planning on landing this?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>89987</commentid>
    <comment_count>7</comment_count>
      <attachid>20179</attachid>
    <who name="Dave Hyatt">hyatt</who>
    <bug_when>2008-09-03 00:11:35 -0700</bug_when>
    <thetext>Comment on attachment 20179
Remove the clamping code

Let me get a test case and changelog.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>90041</commentid>
    <comment_count>8</comment_count>
    <who name="Dave Hyatt">hyatt</who>
    <bug_when>2008-09-03 11:32:19 -0700</bug_when>
    <thetext>Fixed in r36061.</thetext>
  </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="1"
              isprivate="0"
          >
            <attachid>20179</attachid>
            <date>2008-03-28 19:09:47 -0700</date>
            <delta_ts>2008-09-03 00:11:35 -0700</delta_ts>
            <desc>Remove the clamping code</desc>
            <filename>patch.txt</filename>
            <type>text/plain</type>
            <size>585</size>
            <attacher name="Dave Hyatt">hyatt</attacher>
            
              <data encoding="base64">SW5kZXg6IHJlbmRlcmluZy9SZW5kZXJCbG9jay5jcHAKPT09PT09PT09PT09PT09PT09PT09PT09
PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PQotLS0gcmVuZGVyaW5n
L1JlbmRlckJsb2NrLmNwcAkocmV2aXNpb24gMzEzNzEpCisrKyByZW5kZXJpbmcvUmVuZGVyQmxv
Y2suY3BwCSh3b3JraW5nIGNvcHkpCkBAIC0yMjI5LDcgKzIyMjksNiBAQCBib29sIFJlbmRlckJs
b2NrOjpwb3NpdGlvbk5ld0Zsb2F0cygpCiAgICAgICAgICAgICAgICAgeSArPSBtaW4oaGVpZ2h0
UmVtYWluaW5nTGVmdCwgaGVpZ2h0UmVtYWluaW5nUmlnaHQpOwogICAgICAgICAgICAgICAgIGZ4
ID0gcmlnaHRSZWxPZmZzZXQoeSwgcm8sIGZhbHNlLCAmaGVpZ2h0UmVtYWluaW5nUmlnaHQpOwog
ICAgICAgICAgICAgfQotICAgICAgICAgICAgZnggPSBtYXgoZi0+bV93aWR0aCwgZngpOwogICAg
ICAgICAgICAgZi0+bV9sZWZ0ID0gZnggLSBmLT5tX3dpZHRoOwogICAgICAgICAgICAgby0+c2V0
UG9zKGZ4IC0gby0+bWFyZ2luUmlnaHQoKSAtIG8tPndpZHRoKCksIHkgKyBvLT5tYXJnaW5Ub3Ao
KSk7CiAgICAgICAgIH0K
</data>
<flag name="review"
          id="8801"
          type_id="1"
          status="-"
          setter="hyatt"
    />
          </attachment>
      

    </bug>

</bugzilla>