Bug 298619 - Use EXIF image orientation in top-level image documents. r=dolske
authorSeth Fowler <seth@mozilla.com>
Thu, 29 Aug 2013 17:16:30 -0700
changeset 153050 54fa4456a4bb02a740ecb62098bf1d64609bfa61
parent 153049 00e7c35894e2d4d27578955e9756afda33cb72cb
child 153051 46345150fef4af0539d610732057cf5132ed569f
push idunknown
push userunknown
push dateunknown
reviewersdolske
bugs298619
milestone26.0a1
Bug 298619 - Use EXIF image orientation in top-level image documents. r=dolske
layout/style/TopLevelImageDocument.css
--- a/layout/style/TopLevelImageDocument.css
+++ b/layout/style/TopLevelImageDocument.css
@@ -22,8 +22,12 @@
     bottom: 0;
     left: 0;
   }
 
   .completeRotation {
     transition: transform 0.3s ease 0s;
   }
 }
+
+img {
+  image-orientation: from-image;
+}