Status: FAIL | Duration: 12ms | Subtests: 0/1 | Open test on wpt.live | Open ref on wpt.live | wpt.fyi
/css/filter-effects/feconvolve-region-001.html
<!doctype html> <title>Filter primitive (feConvolveMatrix) with filter reference</title> <link rel="help" href="https://drafts.fxtf.org/filter-effects-1/#FilterProperty"> <link rel="help" href="https://drafts.fxtf.org/filter-effects-1/#feConvolveMatrixElement"> <link rel="match" href="reference/feconvolve-region-ref.html"> <meta name="fuzzy" content="0-38;0-30004" /> <style> body { background-color: lightgreen; } </style> <svg xmlns="http://www.w3.org/2000/svg" width="800" height="250"> <defs> <!-- The input is the "SourceGraphic image within the filter region" so the output should be a 200x200 two-shaded rectangle. --> <filter id="f1" filterUnits="userSpaceOnUse" x="50" y="50" width="200" height="200"> <feConvolveMatrix kernelMatrix="1 1 1 1 1 1 1 1 1" x="50" y="50" width="200" height="200" preserveAlpha="false" bias=".5" /> </filter> </defs> <rect x="100" y="100" width="100" height="100" fill="blue" filter="url(#f1)" /> </svg>
/css/filter-effects/reference/feconvolve-region-ref.html
<!doctype html> <style> body { background-color: lightgreen; } </style> <svg xmlns="http://www.w3.org/2000/svg" width="800" height="250"> <rect x="50" y="50" width="200" height="200" fill="rgb(211,246,204)"/> <rect x="100" y="100" width="100" height="100" fill="rgb(188,188,255)"/> </svg>