Bug 181129 - SVG filter result fuzzy
Summary: SVG filter result fuzzy
Status: RESOLVED INVALID
Alias: None
Product: WebKit
Classification: Unclassified
Component: SVG (show other bugs)
Version: WebKit Nightly Build
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Nobody
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-12-22 09:49 PST by Peter Holbein Kapoun
Modified: 2017-12-22 12:10 PST (History)
3 users (show)

See Also:


Attachments
Test Case (710 bytes, text/html)
2017-12-22 09:49 PST, Peter Holbein Kapoun
no flags Details
Safari result (3.56 KB, image/png)
2017-12-22 09:50 PST, Peter Holbein Kapoun
no flags Details
Chrome result (721 bytes, image/png)
2017-12-22 09:50 PST, Peter Holbein Kapoun
no flags Details
Firefox result (710 bytes, image/png)
2017-12-22 09:50 PST, Peter Holbein Kapoun
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Peter Holbein Kapoun 2017-12-22 09:49:43 PST
Created attachment 330126 [details]
Test Case

Under some circumstances a filter with some merging using <feMerge> unexpectedly causes the result to look like a blown-up low-resolution image,
see for example the attached example and see how it is Safari compared to the other browsers (attached screenshots).

See also https://stackoverflow.com/q/47942581/2261442 and "Example 3" from https://bl.ocks.org/Herst/raw/d5db2d3d1ea51a8ab8740e22ebaa16aa/
Comment 1 Peter Holbein Kapoun 2017-12-22 09:50:15 PST
Created attachment 330128 [details]
Safari result
Comment 2 Peter Holbein Kapoun 2017-12-22 09:50:27 PST
Created attachment 330129 [details]
Chrome result
Comment 3 Peter Holbein Kapoun 2017-12-22 09:50:40 PST
Created attachment 330130 [details]
Firefox result
Comment 4 Peter Holbein Kapoun 2017-12-22 12:10:24 PST
My bad. It's not a bug but a feature. Webkit is apparently trying to combat possible DoSing using huge SVG filters and I screwed up my size declaration, see https://stackoverflow.com/a/47946201/2261442
Good feature actually. 👍