blob: 3403359a13ca1ca1a7e3a93f58303feda3b62121 [file] [log] [blame]
<!DOCTYPE html>
<base href="http://www.example.com/">
<style>
#target {
width: 100px;
height: 100px;
border-right: 100px solid red;
background-color: green;
-webkit-clip-path: url(#clip);
clip-path: url(#clip);
}
</style>
<div id="target"></div>
<svg>
<clipPath id="clip">
<rect width="100" height="100"/>
</filter>
</svg>