[Webkit-unassigned] [Bug 89052] Implement css3-images image-orientation
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Fri Jul 26 15:23:32 PDT 2019
https://bugs.webkit.org/show_bug.cgi?id=89052
--- Comment #20 from Said Abou-Hallawa <sabouhallawa at apple.com> ---
The current draft specs is: https://drafts.csswg.org/css-images-4/#image-orientation
It 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."
The MDN claims also the image-orientation property is likely to be deprecated: https://developer.mozilla.org/en-US/docs/Web/CSS/image-orientation.
The currentWebKit implementation of the image orientation is confusing. The image orientation is respected only when the image is opened as an ImageDocument, i.e. standalone image. When the image is embedded in a page as an <img> element or as a css background image, the image orientation is ignored. See RenderElement::shouldRespectImageOrientation().
I think it is time to automatically respect the image orientation specified in the image’s metadata.
--
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20190726/ed72c88c/attachment.html>
More information about the webkit-unassigned
mailing list