<rdar://problem/9282486> REGRESSION (r81992): Facebook photo tags can get cut off...
authormitz@apple.com <mitz@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Mon, 18 Apr 2011 19:18:33 +0000 (19:18 +0000)
committermitz@apple.com <mitz@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Mon, 18 Apr 2011 19:18:33 +0000 (19:18 +0000)
commitfd181524c9a1814dbeadb14609f8fea1d702235d
tree22d01190c5ab3abf0d1c8863b4f711b5aabaeacc
parentf0f3f322d6476630f9a377a67aeb2a45b637ead1
<rdar://problem/9282486> REGRESSION (r81992): Facebook photo tags can get cut off when moving the mouse.
https://bugs.webkit.org/show_bug.cgi?id=58500

Reviewed by Eric Seidel.

Source/WebCore:

Test: fast/repaint/text-in-relative-positioned-inline.html

* rendering/RenderText.cpp:
(WebCore::RenderText::clippedOverflowRectForRepaint): Use the container’s repaint rect, not
the containing block’s. This matters when the containing block is outside the RenderText’s
enclosing layer, as is the case here.

LayoutTests:

* fast/repaint/text-in-relative-positioned-inline-expected.checksum: Added.
* fast/repaint/text-in-relative-positioned-inline-expected.png: Added.
* fast/repaint/text-in-relative-positioned-inline-expected.txt: Added.
* fast/repaint/text-in-relative-positioned-inline.html: Added.

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@84166 268f45cc-cd09-0410-ab3c-d52691b4dbfc
LayoutTests/ChangeLog
LayoutTests/fast/repaint/text-in-relative-positioned-inline-expected.checksum [new file with mode: 0644]
LayoutTests/fast/repaint/text-in-relative-positioned-inline-expected.png [new file with mode: 0644]
LayoutTests/fast/repaint/text-in-relative-positioned-inline-expected.txt [new file with mode: 0644]
LayoutTests/fast/repaint/text-in-relative-positioned-inline.html [new file with mode: 0644]
Source/WebCore/ChangeLog
Source/WebCore/rendering/RenderText.cpp