summaryrefslogtreecommitdiffstats
path: root/layout/reftests/svg/pattern-big-image.html
blob: caa30a9b7b93f69c1b8efe40a87f410db07e3b05 (plain)
1
2
3
4
5
6
7
8
9
10
<div style="left: 0px; top: 0px; width: 10px; height: 10px;">
  <svg x="0" y="0" height="100%" width="100%">
    <defs>
      <pattern id="pattern-big-image" patternUnits="objectBoundingBox" preserveAspectRatio="xMidYMid slice" width="1" height="1" x="0" y="0" viewBox="0 0 4000 3000">
        <image xlink:href="big-image.jpeg" width="4000" height="3000"/>
      </pattern>
    </defs>
    <rect fill="url(#pattern-big-image)" x="0" y="0" width="100%" height="100%"/>
  </svg>
</div>