Source code
Revision control
Copy as Markdown
Other Tools
Test Info:
- This WPT test may be referenced by the following Test IDs:
- /svg/pservers/reftests/pattern-transform-02.svg - WPT Dashboard Interop Dashboard
<title>Patterns with non-invertible patternTransforms</title>
<h:link rel="help" href="https://svgwg.org/svg2-draft/single-page.html#pservers-PatternElementPatternTransformAttribute"/>
<h:link rel="match" href="reference/green-100x100.svg"/>
<pattern id="scale0" width="50" height="100"
patternTransform="scale(0)">
<rect width="50" height="100" fill="red"/>
</pattern>
<rect width="50" height="100" fill="url(#scale0) green"/>
<pattern id="matrix0" width="50" height="100"
patternTransform="matrix(0, 0, 0, 0, 0, 0)">
<rect width="50" height="100" fill="red"/>
</pattern>
<rect x="50" width="50" height="100" fill="url(#matrix0) green"/>
</svg>