Discussion: AMP element limits (original) (raw)
As discussed in the June 14 2019 WG meeting we would like to add element limits to the AMP validator.
In accordance with how other AMP validator changes are made we should begin restrictive and become more permissive over time. As such we propose the following AMP element limits which permit the vast majority of AMP4Email in Gmail today:
| Element | Proposed limit |
|---|---|
| amp-state | 5 |
| amp-form | 20 |
| amp-anim | 200 |
| amp-img | 200 |
| amp-list | 20 |
Also we should combine amp-anim and amp-img limits together as they're basically the same element.