RESOLVED FIXED 18203
Right floats should be allowed to overflow past left border edge
https://bugs.webkit.org/show_bug.cgi?id=18203
Summary Right floats should be allowed to overflow past left border edge
Dave Hyatt
Reported 2008-03-28 19:08:24 PDT
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.
Attachments
Remove the clamping code (585 bytes, patch)
2008-03-28 19:09 PDT, Dave Hyatt
hyatt: review-
Dave Hyatt
Comment 1 2008-03-28 19:09:47 PDT
Created attachment 20179 [details] Remove the clamping code Remove the code that clamps right floats to the left border edge.
Dave Hyatt
Comment 2 2008-03-28 19:11:26 PDT
I will land this patch with a better test case that doesn't depend on resizing the window.
Darin Adler
Comment 3 2008-03-30 16:44:24 PDT
Comment on attachment 20179 [details] Remove the clamping code r=me because I know you'll add a ChangeLog and test case -- but why not do that before setting the review flag next time?
Dave Hyatt
Comment 4 2008-03-30 17:07:15 PDT
Because keeping a ChangeLog in my tree for days is a giant pain when I'm doing other work.
Alan Gresley
Comment 5 2008-04-06 10:49:20 PDT
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
Darin Adler
Comment 6 2008-06-08 12:27:32 PDT
Hyatt, are you planning on landing this?
Dave Hyatt
Comment 7 2008-09-03 00:11:35 PDT
Comment on attachment 20179 [details] Remove the clamping code Let me get a test case and changelog.
Dave Hyatt
Comment 8 2008-09-03 11:32:19 PDT
Fixed in r36061.
Note You need to log in before you can comment on or make changes to this bug.