Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 7480b77ceddbea49a263c0f75126a61c06ef9cc6
      
https://github.com/WebKit/WebKit/commit/7480b77ceddbea49a263c0f75126a61c06ef9cc6
  Author: Nikolas Zimmermann <[email protected]>
  Date:   2026-06-19 (Fri, 19 Jun 2026)

  Changed paths:
    M Source/WebCore/rendering/RenderLayer.cpp
    M Source/WebCore/rendering/RenderLayer.h
    M Source/WebCore/rendering/RenderLayerSVGAdditions.cpp

  Log Message:
  -----------
  [LBSE] Simplify SVG transform paint/hit-test recursion
https://bugs.webkit.org/show_bug.cgi?id=317353

Reviewed by Rob Buis.

Drop the now-unused nonLayerSVGTransform / accumulatedTransform / rootLayer /
transformState handling from the SVG transform paint and hit-test recursion, and
fold the container's nominal pre-translation into the TransformPaintScope
transform so painted content and the leaf visual-overflow culling share the
same coordinate space.

This is a preparation for conditional SVG layer creation.

* Source/WebCore/rendering/RenderLayer.cpp:
(WebCore::RenderLayer::paintLayerContents):
* Source/WebCore/rendering/RenderLayer.h:
* Source/WebCore/rendering/RenderLayerSVGAdditions.cpp:
(WebCore::RenderLayer::paintChildrenInDOMOrderForSVG):
(WebCore::RenderLayer::paintRendererByApplyingTransformForSVG):
(WebCore::RenderLayer::paintSubtreeWithinTransformScopeForSVG):
(WebCore::RenderLayer::hitTestChildrenInDOMOrderForSVG):
(WebCore::RenderLayer::hitTestRendererByInversingTransformForSVG):
(WebCore::RenderLayer::hitTestSubtreeWithinTransformScopeForSVG):

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



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

Reply via email to