Skip to content
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

🐛 Add image-related tags to validator spec descendant_tag_list for amp-mega-menu #38028

Merged
merged 2 commits into from
Aug 22, 2023

Conversation

westonruter
Copy link
Member

This addresses ampproject/amp-wp#7029 in which a user found that Search Console complained about validation errors for an i-amphtml-sizer tag not being allowed as a descendant of amp-mega-menu. It appears that the validator spec for amp-mega-menu was not accounting for transformed documents and thus this tag was not included among the descendant_tag_list.

This PR also allows img which is needed both for SSR'ed hero images on transformed documents as well as for native img which is now allowed in AMP. Lastly, a noscript is allowed for the amp-img > noscript > img fallback.

@amp-owners-bot
Copy link

amp-owners-bot bot commented Apr 6, 2022

Hey @ampproject/wg-caching! These files were changed:

extensions/amp-mega-menu/validator-amp-mega-menu.protoascii

@alanorozco alanorozco removed the request for review from rbeckthomas April 18, 2022 18:42
@alanorozco
Copy link
Member

@ampproject/wg-caching FYI

Copy link
Contributor

@banaag banaag left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM for validator

@westonruter
Copy link
Member Author

Can we go ahead and merge this?

…a-menu-images-validator-spec

* 'main' of github.com:ampproject/amphtml: (90 commits)
  🔥 [Story mediapool] Fix videos from mediapool with `noaudio` don't have audio when reused. (#38216)
  Hide progress bar on the control group of auto advance experiment (#38215)
  ✨ Add Bento Autocomplete Component (#37837)
  🌐 [Story subscription] Subscription localization async (#38204)
  Dable: add new optional parameter "channel" (#38199)
  ✨ [AMP Story Paywall] Enable developers to specify a custom subscriptions page index (#38175)
  SwG Release 0.1.22.217 (#38187)
  amp-script: implements new size limits for sandboxed scripts (#38185)
  🖍  Hide the system layer and progress bar in preview mode (#38163)
  added minItems (#38177)
  Prevent expandTemplate from ReDOSing (#38178)
  Change amp-story-subscriptions attribute name to reflect its flexibility (#38176)
  🐛 [Story Preview] Enable amp-video to play in preview mode (#38149)
  Added the possibility to get page count to story messaging api (#38170)
  SwG Release 0.1.22.216 (#38168)
  Allow @newmuis to update OWNERS files (#38169)
  ✨ Add Richaudience to RTC callout vendors (#38160)
  🚀  SunMedia: Update amp-ad (#38128)
  Remove option to deploy PR artifacts to a static website (#38152)
  added some vars and requests in gfksensic.json (#37722)
  ...
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants