3 ms·
It seems that Firefox from-image is nonstandard (from-image in specification is only defined for image-resolution). And default behavior of ignoring EXIF rotati
by garaetjjte 8y ago
It seems that Firefox from-image is nonstandard (from-image in specification is only defined for image-resolution). And default behavior of ignoring EXIF rotation seems correct according to this weird specification:
>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.
- leni536 8y ago> 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.
- michaelt 8y agoPresumably the issue is "Given that browsers that ignore EXIF rotation already exist, should modern browsers display the same page differently?"
- anonymfus 8y agoYes because it will fix more pages than it will break.
- praveenscience 8y agoBut what about the compatibility, graceful degradation, etc. of the browsers that yet don't support this feature? Won't that break everything else?