Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
Write Tests for Image-Orientation Initial Value #18549
Also, this test will need to change https://github.com/web-platform-tests/wpt/blob/master/css/css-images/inheritance.html
In https://github.com/web-platform-tests/wpt/tree/master/css/css-images there are some tests already for image-orientation (in particular inheritance.html and in parsing/ )
Per w3c/csswg-drafts#4165 (comment) it's possible that the image-orientation CSS property may be dropped altogether, so we probably shouldn't spend too much time right now on fully testing the CSS property itself. But testing the change of the initial value is easy (1 line change in inheritance.html).
The different cases on the web that can show an image, that seem interesting to test (without any 'image-orientation' specified, with an image with some EXIF rotation):
There might be some other place on the web platform that displays images, but this covers almost everything I think, and also we don't need to test everything in the first patch.