amphtml icon indicating copy to clipboard operation
amphtml copied to clipboard

Disallow resizing amp-iframe to below certain threshold

Open cramforce opened this issue 10 years ago • 2 comments

It should not be allowed to sometimes hide amp-iframe. That is not what they are for. I think minimum resize height should be 100px.

We should also deny resize requests that start out small.

cramforce avatar Jun 23 '16 17:06 cramforce

If the resize height is less than 100px, do we still update the width? or we just deny the whole resize request?

muxin avatar Jun 29 '16 01:06 muxin

Deny all.

On Tue, Jun 28, 2016 at 6:00 PM, Yuxi Chen [email protected] wrote:

If the resize height is less than 100px, do we still update the width? or we just deny the whole resize request?

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/ampproject/amphtml/issues/3746#issuecomment-229228104, or mute the thread https://github.com/notifications/unsubscribe/AAFeT86UXvQVMtuNi-i3Zc4_Y2Ca6A87ks5qQcOigaJpZM4I9CWo .

cramforce avatar Jun 29 '16 01:06 cramforce