Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 9b1b839a9e3e633aafd2663f310aa71ca78e9813
      
https://github.com/WebKit/WebKit/commit/9b1b839a9e3e633aafd2663f310aa71ca78e9813
  Author: Taher Ali <[email protected]>
  Date:   2026-03-06 (Fri, 06 Mar 2026)

  Changed paths:
    M LayoutTests/imported/mozilla/svg/filter-basic-01.svg
    A 
LayoutTests/imported/w3c/web-platform-tests/svg/render/reftests/svg-filter-unresolved-reference-expected.html
    A 
LayoutTests/imported/w3c/web-platform-tests/svg/render/reftests/svg-filter-unresolved-reference-ref.html
    A 
LayoutTests/imported/w3c/web-platform-tests/svg/render/reftests/svg-filter-unresolved-reference.html
    M Source/WebCore/rendering/svg/SVGRenderingContext.cpp

  Log Message:
  -----------
  SVG elements with unresolved filter references are not rendered
https://bugs.webkit.org/show_bug.cgi?id=309281
rdar://164046592

Reviewed by Simon Fraser.

When an SVG element references a filter ID that doesn't exist in the
document, the element should still render without any filter applied.

User impact: On youtube.com in fullscreen mode, the arrow button in the
controls area that navigates to "More videos" is invisible because its
SVG markup references a filter ID that doesn't exist in the document.
Other browsers display the button correctly.

* LayoutTests/imported/mozilla/svg/filter-basic-01.svg:

Mozilla changed the markup to match the expectation:
https://hg-edge.mozilla.org/mozilla-central/diff/06480f550b00b750081427dd4b359f1dd37c8ebf/layout/reftests/svg/filter-basic-01.svg

* 
LayoutTests/imported/w3c/web-platform-tests/svg/render/reftests/svg-filter-unresolved-reference-expected.html:
 Added.
* 
LayoutTests/imported/w3c/web-platform-tests/svg/render/reftests/svg-filter-unresolved-reference-ref.html:
 Added.
* 
LayoutTests/imported/w3c/web-platform-tests/svg/render/reftests/svg-filter-unresolved-reference.html:
 Added.
* Source/WebCore/rendering/svg/SVGRenderingContext.cpp:
(WebCore::SVGRenderingContext::prepareToRenderSVGContent):

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



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

Reply via email to