Why is filter(drop-shadow) causing my SVG to disappear in Safari?
<p>I am developing an app using D3.js. I was sidetracked for a while, and recently came back to it. Today I found that, though it worked fine in the past, the SVG map in the app no longer displays on mobile Safari (iOS 9.3.1) or desktop Safari (v9.1 (11601.5.17.1) ).</p>

<p>I extracted the SVG and a single style rule and put them on CodePen to illustrate what happens. In Chrome, this pen will look fine. In Safari, it will be completely blank. </p>

<p><a href="https://codepen.io/Kirkman/pen/pyKzeX">https://codepen.io/Kirkman/pen/pyKzeX</a></p>

<p>If you inspect the DOM in Safari, you find that the paths are there, and they are the right shapes. They just seem invisible. Unchecking the style rules in the inspector causes the entire map to magically appear (without the drop shadow, obviously)</p>

<p>The style rule is very straightforward:</p>

<pre><code>svg {
    -webkit-filter: drop-shadow( 2px 2px 4px rgba(0,0,0,.4) );
    filter: drop-shadow( 2px 2px 4px rgba(0,0,0,.4) );
}
</code></pre>

<p>Can anyone suggest why this isn't working? Did I do something wrong, or has something changed in Safari?</p>