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 145024 54fa4456a4bb02a740ecb62098bf1d64609bfa61
parent 145023 00e7c35894e2d4d27578955e9756afda33cb72cb
child 145025 46345150fef4af0539d610732057cf5132ed569f
push id33131
push usermfowler@mozilla.com
push dateFri, 30 Aug 2013 00:16:44 +0000
treeherdermozilla-inbound@54fa4456a4bb [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersdolske
bugs298619
milestone26.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
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;
+}