chromium/third_party/blink/web_tests/fast/canvas/canvas-filter-modified-save-restore-expected.html

<svg style="display: block; width: 0; height: 0">
  <defs>
    <filter id="blurX">
        <feGaussianBlur stdDeviation="5 0"/>
    </filter>
    <filter id="blurY">
        <feGaussianBlur stdDeviation="0 5"/>
    </filter>
  </defs>
</svg>
<canvas id="canvas" width="100" height="100"></canvas>
<script>
var canvas = document.getElementById('canvas');
var ctx = canvas.getContext('2d');
ctx.filter = 'url(#blurX)';
ctx.fillStyle = '#0f0';
ctx.fillRect(10, 20, 15, 15);
ctx.fillStyle = '#00f';
ctx.fillRect(35, 20, 15, 15);
ctx.filter = 'url(#blurY)';
ctx.fillRect(60, 20, 15, 15);
ctx.fillStyle = '#0f0';
ctx.fillRect(85, 20, 15, 15);
</script>