<svg xmlns="http://www.w3.org/2000/svg"> | |
<defs> | |
<clipPath id="clip" clipPathUnits="objectBoundingBox" transform="translate(10, 10)"> | |
<rect width="0.5" height="0.5"/> | |
</clipPath> | |
</defs> | |
<rect x="10" y="10" width="100" height="100" fill="red"/> | |
<rect width="200" height="200" fill="green" clip-path="url(#clip)"/> | |
</svg> |