Skip to content
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

core(responsive-images): ignore images larger than viewport #12414

Merged
merged 2 commits into from
Apr 28, 2021

Conversation

patrickhulce
Copy link
Collaborator

Summary
Minor change to the responsive images audit (see #11838).

Related Issues/PRs
fixes #11838

@patrickhulce patrickhulce requested a review from a team as a code owner April 27, 2021 21:27
@patrickhulce patrickhulce requested review from adamraine and removed request for a team April 27, 2021 21:27
@google-cla google-cla bot added the cla: yes label Apr 27, 2021
@@ -415,7 +415,7 @@ const expectations = [
screenshot: {
width: 360,
// Allow for differences in platforms.
height: '3755±5',
height: '1350±20',
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

the height of this page is now determined by text (which varies far more between OS) instead of a static height of a declared image, this distinction didn't seem so important as to add fixed heights to every text dom element.

Copy link
Member

@adamraine adamraine left a comment

Choose a reason for hiding this comment

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

Still LGTM

@patrickhulce patrickhulce merged commit 75735c6 into master Apr 28, 2021
@patrickhulce patrickhulce deleted the ignore_too_large_images_responsive branch April 28, 2021 18:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Incorrect 'low resolution' image warning
3 participants