Source code

Revision control

Copy as Markdown

Other Tools

Test Info:

SVG Preview (Scaled)

Preview of https://hg.mozilla.org/mozilla-central/raw-file/tip/layout/reftests/svg/objectBoundingBox-and-pattern-01b.svg
<!--
Any copyright is dedicated to the Public Domain.
-->
<title>Testcase for elements referencing an objectBoundingBox pattern</title>
<defs>
<pattern id="test" width="100%" height="100%" viewBox="0 0 40 40" patternContentUnits="objectBoundingBox">
<rect x="0" y="0" width="40" height="40" fill="lime" />
</pattern>
</defs>
<g transform="translate(20 20)">
<rect x="0" y="0" width="200" height="200" fill="url(#test)" />
</g>
</svg>