WebKit Bugzilla
New
Browse
Search+
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
258225
External SVG with filter does not render correctly
https://bugs.webkit.org/show_bug.cgi?id=258225
Summary
External SVG with filter does not render correctly
Ahmad Saleem
Reported
2023-06-16 16:24:42 PDT
Hi Team, This is bug copy of chrome bug 1429510 (crbug.com/1429510). Test Case - In URL field WPT Test Case -
https://wpt.fyi/results/css/filter-effects/svg-external-filter-resource.html?label=experimental&label=master&aligned
WPT Test Case Live Link -
http://wpt.live/css/filter-effects/svg-external-filter-resource.html
Blink Commit:
https://chromium.googlesource.com/chromium/src/+/0c1c236384bdf19a251c0f72a424fbea2b044349
______ --> Expected Result (In Chrome Canary 116): Show two green circle one with blur --> Actual Result (in STP172 & Safari 16.5 & Firefox Nightly 116): Show one green circle and missing blurred circle _______ Just wanted to raise so we can track more failing cases and look into fixing them. Thanks!
Attachments
Add attachment
proposed patch, testcase, etc.
Radar WebKit Bug Importer
Comment 1
2023-09-01 08:58:29 PDT
<
rdar://problem/114823248
>
Ahmad Saleem
Comment 2
2023-09-02 05:24:22 PDT
Updating this return:
https://searchfox.org/wubkat/source/Source/WebCore/svg/SVGLengthContext.cpp#233
and still looking into what to about other stuff but have an idea but if someone wanna take it up. :-) Haven't done any local testing.
Ahmad Saleem
Comment 3
2023-10-03 14:57:35 PDT
Repaint issue in 'LBSE', it draws but don't change from 'brown' to 'green'.
Ahmad Saleem
Comment 4
2025-12-10 10:30:30 PST
This compiles but does not fix this bug: ``` static inline const RenderStyle* renderStyleForLengthResolving(const SVGElement* context) { if (!context) return nullptr; const ContainerNode* currentContext = context; do { if (currentContext->renderer()) return ¤tContext->renderer()->style(); currentContext = currentContext->parentNode(); } while (currentContext); Document& document = context->document(); // Don't return default style if document render tree is being destroyed if (document.renderTreeBeingDestroyed()) return nullptr; return &RenderStyle::defaultStyleSingleton(); } ```
Taher
Comment 5
2026-07-15 11:22:29 PDT
Pull request:
https://github.com/WebKit/WebKit/pull/69501
EWS
Comment 6
2026-07-20 07:31:35 PDT
Committed
317538@main
(bc43d30fafc6): <
https://commits.webkit.org/317538@main
> Reviewed commits have been landed. Closing PR #69501 and removing active labels.
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug