No EXIF image orientation support for background images
Categories
(Core :: Layout: Images, Video, and HTML Frames, defect)
Tracking
()
Tracking | Status | |
---|---|---|
firefox77 | --- | fixed |
People
(Reporter: danthedeckie, Unassigned)
Details
User Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:75.0) Gecko/20100101 Firefox/75.0
Steps to reproduce:
in a HTML document, an element with background-image set to a JPEG with EXIF metadata rotation, as in https://jsfiddle.net/5mnfsaud/ . More examples can be found in https://github.com/recurser/exif-orientation-examples
Adding CSS attribute image-orientation: from-image;
makes no difference.
Actual results:
As seen in https://jsfiddle.net/5mnfsaud/ - the EXIF rotation information is ignored in Firefox (in Chrome it automatically is rotated to match the metadata).
Setting image-orientation: from-image
in the img
element CSS does result in them being displayed correctly - but for the div
it does not.
Expected results:
I think background-images should respect EXIF metadata. Especially if you specify to use image-orientation: from-image
.
Comment 1•5 years ago
|
||
Bugbug thinks this bug should belong to this component, but please revert this change in case of error.
Comment 2•5 years ago
|
||
Bugbug thinks this bug should belong to this component, but please revert this change in case of error.
Comment 3•5 years ago
|
||
This was fixed on Nightly77.0a1.
Description
•