Re: [csswg-drafts] [css-images] image-orientation:none violates same-origin policy (#5165)

> I guess what we could do is that we take the orientation into account for decoding purposes, but don't store it as a field on the resulting image if it was generated from an opaque response. So it appears rotated, but if you query its metadata it'll return the default orientation values.

I think this would be the right approach.  The [https://whatpr.org/html/5603/images.html#intrinsic-orientation](intrinsic orientation) spec concept for opaque images would be "zero degrees, no flip", and the image dimensions (whether the image is opaque or not) would have the orientation taken into account. `image-orientation`'s behavior would then be written in terms of the image's intrinsic orientation.

-- 
GitHub Notification of comment by heycam
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/5165#issuecomment-639962482 using your GitHub account

Received on Saturday, 6 June 2020 02:41:21 UTC