[Webkit-unassigned] [Bug 34913] Unpainted white area appears at the edge of the page when body has bg color

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Sun Jul 18 19:49:15 PDT 2010


https://bugs.webkit.org/show_bug.cgi?id=34913





--- Comment #20 from Oliver Hunt <oliver at apple.com>  2010-07-18 19:49:14 PST ---
(From update of attachment 61897)
> Index: WebCore/rendering/RenderObjectChildList.cpp
> ===================================================================
> --- WebCore/rendering/RenderObjectChildList.cpp	(revision 63603)
> +++ WebCore/rendering/RenderObjectChildList.cpp	(working copy)
> @@ -62,9 +62,11 @@ RenderObject* RenderObjectChildList::rem
>      // disappears gets repainted properly.
>      if (!owner->documentBeingDestroyed() && fullRemove && oldChild->m_everHadLayout) {
>          oldChild->setNeedsLayoutAndPrefWidthsRecalc();
> +        if (oldChild->isBody())
> +            owner->view()->repaint();
>          oldChild->repaint();

Shouldn't this get an else rather than arbitrarily repainting oldChild? Otherwise we end up computing the dirty rect for all intersecting elements unnecessarily don't we?

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.


More information about the webkit-unassigned mailing list