Index: LayoutTests/svg/custom/image-with-preserveAspectRatio-none.html |
diff --git a/LayoutTests/svg/custom/image-with-preserveAspectRatio-none.html b/LayoutTests/svg/custom/image-with-preserveAspectRatio-none.html |
new file mode 100644 |
index 0000000000000000000000000000000000000000..451719c60acc4c65969b7ea4c19e41e580fa94a0 |
--- /dev/null |
+++ b/LayoutTests/svg/custom/image-with-preserveAspectRatio-none.html |
@@ -0,0 +1,11 @@ |
+<!DOCTYPE html> |
+<html> |
+<body> |
+Test for 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> |