amphtml
amphtml copied to clipboard
An AMP4ADS document using style[amp-keyframes] doesn't validate
What's the issue?
An AMP4ADS document using style[amp-keyframes] doesn't validate.
The error is "The parent tag of tag 'style amp-custom (AMP4ADS)' is 'body', but it can only be 'head'."
How do we reproduce the issue?
Add as the last tag in the document body on the default ad at https://validator.ampproject.org/#htmlFormat=AMP4ADS
What browsers are affected?
N/A
Which AMP version is affected?
N/A
It looks like the validator just needs to allow style[amp-keyframes] for AMP4ADS.
Currently