<stop offset="50%" stop-color="green"/>
            </linearGradient>
        </defs>
        <rect x="1" y="1" width="98" height="98" fill="red"/>
        <rect class="testRect" y="-60" width="100" height="100" fill="url(#grad)" transform="rotate(90,20,20)"/>
    </svg>
</body>
</html>
