From kde-commits Mon Nov 13 17:07:14 2006 From: Allan Sandfeld Jensen Date: Mon, 13 Nov 2006 17:07:14 +0000 To: kde-commits Subject: branches/KDE/3.5/kdelibs/khtml/rendering Message-Id: <1163437634.189033.29597.nullmailer () svn ! kde ! org> X-MARC-Message: https://marc.info/?l=kde-commits&m=116343767606352 SVN commit 604668 by carewolf: Repaint correctly when we go from not hiding overflow to hiding it. M +1 -0 render_object.cpp --- branches/KDE/3.5/kdelibs/khtml/rendering/render_object.cpp #604667:604668 @@ -1274,6 +1274,7 @@ if ( d >= RenderStyle::Visible && !isText() && m_parent && ( d == RenderStyle::Position || m_style->outlineWidth() > style->outlineWidth() || + (!m_style->hidesOverflow() && style->hidesOverflow()) || ( m_style->hasClip() && !(m_style->clip() == style->clip()) ) ) ) { // schedule a repaint with the old style if (layer() && !isInlineFlow())