Bug 183871 - Google Slides: SVG image rendering bug with filters
Summary: Google Slides: SVG image rendering bug with filters
Status: RESOLVED DUPLICATE of bug 243808
Alias: None
Product: WebKit
Classification: Unclassified
Component: SVG (show other bugs)
Version: Safari 11
Hardware: Mac macOS 10.13
: P1 Major
Assignee: Nobody
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2018-03-21 14:45 PDT by zach.silversmith
Modified: 2022-11-03 12:52 PDT (History)
9 users (show)

See Also:


Attachments
Video of a demo of the bug (2.42 MB, video/webm)
2018-03-21 14:45 PDT, zach.silversmith
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description zach.silversmith 2018-03-21 14:45:51 PDT
Created attachment 336235 [details]
Video of a demo of the bug

I'm an engineer on Google Slides, and we're experiencing an issue with Safari where SVG images are rendered without their filters when the viewport changes sizes. 

Repro Steps:
1. Open https://docs.google.com/presentation/d/1tzubM5OYi3zgI1IKlt9Gl2x00RPThhgQ76Kv1Whj1do/edit#slide=id.p
2. Select the image and click format options
3. Click recolor and click any of the options from the drop-down
4. Click the X on the formatting options sidebar, and close any other sidebars that may be up

Expect result:
The image retains the filter that was applied

Actual result:
The image rendering ignores the filter attribute

Notes:
-- I've tested this on Firefox and Chrome and it does not reproduce there
-- I've confirmed that there's no Safari-specific code in our rendering pipeline for image filters
-- I've attempted to make a minimal repro case but unfortunately I can't
-- I've used the bisect-builds tool to try to narrow down the revision that caused this, but did not find any in the default revision range of the tool, which leads me to believe that this has always been an error, instead of a regression.

I'm happy to help provide more information and debug more -- I'm not just not sure how to investigate this any further. I've attached an issue demoing the bug in Safari. Notice how the filmstrip shows the image with the filter applied, but the canvas version doesn't.
Comment 1 zach.silversmith 2018-07-22 08:09:27 PDT
Any updates on this?
Comment 2 Dirk Schulze 2018-07-22 13:31:41 PDT
Minimal examples as svg or html attaches to this bug are preferred. I can‘t even play the video because of the video encoding.
Comment 3 Brent Fulgham 2022-07-15 16:17:05 PDT
Confirmed that this is a problem in Safari 15.5+. It works properly in Chrome and Firefox.
Comment 4 Radar WebKit Bug Importer 2022-07-15 16:17:18 PDT
<rdar://problem/97099722>
Comment 5 Sammy Gill 2022-11-03 12:52:33 PDT
Cameron is currently working on this issue in the following Bugzilla: https://bugs.webkit.org/show_bug.cgi?id=243808

*** This bug has been marked as a duplicate of bug 243808 ***