12 lines
572 B
HTML
12 lines
572 B
HTML
<!DOCTYPE html>
|
|
<html>
|
|
<body>
|
|
Test taken from crbug.com/173360: preserveAspectRatio=none on images<br/>
|
|
You should see a green box below with a black border.<br/>
|
|
<svg width="300" height="300">
|
|
<rect x="11" y="11" width="98" height="98" fill="red"/>
|
|
<image x="10" y="10" width="100" height="100" preserveAspectRatio="none" xlink:href='data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="190" height="200" viewBox="0 0 190 200"><rect x="0" y="0" width="190" height="200" fill="green" stroke-width="6" stroke="black"/></svg>' />
|
|
</svg>
|
|
</body>
|
|
</html>
|