Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: b70eabc441428cc812dd279f5f2df22b237bc523
      
https://github.com/WebKit/WebKit/commit/b70eabc441428cc812dd279f5f2df22b237bc523
  Author: Taher Ali <[email protected]>
  Date:   2025-12-19 (Fri, 19 Dec 2025)

  Changed paths:
    A 
LayoutTests/svg/animations/animateTransform-hidden-no-rendering-updates-expected.txt
    A 
LayoutTests/svg/animations/animateTransform-hidden-no-rendering-updates.html
    M Source/WebCore/svg/SVGGraphicsElement.cpp

  Log Message:
  -----------
  Avoid scheduling rendering updates for SVG animations on elements
without renderers
https://bugs.webkit.org/show_bug.cgi?id=298217
rdar://159647563

Reviewed by Antoine Quint.

When SVG elements with SMIL animations (like animateTransform) are
inside containers with hidden attribute, the legacy SVG engine was
scheduling full page rendering updates every animation frame despite
the elements having no renderer.

Now when animations run on elements without renderers, we skip
scheduling rendering updates entirely.

* 
LayoutTests/svg/animations/animateTransform-hidden-no-rendering-updates-expected.txt:
 Added.
* LayoutTests/svg/animations/animateTransform-hidden-no-rendering-updates.html: 
Added.
* Source/WebCore/svg/SVGGraphicsElement.cpp:
(WebCore::SVGGraphicsElement::svgAttributeChanged):

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



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

Reply via email to