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

Unified Diff: trunk/LayoutTests/fast/css/object-position-with-fit-none.html

Issue 23465021: Revert 157745 "Add support for the object-position CSS property." (Closed) Base URL: svn://svn.chromium.org/blink/
Patch Set: Created 7 years, 3 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: trunk/LayoutTests/fast/css/object-position-with-fit-none.html
===================================================================
--- trunk/LayoutTests/fast/css/object-position-with-fit-none.html (revision 157750)
+++ trunk/LayoutTests/fast/css/object-position-with-fit-none.html (working copy)
@@ -1,50 +0,0 @@
-<!DOCTYPE html>
-
-<html>
- <head>
- <title>object-position on images with object-fit:none and smaller images</title>
- <style type="text/css">
- img {
- width: 100px;
- height: 100px;
- margin: 2px 10px;
- border: 1px solid black;
- padding: 5px;
- background-color: gray;
- }
-
- .group > * { object-fit: none; }
- .group { object-position: 30px 30px; }
- .group > *:nth-child(1) { object-position: right top; }
- .group > *:nth-child(2) { object-position: left bottom; }
- .group > *:nth-child(3) { object-position: 10px 125%; }
- .group > *:nth-child(4) { object-position: 200%; }
- .group > *:nth-child(5) { object-position: -100%; }
- .group > *:nth-child(6) { object-position: -25% -10px; }
- .group > *:nth-child(7) { object-position: 72px 0px; }
- .group > *:nth-child(8) { object-position: 0px 72px; }
- .group > *:nth-child(9) { object-position: -72px 0px; }
- .group > *:nth-child(10) { object-position: 0px -72px; }
- .group > *:nth-child(11) { object-position: inherit; }
- .group > *:nth-child(12) { }
- </style>
- </head>
- <body>
-
- <div class="group">
- <img src="resources/circles-landscape-small.png">
- <img src="resources/circles-landscape-small.png">
- <img src="resources/circles-landscape-small.png">
- <img src="resources/circles-landscape-small.png">
- <img src="resources/circles-landscape-small.png">
- <img src="resources/circles-landscape-small.png">
- <img src="resources/circles-landscape-small.png">
- <img src="resources/circles-landscape-small.png">
- <img src="resources/circles-landscape-small.png">
- <img src="resources/circles-landscape-small.png">
- <img src="resources/circles-landscape-small.png">
- <img src="resources/circles-landscape-small.png">
- </div>
-
- </body>
-</html>

Powered by Google App Engine
This is Rietveld 408576698