NEW258225
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
Radar WebKit Bug Importer
Comment 1 2023-09-01 08:58:29 PDT
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 &currentContext->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(); } ```
Note You need to log in before you can comment on or make changes to this bug.