<!DOCTYPE html>
<link rel="match" href="../expected/svg-foreign-object-mask-ref.html" />
<svg width="40" height="40" viewBox="0 0 40 40">
  <mask id=":r0:" width="32" height="32">
    <circle cx="16" cy="16" r="16" fill="white"></circle>
  </mask>
  <foreignobject x="0" y="0" width="32" height="32" mask="url(#:r0:)">
    <img src="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAIAAAD8GO2jAAAAGUlEQVR4nO3BMQEAAADCoPVP7WENoAAAAG4MIAABt9NlCQAAAABJRU5ErkJggg=="/>
  </foreignobject>
</svg>
