REGRESSION (r84096): <br> moved to the right in fast/block/float/032.html
authormitz@apple.com <mitz@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Mon, 18 Apr 2011 02:10:04 +0000 (02:10 +0000)
committermitz@apple.com <mitz@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Mon, 18 Apr 2011 02:10:04 +0000 (02:10 +0000)
commitcb3b3da1a0fd942dbc8021e07551775c55725eb5
tree5949f5600b878e8a1d1126ecd80d466e98f8881e
parent4a1464df42d3b7778d76ddb479da662a0f1adb61
REGRESSION (r84096): <br> moved to the right in fast/block/float/032.html
https://bugs.webkit.org/show_bug.cgi?id=58736

Reviewed by Maciej Stachowiak.

Source/WebCore:

* rendering/RenderBlockLineLayout.cpp:
(WebCore::RenderBlock::appendFloatingObjectToLastLine): It is enough to extend the float so
that it touches the bottom of the previous line, since RenderBlock::markLinesDirtyInBlockRange()
always dirties the line after the last one in the range.

LayoutTests:

Revert to the correct results.

* platform/chromium-win/fast/block/float/032-expected.txt:
* platform/gtk/fast/block/float/032-expected.txt:
* platform/mac/fast/block/float/032-expected.txt:
* platform/qt/fast/block/float/032-expected.txt:

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@84119 268f45cc-cd09-0410-ab3c-d52691b4dbfc
LayoutTests/ChangeLog
LayoutTests/platform/chromium-win/fast/block/float/032-expected.txt
LayoutTests/platform/gtk/fast/block/float/032-expected.txt
LayoutTests/platform/mac/fast/block/float/032-expected.txt
LayoutTests/platform/qt/fast/block/float/032-expected.txt
Source/WebCore/ChangeLog
Source/WebCore/rendering/RenderBlockLineLayout.cpp