Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 690ab3f55222060f2c53a44c81373dd003440dfb
      
https://github.com/WebKit/WebKit/commit/690ab3f55222060f2c53a44c81373dd003440dfb
  Author: Taher Ali <[email protected]>
  Date:   2026-07-27 (Mon, 27 Jul 2026)

  Changed paths:
    M LayoutTests/TestExpectations
    M 
LayoutTests/imported/w3c/web-platform-tests/content-security-policy/img-src/css-filter-blocked.tentative-expected.txt
    M Source/WebCore/rendering/ReferencedSVGResources.cpp
    M Source/WebCore/style/StylePendingResources.cpp

  Log Message:
  -----------
  Support external and data: URL filter references on HTML elements
https://bugs.webkit.org/show_bug.cgi?id=320118
rdar://183059589

Reviewed by Simon Fraser.

The CSS filter: property on an HTML element now resolves a <filter>
referenced by an external file or a data: URL.

* LayoutTests/TestExpectations:

svg-relative-urls-001 and -002 are marked ImageOnlyFailure: they exercise
relative filter URLs that are not re-resolved when an element moves
documents, a pre-existing issue surfaced here and tracked in bug 320225.

* 
LayoutTests/imported/w3c/web-platform-tests/content-security-policy/img-src/css-filter-blocked.tentative-expected.txt:
 now passes
* Source/WebCore/rendering/ReferencedSVGResources.cpp:
(WebCore::ReferencedSVGResources::referencedFilterElement):
* Source/WebCore/style/StylePendingResources.cpp:
(WebCore::Style::loadPendingExternalSVGFilter):
(WebCore::Style::loadPendingResources):
(WebCore::Style::loadExternalSVGResource):
(WebCore::Style::loadPendingExternalSVGPaint):
(WebCore::Style::loadPendingExternalSVGMarker):
(WebCore::Style::loadPendingExternalSVGClipPath):

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



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

Reply via email to