Index: LayoutTests/svg/as-image/svg-as-image-object-fit-contain-expected.html |
diff --git a/LayoutTests/svg/as-image/svg-as-image-object-fit-contain-expected.html b/LayoutTests/svg/as-image/svg-as-image-object-fit-contain-expected.html |
new file mode 100644 |
index 0000000000000000000000000000000000000000..e99a9c32384af73efe29e2bc7018dd3b1b120585 |
--- /dev/null |
+++ b/LayoutTests/svg/as-image/svg-as-image-object-fit-contain-expected.html |
@@ -0,0 +1,16 @@ |
+<!DOCTYPE html> |
+<title> |
+ Test for 'object-fit: cover' on SVG image w/ aspect ratio but no |
+ intrinsic size |
+</title> |
+<style type="text/css"> |
+ img { |
+ width: 160px; |
+ height: 80px; |
+ } |
+</style> |
+<img src="data:image/svg+xml, |
+ <svg viewBox='0 0 160 80' xmlns='http://www.w3.org/2000/svg'> |
+ <rect stroke-width='10' stroke='black' |
+ x='45' y='5' width='70' height='70' fill='lime'/> |
+ </svg>"> |