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

  Changed paths:
    A LayoutTests/svg/dynamic-updates/dynamic-marker-creation-expected.html
    A LayoutTests/svg/dynamic-updates/dynamic-marker-creation.html
    M Source/WebCore/rendering/svg/legacy/SVGResourcesCache.cpp

  Log Message:
  -----------
  SVG markers don't re-render when marker attributes change dynamically
rdar://130678384

Reviewed by Brent Fulgham and Simon Fraser.

When the marker-start, marker-mid, or marker-end attributes are changed
dynamically on SVG elements, markers fail to re-render in the legacy SVG engine.

This happens because SVGResourcesCache detects style changes for
clipPath, mask, filter, fill, and stroke, but not for marker properties.

The fix adds missing marker checks to ensure the cache resources
are rebuilt correctly.

* LayoutTests/svg/dynamic-updates/dynamic-marker-creation-expected.html: Added.
* LayoutTests/svg/dynamic-updates/dynamic-marker-creation.html: Added.
* Source/WebCore/rendering/svg/legacy/SVGResourcesCache.cpp:
(WebCore::SVGResourcesCache::clientStyleChanged):

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



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

Reply via email to