WebCore:
Reviewed by Darin.
- fix http://bugzilla.opendarwin.org/show_bug.cgi?id=9388
REGRESSION: outlines don't get erased when removed in some cases
Test: fast/repaint/outline-shrinking.html
* rendering/RenderObject.cpp:
(WebCore::RenderObject::setStyle): Always repaint with the old style if the outline is
becoming narrower, even if we are going to relayout.
LayoutTests:
Reviewed by Darin.
- repaint test for http://bugzilla.opendarwin.org/show_bug.cgi?id=9388
REGRESSION: outlines don't get erased when removed in some cases
* fast/repaint/outline-shrinking-expected.checksum: Added.
* fast/repaint/outline-shrinking-expected.png: Added.
* fast/repaint/outline-shrinking-expected.txt: Added.
* fast/repaint/outline-shrinking.html: Added.
git-svn-id: http://svn.webkit.org/repository/webkit/trunk@15038 268f45cc-cd09-0410-ab3c-d52691b4dbfc
7 files changed