<svg xmlns="http://www.w3.org/2000/svg" fill="url(#x)">
  <rect fill="url(#y)" />
</svg>