Index: LayoutTests/fast/css/object-fit-grow-portrait.html |
diff --git a/LayoutTests/fast/css/object-fit-grow-portrait.html b/LayoutTests/fast/css/object-fit-grow-portrait.html |
new file mode 100644 |
index 0000000000000000000000000000000000000000..bdecbf7e137d83577c01ffab9d5e900d6741be34 |
--- /dev/null |
+++ b/LayoutTests/fast/css/object-fit-grow-portrait.html |
@@ -0,0 +1,27 @@ |
+<!DOCTYPE html> |
+ |
+<html> |
+ <head> |
+ <title>object-fit, portrait images smaller than content box</title> |
+ <style type="text/css"> |
+ img { |
+ display: inline-block; |
+ height: 144px; |
+ width: 144px; |
+ margin: 10px; |
+ border: 1px solid black; |
+ background-color: gray; |
+ } |
+ </style> |
+ </head> |
+ <body> |
+ |
+ <!-- Small images, should be scaled up when allowed. --> |
+ <img style="object-fit: fill;" src="resources/circles-portrait-small.png"> |
+ <img style="object-fit: contain;" src="resources/circles-portrait-small.png"> |
+ <img style="object-fit: cover;" src="resources/circles-portrait-small.png"> |
+ <img style="object-fit: none;" src="resources/circles-portrait-small.png"> |
+ <img style="object-fit: scale-down;" src="resources/circles-portrait-small.png"> |
+ |
+ </body> |
+</html> |