Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 3dc709d100377bb2058cc8ba15d291390b48dc8e
      
https://github.com/WebKit/WebKit/commit/3dc709d100377bb2058cc8ba15d291390b48dc8e
  Author: Nikolas Zimmermann <[email protected]>
  Date:   2026-09-09 (Wed, 09 Sep 2026)

  Changed paths:
    M Source/WebCore/rendering/RenderLayerModelObject.cpp

  Log Message:
  -----------
  [LBSE] An SVG transform change leaves ancestor layer repaint rects stale
https://bugs.webkit.org/show_bug.cgi?id=323741

Reviewed by Rob Buis.

An ancestor layer caches repaint rects that are derived from the visual
overflow rect that we invalidate during processing of transform attribute
changes. An assertion is hit because we failed to recompute them:

ASSERTION FAILED: repaintRects() => *repaintRects() ==
renderer().rectsForRepaintingAfterLayout(repaintContainer.get(),
RepaintOutlineBounds::Yes)
Source/WebCore/rendering/RenderLayer.cpp(1333)

Fix that by marking the ancestor layers as needing a position update.

* Source/WebCore/rendering/RenderLayerModelObject.cpp:
(WebCore::RenderLayerModelObject::updateTransformAndRepaintForSVGAfterAttributeChange):

Canonical link: https://commits.webkit.org/320722@main



To unsubscribe from these emails, change your notification settings at 
https://github.com/WebKit/WebKit/settings/notifications

Reply via email to