When a drop-shadow() filter is applied to the child of an element with hidden overflow, the filter will only appear if at least 1px of the child element is still visible. A test case is available here: https://codepen.io/chototoro/pen/Jjogeyd Bug appears on Safari (12.1 and above), on macOS and iOS. Behavior is normal on Chrome, Firefox, and Edge 79.
<rdar://problem/59141775>
I am still able to reproduce this bug in Safari 16 / STP 154 using CodePen from Comment 0 and it does not show "pixels" in case of "No pixel visible" (fourth - bottom right square / box) and it does not show anything in case of Safari while both Chrome Canary 108 and Firefox Nightly 107 does match each other in all four cases and three cases with Safari except the one mentioned above. Thanks!