blob: e1acc0bae9a3cd6857d80655e07f7c0c2661f196 [file] [log] [blame]
<body>
<p>This test shows a <code>&lt;canvas></code> element in which we draw the SVG image with the source rectangle set to fit the green rectangle from the SVG image and the destination rectangle as the bounds of the canvas element. In this example, the source <code>&lt;img></code> is not in the DOM and is explicitly sized.</p>
<div style="background-color: green; width: 200px; height: 200px;"></div>
</body>