Bug 66671

Summary: Text overlaps with the floats
Product: WebKit Reporter: Alexandru Chiculita <achicu>
Component: Layout and RenderingAssignee: Alexandru Chiculita <achicu>
Status: RESOLVED FIXED    
Severity: Normal CC: dglazkov, webkit.review.bot
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: Unspecified   
OS: Unspecified   
Attachments:
Description Flags
Test case
none
Patch V1
none
Patch V2
webkit.review.bot: commit-queue-
Patch V4
none
Patch V5 none

Description Alexandru Chiculita 2011-08-22 06:33:03 PDT
Created attachment 104671 [details]
Test case

The problem is that LineWidth::fitBelowFloats is not updating the m_left and m_right fields. Next time LineWidth::shrinkAvailableWidthForNewFloatIfNeeded is called the width is recalculated, with the old values.

See the attached test case for more info.
Comment 1 Alexandru Chiculita 2011-08-23 04:00:12 PDT
Created attachment 104811 [details]
Patch V1
Comment 2 Alexandru Chiculita 2011-08-23 04:37:13 PDT
Created attachment 104820 [details]
Patch V2

Moved expected results to mac platform.
Comment 3 WebKit Review Bot 2011-08-23 05:06:09 PDT
Comment on attachment 104820 [details]
Patch V2

Attachment 104820 [details] did not pass chromium-ews (chromium-xvfb):
Output: http://queues.webkit.org/results/9478294

New failing tests:
fast/block/float/fit_line_below_floats.html
Comment 4 Alexandru Chiculita 2011-08-23 05:09:42 PDT
Created attachment 104824 [details]
Patch V4

Added test_expectations
Comment 5 Alexandru Chiculita 2011-08-23 05:24:57 PDT
Created attachment 104827 [details]
Patch V5

Fixed comment style in Skipped files.
Comment 6 Dave Hyatt 2011-08-23 12:21:17 PDT
Comment on attachment 104827 [details]
Patch V5

r=me
Comment 7 WebKit Review Bot 2011-08-23 12:54:41 PDT
Comment on attachment 104827 [details]
Patch V5

Clearing flags on attachment: 104827

Committed r93628: <http://trac.webkit.org/changeset/93628>
Comment 8 WebKit Review Bot 2011-08-23 12:54:46 PDT
All reviewed patches have been landed.  Closing bug.