-
Notifications
You must be signed in to change notification settings - Fork 719
[css-images-3] change which images image-orientation applies to #5245
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
Agree that that's what we need to answer. The goal of the If I don't have a strong opinion on My view of orientation metadata is that it's an implementation detail of the image, and the only reason that we are allowing control of whether it is honored is to help authors manage this change in behavior. |
I agree with Cam on all his points. If EXIF applies to all images, then I think |
The CSS Working Group just discussed
The full IRC log of that discussion |
Because the spec was pretty clear that it does not apply to background images etc., only to replaced elements (including generated content). |
Uh oh!
There was an error while loading. Please reload this page.
In #4165 it was resolved that EXIF orientation applies to all images by default. There was some discussion about which images the
image-orientation
property and talk of a resolution, but no actual resolution.This matters because we've got two sets of WPT tests added in the last six months which disagree - see web-platform-tests/wpt#18549 (comment) - and different results in Firefox and Chrome (see a, b). So we need a once-and-for-all resolution on this.
@heycam made the same observation in #4165 (comment), and we'd like to implement this but can't until it's clarified.
So the question is: does the
image-orientation
property apply to "decorative" images, such asbackground-image
andborder-image
? And if it does not (as currently specified), the second question is can we tightly define "decorative" images.@zcorpan made a full list at web-platform-tests/wpt#18549 (comment)
content
,list-style-image
(which generates content), SVGimage
, HTMLimg
,embed
,object
, andvideo
poster. Theimage-orientation
property should apply to all of these.background-image
,border-image
andmask-image
.image-orientation
does not apply to cursor, top-level docs, favicon or web-app manifests.cc @schenney-chromium
The text was updated successfully, but these errors were encountered: