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/pattern-basic-01.svg
<!--
Any copyright is dedicated to the Public Domain.
-->
<title>Test mapped attributes work on the pattern element</title>
<pattern id="pattern" width="100%" height="100%" fill="lime" patternContentUnits="objectBoundingBox">
<rect width="100%" height="100%"/>
</pattern>
<rect width="100%" height="100%" fill="red"/>
<rect width="100%" height="100%" fill="url(#pattern)"/>
</svg>