Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Intent to unship: explicit <angle> values in image-orientation

103 views
Skip to first unread message

Cameron McCormack

unread,
Jul 6, 2018, 12:48:16 AM7/6/18
to dev-pl...@lists.mozilla.org
https://drafts.csswg.org/css-images-3/#the-image-orientation

The CSS image-orientation property allows an author to control whether an image (in an <img> or generated content) is automatically rotated and flipped according to the EXIF data in the image. Originally, the specification only allowed explicit multiple-of-90° <angle> values (and a flip keyword). When we implemented image-orientation, we supported explicit angle values as well as a keyword to take the orientation from the image itself.

The specification now deprecates the explicit angle values. Since Firefox is the only browser to implement this property, I am planning to remove support for the angle values, and file an issue on the spec to remove them entirely.

https://bugzilla.mozilla.org/show_bug.cgi?id=1473450

L. David Baron

unread,
Jul 6, 2018, 4:20:10 AM7/6/18
to Cameron McCormack, dev-pl...@lists.mozilla.org
This sounds good to me. The remaining piece of the property is just
a toggle that lets developers opt in to honoring the EXIF
orientation in the image, which is useful for sites that want to use
photos without a lot of preprocessing.

-David

--
𝄞 L. David Baron http://dbaron.org/ 𝄂
𝄢 Mozilla https://www.mozilla.org/ 𝄂
Before I built a wall I'd ask to know
What I was walling in or walling out,
And to whom I was like to give offense.
- Robert Frost, Mending Wall (1914)
signature.asc
0 new messages