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

Unified Diff: LayoutTests/fast/images/exif-orientation-height-image-document.html

Issue 168583003: Add a layout test for bug 320244 (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 10 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: LayoutTests/fast/images/exif-orientation-height-image-document.html
diff --git a/LayoutTests/fast/images/exif-orientation-height-image-document.html b/LayoutTests/fast/images/exif-orientation-height-image-document.html
new file mode 100644
index 0000000000000000000000000000000000000000..0337f5038988378243d223148a9c9bd1aaefc611
--- /dev/null
+++ b/LayoutTests/fast/images/exif-orientation-height-image-document.html
@@ -0,0 +1,8 @@
+<!-- Test for http://crbug/320244 Image Document's displayed image has the wrong
+aspect ratio (the image looks stretched) for images with EXIF orientation. -->
+<script>
+if (window.testRunner)
+ testRunner.queueLoad('resources/jpeg-height-exif-orientation.jpg?' + Math.random());
pdr. 2014/02/18 02:59:18 Math.random() shouldn't be required here. Can you
Noel Gordon 2014/02/18 03:32:02 Lemme remove random() ...
+else
+ document.write('This test requires TestRunner.');
+</script>

Powered by Google App Engine
This is Rietveld 408576698