<svg xmlns="http://www.w3.org/2000/svg">
<pattern id="pattern" patternUnits="userSpaceOnUse" width="200" height="100">
<rect x="0" width="100" height="100" fill="#ff0000"/>
<rect x="100" width="100" height="100" fill="#008000"/>
<set attributeName="x" to="100" fill="freeze"/>
</pattern>
<rect width="100" height="100" fill="url(#pattern)"/>
</svg>