Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Do not update hasOutlineAutoAncestor when moving out a spanner's rend…
…erer https://bugs.webkit.org/show_bug.cgi?id=255956 rdar://107953410 Reviewed by Alan Baradlay. When we move out a spanner's renderer, we might set the renderer as having a hasOutlineAutoAncestor value of true and leave the spanner placeholder with a hasOutlineAutoAncestor value of false. This is because when we move out the spanner's renderer we set hasOutlineAutoAncestor based on its new parent. However we want to maintain a value consistent with spanner's placholder. * Source/WebCore/rendering/RenderObject.cpp: (WebCore::RenderObject::propagateRepaintToParentWithOutlineAutoIfNeeded const): We want to check if the originalRenderer needs a repaint, not the placeholder. * Source/WebCore/rendering/updating/RenderTreeBuilder.cpp: (WebCore::RenderTreeBuilder::attachToRenderElementInternal): Canonical link: https://commits.webkit.org/263501@main
- Loading branch information