- From: Evgeniy Reizner via GitHub <sysbot+gh@w3.org>
- Date: Wed, 25 Dec 2019 02:58:09 +0000
- To: public-fxtf-archive@w3.org
RazrFalcon has just created a new issue for https://github.com/w3c/fxtf-drafts: == [filter-effects-1] Handling bias in feConvolveMatrix == https://www.w3.org/TR/filter-effects-1/#feConvolveMatrixElement According to the spec, the `bias` value should be multiplied by the current alpha, but neither Chrome nor Firefox does this. Am I misunderstanding the spec or is that browsers bug? Here is the test file: ```xml <svg viewBox="0 0 200 200" xmlns="http://www.w3.org/2000/svg"> <pattern id="patt1" patternUnits="userSpaceOnUse" width="40" height="40"> <rect x="0" y="0" width="20" height="20" fill="blue" opacity="0.75"/> <rect x="10" y="10" width="20" height="20" fill="yellow" opacity="0.75"/> </pattern> <filter id="filter1"> <feConvolveMatrix kernelMatrix="0.1 0.1 0.1 0.1 0.1 0.1 0.1 0.1 0.1" bias="0.5"/> </filter> <rect x="20" y="20" width="160" height="160" fill="url(#patt1)" filter="url(#filter1)"/> <rect x="1" y="1" width="198" height="198" fill="none" stroke="black"/> </svg> ``` and here is results: ![e-feConvolveMatrix-015](https://user-images.githubusercontent.com/725494/71430112-c21eaf80-26d2-11ea-9d1f-e4413950c7c6.png) (Inkscape and librsvg also have a bit different results, but it's a different issue) Please view or discuss this issue at https://github.com/w3c/fxtf-drafts/issues/387 using your GitHub account
Received on Wednesday, 25 December 2019 02:58:10 UTC