[Webkit-unassigned] [Bug 253706] RenderLayer::hasVisibleContent() incorrect when layer removed

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon Mar 27 07:41:04 PDT 2023


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

--- Comment #4 from Ahmad Saleem <ahmad.saleem792 at gmail.com> ---
(In reply to zalan from comment #3)
> Indeed.
> diff --git a/Source/WebCore/rendering/RenderLayer.cpp
> b/Source/WebCore/rendering/RenderLayer.cpp
> index db8ca3df7421..432a841c61e8 100644
> --- a/Source/WebCore/rendering/RenderLayer.cpp
> +++ b/Source/WebCore/rendering/RenderLayer.cpp
> @@ -475,6 +475,8 @@ void RenderLayer::removeChild(RenderLayer& oldChild)
>      if (oldChild.hasBlendMode() ||
> (oldChild.hasNotIsolatedBlendingDescendants() &&
> !oldChild.isolatesBlending()))
>          dirtyAncestorChainHasBlendingDescendants();
>  #endif
> +    if (renderer().style().visibility() != Visibility::Visible)
> +        dirtyVisibleContentStatus();
>  }
>  
>  void RenderLayer::dirtyPaintOrderListsOnChildChange(RenderLayer& child)
> 
> shows green.

Running through EWS - https://github.com/WebKit/WebKit/pull/12005

Let's see.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20230327/f4737c95/attachment-0001.htm>


More information about the webkit-unassigned mailing list