Source code
Revision control
Copy as Markdown
Other Tools
Test Info:
- This WPT test may be referenced by the following Test IDs:
- /css/css-masking/mask-svg-content/mask-with-rotation.svg - WPT Dashboard Interop Dashboard
<g id="testmeta">
<title>CSS Masking: mask with rotation transform</title>
<html:link rel="match" href="reference/mask-green-square-001-ref.svg"/>
<metadata class="flags">svg</metadata>
</g>
<mask id="mask">
<rect x="50" y="50" width="100" height="100" fill="white"/>
</mask>
<g transform="rotate(0.0001)" mask="url(#mask)">
<rect transform="rotate(0.0001)" style="will-change: transform"
width="200" height="200" fill="green"/>
</g>
</svg>