Source code
Revision control
Copy as Markdown
Other Tools
<!DOCTYPE html>
<html>
<head>
<title>CSS Transforms Reference File</title>
<link rel="author" title="Mihai Corlan" href="mailto:mcorlan@adobe.com">
<meta name="flags" content="svg">
<style type="text/css">
.greenSquare {
position: absolute;
top: 50px;
left: 100px;
}
</style>
</head>
<body>
<p>The test passes if there is a green shape and no red.</p>
<div class="greenSquare">
<svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px"
width="100px" height="200px" viewBox="0 0 100 200" xml:space="preserve">
<polygon fill="green" points="100,200 0,99.999 0,0 100,100 "/>
</svg>
</div>
</body>
</html>