Closed
Bug 861153
Opened 11 years ago
Closed 11 years ago
feConvolveMatrix effect behaves inconsistently
Categories
(Core :: SVG, defect)
Tracking
()
RESOLVED
INVALID
People
(Reporter: letmespellitoutforyou, Unassigned)
Details
Attachments
(3 files)
User Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.7; rv:19.0) Gecko/20100101 Firefox/19.0 Build ID: 20130307023931 Steps to reproduce: * Go to http://letmespellitoutforyou.com/samples/svg_inlineFilters.html * Choose filter_convolve.svg#sharpenMore or filter_convolve.svg#moatMore Actual results: These effects rendered differently than in other web engines Expected results: Effect should apply the same formula, so pixel values should match.
Reporter | ||
Comment 1•11 years ago
|
||
Reporter | ||
Comment 2•11 years ago
|
||
Reporter | ||
Comment 3•11 years ago
|
||
View that SVG directly to test browsers that don't support CSS filter:url(filters.svg#filter)
Updated•11 years ago
|
Component: Untriaged → SVG
Product: Firefox → Core
Comment 4•11 years ago
|
||
From http://www.w3.org/TR/SVG/filters.html#feConvolveMatrixElement Because they operate on pixels, matrix convolutions are inherently resolution-dependent. To make ‘feConvolveMatrix’ produce resolution-independent results, an explicit value should be provided for either the ‘filterRes’ attribute on the ‘filter’ element and/or attribute ‘kernelUnitLength’. The viewBox scales the filter and there's no filterRes so that's why it's different because Opera tries to do something to mask the resolution dependence. Do take this up with the w3c SVG folks though via http://lists.w3.org/Archives/Public/www-svg/ if the specification were to state explicitly what should happen we'd likely follow it.
Status: UNCONFIRMED → RESOLVED
Closed: 11 years ago
Resolution: --- → INVALID
Reporter | ||
Comment 5•11 years ago
|
||
Thanks; I forwarded the issue on as you suggested.
You need to log in
before you can comment on or make changes to this bug.
Description
•