blob: 7e8edc3c79da040cd1204352f06e5ccf896cb136 [file] [log] [blame]
<!DOCTYPE html>
<html>
<body>
Test for crbug.com/227397: This test passes if there is a green box with just the word "PASS".<br/>
<svg xmlns="http://www.w3.org/2000/svg" width="350" height="350">
<rect width="100" height="100" fill="green" />
<defs>
<path id="passpath" d="M 110 100 L 200 100Z" />
</defs>
<!-- The following text should render next to the green box. -->
<text fill="green">
<textPath xlink:href="#passpath">PASS</textPath>
</text>
</svg>
</body>
</html>