blob: 8b6a66d45232e9924fe079bfbeff88c1aa0b0f53 [file] [log] [blame]
<!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>