I went to the linked specification (https://www.w3.org/TR/css3-images/#image-orientation) and "from-image" is not specified here as a possible value of "image-orientation".
I went to the linked specification (https://www.w3.org/TR/css3-images/#image-orientation) and "from-image" is not specified here as a possible value of "image-orientation".
>Note that some devices will "tag" an image with some metadata indicating its correct orientation, so image viewing software can do the necessary transformation themselves. Due to legacy compatibility restraints, Web browsers are required to ignore this data by default. A future level of this specification is expected to have a value that applies the metadata-specified transformation automatically.
IMO EXIF rotation should be applied always, and any CSS rotations should combine with it, not override.
I agree. EXIF rotation is a part of the image and it's just an implementation detail of the image data. Browsers shouldn't leak this.
But it has been dropped from the next version which states:
> If the image has an orientation specified in its metadata, such as EXIF, the UA must rotate or flip the image to correctly orient it as the metadata specifies.
https://www.w3.org/TR/2012/WD-css4-images-20120911/#the-imag...