<rdar://problem/9003382> Incomplete repaint of overflow in flipped lines writing...
authormitz@apple.com <mitz@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Mon, 28 Mar 2011 16:17:07 +0000 (16:17 +0000)
committermitz@apple.com <mitz@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Mon, 28 Mar 2011 16:17:07 +0000 (16:17 +0000)
commitc53696f65ea76281d27db9014f50211542442f84
tree790d493fd48c06af19c41eb89965e0142521cc22
parentc217744590a22224334726beffe8837f1fb0938f
<rdar://problem/9003382> Incomplete repaint of overflow in flipped lines writing modes
https://bugs.webkit.org/show_bug.cgi?id=57197

Reviewed by Maciej Stachowiak.

Source/WebCore:

Tests: fast/repaint/overflow-flipped-writing-mode-block.html
       fast/repaint/overflow-flipped-writing-mode-table.html

* rendering/RenderBlock.cpp:
(WebCore::RenderBlock::paint): Flip the overflow rect before testing for intersection
with the damage rect.
* rendering/RenderTable.cpp:
(WebCore::RenderTable::paint): Made the intersection check more like the one in
RenderBlock::paint().

LayoutTests:

* fast/repaint/overflow-flipped-writing-mode-block-expected.checksum: Added.
* fast/repaint/overflow-flipped-writing-mode-block-expected.png: Added.
* fast/repaint/overflow-flipped-writing-mode-block-expected.txt: Added.
* fast/repaint/overflow-flipped-writing-mode-block.html: Added.
* fast/repaint/overflow-flipped-writing-mode-table-expected.checksum: Added.
* fast/repaint/overflow-flipped-writing-mode-table-expected.png: Added.
* fast/repaint/overflow-flipped-writing-mode-table-expected.txt: Added.
* fast/repaint/overflow-flipped-writing-mode-table.html: Added.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@82123 268f45cc-cd09-0410-ab3c-d52691b4dbfc
12 files changed:
LayoutTests/ChangeLog
LayoutTests/fast/repaint/overflow-flipped-writing-mode-block-expected.checksum [new file with mode: 0644]
LayoutTests/fast/repaint/overflow-flipped-writing-mode-block-expected.png [new file with mode: 0644]
LayoutTests/fast/repaint/overflow-flipped-writing-mode-block-expected.txt [new file with mode: 0644]
LayoutTests/fast/repaint/overflow-flipped-writing-mode-block.html [new file with mode: 0644]
LayoutTests/fast/repaint/overflow-flipped-writing-mode-table-expected.checksum [new file with mode: 0644]
LayoutTests/fast/repaint/overflow-flipped-writing-mode-table-expected.png [new file with mode: 0644]
LayoutTests/fast/repaint/overflow-flipped-writing-mode-table-expected.txt [new file with mode: 0644]
LayoutTests/fast/repaint/overflow-flipped-writing-mode-table.html [new file with mode: 0644]
Source/WebCore/ChangeLog
Source/WebCore/rendering/RenderBlock.cpp
Source/WebCore/rendering/RenderTable.cpp