https://jsfiddle.net/1edf4k9t/4/ shows a bug where a blur filter escapes an enclosing overflow:hidden
The clipping that RenderLayer::applyFilters() does is all wrong. The current code happens to never clip, because inside clipToRect(), clipRect.rect() == paintingInfo.paintDirtyRect. However, fixing that breaks filters that draw outside their bounds (blur, drop-shadow) because the backgroundRect used to clip is the pre-filtered background rect, taken from the paintDirtyRect.
rdar://problem/25488747
Created attachment 277783 [details] Patch
Created attachment 277784 [details] Patch
https://trac.webkit.org/r200283