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

Fix SSR sizer responsiveness issue #521

Merged
merged 1 commit into from
Apr 29, 2022

Conversation

ediamin
Copy link
Collaborator

@ediamin ediamin commented Apr 20, 2022

Fixes #511

This PR fixes the responsiveness issue of the i-amphtml-sizer generated by the SSR when we have a heights attribute.

@ediamin ediamin requested a review from schlessera April 20, 2022 10:54
@ediamin ediamin added Bug Something isn't working SSR Related to the serverside rendering of the Optimizer labels Apr 20, 2022
@westonruter
Copy link
Member

This is a port of ampproject/amp-toolbox#1319, correct?

Copy link
Member

@westonruter westonruter left a comment

Choose a reason for hiding this comment

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

LGTM

@westonruter
Copy link
Member

Should the test suite from amp-toolbox be synced as part of this PR to ensure everything passes?

@ediamin
Copy link
Collaborator Author

ediamin commented Apr 20, 2022

Yes, it was sync and merged in this PR #520

@ediamin ediamin added this to the 0.11.2 milestone Apr 29, 2022
@ediamin ediamin merged commit 89cd1f6 into main Apr 29, 2022
@ediamin ediamin deleted the fix/511-i-amphtml-sizer-responsiveness-issue branch April 29, 2022 05:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug Something isn't working SSR Related to the serverside rendering of the Optimizer
Projects
None yet
Development

Successfully merging this pull request may close these issues.

amp-embed heights attribute being stripped
2 participants