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