Skip to content

[css-images] Use case for image-resolution? #6317

@zcorpan

Description

@zcorpan

If so, the from-image value is equivalent to 1x, right? Should we drop from-image?

You mean image-resolution: from-image? See above. If we were to implement this, it is where CORS would kick in - as image-resolution would expose whether an image is EXIF-resolution-corrected and that information shouldn't leak cross origins.

I am not sure there is an actual use for image-resolution - I think image-orientation is used mainly for backwards compatibility issues, which is less of a problem with resolution.

Originally posted by @noamr in #6241 (comment)

What is the use case for image-resolution?

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions