REGRESSION (r53420): incomplete repaint of bottom of bugs.webkit.org comment field
authormitz@apple.com <mitz@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Mon, 18 Jan 2010 22:20:13 +0000 (22:20 +0000)
committermitz@apple.com <mitz@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Mon, 18 Jan 2010 22:20:13 +0000 (22:20 +0000)
commitfd78a8a2ac31005b8437cca225f3fd36f8c2cc78
tree9e0e8e9ce55f720880f440246c171e0eea9c521a
parente8903217e6c16c8ab31d28852a376b0ba0c4a641
REGRESSION (r53420): incomplete repaint of bottom of bugs.webkit.org comment field
https://bugs.webkit.org/show_bug.cgi?id=33809

Reviewed by Darin Adler.

WebCore:

Test: fast/repaint/trailing-floats-root-line-box-overflow.html

* rendering/RenderBlockLineLayout.cpp:
(WebCore::RenderBlock::layoutInlineChildren): Copy bottom overflow from the last
root box to the trailing floats box, which is becoming the last root box. This is
needed because painting code assumes that the last line in a block is the one with the
lowest overflow bottom.

LayoutTests:

* fast/repaint/trailing-floats-root-line-box-overflow-expected.checksum: Added.
* fast/repaint/trailing-floats-root-line-box-overflow-expected.png: Added.
* fast/repaint/trailing-floats-root-line-box-overflow-expected.txt: Added.
* fast/repaint/trailing-floats-root-line-box-overflow.html: Added.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@53432 268f45cc-cd09-0410-ab3c-d52691b4dbfc
LayoutTests/ChangeLog
LayoutTests/fast/repaint/trailing-floats-root-line-box-overflow-expected.checksum [new file with mode: 0644]
LayoutTests/fast/repaint/trailing-floats-root-line-box-overflow-expected.png [new file with mode: 0644]
LayoutTests/fast/repaint/trailing-floats-root-line-box-overflow-expected.txt [new file with mode: 0644]
LayoutTests/fast/repaint/trailing-floats-root-line-box-overflow.html [new file with mode: 0644]
WebCore/ChangeLog
WebCore/rendering/RenderBlockLineLayout.cpp