Issue with "image-orientation": cross-origin limitations #12484
Labels
Content:CSS
Cascading Style Sheets docs
effort: small
This task is a small effort.
help wanted
If you know something about this topic, we would love your help!
MDN URL: https://developer.mozilla.org/en-US/docs/Web/CSS/image-orientation
What information was incorrect, unhelpful, or incomplete?
As discussed in w3c/csswg-drafts/issues/5165, this behavior is no longer supported for cross-origin images. This severely limits its usefulness and means that the old default behavior (where EXIF data was ignored) can no longer be achieved for cross-origin images.
What did you expect to see?
The page should probably have a big callout about this.
Did you test this? If so, how?
Yes, I created a page that loads an image with an EXIF rotation and set
image-orientation: none
on it. When using a cross-origin image, the image was flipped according to the EXIF data (in Chrome). When using a same-origin image, the EXIF data was ignored.MDN Content page report details
en-us/web/css/image-orientation
The text was updated successfully, but these errors were encountered: