active-clip-and-mask-ref.html (487B)
1 <svg width="100%" height="100%" xmlns="http://www.w3.org/2000/svg"> 2 <rect width="100%" height="100%" fill="grey"/> 3 <g transform="translate(80 30)"> 4 <rect x="-80" y="100" width="100" height="100" fill="blue"/> 5 <rect x="-60" y="120" width="40" height="40" fill="grey"/> 6 7 <rect x="60" y="100" width="100" height="100" fill="blue"/> 8 <rect x="80" y="120" width="40" height="40" fill="grey"/> 9 10 <rect x="180" y="100" width="100" height="100" fill="blue"/> 11 </g> 12 </svg>