Skip to content

Browsers downsize the first fitting image in srcset #40175

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

Merged
merged 4 commits into from
Jul 8, 2025

Conversation

zakingslayerv22
Copy link
Contributor

It informs that the browser will choose the first image that is bigger than the chosen slot size but it did not mention that the browser would scale it down to the required size.

Description

Motivation

Additional details

Related issues and pull requests

It informs that the browser will choose the first image that is bigger than the chosen slot size but it did not mention that the browser would scale it down to the required size.
@zakingslayerv22 zakingslayerv22 requested a review from a team as a code owner July 2, 2025 15:54
@zakingslayerv22 zakingslayerv22 requested review from dipikabh and removed request for a team July 2, 2025 15:54
@github-actions github-actions bot added Content:HTML Hypertext Markup Language docs size/xs [PR only] 0-5 LoC changed labels Jul 2, 2025
Copy link
Contributor

github-actions bot commented Jul 2, 2025

Preview URLs

(comment last updated: 2025-07-08 21:35:55)

zakingslayerv22 and others added 2 commits July 2, 2025 17:15
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
@Josh-Cena Josh-Cena changed the title Add clarity - browser down scale Browsers downsize the first fitting image in srcset Jul 7, 2025
Copy link
Contributor

@dipikabh dipikabh left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for submitting this update @zakingslayerv22 👍

@dipikabh dipikabh merged commit 691e2e9 into mdn:main Jul 8, 2025
8 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Content:HTML Hypertext Markup Language docs size/xs [PR only] 0-5 LoC changed
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants