Rubber-stamped by Brady Eidson.
[webbrowser.git] / LayoutTests / svg / custom / clip-path-display-none-child.svg
blobedfde7a833fd113c7f9a51b2d018a1b6aef5b534
1 <svg xmlns="http://www.w3.org/2000/svg">
2 <defs>
3 <clipPath id="c">
4 <rect width="100" height="100" visibility="hidden"/>
5 <rect x="100" width="100" height="100" display="none"/>
6 </clipPath>
7 </defs>
9 <g clip-path="url(#c)" >
10 <rect width="200" height="100" fill="red"/>
11 <rect width="100" height="100" fill="green"/>
12 </g>
14 <g>
15 <text y="130">Above a green rectangle should be displayed.</text>
16 <text y="150">It tests that a clip path child with display=none</text>
17 <text y="170">does not contribute to the clip-path and that a clip path</text>
18 <text y="190">child with visibility=hidden does contribute. Bug 18340.</text>
19 </g>
20 </svg>