-
Notifications
You must be signed in to change notification settings - Fork 3.9k
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
attemptChangeSize not denied for above-the-fold iframe #19941
Comments
Hmm, I'm not sure amphtml/src/service/resources-impl.js Lines 892 to 899 in 962e125
It might appear to be changing size due to the iframed content changing during load. |
In fact, you can see the overflow button "Click to Expand" being shown. @aghassemi did you notice differently? |
@choumx trying it on Prod and Canary repros the content jump for me in all browsers: |
Weird, I can repro now. Thanks for the GIF. |
Huh, funnily enough, this is related to #13343. It's falling into https://github.com/ampproject/amphtml/blob/master/src/service/resources-impl.js#L1368-L1371, which uses |
And it's because their |
This is a high priority issue but it hasn't been updated in awhile. @jridgewell Do you have any updates? |
https://beta.ctvnews.ca/national/canada/2018/10/10/1_4128456.html
This page has an iframe above the fold but somehow
attemptChangeSize
is not denied and it causes content shifting./to @jridgewell @choumx
The text was updated successfully, but these errors were encountered: