Bug 220893 - SVG reference filter chain with errors applies only some of the filters, producing incorrect output
Summary: SVG reference filter chain with errors applies only some of the filters, prod...
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: CSS (show other bugs)
Version: Safari Technology Preview
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Simon Fraser (smfr)
URL: https://codepen.io/cobra_winfrey/pen/...
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2021-01-23 10:41 PST by Simon Fraser (smfr)
Modified: 2021-01-24 16:29 PST (History)
13 users (show)

See Also:


Attachments
Reduction (744 bytes, text/html)
2021-01-23 10:43 PST, Simon Fraser (smfr)
no flags Details
Patch (7.50 KB, patch)
2021-01-24 11:05 PST, Simon Fraser (smfr)
no flags Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Simon Fraser (smfr) 2021-01-23 10:41:09 PST
https://codepen.io/cobra_winfrey/pen/WNGJPXm looks very wrong in WebKit
Comment 1 Simon Fraser (smfr) 2021-01-23 10:43:25 PST
Content has:

    <filter id='filter1'>
      <feturbulence basefrequency='0.005 0.005' id='frequency1' numoctaves='1' result='noise' seed='1' type='fractalNoise'></feturbulence>
      <fedisplacementmap id='displacement1' in2='fractalNoise' in='SourceGraphic' scale='0'></fedisplacementmap>
    </filter>

and we fail to find the "in2" input for the <fedisplacementmap>
Comment 2 Simon Fraser (smfr) 2021-01-23 10:43:36 PST
Created attachment 418228 [details]
Reduction
Comment 3 Simon Fraser (smfr) 2021-01-23 10:51:05 PST
The content is buggy; this is about error handling.
Comment 4 Simon Fraser (smfr) 2021-01-24 11:05:18 PST
Created attachment 418239 [details]
Patch
Comment 5 EWS 2021-01-24 16:28:49 PST
Committed r271785: <https://trac.webkit.org/changeset/271785>

All reviewed patches have been landed. Closing bug and clearing flags on attachment 418239 [details].
Comment 6 Radar WebKit Bug Importer 2021-01-24 16:29:18 PST
<rdar://problem/73552017>