amphtml icon indicating copy to clipboard operation
amphtml copied to clipboard

An AMP4ADS document using style[amp-keyframes] doesn't validate

Open heather162 opened this issue 9 years ago • 4 comments

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.

heather162 avatar Nov 09 '17 22:11 heather162

Currently