Rubber-stamped by Brady Eidson.
[webbrowser.git] / LayoutTests / svg / custom / text-clip.svg
blobae14e39e69441b0450b6d8efe457ebbed292255e
1 <?xml version="1.0"?>
2 <svg xmlns="http://www.w3.org/2000/svg"
3 xmlns:xlink="http://www.w3.org/1999/xlink">
4 <defs>
5 <clipPath id="myclip">
6 <path d="M 200 200 l 100 0 l 0 200 l -100 0 Z"/>
7 </clipPath>
8 </defs>
9 <g font-size="55">
10 <text y="125" fill="green">PASS</text>
11 <text y="125" fill="red" clip-path="url(#myclip)">FAIL (should be clipped out)</text>
12 </g>
13 </svg>