Bug 220893

Summary: SVG reference filter chain with errors applies only some of the filters, producing incorrect output
Product: WebKit Reporter: Simon Fraser (smfr) <simon.fraser>
Component: CSSAssignee: Simon Fraser (smfr) <simon.fraser>
Status: RESOLVED FIXED    
Severity: Normal CC: changseok, dino, esprehn+autocc, ews-watchlist, glenn, kondapallykalyan, pdr, sabouhallawa, sam, simon.fraser, thorton, webkit-bug-importer, zimmermann
Priority: P2 Keywords: InRadar
Version: Safari Technology Preview   
Hardware: Unspecified   
OS: Unspecified   
URL: https://codepen.io/cobra_winfrey/pen/WNGJPXm
Attachments:
Description Flags
Reduction
none
Patch none

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>