-
Notifications
You must be signed in to change notification settings - Fork 19
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
fix: dpr srcset when only h param #76
Conversation
Bug Fixes
Tests
Chore
ContributorsCommit-Lint commandsYou can trigger Commit-Lint actions by commenting on this PR:
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM 👏
👍 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I just remembered that this change also needs to be reflected in the project documentation at some point, either in this PR or a separate one.
Description
This PR ensures a DPR-based SrcSet is generated when a fixed height is the only parameter value.
It removes tests that no longer apply to only having h as a param, and
adds tests that ensure the DPR
sercset
was generated correctly.