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

Unified Diff: third_party/WebKit/LayoutTests/fast/images/exif-orientation.html

Issue 2496663002: Merge css3/image/ and fast/images/ to images/ (Closed)
Patch Set: Address failing tests (3 of them) Created 4 years, 1 month 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/images/exif-orientation.html
diff --git a/third_party/WebKit/LayoutTests/fast/images/exif-orientation.html b/third_party/WebKit/LayoutTests/fast/images/exif-orientation.html
deleted file mode 100644
index 4ab4d9863d39cc239f8d12d0d61d5671c51c2538..0000000000000000000000000000000000000000
--- a/third_party/WebKit/LayoutTests/fast/images/exif-orientation.html
+++ /dev/null
@@ -1,50 +0,0 @@
-<html>
-<head>
-<script>
-if (window.testRunner) {
- testRunner.overridePreference('WebKitShouldRespectImageOrientation', 1);
- testRunner.dumpAsTextWithPixelResults();
-}
-
-function log(str) {
- var li = document.createElement("li");
- li.appendChild(document.createTextNode(str));
- var console = document.getElementById("console");
- console.appendChild(li);
-}
-
-function imageSize(el) {
- var computedStyle = window.getComputedStyle(el);
- return computedStyle.width + " by " + computedStyle.height;
-}
-
-
-function load() {
- for(var i = 1; i <= 9; i++)
- log("img" + i + " size = " + imageSize(document.getElementById("img" + i)))
-}
-
-</script>
-<style>
-body { overflow: hidden; }
-img { border: 1px solid black; }
-div { display: inline-block; margin-right: 20px; margin-bottom: 10px; width: 100px; vertical-align: top; }
-</style>
-</head>
-<body onload="load()">
-<b>The images should be rotated respecting their EXIF orientation. This test can only be run with testRunner (or by manually setting WebKitShouldRespectImageOrientation to true).</b><br><br>
-<div><img id="img1" src="resources/exif-orientation-1-ul.jpg"><br>Normal</div>
-<div><img id="img2" src="resources/exif-orientation-2-ur.jpg"><br>Flipped horizontally</div>
-<div><img id="img3" src="resources/exif-orientation-3-lr.jpg"><br>Rotated 180&deg;</div>
-<div><img id="img4" src="resources/exif-orientation-4-lol.jpg"><br>Flipped vertically</div>
-<br>
-<div><img id="img5" src="resources/exif-orientation-5-lu.jpg"><br>Rotated 90&deg; CCW and flipped vertically</div>
-<div><img id="img6" src="resources/exif-orientation-6-ru.jpg"><br>Rotated 90&deg; CCW</div>
-<div><img id="img7" src="resources/exif-orientation-7-rl.jpg"><br>Rotated 90&deg; CW and flipped vertically </div>
-<div><img id="img8" src="resources/exif-orientation-8-llo.jpg"><br>Rotated 90&deg; CW</div>
-<br>
-<div><img id="img9" src="resources/exif-orientation-9-u.jpg"><br>Undefined (invalid value)</div>
-<br>
-<ul id="console"></ul>
-</body>
-</html>

Powered by Google App Engine
This is Rietveld 408576698