haikuwebkit/LayoutTests/svg/as-image/svg-image-viewbox.html

15 lines
494 B
HTML

<!DOCTYPE html>
<html>
<body>
Test for WK104189: This test passes if there is a green square with sharp (not blurry) edges.<br/>
<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" viewBox="0 0 10 10" width="400" height="400">
<image x="0" y="0" width="100%" height="100%" xlink:href="data:image/svg+xml,
<svg xmlns='http://www.w3.org/2000/svg'>
<rect x='10%' y='10%' width='80%' height='80%' fill='green' />
</svg>
" />
</svg>
</body>
</html>