Skip to content

Expands image when no size is set #6

@bryanburgers

Description

@bryanburgers

When using <img src="logo.png" srcset="logo.png 1x, logo@2x.png 2x" alt="logo"> without an explicit width or height attribute, the image is expanded to double its size, instead of staying the same size.

For example, if logo.png is 100×50 and logo@2x.png is 200×100, I would expect my <img> element to stay 100×50 instead of becoming 200×100.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions