Status: PASS | Duration: 5ms | Subtests: 1/1 | Open test on wpt.live | Open ref on wpt.live | wpt.fyi
/css/filter-effects/clip-under-filter-002.html
<!DOCTYPE html> <title>CSS Filters: Clips on descendants of filter elements are applied</title> <link rel="author" title="Xianzhu Wang" href="wangxianzhu@chromium.org"> <link rel="help" href="https://drafts.fxtf.org/filter-effects-1/#funcdef-filter-blur"> <link rel="help" href="https://drafts.csswg.org/css-overflow-3/#overflow-properties"> <link rel="help" href="https://crbug.com/809102"> <link rel="match" href="reference/clip-under-filter-002-ref.html"> <meta name="assert" content="Check that there is a blurred square, left half blue and right half green"/> <div style="filter: blur(10px)"> <div style="position: relative; width: 100px; height: 100px; background: blue; overflow: hidden"> <div style="position: absolute; width: 100px; height: 100px; right: -50px; background: green; overflow: hidden"></div> </div> </div>
/css/filter-effects/reference/clip-under-filter-002-ref.html
<!DOCTYPE html> <div style="filter: blur(10px)"> <div style="width: 100px; height: 100px; background: blue"> <div style="position: relative; left: 50px; width: 50px; height: 100px; background: green"></div> </div> </div>