Bug 185343 - CSS filters which reference SVG filters fail to respect the "color-interpolation-filters" of the filter
Summary: CSS filters which reference SVG filters fail to respect the "color-interpolat...
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: CSS (show other bugs)
Version: WebKit Nightly Build
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Simon Fraser (smfr)
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2018-05-04 21:15 PDT by Simon Fraser (smfr)
Modified: 2018-05-07 18:36 PDT (History)
3 users (show)

See Also:


Attachments
Test case (2.10 KB, text/html)
2018-05-04 21:16 PDT, Simon Fraser (smfr)
no flags Details
Patch (7.59 KB, patch)
2018-05-07 14:57 PDT, Simon Fraser (smfr)
dino: review+
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) 2018-05-04 21:15:48 PDT
A CSS filter that references a filter defined in SVG, like "filter: url(#foopy);" always uses sRGB interpolation. It should use linearRGB if the SVG does not explicitly choose sRGB. This is what other browsers do.
Comment 1 Simon Fraser (smfr) 2018-05-04 21:16:16 PDT
Created attachment 339633 [details]
Test case
Comment 2 Simon Fraser (smfr) 2018-05-07 14:57:20 PDT
Created attachment 339756 [details]
Patch
Comment 3 Simon Fraser (smfr) 2018-05-07 18:35:23 PDT
https://trac.webkit.org/changeset/231473/webkit
Comment 4 Radar WebKit Bug Importer 2018-05-07 18:36:36 PDT
<rdar://problem/40045449>