Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: e1c0051a7dd4cd70e7d86950cbb0250d80a9f602
      
https://github.com/WebKit/WebKit/commit/e1c0051a7dd4cd70e7d86950cbb0250d80a9f602
  Author: Rob Buis <[email protected]>
  Date:   2026-04-22 (Wed, 22 Apr 2026)

  Changed paths:
    M Source/WebCore/rendering/svg/SVGBoundingBoxComputation.cpp
    M Source/WebCore/svg/SVGClipPathElement.cpp
    M Source/WebCore/svg/SVGMaskElement.cpp

  Log Message:
  -----------
  [LBSE] Fix isTransformed usage
https://bugs.webkit.org/show_bug.cgi?id=312982

Reviewed by Nikolas Zimmermann.

In an upcoming PR svg elements can set transforms without requiring
a layer, so prepare some if conditions for that. In addition, there
was no point checking the clip path/mask itself for its transform in
transformationMatrixFromChild, the important part is just the child
transform.

* Source/WebCore/rendering/svg/SVGBoundingBoxComputation.cpp:
(WebCore::SVGBoundingBoxComputation::handleRootOrContainer const):
* Source/WebCore/svg/SVGClipPathElement.cpp:
(WebCore::SVGClipPathElement::calculateClipContentRepaintRect):
* Source/WebCore/svg/SVGMaskElement.cpp:
(WebCore::SVGMaskElement::calculateMaskContentRepaintRect):

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



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

Reply via email to