Skip to content

[css-images] image-set() resolution should be applied on-top of, not instead-of the natural image resolution. #6241

Open
@emilio

Description

@emilio

Right now https://drafts.csswg.org/css-images-4/#image-set-notation says:

If not specified, it behaves as 1x for the purpose of selecting which to use. It also defaults the image’s natural resolution to 1x, but if some other source of data supplies a natural resolution, that resolution must be honored instead.

That doesn't seem to match implementations, which apply the scaling on top of the natural orientation of the image. See whatwg/html#5574 (comment) and previous discussion.

cc @noamr

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