Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(41)

Unified Diff: third_party/WebKit/LayoutTests/fast/css/object-fit-grow-landscape-expected.html

Issue 2134253002: Adjust src and dest rects when drawing images instead of using a clip (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Remove dcheck for containment Created 4 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: third_party/WebKit/LayoutTests/fast/css/object-fit-grow-landscape-expected.html
diff --git a/third_party/WebKit/LayoutTests/fast/css/object-fit-grow-landscape-expected.html b/third_party/WebKit/LayoutTests/fast/css/object-fit-grow-landscape-expected.html
deleted file mode 100644
index 76c1e9e3793c090c680e10efab589e2817e22c11..0000000000000000000000000000000000000000
--- a/third_party/WebKit/LayoutTests/fast/css/object-fit-grow-landscape-expected.html
+++ /dev/null
@@ -1,36 +0,0 @@
-<!DOCTYPE html>
-
-<html>
- <head>
- <title>object-fit, landscape images smaller than content box</title>
- <style type="text/css">
- .group > div {
- display: inline-block;
- overflow: hidden;
- width: 144px;
- height: 144px;
- margin: 10px;
- border: 1px solid black;
- background-color: gray;
- }
-
- .group > * > * { display: block; }
- .group.landscape > *:nth-child(1) > * { width:100%; height:100%; }
- .group.landscape > *:nth-child(2) > * { width:100%; margin-top:25%; }
- .group.landscape > *:nth-child(3) > * { height:100%; margin-left:-50%; }
- .group.landscape > *:nth-child(4) > * { margin-left: 36px; margin-top:54px; }
- .group.landscape > *:nth-child(5) > * { margin-left: 36px; margin-top:54px; }
- </style>
- </head>
- <body>
-
- <!-- Small images, should be scaled up when allowed. -->
- <div class="group landscape">
- <div><img src="resources/circles-landscape-small.png"></div>
- <div><img src="resources/circles-landscape-small.png"></div>
- <div><img src="resources/circles-landscape-small.png"></div>
- <div><img src="resources/circles-landscape-small.png"></div>
- <div><img src="resources/circles-landscape-small.png"></div>
- </div>
- </body>
-</html>

Powered by Google App Engine
This is Rietveld 408576698