From 15f658dad167fe43a3e41dcdf712432c949549cd Mon Sep 17 00:00:00 2001 From: honeybadgerdontcare <honeybadgerdontcare@users.noreply.github.com> Date: Fri, 20 Aug 2021 11:08:25 -0700 Subject: [PATCH] Validator rollup 20210819 (#35748) * cl/391813546 Remove notice from extension validator test files * cl/391814624 Remove notice from validator feature tests * remove diff from README.md * empty commit * empty commit --- .../0.1/test/validator-amp-3d-gltf.html | 15 - .../0.1/test/validator-amp-3d-gltf.out | 17 +- .../0.1/test/validator-amp-3q-player.html | 15 - .../0.1/test/validator-amp-3q-player.out | 17 +- .../test/validator-amp-access-laterpay.html | 15 - .../test/validator-amp-access-laterpay.out | 15 - .../test/validator-amp-access-laterpay.html | 15 - .../test/validator-amp-access-laterpay.out | 15 - .../0.1/test/validator-amp-access-poool.html | 12 - .../0.1/test/validator-amp-access-poool.out | 12 - .../0.1/test/validator-amp-access-scroll.html | 15 - .../0.1/test/validator-amp-access-scroll.out | 15 - ...alidator-amp-access-missing-extension.html | 15 - ...validator-amp-access-missing-extension.out | 17 +- .../0.1/test/validator-amp-access.html | 15 - .../0.1/test/validator-amp-access.out | 15 - .../0.1/test/validator-amp-accordion.html | 15 - .../0.1/test/validator-amp-accordion.out | 25 +- .../1.0/test/validator-amp-accordion.html | 15 - .../1.0/test/validator-amp-accordion.out | 25 +- .../0.1/test/validator-amp-ad-custom.html | 15 - .../0.1/test/validator-amp-ad-custom.out | 17 +- .../amp-ad/0.1/test/validator-amp-ad.html | 15 - .../amp-ad/0.1/test/validator-amp-ad.out | 27 +- .../0.1/test/validator-amp-addthis.html | 15 - .../0.1/test/validator-amp-addthis.out | 15 - .../validator-analytics-notification.html | 15 - .../test/validator-analytics-notification.out | 15 - .../0.1/test/validator-analytics.html | 15 - .../0.1/test/validator-analytics.out | 15 - .../amp-anim/0.1/test/validator-amp-anim.html | 15 - .../amp-anim/0.1/test/validator-amp-anim.out | 19 +- .../0.1/test/validator-amp-animation.html | 15 - .../0.1/test/validator-amp-animation.out | 19 +- .../0.1/test/validator-amp-apester-media.html | 15 - .../0.1/test/validator-amp-apester-media.out | 15 - ...validator-amp-app-banner-missing-meta.html | 15 - .../validator-amp-app-banner-missing-meta.out | 17 +- ...alidator-amp-app-banner-only-one-meta.html | 15 - ...validator-amp-app-banner-only-one-meta.out | 15 - .../0.1/test/validator-amp-app-banner.html | 15 - .../0.1/test/validator-amp-app-banner.out | 15 - .../0.1/test/validator-amp-audio.html | 15 - .../0.1/test/validator-amp-audio.out | 15 - .../0.1/test/validator-amp4ads-amp-audio.html | 15 - .../0.1/test/validator-amp4ads-amp-audio.out | 17 +- .../0.1/test/validator-amp-auto-ads.html | 15 - .../0.1/test/validator-amp-auto-ads.out | 15 - .../0.1/test/validator-amp-autocomplete.html | 15 - .../0.1/test/validator-amp-autocomplete.out | 37 +- .../validator-amp-autocomplete.out.cpponly | 37 +- .../0.1/test/validator-amp-base-carousel.html | 15 - .../0.1/test/validator-amp-base-carousel.out | 43 +- .../1.0/test/validator-amp-base-carousel.html | 15 - .../1.0/test/validator-amp-base-carousel.out | 51 +-- .../0.1/test/validator-amp-beopinion.html | 15 - .../0.1/test/validator-amp-beopinion.out | 15 - .../amp-bind/0.1/test/validator-amp-bind.html | 15 - .../amp-bind/0.1/test/validator-amp-bind.out | 15 - .../validator-amp-bodymovin-animation.html | 15 - .../validator-amp-bodymovin-animation.out | 21 +- .../0.1/test/validator-amp-brid-player.html | 15 - .../0.1/test/validator-amp-brid-player.out | 21 +- .../0.1/test/validator-amp-brightcove.html | 15 - .../0.1/test/validator-amp-brightcove.out | 19 +- .../1.0/test/validator-amp-brightcove.html | 15 - .../1.0/test/validator-amp-brightcove.out | 19 +- .../test/validator-amp-byside-content.html | 15 - .../0.1/test/validator-amp-byside-content.out | 19 +- .../0.1/test/validator-amp-cache-url.html | 15 - .../0.1/test/validator-amp-cache-url.out | 15 - .../0.1/test/validator-amp-call-tracking.html | 15 - .../0.1/test/validator-amp-call-tracking.out | 23 +- .../validator-amp-carousel-error-msg.html | 15 - .../test/validator-amp-carousel-error-msg.out | 19 +- .../0.2/test/validator-amp-carousel.html | 15 - .../0.2/test/validator-amp-carousel.out | 17 +- .../test/validator-amp-connatix-player.html | 15 - .../test/validator-amp-connatix-player.out | 17 +- ...validator-amp-consent-invalid-no-meta.html | 15 - .../validator-amp-consent-invalid-no-meta.out | 17 +- .../test/validator-amp-consent-invalid.html | 15 - .../test/validator-amp-consent-invalid.out | 19 +- .../0.1/test/validator-amp-consent-multi.html | 15 - .../0.1/test/validator-amp-consent-multi.out | 17 +- .../0.1/test/validator-amp-consent-type.html | 15 - .../0.1/test/validator-amp-consent-type.out | 15 - .../0.1/test/validator-amp-consent.html | 15 - .../0.1/test/validator-amp-consent.out | 15 - .../0.1/test/validator-amp-dailymotion.html | 15 - .../0.1/test/validator-amp-dailymotion.out | 23 +- .../test/validator-amp-date-countdown.html | 12 - .../0.1/test/validator-amp-date-countdown.out | 16 +- .../test/validator-amp-date-countdown.html | 12 - .../1.0/test/validator-amp-date-countdown.out | 16 +- .../0.1/test/validator-amp-date-display.html | 15 - .../0.1/test/validator-amp-date-display.out | 33 +- .../1.0/test/validator-amp-date-display.html | 15 - .../1.0/test/validator-amp-date-display.out | 33 +- .../0.1/test/validator-amp-date-picker.html | 15 - .../0.1/test/validator-amp-date-picker.out | 53 +-- .../test/validator-amp-delight-player.html | 15 - .../0.1/test/validator-amp-delight-player.out | 19 +- .../validator-amp-dynamic-css-classes.html | 15 - .../validator-amp-dynamic-css-classes.out | 15 - .../0.1/test/validator-amp-experiment.html | 15 - .../0.1/test/validator-amp-experiment.out | 19 +- .../1.0/test/validator-amp-experiment.html | 15 - .../1.0/test/validator-amp-experiment.out | 23 +- ...lidator-amp-facebook-comments-invalid.html | 15 - ...alidator-amp-facebook-comments-invalid.out | 17 +- .../test/validator-amp-facebook-comments.html | 15 - .../test/validator-amp-facebook-comments.out | 15 - .../validator-amp-facebook-like-invalid.html | 15 - .../validator-amp-facebook-like-invalid.out | 17 +- .../0.1/test/validator-amp-facebook-like.html | 15 - .../0.1/test/validator-amp-facebook-like.out | 15 - .../validator-amp-facebook-page-invalid.html | 15 - .../validator-amp-facebook-page-invalid.out | 17 +- .../0.1/test/validator-amp-facebook-page.html | 15 - .../0.1/test/validator-amp-facebook-page.out | 15 - .../0.1/test/validator-amp-facebook.html | 15 - .../0.1/test/validator-amp-facebook.out | 15 - .../test/validator-amp-facebook-comments.html | 15 - .../test/validator-amp-facebook-comments.out | 15 - .../validator-amp-facebook-exclusive.html | 15 - .../test/validator-amp-facebook-exclusive.out | 27 +- .../1.0/test/validator-amp-facebook-like.html | 15 - .../1.0/test/validator-amp-facebook-like.out | 15 - .../1.0/test/validator-amp-facebook-page.html | 15 - .../1.0/test/validator-amp-facebook-page.out | 15 - .../1.0/test/validator-amp-facebook.html | 15 - .../1.0/test/validator-amp-facebook.out | 15 - .../0.1/test/validator-amp-fit-text.html | 15 - .../0.1/test/validator-amp-fit-text.out | 17 +- .../1.0/test/validator-amp-fit-text.html | 15 - .../1.0/test/validator-amp-fit-text.out | 17 +- .../amp-font/0.1/test/validator-amp-font.html | 15 - .../amp-font/0.1/test/validator-amp-font.out | 15 - ...r-amp-fx-collection-missing-extension.html | 15 - ...or-amp-fx-collection-missing-extension.out | 17 +- .../0.1/test/validator-amp-fx-collection.html | 15 - .../0.1/test/validator-amp-fx-collection.out | 15 - .../0.1/test/validator-amp-flying-carpet.html | 15 - .../0.1/test/validator-amp-flying-carpet.out | 15 - .../amp-geo/0.1/test/validator-amp-geo.html | 15 - .../amp-geo/0.1/test/validator-amp-geo.out | 17 +- .../0.1/test/validator-amp-geo.out.cpponly | 17 +- .../0.1/test/validator-amp-gfycat.html | 15 - .../0.1/test/validator-amp-gfycat.out | 15 - .../amp-gist/0.1/test/validator-amp-gist.html | 15 - .../amp-gist/0.1/test/validator-amp-gist.out | 19 +- .../validator-amp-google-document-embed.html | 15 - .../validator-amp-google-document-embed.out | 25 +- .../validator-amp4ads-amp-gwd-animation.html | 15 - .../validator-amp4ads-amp-gwd-animation.out | 15 - .../amp-hulu/0.1/test/validator-amp-hulu.html | 15 - .../amp-hulu/0.1/test/validator-amp-hulu.out | 19 +- .../0.1/test/validator-amp-iframe.html | 15 - .../0.1/test/validator-amp-iframe.out | 17 +- .../0.1/test/validator-amp-iframely.html | 15 - .../0.1/test/validator-amp-iframely.out | 21 +- ...dator-amp-ima-video-dock-no-extension.html | 15 - ...idator-amp-ima-video-dock-no-extension.out | 17 +- .../0.1/test/validator-amp-ima-video.html | 15 - .../0.1/test/validator-amp-ima-video.out | 15 - .../test/validator-amp-image-lightbox.html | 15 - .../0.1/test/validator-amp-image-lightbox.out | 17 +- .../0.1/test/validator-amp-imgur.html | 15 - .../0.1/test/validator-amp-imgur.out | 17 +- ...lidator-amp-inline-gallery-pagination.html | 15 - ...alidator-amp-inline-gallery-pagination.out | 19 +- ...lidator-amp-inline-gallery-thumbnails.html | 15 - ...alidator-amp-inline-gallery-thumbnails.out | 27 +- ...lidator-amp-inline-gallery-pagination.html | 15 - ...alidator-amp-inline-gallery-pagination.out | 19 +- ...lidator-amp-inline-gallery-thumbnails.html | 15 - ...alidator-amp-inline-gallery-thumbnails.out | 25 +- .../0.1/test/validator-amp-inputmask.html | 15 - .../0.1/test/validator-amp-inputmask.out | 49 +-- .../0.1/test/validator-amp-instagram.html | 15 - .../0.1/test/validator-amp-instagram.out | 15 - .../1.0/test/validator-amp-instagram.html | 15 - .../1.0/test/validator-amp-instagram.out | 15 - .../validator-amp-install-serviceworker.html | 15 - .../validator-amp-install-serviceworker.out | 23 +- .../0.1/test/validator-amp-izlesene.html | 15 - .../0.1/test/validator-amp-izlesene.out | 19 +- .../0.1/test/validator-amp-jwplayer.html | 15 - .../0.1/test/validator-amp-jwplayer.out | 21 +- .../test/validator-amp-kaltura-player.html | 15 - .../0.1/test/validator-amp-kaltura-player.out | 17 +- .../test/validator-amp-lightbox-gallery.html | 15 - .../test/validator-amp-lightbox-gallery.out | 21 +- .../test/validator-amp-lightbox-gallery.html | 15 - .../test/validator-amp-lightbox-gallery.out | 21 +- .../0.1/test/validator-amp-lightbox.html | 15 - .../0.1/test/validator-amp-lightbox.out | 19 +- .../0.1/test/validator-amp4ads-lightbox.html | 15 - .../0.1/test/validator-amp4ads-lightbox.out | 19 +- .../1.0/test/validator-amp-lightbox.html | 15 - .../1.0/test/validator-amp-lightbox.out | 19 +- .../1.0/test/validator-amp4ads-lightbox.html | 15 - .../1.0/test/validator-amp4ads-lightbox.out | 21 +- .../validator-amp-link-rewriter-exclude.html | 12 - .../validator-amp-link-rewriter-exclude.out | 24 +- ...validator-amp-link-rewriter-no-script.html | 12 - .../validator-amp-link-rewriter-no-script.out | 14 +- .../0.1/test/validator-amp-link-rewriter.html | 12 - .../0.1/test/validator-amp-link-rewriter.out | 14 +- .../amp-list/0.1/test/validator-amp-list.html | 15 - .../amp-list/0.1/test/validator-amp-list.out | 51 +-- .../0.1/test/validator-amp-live-list.html | 15 - .../0.1/test/validator-amp-live-list.out | 47 +- .../0.1/test/validator-amp-mathml.html | 15 - .../0.1/test/validator-amp-mathml.out | 19 +- .../test/validator-amp-mega-menu-error.html | 15 - .../test/validator-amp-mega-menu-error.out | 39 +- .../0.1/test/validator-amp-mega-menu.html | 15 - .../0.1/test/validator-amp-mega-menu.out | 15 - .../0.1/test/validator-amp-megaphone.html | 15 - .../0.1/test/validator-amp-megaphone.out | 23 +- .../validator-amp-minute-media-player.html | 15 - .../validator-amp-minute-media-player.out | 21 +- .../0.1/test/validator-amp-mowplayer.html | 15 - .../0.1/test/validator-amp-mowplayer.out | 17 +- .../0.1/test/validator-amp-mraid.html | 12 - .../0.1/test/validator-amp-mraid.out | 14 +- ...or-amp4ads-amp-mraid-no-fallback-typo.html | 12 - ...tor-amp4ads-amp-mraid-no-fallback-typo.out | 14 +- ...lidator-amp4ads-amp-mraid-no-fallback.html | 12 - ...alidator-amp4ads-amp-mraid-no-fallback.out | 12 - .../0.1/test/validator-amp4ads-amp-mraid.html | 12 - .../0.1/test/validator-amp4ads-amp-mraid.out | 12 - .../test/validator-amp-mustache-version.html | 15 - .../test/validator-amp-mustache-version.out | 19 +- .../0.1/test/validator-amp-mustache.html | 15 - .../0.1/test/validator-amp-mustache.out | 179 ++++---- .../test/validator-amp-mustache.out.cpponly | 181 ++++---- .../0.2/test/validator-amp-mustache-json.html | 12 - .../0.2/test/validator-amp-mustache-json.out | 12 - .../test/validator-amp-mustache-version.html | 15 - .../test/validator-amp-mustache-version.out | 17 +- .../0.2/test/validator-amp-mustache.html | 15 - .../0.2/test/validator-amp-mustache.out | 179 ++++---- .../test/validator-amp-mustache.out.cpponly | 181 ++++---- .../test/validator-json-not-in-template.html | 12 - .../test/validator-json-not-in-template.out | 14 +- ...validator-json-not-in-template.out.cpponly | 14 +- .../test/validator-amp-nested-menu-error.html | 15 - .../test/validator-amp-nested-menu-error.out | 35 +- .../0.1/test/validator-amp-nested-menu.html | 15 - .../0.1/test/validator-amp-nested-menu.out | 15 - .../0.1/test/validator-amp-nexxtv-player.html | 15 - .../0.1/test/validator-amp-nexxtv-player.out | 19 +- .../0.1/test/validator-amp-o2-player.html | 15 - .../0.1/test/validator-amp-o2-player.out | 19 +- .../0.1/test/validator-amp-onetap-google.html | 15 - .../0.1/test/validator-amp-onetap-google.out | 19 +- .../0.1/test/validator-amp-ooyala.html | 15 - .../0.1/test/validator-amp-ooyala.out | 21 +- .../validator-amp-orientation-observer.html | 15 - .../validator-amp-orientation-observer.out | 67 ++- .../0.1/test/validator-amp-pan-zoom.html | 15 - .../0.1/test/validator-amp-pan-zoom.out | 23 +- .../0.1/test/validator-amp-pinterest.html | 15 - .../0.1/test/validator-amp-pinterest.out | 15 - .../0.1/test/validator-amp-playbuzz.html | 15 - .../0.1/test/validator-amp-playbuzz.out | 15 - .../test/validator-amp-position-observer.html | 15 - .../test/validator-amp-position-observer.out | 57 +-- .../0.1/test/validator-amp-powr-player.html | 15 - .../0.1/test/validator-amp-powr-player.out | 21 +- .../0.1/test/validator-amp-reach-player.html | 15 - .../0.1/test/validator-amp-reach-player.out | 17 +- .../test/validator-amp-recaptcha-input.html | 15 - .../test/validator-amp-recaptcha-input.out | 27 +- .../0.1/test/validator-amp-redbull.html | 15 - .../0.1/test/validator-amp-redbull.out | 15 - .../0.1/test/validator-amp-reddit.html | 15 - .../0.1/test/validator-amp-reddit.out | 17 +- .../1.0/test/validator-amp-render.html | 15 - .../1.0/test/validator-amp-render.out | 21 +- .../0.1/test/validator-amp-riddle-quiz.html | 12 - .../0.1/test/validator-amp-riddle-quiz.out | 12 - .../0.1/test/validator-amp-script.html | 15 - .../0.1/test/validator-amp-script.out | 49 +-- .../0.1/test/validator-amp-selector.html | 15 - .../0.1/test/validator-amp-selector.out | 15 - .../1.0/test/validator-amp-selector.html | 15 - .../1.0/test/validator-amp-selector.out | 15 - ...idator-amp-sidebar-autoscroll-invalid.html | 15 - ...lidator-amp-sidebar-autoscroll-invalid.out | 21 +- ...alidator-amp-sidebar-autoscroll-valid.html | 15 - ...validator-amp-sidebar-autoscroll-valid.out | 15 - .../0.1/test/validator-amp-sidebar.html | 15 - .../0.1/test/validator-amp-sidebar.out | 23 +- .../0.1/test/validator-amp-skimlinks.html | 12 - .../0.1/test/validator-amp-skimlinks.out | 12 - .../0.1/test/validator-minimal-options.html | 12 - .../0.1/test/validator-minimal-options.out | 12 - .../0.1/test/validator-amp-smartlinks.html | 12 - .../0.1/test/validator-amp-smartlinks.out | 12 - .../0.1/test/validator-amp-social-share.html | 15 - .../0.1/test/validator-amp-social-share.out | 19 +- .../1.0/test/validator-amp-social-share.html | 15 - .../1.0/test/validator-amp-social-share.out | 19 +- .../0.1/test/validator-amp-soundcloud.html | 15 - .../0.1/test/validator-amp-soundcloud.out | 19 +- .../1.0/test/validator-amp-soundcloud.html | 15 - .../1.0/test/validator-amp-soundcloud.out | 19 +- .../validator-amp-springboard-player.html | 15 - .../test/validator-amp-springboard-player.out | 33 +- .../0.1/test/validator-amp-sticky-ad.html | 15 - .../0.1/test/validator-amp-sticky-ad.out | 19 +- .../1.0/test/validator-amp-sticky-ad.html | 15 - .../1.0/test/validator-amp-sticky-ad.out | 17 +- .../0.1/test/validator-amp-story-360.html | 15 - .../0.1/test/validator-amp-story-360.out | 15 - .../test/validator-amp-story-auto-ads.html | 15 - .../0.1/test/validator-amp-story-auto-ads.out | 15 - .../validator-amp-story-auto-analytics.html | 15 - .../validator-amp-story-auto-analytics.out | 15 - ...idator-amp-story-interactive-img-poll.html | 15 - ...lidator-amp-story-interactive-img-poll.out | 35 +- ...idator-amp-story-interactive-img-quiz.html | 15 - ...lidator-amp-story-interactive-img-quiz.out | 35 +- .../validator-amp-story-interactive-poll.html | 15 - .../validator-amp-story-interactive-poll.out | 19 +- .../validator-amp-story-interactive-quiz.html | 15 - .../validator-amp-story-interactive-quiz.out | 19 +- ...lidator-amp-story-interactive-results.html | 15 - ...alidator-amp-story-interactive-results.out | 31 +- ...validator-amp-story-interactive-valid.html | 15 - .../validator-amp-story-interactive-valid.out | 15 - .../validator-amp-story-panning-media.html | 15 - .../validator-amp-story-panning-media.out | 15 - .../validator-amp-story-player-error.html | 12 - .../test/validator-amp-story-player-error.out | 18 +- .../validator-amp-story-player-img-error.html | 12 - .../validator-amp-story-player-img-error.out | 14 +- .../test/validator-amp-story-player-img.html | 12 - .../test/validator-amp-story-player-img.out | 12 - .../validator-amp-story-player-sizer.html | 12 - .../test/validator-amp-story-player-sizer.out | 12 - .../0.1/test/validator-amp-story-player.html | 12 - .../0.1/test/validator-amp-story-player.out | 12 - .../1.0/test/validator-amp-story-360.html | 15 - .../1.0/test/validator-amp-story-360.out | 15 - ...idator-amp-story-amp-experiment-error.html | 12 - ...lidator-amp-story-amp-experiment-error.out | 18 +- .../validator-amp-story-amp-experiment.html | 12 - .../validator-amp-story-amp-experiment.out | 12 - .../test/validator-amp-story-amp-list.html | 12 - .../1.0/test/validator-amp-story-amp-list.out | 12 - .../test/validator-amp-story-amp-render.html | 12 - .../test/validator-amp-story-amp-render.out | 12 - ...validator-amp-story-amp-twitter-error.html | 12 - .../validator-amp-story-amp-twitter-error.out | 16 +- .../test/validator-amp-story-amp-twitter.html | 12 - .../test/validator-amp-story-amp-twitter.out | 12 - .../test/validator-amp-story-animation.html | 15 - .../test/validator-amp-story-animation.out | 23 +- .../validator-amp-story-animations-error.html | 15 - .../validator-amp-story-animations-error.out | 25 +- ...tions-visual-effects-parameters-error.html | 15 - ...ations-visual-effects-parameters-error.out | 45 +- ...-animations-visual-effects-parameters.html | 15 - ...y-animations-visual-effects-parameters.out | 15 - .../test/validator-amp-story-animations.html | 15 - .../test/validator-amp-story-animations.out | 15 - .../validator-amp-story-bookend-error.html | 12 - .../validator-amp-story-bookend-error.out | 16 +- ...idator-amp-story-bookend-layout-error.html | 12 - ...lidator-amp-story-bookend-layout-error.out | 14 +- .../test/validator-amp-story-consent-geo.html | 12 - .../test/validator-amp-story-consent-geo.out | 12 - .../1.0/test/validator-amp-story-consent.html | 12 - .../1.0/test/validator-amp-story-consent.out | 12 - .../validator-amp-story-cta-layer-error.html | 12 - .../validator-amp-story-cta-layer-error.out | 22 +- .../test/validator-amp-story-cta-layer.html | 12 - .../test/validator-amp-story-cta-layer.out | 12 - .../test/validator-amp-story-deprecated.html | 15 - .../test/validator-amp-story-deprecated.out | 19 +- ...or-amp-story-embedded-component-error.html | 12 - ...tor-amp-story-embedded-component-error.out | 22 +- ...alidator-amp-story-embedded-component.html | 12 - ...validator-amp-story-embedded-component.out | 12 - .../1.0/test/validator-amp-story-error.html | 15 - .../1.0/test/validator-amp-story-error.out | 35 +- .../validator-amp-story-grid-layer-error.html | 12 - .../validator-amp-story-grid-layer-error.out | 14 +- ...alidator-amp-story-grid-layer-presets.html | 12 - ...validator-amp-story-grid-layer-presets.out | 12 - .../test/validator-amp-story-grid-layer.html | 12 - .../test/validator-amp-story-grid-layer.out | 12 - .../validator-amp-story-live-story-error.html | 12 - .../validator-amp-story-live-story-error.out | 14 +- .../test/validator-amp-story-live-story.html | 12 - .../test/validator-amp-story-live-story.out | 12 - .../validator-amp-story-next-page-no-ad.html | 15 - .../validator-amp-story-next-page-no-ad.out | 15 - ...dator-amp-story-page-attachment-error.html | 12 - ...idator-amp-story-page-attachment-error.out | 22 +- .../validator-amp-story-page-attachment.html | 12 - .../validator-amp-story-page-attachment.out | 12 - .../validator-amp-story-reference-point.html | 15 - .../validator-amp-story-reference-point.out | 17 +- .../validator-amp-story-show-tooltip.html | 15 - .../test/validator-amp-story-show-tooltip.out | 15 - .../validator-amp-story-sidebar-error.html | 12 - .../validator-amp-story-sidebar-error.out | 14 +- .../1.0/test/validator-amp-story-sidebar.html | 12 - .../1.0/test/validator-amp-story-sidebar.out | 14 +- ...alidator-amp-story-supports-landscape.html | 12 - ...validator-amp-story-supports-landscape.out | 12 - .../test/validator-amp-story-svg-error.html | 15 - .../test/validator-amp-story-svg-error.out | 19 +- .../1.0/test/validator-amp-story-svg.html | 15 - .../1.0/test/validator-amp-story-svg.out | 15 - .../test/validator-amp-story-templates.html | 12 - .../test/validator-amp-story-templates.out | 12 - .../validator-amp-story-video-controls.html | 15 - .../validator-amp-story-video-controls.out | 17 +- .../test/validator-amp-story-video-error.html | 15 - .../test/validator-amp-story-video-error.out | 19 +- .../1.0/test/validator-amp-story.html | 15 - .../1.0/test/validator-amp-story.out | 15 - .../1.0/test/validator-empty-story.html | 15 - .../1.0/test/validator-empty-story.out | 17 +- .../test/validator-amp-stream-gallery.html | 15 - .../1.0/test/validator-amp-stream-gallery.out | 53 +-- .../validator-amp-subscriptions-errors.html | 15 - .../validator-amp-subscriptions-errors.out | 15 - .../0.1/test/validator-amp-subscriptions.html | 15 - .../0.1/test/validator-amp-subscriptions.out | 15 - .../0.1/test/validator-amp-tiktok.html | 15 - .../0.1/test/validator-amp-tiktok.out | 19 +- .../validator-amp-timeago-mutation-error.html | 15 - .../validator-amp-timeago-mutation-error.out | 17 +- .../test/validator-amp-timeago-mutation.html | 15 - .../test/validator-amp-timeago-mutation.out | 15 - .../0.1/test/validator-amp-timeago.html | 15 - .../0.1/test/validator-amp-timeago.out | 19 +- .../validator-amp-timeago-mutation-error.html | 15 - .../validator-amp-timeago-mutation-error.out | 17 +- .../test/validator-amp-timeago-mutation.html | 15 - .../test/validator-amp-timeago-mutation.out | 15 - .../1.0/test/validator-amp-timeago.html | 15 - .../1.0/test/validator-amp-timeago.out | 19 +- .../0.1/test/validator-amp-truncate-text.html | 15 - .../0.1/test/validator-amp-truncate-text.out | 17 +- .../0.1/test/validator-amp-twitter.html | 15 - .../0.1/test/validator-amp-twitter.out | 23 +- .../1.0/test/validator-amp-twitter.html | 15 - .../1.0/test/validator-amp-twitter.out | 23 +- .../test/validator-amp-user-notification.html | 15 - .../test/validator-amp-user-notification.out | 17 +- ...tor-amp-video-docking-amp-brid-player.html | 15 - ...ator-amp-video-docking-amp-brid-player.out | 15 - ...ator-amp-video-docking-amp-brightcove.html | 15 - ...dator-amp-video-docking-amp-brightcove.out | 15 - ...tor-amp-video-docking-amp-dailymotion.html | 15 - ...ator-amp-video-docking-amp-dailymotion.out | 15 - ...-amp-video-docking-amp-delight-player.html | 15 - ...r-amp-video-docking-amp-delight-player.out | 15 - ...dator-amp-video-docking-amp-ima-video.html | 15 - ...idator-amp-video-docking-amp-ima-video.out | 15 - ...or-amp-video-docking-amp-video-iframe.html | 15 - ...tor-amp-video-docking-amp-video-iframe.out | 15 - ...validator-amp-video-docking-amp-video.html | 15 - .../validator-amp-video-docking-amp-video.out | 15 - ...lidator-amp-video-docking-amp-youtube.html | 15 - ...alidator-amp-video-docking-amp-youtube.out | 15 - ...validator-amp-video-docking-no-player.html | 15 - .../validator-amp-video-docking-no-player.out | 17 +- .../0.1/test/validator-amp-video-iframe.html | 15 - .../0.1/test/validator-amp-video-iframe.out | 19 +- .../1.0/test/validator-amp-video-iframe.html | 15 - .../1.0/test/validator-amp-video-iframe.out | 19 +- .../0.1/test/validator-amp-video-cache.html | 15 - .../0.1/test/validator-amp-video-cache.out | 15 - .../0.1/test/validator-amp-video.html | 15 - .../0.1/test/validator-amp-video.out | 25 +- .../1.0/test/validator-amp-video.html | 15 - .../1.0/test/validator-amp-video.out | 19 +- .../0.1/test/validator-amp-vimeo.html | 15 - .../0.1/test/validator-amp-vimeo.out | 21 +- .../1.0/test/validator-amp-vimeo.html | 15 - .../1.0/test/validator-amp-vimeo.out | 21 +- .../amp-vine/0.1/test/validator-amp-vine.html | 15 - .../amp-vine/0.1/test/validator-amp-vine.out | 15 - .../0.1/test/validator-amp-viqeo-player.html | 15 - .../0.1/test/validator-amp-viqeo-player.out | 19 +- .../amp-vk/0.1/test/validator-amp-vk.html | 15 - .../amp-vk/0.1/test/validator-amp-vk.out | 15 - .../0.1/test/validator-amp-web-push.html | 15 - .../0.1/test/validator-amp-web-push.out | 15 - .../0.1/test/validator-amp-wistia-player.html | 15 - .../0.1/test/validator-amp-wistia-player.out | 21 +- .../0.1/test/validator-amp-yotpo.html | 15 - .../0.1/test/validator-amp-yotpo.out | 21 +- .../0.1/test/validator-amp-youtube.html | 15 - .../0.1/test/validator-amp-youtube.out | 25 +- .../1.0/test/validator-amp-youtube.html | 15 - .../1.0/test/validator-amp-youtube.out | 23 +- validator/build.py | 14 - validator/js/engine/validator_test.js | 2 +- .../amp4ads_feature_tests/amp_form.html | 15 - .../amp4ads_feature_tests/amp_form.out | 21 +- .../amp4ads_feature_tests/amp_pixel_ssr.html | 15 - .../amp4ads_feature_tests/amp_pixel_ssr.out | 15 - .../amp4ads_feature_tests/amp_selector.html | 12 - .../amp4ads_feature_tests/amp_selector.out | 12 - .../amp4ads_feature_tests/amp_story_ad.html | 16 - .../amp4ads_feature_tests/amp_story_ad.out | 16 - .../amp_story_ad_errors.html | 15 - .../amp_story_ad_errors.out | 27 +- .../crossorigin_anonymous_script.html | 15 - .../crossorigin_anonymous_script.out | 15 - .../amp4ads_feature_tests/css_i_amphtml.html | 15 - .../amp4ads_feature_tests/css_i_amphtml.out | 23 +- .../amp4ads_feature_tests/doctype.html | 15 - .../amp4ads_feature_tests/doctype.out | 19 +- .../amp4ads_feature_tests/doctype.out.cpponly | 17 +- .../amp4ads_feature_tests/extensions.html | 15 - .../amp4ads_feature_tests/extensions.out | 81 ++-- .../min_valid_amp4ads.html | 15 - .../min_valid_amp4ads.out | 15 - .../min_valid_multiline_amp4ads.html | 15 - .../min_valid_multiline_amp4ads.out | 15 - .../amp4ads_feature_tests/noscript.html | 15 - .../amp4ads_feature_tests/noscript.out | 29 +- .../amp4ads_feature_tests/obsolete_tags.html | 15 - .../amp4ads_feature_tests/obsolete_tags.out | 43 +- .../script_release_versions.html | 15 - .../script_release_versions.out | 37 +- .../amp-accordion.html | 15 - .../amp4email_feature_tests/amp-accordion.out | 37 +- .../amp-autocomplete.html | 15 - .../amp-autocomplete.out | 57 +-- .../amp4email_feature_tests/amp_carousel.html | 15 - .../amp4email_feature_tests/amp_carousel.out | 17 +- .../amp4email_feature_tests/amp_form.html | 15 - .../amp4email_feature_tests/amp_form.out | 59 +-- .../amp4email_feature_tests/amp_img.html | 15 - .../amp4email_feature_tests/amp_img.out | 35 +- .../amp4email_feature_tests/amp_list.html | 15 - .../amp4email_feature_tests/amp_list.out | 49 +-- .../amp4email_feature_tests/anchor.html | 15 - .../amp4email_feature_tests/anchor.out | 73 ++-- .../testdata/amp4email_feature_tests/css.html | 15 - .../testdata/amp4email_feature_tests/css.out | 25 +- .../css_declarations.html | 15 - .../css_declarations.out | 17 +- .../css_i_amphtml.html | 15 - .../amp4email_feature_tests/css_i_amphtml.out | 23 +- .../amp4email_feature_tests/css_strict.html | 15 - .../amp4email_feature_tests/css_strict.out | 403 +++++++++--------- .../min_valid_amp4email.html | 15 - .../min_valid_amp4email.out | 15 - .../min_valid_multiline_amp4email.html | 15 - .../min_valid_multiline_amp4email.out | 15 - .../no_latest_extensions.html | 15 - .../no_latest_extensions.out | 49 +-- .../nonce_disallowed.html | 15 - .../nonce_disallowed.out | 17 +- .../a_private_click_measurement.html | 15 - .../a_private_click_measurement.out | 15 - .../feature_tests/a_rel_double_space.html | 15 - .../feature_tests/a_rel_double_space.out | 15 - validator/testdata/feature_tests/ads.html | 15 - validator/testdata/feature_tests/ads.out | 15 - .../feature_tests/amp-action-macro.html | 15 - .../feature_tests/amp-action-macro.out | 19 +- .../feature_tests/amp-image-slider.html | 15 - .../feature_tests/amp-image-slider.out | 27 +- .../testdata/feature_tests/amp-yotpo.html | 15 - .../testdata/feature_tests/amp-yotpo.out | 15 - .../amp_identification_missing.html | 15 - .../amp_identification_missing.out | 17 +- .../testdata/feature_tests/amp_layouts.html | 15 - .../testdata/feature_tests/amp_layouts.out | 51 +-- .../testdata/feature_tests/amp_meta_tags.html | 15 - .../testdata/feature_tests/amp_meta_tags.out | 17 +- validator/testdata/feature_tests/amp_rtc.html | 15 - validator/testdata/feature_tests/amp_rtc.out | 17 +- validator/testdata/feature_tests/aria.html | 15 - validator/testdata/feature_tests/aria.out | 23 +- .../feature_tests/article-json-ld.html | 15 - .../feature_tests/article-json-ld.out | 15 - .../feature_tests/article-microdata.html | 15 - .../feature_tests/article-microdata.out | 15 - validator/testdata/feature_tests/article.html | 15 - validator/testdata/feature_tests/article.out | 17 +- .../testdata/feature_tests/bad_viewport.html | 15 - .../testdata/feature_tests/bad_viewport.out | 19 +- .../testdata/feature_tests/base_href.html | 15 - .../testdata/feature_tests/base_href.out | 17 +- .../testdata/feature_tests/comment_tags.html | 15 - .../testdata/feature_tests/comment_tags.out | 17 +- .../crossorigin_anonymous_script.html | 15 - .../crossorigin_anonymous_script.out | 15 - .../feature_tests/css-moz-document.html | 15 - .../feature_tests/css-moz-document.out | 19 +- .../feature_tests/css_declarations.html | 15 - .../feature_tests/css_declarations.out | 15 - .../testdata/feature_tests/css_errors.html | 15 - .../testdata/feature_tests/css_errors.out | 27 +- .../testdata/feature_tests/css_i_amphtml.html | 15 - .../testdata/feature_tests/css_i_amphtml.out | 21 +- .../feature_tests/custom_element_case.html | 15 - .../feature_tests/custom_element_case.out | 17 +- .../testdata/feature_tests/data_attrs.html | 15 - .../testdata/feature_tests/data_attrs.out | 29 +- .../deprecation_warnings_and_errors.html | 15 - .../deprecation_warnings_and_errors.out | 25 +- .../testdata/feature_tests/dev_mode.html | 15 - validator/testdata/feature_tests/dev_mode.out | 21 +- .../testdata/feature_tests/doctype_lang.html | 15 - .../testdata/feature_tests/doctype_lang.out | 19 +- .../feature_tests/doctype_lang.out.cpponly | 15 - .../feature_tests/duplicate_attribute.html | 15 - .../feature_tests/duplicate_attribute.out | 35 +- .../duplicate_attribute.out.cpponly | 33 +- ...plicate_unique_tags_and_wrong_parents.html | 15 - ...uplicate_unique_tags_and_wrong_parents.out | 19 +- .../feature_tests/empty_stylesheet.html | 15 - .../feature_tests/empty_stylesheet.out | 15 - .../feature_tests/error_and_unique.html | 15 - .../feature_tests/error_and_unique.out | 17 +- .../testdata/feature_tests/everything.html | 15 - .../testdata/feature_tests/everything.out | 15 - .../testdata/feature_tests/extensions.html | 15 - .../testdata/feature_tests/extensions.out | 21 +- validator/testdata/feature_tests/forms.html | 15 - validator/testdata/feature_tests/forms.out | 45 +- .../feature_tests/incorrect_custom_style.html | 15 - .../feature_tests/incorrect_custom_style.out | 33 +- .../incorrect_mandatory_style.html | 15 - .../incorrect_mandatory_style.out | 19 +- .../testdata/feature_tests/inline_style.html | 15 - .../testdata/feature_tests/inline_style.out | 23 +- .../feature_tests/javascript_xss.html | 16 - .../testdata/feature_tests/javascript_xss.out | 24 +- .../feature_tests/json-parsing-invalid.html | 15 - .../feature_tests/json-parsing-invalid.out | 33 +- .../json-parsing-invalid.out.cpponly | 31 +- .../testdata/feature_tests/json-parsing.html | 15 - .../testdata/feature_tests/json-parsing.out | 15 - .../testdata/feature_tests/lang_attr.html | 15 - .../testdata/feature_tests/lang_attr.out | 15 - validator/testdata/feature_tests/leaks.html | 15 - validator/testdata/feature_tests/leaks.out | 183 ++++---- .../testdata/feature_tests/leaks.out.cpponly | 179 ++++---- .../feature_tests/link_meta_values.html | 15 - .../feature_tests/link_meta_values.out | 23 +- .../lts_extension_without_lts_runtime.html | 15 - .../lts_extension_without_lts_runtime.out | 17 +- .../lts_runtime_after_extension.html | 15 - .../lts_runtime_after_extension.out | 17 +- .../lts_runtime_and_extensions.html | 15 - .../lts_runtime_and_extensions.out | 17 +- .../feature_tests/mandatory_dimensions.html | 15 - .../feature_tests/mandatory_dimensions.out | 115 +++-- .../feature_tests/manufactured_body.html | 15 - .../feature_tests/manufactured_body.out | 17 +- .../manufactured_body_whitespace.html | 15 - .../manufactured_body_whitespace.out | 19 +- .../manufactured_body_whitespace.out.cpponly | 29 +- .../testdata/feature_tests/mask-icon.html | 15 - .../testdata/feature_tests/mask-icon.out | 15 - .../testdata/feature_tests/media_queries.html | 15 - .../testdata/feature_tests/media_queries.out | 29 +- .../testdata/feature_tests/meta_viewport.html | 15 - .../testdata/feature_tests/meta_viewport.out | 15 - .../feature_tests/minimum_valid_amp.html | 15 - .../feature_tests/minimum_valid_amp.out | 15 - .../feature_tests/multiple_body_tags.html | 15 - .../feature_tests/multiple_body_tags.out | 19 +- .../multiple_body_tags.out.cpponly | 15 - .../feature_tests/multiple_body_tags_2.html | 15 - .../feature_tests/multiple_body_tags_2.out | 19 +- .../multiple_body_tags_2.out.cpponly | 15 - .../feature_tests/multiple_body_tags_3.html | 15 - .../feature_tests/multiple_body_tags_3.out | 29 +- .../multiple_body_tags_3.out.cpponly | 27 +- .../new_and_old_boilerplate_mixed.html | 15 - .../new_and_old_boilerplate_mixed.out | 19 +- .../new_and_old_boilerplate_mixed2.html | 15 - .../new_and_old_boilerplate_mixed2.out | 19 +- .../feature_tests/new_boilerplate.html | 15 - .../feature_tests/new_boilerplate.out | 15 - .../new_multiline_boilerplate.html | 15 - .../new_multiline_boilerplate.out | 15 - .../feature_tests/newline_attributes.html | 17 +- .../feature_tests/newline_attributes.out | 21 +- .../testdata/feature_tests/no_custom_js.html | 15 - .../testdata/feature_tests/no_custom_js.out | 21 +- .../testdata/feature_tests/no_dev_mode.html | 15 - .../testdata/feature_tests/no_dev_mode.out | 25 +- .../testdata/feature_tests/noscript.html | 15 - validator/testdata/feature_tests/noscript.out | 29 +- validator/testdata/feature_tests/not_amp.html | 15 - validator/testdata/feature_tests/not_amp.out | 29 +- .../feature_tests/old-boilerplate.html | 15 - .../feature_tests/old-boilerplate.out | 23 +- validator/testdata/feature_tests/parser.html | 15 - validator/testdata/feature_tests/parser.out | 65 ++- .../testdata/feature_tests/parser.out.cpponly | 61 +-- .../feature_tests/partial_comment.html | 15 - .../feature_tests/partial_comment.out | 15 - .../feature_tests/property_parsing.html | 15 - .../feature_tests/property_parsing.out | 15 - validator/testdata/feature_tests/rdfa.html | 15 - validator/testdata/feature_tests/rdfa.out | 15 - .../feature_tests/recipe-json-ld.html | 15 - .../testdata/feature_tests/recipe-json-ld.out | 15 - .../feature_tests/recipe-microdata.html | 15 - .../feature_tests/recipe-microdata.out | 15 - validator/testdata/feature_tests/regexps.html | 15 - validator/testdata/feature_tests/regexps.out | 65 ++- .../feature_tests/review-json-ld.html | 15 - .../testdata/feature_tests/review-json-ld.out | 15 - .../root_element_attributes.html | 12 - .../feature_tests/root_element_attributes.out | 18 +- .../feature_tests/runtime_in_body.html | 15 - .../feature_tests/runtime_in_body.out | 17 +- .../feature_tests/script_amp_onerror_js.html | 15 - .../feature_tests/script_amp_onerror_js.out | 15 - .../script_amp_onerror_js_fail.html | 15 - .../script_amp_onerror_js_fail.out | 17 +- .../feature_tests/script_invalid_path.html | 15 - .../feature_tests/script_invalid_path.out | 17 +- .../testdata/feature_tests/slash_attrs.html | 15 - .../testdata/feature_tests/slash_attrs.out | 25 +- .../feature_tests/slash_attrs.out.cpponly | 23 +- validator/testdata/feature_tests/slot.html | 15 - validator/testdata/feature_tests/slot.out | 15 - .../testdata/feature_tests/spec_example.html | 15 - .../testdata/feature_tests/spec_example.out | 17 +- .../feature_tests/stamp-descendant.html | 15 - .../feature_tests/stamp-descendant.out | 17 +- .../style_amp_keyframes_error.html | 15 - .../style_amp_keyframes_error.out | 37 +- .../style_amp_keyframes_passing.html | 15 - .../style_amp_keyframes_passing.out | 15 - .../feature_tests/style_in_body_error.html | 15 - .../feature_tests/style_in_body_error.out | 17 +- .../feature_tests/style_in_body_passing.html | 15 - .../feature_tests/style_in_body_passing.out | 15 - .../testdata/feature_tests/style_tag.html | 15 - .../testdata/feature_tests/style_tag.out | 19 +- .../feature_tests/stylesheet_in_body.html | 15 - .../feature_tests/stylesheet_in_body.out | 17 +- .../svg-filter-primitive-elements.html | 15 - .../svg-filter-primitive-elements.out | 17 +- validator/testdata/feature_tests/svg.html | 15 - validator/testdata/feature_tests/svg.out | 29 +- .../three_second_boilerplate.html | 15 - .../three_second_boilerplate.out | 17 +- .../testdata/feature_tests/track_tag.html | 15 - .../testdata/feature_tests/track_tag.out | 25 +- .../feature_tests/unprintable_chars.html | 15 - .../feature_tests/unprintable_chars.out | 33 +- .../unprintable_chars.out.cpponly | 33 +- validator/testdata/feature_tests/urls.html | 15 - validator/testdata/feature_tests/urls.out | 115 +++-- .../testdata/feature_tests/urls_in_css.html | 15 - .../testdata/feature_tests/urls_in_css.out | 17 +- .../feature_tests/valid_css_at_rules_amp.html | 15 - .../feature_tests/valid_css_at_rules_amp.out | 15 - .../testdata/feature_tests/video-json-ld.html | 15 - .../testdata/feature_tests/video-json-ld.out | 15 - .../feature_tests/video-microdata.html | 15 - .../feature_tests/video-microdata.out | 15 - .../testdata/feature_tests/xlinkhref.html | 15 - .../testdata/feature_tests/xlinkhref.out | 17 +- .../transformed_feature_tests/amp-img.html | 15 - .../transformed_feature_tests/amp-img.out | 29 +- .../amp-video-cached-source.html | 12 - .../amp-video-cached-source.out | 14 +- .../amp_boilerplate_missing.html | 15 - .../amp_boilerplate_missing.out | 15 - .../amp_boilerplate_present.html | 15 - .../amp_boilerplate_present.out | 15 - .../blurry_image_placeholder.html | 15 - .../blurry_image_placeholder.out | 27 +- .../first_script_lts.html | 15 - .../first_script_lts.out | 25 +- .../first_script_module.html | 15 - .../first_script_module.out | 23 +- .../first_script_module_lts.html | 15 - .../first_script_module_lts.out | 23 +- .../first_script_nomodule.html | 15 - .../first_script_nomodule.out | 23 +- .../first_script_nomodule_lts.html | 15 - .../first_script_nomodule_lts.out | 23 +- .../first_script_standard.html | 15 - .../first_script_standard.out | 25 +- .../i_amphtml_sizer_child.html | 15 - .../i_amphtml_sizer_child.out | 23 +- .../minimum_valid_amp.html | 15 - .../minimum_valid_amp.out | 15 - .../module_nomodule.html | 15 - .../module_nomodule.out | 15 - .../module_nomodule_lts.html | 15 - .../module_nomodule_lts.out | 15 - .../module_nomodule_lts_no_paired_module.html | 15 - .../module_nomodule_lts_no_paired_module.out | 19 +- ...odule_nomodule_lts_no_paired_nomodule.html | 15 - ...module_nomodule_lts_no_paired_nomodule.out | 19 +- .../module_nomodule_no_paired_module.html | 15 - .../module_nomodule_no_paired_module.out | 19 +- .../module_nomodule_no_paired_nomodule.html | 15 - .../module_nomodule_no_paired_nomodule.out | 19 +- .../nonce_attribute.html | 15 - .../nonce_attribute.out | 15 - .../script_amp_onerror_js.html | 15 - .../script_amp_onerror_js.out | 15 - .../script_amp_onerror_js_fail.html | 15 - .../script_amp_onerror_js_fail.out | 17 +- .../script_amp_onerror_js_mjs.html | 15 - .../script_amp_onerror_js_mjs.out | 15 - .../script_amp_onerror_js_mjs_fail.html | 15 - .../script_amp_onerror_js_mjs_fail.out | 17 +- .../server_side_rendering.html | 15 - .../server_side_rendering.out | 33 +- .../style_amp_runtime_css.html | 15 - .../style_amp_runtime_css.out | 15 - ...transformed_attribute_value_malformed.html | 15 - .../transformed_attribute_value_malformed.out | 17 +- ...med_attribute_value_version_malformed.html | 15 - ...rmed_attribute_value_version_malformed.out | 17 +- ...formed_but_not_identified_transformed.html | 15 - ...sformed_but_not_identified_transformed.out | 35 +- validator/validator.pb.go | 23 +- validator/validator.proto | 15 - validator/validator_gen_js.py | 15 - 840 files changed, 2065 insertions(+), 14362 deletions(-) diff --git a/extensions/amp-3d-gltf/0.1/test/validator-amp-3d-gltf.html b/extensions/amp-3d-gltf/0.1/test/validator-amp-3d-gltf.html index 06c2b21c29a6..f6bddfa51192 100644 --- a/extensions/amp-3d-gltf/0.1/test/validator-amp-3d-gltf.html +++ b/extensions/amp-3d-gltf/0.1/test/validator-amp-3d-gltf.html @@ -1,18 +1,3 @@ -<!--- -Copyright 2018 The AMP HTML Authors. All Rights Reserved. - -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS-IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. ---> <!-- Test Description: Tests for the amp-3d-gltf tag. diff --git a/extensions/amp-3d-gltf/0.1/test/validator-amp-3d-gltf.out b/extensions/amp-3d-gltf/0.1/test/validator-amp-3d-gltf.out index 6072b0370ab7..4405e0893ed1 100644 --- a/extensions/amp-3d-gltf/0.1/test/validator-amp-3d-gltf.out +++ b/extensions/amp-3d-gltf/0.1/test/validator-amp-3d-gltf.out @@ -1,19 +1,4 @@ FAIL -| <!--- -| Copyright 2018 The AMP HTML Authors. All Rights Reserved. -| -| Licensed under the Apache License, Version 2.0 (the "License"); -| you may not use this file except in compliance with the License. -| You may obtain a copy of the License at -| -| http://www.apache.org/licenses/LICENSE-2.0 -| -| Unless required by applicable law or agreed to in writing, software -| distributed under the License is distributed on an "AS-IS" BASIS, -| WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -| See the License for the specific language governing permissions and -| limitations under the License. -| --> | <!-- | Test Description: | Tests for the amp-3d-gltf tag. @@ -48,6 +33,6 @@ FAIL | <!-- invalid: no src --> | <amp-3d-gltf layout="responsive" width="150" height="80"></amp-3d-gltf> >> ^~~~~~~~~ -amp-3d-gltf/0.1/test/validator-amp-3d-gltf.html:48:2 The mandatory attribute 'src' is missing in tag 'amp-3d-gltf'. (see https://amp.dev/documentation/components/amp-3d-gltf) +amp-3d-gltf/0.1/test/validator-amp-3d-gltf.html:33:2 The mandatory attribute 'src' is missing in tag 'amp-3d-gltf'. (see https://amp.dev/documentation/components/amp-3d-gltf) | </body> | </html> diff --git a/extensions/amp-3q-player/0.1/test/validator-amp-3q-player.html b/extensions/amp-3q-player/0.1/test/validator-amp-3q-player.html index 5b813741a251..e914d0e24ab3 100644 --- a/extensions/amp-3q-player/0.1/test/validator-amp-3q-player.html +++ b/extensions/amp-3q-player/0.1/test/validator-amp-3q-player.html @@ -1,18 +1,3 @@ -<!-- - Copyright 2017 The AMP HTML Authors. All Rights Reserved. - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS-IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the license. ---> <!-- Test Description: Tests for the amp-3q-player tag. See the inline comments. diff --git a/extensions/amp-3q-player/0.1/test/validator-amp-3q-player.out b/extensions/amp-3q-player/0.1/test/validator-amp-3q-player.out index 8c0f58f08136..811e9dfdf27c 100644 --- a/extensions/amp-3q-player/0.1/test/validator-amp-3q-player.out +++ b/extensions/amp-3q-player/0.1/test/validator-amp-3q-player.out @@ -1,20 +1,5 @@ FAIL | <!-- -| Copyright 2017 The AMP HTML Authors. All Rights Reserved. -| -| Licensed under the Apache License, Version 2.0 (the "License"); -| you may not use this file except in compliance with the License. -| You may obtain a copy of the License at -| -| http://www.apache.org/licenses/LICENSE-2.0 -| -| Unless required by applicable law or agreed to in writing, software -| distributed under the License is distributed on an "AS-IS" BASIS, -| WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -| See the License for the specific language governing permissions and -| limitations under the license. -| --> -| <!-- | Test Description: | Tests for the amp-3q-player tag. See the inline comments. | --> @@ -41,7 +26,7 @@ FAIL | <!-- invalid, needs data-id --> | <amp-3q-player >> ^~~~~~~~~ -amp-3q-player/0.1/test/validator-amp-3q-player.html:41:4 The mandatory attribute 'data-id' is missing in tag 'amp-3q-player'. (see https://amp.dev/documentation/components/amp-3q-player) +amp-3q-player/0.1/test/validator-amp-3q-player.html:26:4 The mandatory attribute 'data-id' is missing in tag 'amp-3q-player'. (see https://amp.dev/documentation/components/amp-3q-player) | height=360 | width=640 | layout="responsive"> diff --git a/extensions/amp-access-laterpay/0.1/test/validator-amp-access-laterpay.html b/extensions/amp-access-laterpay/0.1/test/validator-amp-access-laterpay.html index e0b965bb5094..28e63400d098 100644 --- a/extensions/amp-access-laterpay/0.1/test/validator-amp-access-laterpay.html +++ b/extensions/amp-access-laterpay/0.1/test/validator-amp-access-laterpay.html @@ -1,18 +1,3 @@ -<!-- - Copyright 2017 The AMP HTML Authors. All Rights Reserved. - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS-IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the license. ---> <!-- Test Description: This tests for amp-access syntax. diff --git a/extensions/amp-access-laterpay/0.1/test/validator-amp-access-laterpay.out b/extensions/amp-access-laterpay/0.1/test/validator-amp-access-laterpay.out index 44d74b036282..4baad5d253bf 100644 --- a/extensions/amp-access-laterpay/0.1/test/validator-amp-access-laterpay.out +++ b/extensions/amp-access-laterpay/0.1/test/validator-amp-access-laterpay.out @@ -1,20 +1,5 @@ PASS | <!-- -| Copyright 2017 The AMP HTML Authors. All Rights Reserved. -| -| Licensed under the Apache License, Version 2.0 (the "License"); -| you may not use this file except in compliance with the License. -| You may obtain a copy of the License at -| -| http://www.apache.org/licenses/LICENSE-2.0 -| -| Unless required by applicable law or agreed to in writing, software -| distributed under the License is distributed on an "AS-IS" BASIS, -| WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -| See the License for the specific language governing permissions and -| limitations under the license. -| --> -| <!-- | Test Description: | This tests for amp-access syntax. | --> diff --git a/extensions/amp-access-laterpay/0.2/test/validator-amp-access-laterpay.html b/extensions/amp-access-laterpay/0.2/test/validator-amp-access-laterpay.html index 0510a1421728..cf5922c54289 100644 --- a/extensions/amp-access-laterpay/0.2/test/validator-amp-access-laterpay.html +++ b/extensions/amp-access-laterpay/0.2/test/validator-amp-access-laterpay.html @@ -1,18 +1,3 @@ -<!-- - Copyright 2018 The AMP HTML Authors. All Rights Reserved. - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS-IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the license. ---> <!-- Test Description: This tests for amp-access syntax. diff --git a/extensions/amp-access-laterpay/0.2/test/validator-amp-access-laterpay.out b/extensions/amp-access-laterpay/0.2/test/validator-amp-access-laterpay.out index 0849a9c1fda3..880db12cec54 100644 --- a/extensions/amp-access-laterpay/0.2/test/validator-amp-access-laterpay.out +++ b/extensions/amp-access-laterpay/0.2/test/validator-amp-access-laterpay.out @@ -1,20 +1,5 @@ PASS | <!-- -| Copyright 2018 The AMP HTML Authors. All Rights Reserved. -| -| Licensed under the Apache License, Version 2.0 (the "License"); -| you may not use this file except in compliance with the License. -| You may obtain a copy of the License at -| -| http://www.apache.org/licenses/LICENSE-2.0 -| -| Unless required by applicable law or agreed to in writing, software -| distributed under the License is distributed on an "AS-IS" BASIS, -| WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -| See the License for the specific language governing permissions and -| limitations under the license. -| --> -| <!-- | Test Description: | This tests for amp-access syntax. | --> diff --git a/extensions/amp-access-poool/0.1/test/validator-amp-access-poool.html b/extensions/amp-access-poool/0.1/test/validator-amp-access-poool.html index 830e8ab60319..f9f6b9e6468b 100644 --- a/extensions/amp-access-poool/0.1/test/validator-amp-access-poool.html +++ b/extensions/amp-access-poool/0.1/test/validator-amp-access-poool.html @@ -1,15 +1,3 @@ -<!-- - Copyright 2019 The AMP HTML Authors. All Rights Reserved. - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - http://www.apache.org/licenses/LICENSE-2.0 - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS-IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the license. ---> <!-- Test Description: Test valid AMP ACCESS POOOL integration. diff --git a/extensions/amp-access-poool/0.1/test/validator-amp-access-poool.out b/extensions/amp-access-poool/0.1/test/validator-amp-access-poool.out index 7b4b326ed90b..1e48acb02e78 100644 --- a/extensions/amp-access-poool/0.1/test/validator-amp-access-poool.out +++ b/extensions/amp-access-poool/0.1/test/validator-amp-access-poool.out @@ -1,17 +1,5 @@ PASS | <!-- -| Copyright 2019 The AMP HTML Authors. All Rights Reserved. -| Licensed under the Apache License, Version 2.0 (the "License"); -| you may not use this file except in compliance with the License. -| You may obtain a copy of the License at -| http://www.apache.org/licenses/LICENSE-2.0 -| Unless required by applicable law or agreed to in writing, software -| distributed under the License is distributed on an "AS-IS" BASIS, -| WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -| See the License for the specific language governing permissions and -| limitations under the license. -| --> -| <!-- | Test Description: | Test valid AMP ACCESS POOOL integration. | --> diff --git a/extensions/amp-access-scroll/0.1/test/validator-amp-access-scroll.html b/extensions/amp-access-scroll/0.1/test/validator-amp-access-scroll.html index fe8f5c739660..75a20bd4648d 100644 --- a/extensions/amp-access-scroll/0.1/test/validator-amp-access-scroll.html +++ b/extensions/amp-access-scroll/0.1/test/validator-amp-access-scroll.html @@ -1,18 +1,3 @@ -<!-- - Copyright 2018 The AMP HTML Authors. All Rights Reserved. - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS-IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the license. ---> <!-- Test Description: Tests support for the amp-access-scroll tag and authentication. diff --git a/extensions/amp-access-scroll/0.1/test/validator-amp-access-scroll.out b/extensions/amp-access-scroll/0.1/test/validator-amp-access-scroll.out index d6350f39b09b..c725f0da70b2 100644 --- a/extensions/amp-access-scroll/0.1/test/validator-amp-access-scroll.out +++ b/extensions/amp-access-scroll/0.1/test/validator-amp-access-scroll.out @@ -1,20 +1,5 @@ PASS | <!-- -| Copyright 2018 The AMP HTML Authors. All Rights Reserved. -| -| Licensed under the Apache License, Version 2.0 (the "License"); -| you may not use this file except in compliance with the License. -| You may obtain a copy of the License at -| -| http://www.apache.org/licenses/LICENSE-2.0 -| -| Unless required by applicable law or agreed to in writing, software -| distributed under the License is distributed on an "AS-IS" BASIS, -| WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -| See the License for the specific language governing permissions and -| limitations under the license. -| --> -| <!-- | Test Description: | Tests support for the amp-access-scroll tag and authentication. | --> diff --git a/extensions/amp-access/0.1/test/validator-amp-access-missing-extension.html b/extensions/amp-access/0.1/test/validator-amp-access-missing-extension.html index 9815dc9c3b0c..3b11a3d990b6 100644 --- a/extensions/amp-access/0.1/test/validator-amp-access-missing-extension.html +++ b/extensions/amp-access/0.1/test/validator-amp-access-missing-extension.html @@ -1,18 +1,3 @@ -<!-- - Copyright 2015 The AMP HTML Authors. All Rights Reserved. - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS-IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the license. ---> <!-- Test Description: amp-access is unusual in that it's extension can actually be present in diff --git a/extensions/amp-access/0.1/test/validator-amp-access-missing-extension.out b/extensions/amp-access/0.1/test/validator-amp-access-missing-extension.out index aeddaff51f82..4cee79edcde9 100644 --- a/extensions/amp-access/0.1/test/validator-amp-access-missing-extension.out +++ b/extensions/amp-access/0.1/test/validator-amp-access-missing-extension.out @@ -1,20 +1,5 @@ FAIL | <!-- -| Copyright 2015 The AMP HTML Authors. All Rights Reserved. -| -| Licensed under the Apache License, Version 2.0 (the "License"); -| you may not use this file except in compliance with the License. -| You may obtain a copy of the License at -| -| http://www.apache.org/licenses/LICENSE-2.0 -| -| Unless required by applicable law or agreed to in writing, software -| distributed under the License is distributed on an "AS-IS" BASIS, -| WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -| See the License for the specific language governing permissions and -| limitations under the license. -| --> -| <!-- | Test Description: | amp-access is unusual in that it's extension can actually be present in | the document below the usage, since the usage can be in the head. Here @@ -31,7 +16,7 @@ FAIL | <script async custom-element="amp-youtube" src="https://cdn.ampproject.org/v0/amp-youtube-0.1.js"></script> | <script id="amp-access" type="application/json"> >> ^~~~~~~~~ -amp-access/0.1/test/validator-amp-access-missing-extension.html:31:2 The tag 'script' requires including the 'amp-access' extension JavaScript. (see https://amp.dev/documentation/components/amp-access) +amp-access/0.1/test/validator-amp-access-missing-extension.html:16:2 The tag 'script' requires including the 'amp-access' extension JavaScript. (see https://amp.dev/documentation/components/amp-access) | { | "contents": "currently untested" | } diff --git a/extensions/amp-access/0.1/test/validator-amp-access.html b/extensions/amp-access/0.1/test/validator-amp-access.html index 85f35be37565..ddb3ffcc75a6 100644 --- a/extensions/amp-access/0.1/test/validator-amp-access.html +++ b/extensions/amp-access/0.1/test/validator-amp-access.html @@ -1,18 +1,3 @@ -<!-- - Copyright 2015 The AMP HTML Authors. All Rights Reserved. - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS-IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the license. ---> <!-- Test Description: This tests for amp-access syntax. diff --git a/extensions/amp-access/0.1/test/validator-amp-access.out b/extensions/amp-access/0.1/test/validator-amp-access.out index a07ab28ff3ad..db99b13107f4 100644 --- a/extensions/amp-access/0.1/test/validator-amp-access.out +++ b/extensions/amp-access/0.1/test/validator-amp-access.out @@ -1,20 +1,5 @@ PASS | <!-- -| Copyright 2015 The AMP HTML Authors. All Rights Reserved. -| -| Licensed under the Apache License, Version 2.0 (the "License"); -| you may not use this file except in compliance with the License. -| You may obtain a copy of the License at -| -| http://www.apache.org/licenses/LICENSE-2.0 -| -| Unless required by applicable law or agreed to in writing, software -| distributed under the License is distributed on an "AS-IS" BASIS, -| WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -| See the License for the specific language governing permissions and -| limitations under the license. -| --> -| <!-- | Test Description: | This tests for amp-access syntax. | --> diff --git a/extensions/amp-accordion/0.1/test/validator-amp-accordion.html b/extensions/amp-accordion/0.1/test/validator-amp-accordion.html index 9738d39e4988..6e531eb461db 100644 --- a/extensions/amp-accordion/0.1/test/validator-amp-accordion.html +++ b/extensions/amp-accordion/0.1/test/validator-amp-accordion.html @@ -1,18 +1,3 @@ -<!-- - Copyright 2015 The AMP HTML Authors. All Rights Reserved. - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS-IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the license. ---> <!-- Test Description: Tests amp-accordion. diff --git a/extensions/amp-accordion/0.1/test/validator-amp-accordion.out b/extensions/amp-accordion/0.1/test/validator-amp-accordion.out index 5591e1153c4a..0bc23ee2be47 100644 --- a/extensions/amp-accordion/0.1/test/validator-amp-accordion.out +++ b/extensions/amp-accordion/0.1/test/validator-amp-accordion.out @@ -1,20 +1,5 @@ FAIL | <!-- -| Copyright 2015 The AMP HTML Authors. All Rights Reserved. -| -| Licensed under the Apache License, Version 2.0 (the "License"); -| you may not use this file except in compliance with the License. -| You may obtain a copy of the License at -| -| http://www.apache.org/licenses/LICENSE-2.0 -| -| Unless required by applicable law or agreed to in writing, software -| distributed under the License is distributed on an "AS-IS" BASIS, -| WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -| See the License for the specific language governing permissions and -| limitations under the license. -| --> -| <!-- | Test Description: | Tests amp-accordion. | --> @@ -67,17 +52,17 @@ FAIL | <amp-accordion> | <amp-accordion> <!-- can't nest amp-accordion --> >> ^~~~~~~~~ -amp-accordion/0.1/test/validator-amp-accordion.html:67:4 Tag 'amp-accordion' is disallowed as child of tag 'amp-accordion'. Child tag must be one of ['section']. (see https://amp.dev/documentation/components/amp-accordion/) +amp-accordion/0.1/test/validator-amp-accordion.html:52:4 Tag 'amp-accordion' is disallowed as child of tag 'amp-accordion'. Child tag must be one of ['section']. (see https://amp.dev/documentation/components/amp-accordion/) | </amp-accordion> | <p>Some paragraph of text that doesn't belong here.</p> >> ^~~~~~~~~ -amp-accordion/0.1/test/validator-amp-accordion.html:69:4 Tag 'p' is disallowed as child of tag 'amp-accordion'. Child tag must be one of ['section']. (see https://amp.dev/documentation/components/amp-accordion/) +amp-accordion/0.1/test/validator-amp-accordion.html:54:4 Tag 'p' is disallowed as child of tag 'amp-accordion'. Child tag must be one of ['section']. (see https://amp.dev/documentation/components/amp-accordion/) | <section> >> ^~~~~~~~~ -amp-accordion/0.1/test/validator-amp-accordion.html:70:4 Tag 'amp-accordion > section' must have 2 child tags - saw 3 child tags. +amp-accordion/0.1/test/validator-amp-accordion.html:55:4 Tag 'amp-accordion > section' must have 2 child tags - saw 3 child tags. | <div>header which isn't h1-h6.</div> >> ^~~~~~~~~ -amp-accordion/0.1/test/validator-amp-accordion.html:71:6 Tag 'div' is disallowed as first child of tag 'amp-accordion > section'. First child tag must be one of ['h1', 'h2', 'h3', 'h4', 'h5', 'h6', 'header']. +amp-accordion/0.1/test/validator-amp-accordion.html:56:6 Tag 'div' is disallowed as first child of tag 'amp-accordion > section'. First child tag must be one of ['h1', 'h2', 'h3', 'h4', 'h5', 'h6', 'header']. | <div>a second child</div> | <div>a third child</div> | </section> @@ -97,7 +82,7 @@ amp-accordion/0.1/test/validator-amp-accordion.html:71:6 Tag 'div' is disallowed | <!-- access-hide attribute should not have non-empty value --> | <section amp-access="NOT nwPlus" access-hide="test"> >> ^~~~~~~~~ -amp-accordion/0.1/test/validator-amp-accordion.html:89:4 The attribute 'access-hide' in tag 'amp-accordion > section' is set to the invalid value 'test'. +amp-accordion/0.1/test/validator-amp-accordion.html:74:4 The attribute 'access-hide' in tag 'amp-accordion > section' is set to the invalid value 'test'. | <h2 class="accordion-header"> | Tagespass | <span class="show-more">⏷</span> diff --git a/extensions/amp-accordion/1.0/test/validator-amp-accordion.html b/extensions/amp-accordion/1.0/test/validator-amp-accordion.html index 9c18f1cf1439..e30b3cead2f0 100644 --- a/extensions/amp-accordion/1.0/test/validator-amp-accordion.html +++ b/extensions/amp-accordion/1.0/test/validator-amp-accordion.html @@ -1,18 +1,3 @@ -<!-- - Copyright 2015 The AMP HTML Authors. All Rights Reserved. - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS-IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the license. ---> <!-- Test Description: Tests amp-accordion. diff --git a/extensions/amp-accordion/1.0/test/validator-amp-accordion.out b/extensions/amp-accordion/1.0/test/validator-amp-accordion.out index a9f2cbd8c63e..2d246c2bb702 100644 --- a/extensions/amp-accordion/1.0/test/validator-amp-accordion.out +++ b/extensions/amp-accordion/1.0/test/validator-amp-accordion.out @@ -1,20 +1,5 @@ FAIL | <!-- -| Copyright 2015 The AMP HTML Authors. All Rights Reserved. -| -| Licensed under the Apache License, Version 2.0 (the "License"); -| you may not use this file except in compliance with the License. -| You may obtain a copy of the License at -| -| http://www.apache.org/licenses/LICENSE-2.0 -| -| Unless required by applicable law or agreed to in writing, software -| distributed under the License is distributed on an "AS-IS" BASIS, -| WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -| See the License for the specific language governing permissions and -| limitations under the license. -| --> -| <!-- | Test Description: | Tests amp-accordion. | --> @@ -68,17 +53,17 @@ FAIL | <amp-accordion> | <amp-accordion> <!-- can't nest amp-accordion --> >> ^~~~~~~~~ -amp-accordion/1.0/test/validator-amp-accordion.html:68:4 Tag 'amp-accordion' is disallowed as child of tag 'amp-accordion'. Child tag must be one of ['section']. (see https://amp.dev/documentation/components/amp-accordion/) +amp-accordion/1.0/test/validator-amp-accordion.html:53:4 Tag 'amp-accordion' is disallowed as child of tag 'amp-accordion'. Child tag must be one of ['section']. (see https://amp.dev/documentation/components/amp-accordion/) | </amp-accordion> | <p>Some paragraph of text that doesn't belong here.</p> >> ^~~~~~~~~ -amp-accordion/1.0/test/validator-amp-accordion.html:70:4 Tag 'p' is disallowed as child of tag 'amp-accordion'. Child tag must be one of ['section']. (see https://amp.dev/documentation/components/amp-accordion/) +amp-accordion/1.0/test/validator-amp-accordion.html:55:4 Tag 'p' is disallowed as child of tag 'amp-accordion'. Child tag must be one of ['section']. (see https://amp.dev/documentation/components/amp-accordion/) | <section> >> ^~~~~~~~~ -amp-accordion/1.0/test/validator-amp-accordion.html:71:4 Tag 'amp-accordion > section' must have 2 child tags - saw 3 child tags. +amp-accordion/1.0/test/validator-amp-accordion.html:56:4 Tag 'amp-accordion > section' must have 2 child tags - saw 3 child tags. | <div>header which isn't h1-h6.</div> >> ^~~~~~~~~ -amp-accordion/1.0/test/validator-amp-accordion.html:72:6 Tag 'div' is disallowed as first child of tag 'amp-accordion > section'. First child tag must be one of ['h1', 'h2', 'h3', 'h4', 'h5', 'h6', 'header']. +amp-accordion/1.0/test/validator-amp-accordion.html:57:6 Tag 'div' is disallowed as first child of tag 'amp-accordion > section'. First child tag must be one of ['h1', 'h2', 'h3', 'h4', 'h5', 'h6', 'header']. | <div>a second child</div> | <div>a third child</div> | </section> @@ -98,7 +83,7 @@ amp-accordion/1.0/test/validator-amp-accordion.html:72:6 Tag 'div' is disallowed | <!-- access-hide attribute should not have non-empty value --> | <section amp-access="NOT nwPlus" access-hide="test"> >> ^~~~~~~~~ -amp-accordion/1.0/test/validator-amp-accordion.html:90:4 The attribute 'access-hide' in tag 'amp-accordion > section' is set to the invalid value 'test'. +amp-accordion/1.0/test/validator-amp-accordion.html:75:4 The attribute 'access-hide' in tag 'amp-accordion > section' is set to the invalid value 'test'. | <h2 class="accordion-header"> | Tagespass | <span class="show-more">⏷</span> diff --git a/extensions/amp-ad-custom/0.1/test/validator-amp-ad-custom.html b/extensions/amp-ad-custom/0.1/test/validator-amp-ad-custom.html index df208d7b5dfb..6ee48a31d891 100644 --- a/extensions/amp-ad-custom/0.1/test/validator-amp-ad-custom.html +++ b/extensions/amp-ad-custom/0.1/test/validator-amp-ad-custom.html @@ -1,18 +1,3 @@ -<!-- - Copyright 2019 The AMP HTML Authors. All Rights Reserved. - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS-IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the license. ---> <!-- Test Description: Tests support for the amp-ad-custom tag. diff --git a/extensions/amp-ad-custom/0.1/test/validator-amp-ad-custom.out b/extensions/amp-ad-custom/0.1/test/validator-amp-ad-custom.out index 2635119acd71..52c37c6aea9c 100644 --- a/extensions/amp-ad-custom/0.1/test/validator-amp-ad-custom.out +++ b/extensions/amp-ad-custom/0.1/test/validator-amp-ad-custom.out @@ -1,20 +1,5 @@ FAIL | <!-- -| Copyright 2019 The AMP HTML Authors. All Rights Reserved. -| -| Licensed under the Apache License, Version 2.0 (the "License"); -| you may not use this file except in compliance with the License. -| You may obtain a copy of the License at -| -| http://www.apache.org/licenses/LICENSE-2.0 -| -| Unless required by applicable law or agreed to in writing, software -| distributed under the License is distributed on an "AS-IS" BASIS, -| WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -| See the License for the specific language governing permissions and -| limitations under the license. -| --> -| <!-- | Test Description: | Tests support for the amp-ad-custom tag. | --> @@ -41,7 +26,7 @@ FAIL | <!-- Invalid: non-HTTPS src --> | <amp-ad-custom >> ^~~~~~~~~ -amp-ad-custom/0.1/test/validator-amp-ad-custom.html:41:2 Invalid URL protocol 'http:' for attribute 'src' in tag 'amp-ad-custom'. (see https://amp.dev/documentation/components/amp-ad-custom) +amp-ad-custom/0.1/test/validator-amp-ad-custom.html:26:2 Invalid URL protocol 'http:' for attribute 'src' in tag 'amp-ad-custom'. (see https://amp.dev/documentation/components/amp-ad-custom) | width=300 | height=250 | src="http://www.example.com/ad?type=amp" diff --git a/extensions/amp-ad/0.1/test/validator-amp-ad.html b/extensions/amp-ad/0.1/test/validator-amp-ad.html index bef236668442..b8670226fed1 100644 --- a/extensions/amp-ad/0.1/test/validator-amp-ad.html +++ b/extensions/amp-ad/0.1/test/validator-amp-ad.html @@ -1,18 +1,3 @@ -<!-- - Copyright 2017 The AMP HTML Authors. All Rights Reserved. - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS-IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the license. ---> <!-- Test Description: Tests support for the amp-ad tag. diff --git a/extensions/amp-ad/0.1/test/validator-amp-ad.out b/extensions/amp-ad/0.1/test/validator-amp-ad.out index 345c3016e22f..1f095cf5f64d 100644 --- a/extensions/amp-ad/0.1/test/validator-amp-ad.out +++ b/extensions/amp-ad/0.1/test/validator-amp-ad.out @@ -1,20 +1,5 @@ FAIL | <!-- -| Copyright 2017 The AMP HTML Authors. All Rights Reserved. -| -| Licensed under the Apache License, Version 2.0 (the "License"); -| you may not use this file except in compliance with the License. -| You may obtain a copy of the License at -| -| http://www.apache.org/licenses/LICENSE-2.0 -| -| Unless required by applicable law or agreed to in writing, software -| distributed under the License is distributed on an "AS-IS" BASIS, -| WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -| See the License for the specific language governing permissions and -| limitations under the license. -| --> -| <!-- | Test Description: | Tests support for the amp-ad tag. | --> @@ -71,29 +56,29 @@ FAIL | <amp-fx-flying-carpet height="300"> | <amp-ad data-multi-size="" height="300" type="foo"></amp-ad> >> ^~~~~~~~~ -amp-ad/0.1/test/validator-amp-ad.html:71:4 The tag 'amp-ad' may not appear as a descendant of tag 'amp-fx-flying-carpet'. (see https://amp.dev/documentation/components/amp-ad/) +amp-ad/0.1/test/validator-amp-ad.html:56:4 The tag 'amp-ad' may not appear as a descendant of tag 'amp-fx-flying-carpet'. (see https://amp.dev/documentation/components/amp-ad/) | </amp-fx-flying-carpet> | <!-- Invalid: amp-ad in an amp ad container with data-multi-size attr --> | <amp-fx-flying-carpet height="300"> | <amp-embed data-multi-size="" height="300" type="foo"></amp-ad> >> ^~~~~~~~~ -amp-ad/0.1/test/validator-amp-ad.html:75:4 The tag 'amp-embed' may not appear as a descendant of tag 'amp-fx-flying-carpet'. (see https://amp.dev/documentation/components/amp-ad/) +amp-ad/0.1/test/validator-amp-ad.html:60:4 The tag 'amp-embed' may not appear as a descendant of tag 'amp-fx-flying-carpet'. (see https://amp.dev/documentation/components/amp-ad/) | </amp-fx-flying-carpet> | <!-- Invalid: amp-ad missing layout=fluid for fluid ad --> | <amp-ad type=doubleclick width="100" height="fluid"></amp-ad> >> ^~~~~~~~~ -amp-ad/0.1/test/validator-amp-ad.html:78:2 The attribute 'height' in tag 'amp-ad' is set to the invalid value 'fluid'. (see https://amp.dev/documentation/components/amp-ad/) +amp-ad/0.1/test/validator-amp-ad.html:63:2 The attribute 'height' in tag 'amp-ad' is set to the invalid value 'fluid'. (see https://amp.dev/documentation/components/amp-ad/) | <!-- Invalid: amp-ad type=custom missing data-url--> | <amp-ad width=300 height=250 >> ^~~~~~~~~ -amp-ad/0.1/test/validator-amp-ad.html:80:2 The mandatory attribute 'data-url' is missing in tag 'amp-ad'. (see https://github.com/ampproject/amphtml/blob/main/ads/custom.md) +amp-ad/0.1/test/validator-amp-ad.html:65:2 The mandatory attribute 'data-url' is missing in tag 'amp-ad'. (see https://github.com/ampproject/amphtml/blob/main/ads/custom.md) | type="custom" | template="template-1"> | </amp-ad> | <!-- Invalid: amp-ad type=custom non-https data-url--> | <amp-ad width=300 height=250 >> ^~~~~~~~~ -amp-ad/0.1/test/validator-amp-ad.html:85:2 Invalid URL protocol 'http:' for attribute 'data-url' in tag 'amp-ad'. (see https://github.com/ampproject/amphtml/blob/main/ads/custom.md) +amp-ad/0.1/test/validator-amp-ad.html:70:2 Invalid URL protocol 'http:' for attribute 'data-url' in tag 'amp-ad'. (see https://github.com/ampproject/amphtml/blob/main/ads/custom.md) | type="custom" | data-url="http://foobar.com" | template="template-1"> @@ -101,7 +86,7 @@ amp-ad/0.1/test/validator-amp-ad.html:85:2 Invalid URL protocol 'http:' for attr | <!-- Invalid: amp-ad sticky attribute invalid --> | <amp-ad sticky="center" width=300 height=250 type="a9" data-aax_size="300x250" data-aax_pubname="test123" >> ^~~~~~~~~ -amp-ad/0.1/test/validator-amp-ad.html:91:2 The attribute 'sticky' in tag 'amp-ad' is set to the invalid value 'center'. (see https://amp.dev/documentation/components/amp-ad/) +amp-ad/0.1/test/validator-amp-ad.html:76:2 The attribute 'sticky' in tag 'amp-ad' is set to the invalid value 'center'. (see https://amp.dev/documentation/components/amp-ad/) | data-aax_src="302"> | </amp-ad> | </body> diff --git a/extensions/amp-addthis/0.1/test/validator-amp-addthis.html b/extensions/amp-addthis/0.1/test/validator-amp-addthis.html index 1822cf8047d9..1df3f750d08a 100644 --- a/extensions/amp-addthis/0.1/test/validator-amp-addthis.html +++ b/extensions/amp-addthis/0.1/test/validator-amp-addthis.html @@ -1,18 +1,3 @@ -<!-- - Copyright 2018 The AMP HTML Authors. All Rights Reserved. - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS-IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the license. ---> <!-- Test Description: Tests support for the amp-addthis tag. diff --git a/extensions/amp-addthis/0.1/test/validator-amp-addthis.out b/extensions/amp-addthis/0.1/test/validator-amp-addthis.out index d96958c11c72..897b85e6ade0 100644 --- a/extensions/amp-addthis/0.1/test/validator-amp-addthis.out +++ b/extensions/amp-addthis/0.1/test/validator-amp-addthis.out @@ -1,20 +1,5 @@ PASS | <!-- -| Copyright 2018 The AMP HTML Authors. All Rights Reserved. -| -| Licensed under the Apache License, Version 2.0 (the "License"); -| you may not use this file except in compliance with the License. -| You may obtain a copy of the License at -| -| http://www.apache.org/licenses/LICENSE-2.0 -| -| Unless required by applicable law or agreed to in writing, software -| distributed under the License is distributed on an "AS-IS" BASIS, -| WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -| See the License for the specific language governing permissions and -| limitations under the license. -| --> -| <!-- | Test Description: | Tests support for the amp-addthis tag. | --> diff --git a/extensions/amp-analytics/0.1/test/validator-analytics-notification.html b/extensions/amp-analytics/0.1/test/validator-analytics-notification.html index 2739a1ec9882..78c732056443 100644 --- a/extensions/amp-analytics/0.1/test/validator-analytics-notification.html +++ b/extensions/amp-analytics/0.1/test/validator-analytics-notification.html @@ -1,18 +1,3 @@ -<!-- - Copyright 2017 The AMP HTML Authors. All Rights Reserved. - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS-IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the license. ---> <!doctype html> <html ⚡ lang="en"> <head> diff --git a/extensions/amp-analytics/0.1/test/validator-analytics-notification.out b/extensions/amp-analytics/0.1/test/validator-analytics-notification.out index b7b4030c577e..87ccbfb8feff 100644 --- a/extensions/amp-analytics/0.1/test/validator-analytics-notification.out +++ b/extensions/amp-analytics/0.1/test/validator-analytics-notification.out @@ -1,19 +1,4 @@ PASS -| <!-- -| Copyright 2017 The AMP HTML Authors. All Rights Reserved. -| -| Licensed under the Apache License, Version 2.0 (the "License"); -| you may not use this file except in compliance with the License. -| You may obtain a copy of the License at -| -| http://www.apache.org/licenses/LICENSE-2.0 -| -| Unless required by applicable law or agreed to in writing, software -| distributed under the License is distributed on an "AS-IS" BASIS, -| WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -| See the License for the specific language governing permissions and -| limitations under the license. -| --> | <!doctype html> | <html ⚡ lang="en"> | <head> diff --git a/extensions/amp-analytics/0.1/test/validator-analytics.html b/extensions/amp-analytics/0.1/test/validator-analytics.html index 984d325f9688..9f2e2c3023f3 100644 --- a/extensions/amp-analytics/0.1/test/validator-analytics.html +++ b/extensions/amp-analytics/0.1/test/validator-analytics.html @@ -1,18 +1,3 @@ -<!-- - Copyright 2017 The AMP HTML Authors. All Rights Reserved. - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS-IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the license. ---> <!doctype html> <html ⚡ lang="en"> <head> diff --git a/extensions/amp-analytics/0.1/test/validator-analytics.out b/extensions/amp-analytics/0.1/test/validator-analytics.out index f83153e36fe9..7f3f02c9d97d 100644 --- a/extensions/amp-analytics/0.1/test/validator-analytics.out +++ b/extensions/amp-analytics/0.1/test/validator-analytics.out @@ -1,19 +1,4 @@ PASS -| <!-- -| Copyright 2017 The AMP HTML Authors. All Rights Reserved. -| -| Licensed under the Apache License, Version 2.0 (the "License"); -| you may not use this file except in compliance with the License. -| You may obtain a copy of the License at -| -| http://www.apache.org/licenses/LICENSE-2.0 -| -| Unless required by applicable law or agreed to in writing, software -| distributed under the License is distributed on an "AS-IS" BASIS, -| WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -| See the License for the specific language governing permissions and -| limitations under the license. -| --> | <!doctype html> | <html ⚡ lang="en"> | <head> diff --git a/extensions/amp-anim/0.1/test/validator-amp-anim.html b/extensions/amp-anim/0.1/test/validator-amp-anim.html index e557374eb294..da1cf9c10bc3 100644 --- a/extensions/amp-anim/0.1/test/validator-amp-anim.html +++ b/extensions/amp-anim/0.1/test/validator-amp-anim.html @@ -1,18 +1,3 @@ -<!-- - Copyright 2018 The AMP HTML Authors. All Rights Reserved. - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS-IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the license. ---> <!-- Test Description: Tests for the amp-anim tag. See the inline comments. diff --git a/extensions/amp-anim/0.1/test/validator-amp-anim.out b/extensions/amp-anim/0.1/test/validator-amp-anim.out index 56b9ef34f0ea..eda8343b5b3b 100644 --- a/extensions/amp-anim/0.1/test/validator-amp-anim.out +++ b/extensions/amp-anim/0.1/test/validator-amp-anim.out @@ -1,20 +1,5 @@ FAIL | <!-- -| Copyright 2018 The AMP HTML Authors. All Rights Reserved. -| -| Licensed under the Apache License, Version 2.0 (the "License"); -| you may not use this file except in compliance with the License. -| You may obtain a copy of the License at -| -| http://www.apache.org/licenses/LICENSE-2.0 -| -| Unless required by applicable law or agreed to in writing, software -| distributed under the License is distributed on an "AS-IS" BASIS, -| WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -| See the License for the specific language governing permissions and -| limitations under the license. -| --> -| <!-- | Test Description: | Tests for the amp-anim tag. See the inline comments. | --> @@ -52,7 +37,7 @@ FAIL | <!-- Invalid: Missing src attribute. --> | <amp-anim >> ^~~~~~~~~ -amp-anim/0.1/test/validator-amp-anim.html:52:2 The mandatory attribute 'src' is missing in tag 'amp-anim'. (see https://amp.dev/documentation/components/amp-anim/) +amp-anim/0.1/test/validator-amp-anim.html:37:2 The mandatory attribute 'src' is missing in tag 'amp-anim'. (see https://amp.dev/documentation/components/amp-anim/) | layout="responsive" | height="300" | width="400"> @@ -61,7 +46,7 @@ amp-anim/0.1/test/validator-amp-anim.html:52:2 The mandatory attribute 'src' is | <!-- Invalid: illegal layout. --> | <amp-anim >> ^~~~~~~~~ -amp-anim/0.1/test/validator-amp-anim.html:59:2 The specified layout 'CONTAINER' is not supported by tag 'amp-anim'. (see https://amp.dev/documentation/components/amp-anim/) +amp-anim/0.1/test/validator-amp-anim.html:44:2 The specified layout 'CONTAINER' is not supported by tag 'amp-anim'. (see https://amp.dev/documentation/components/amp-anim/) | layout="container" | height="300" | width="400" diff --git a/extensions/amp-animation/0.1/test/validator-amp-animation.html b/extensions/amp-animation/0.1/test/validator-amp-animation.html index b616978653c4..917f3b0f84d6 100644 --- a/extensions/amp-animation/0.1/test/validator-amp-animation.html +++ b/extensions/amp-animation/0.1/test/validator-amp-animation.html @@ -1,18 +1,3 @@ -<!-- - Copyright 2017 The AMP HTML Authors. All Rights Reserved. - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS-IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the license. ---> <!-- Test Description: Tests for the amp-animation tag. diff --git a/extensions/amp-animation/0.1/test/validator-amp-animation.out b/extensions/amp-animation/0.1/test/validator-amp-animation.out index b38d19468eca..13d3c1affa70 100644 --- a/extensions/amp-animation/0.1/test/validator-amp-animation.out +++ b/extensions/amp-animation/0.1/test/validator-amp-animation.out @@ -1,20 +1,5 @@ FAIL | <!-- -| Copyright 2017 The AMP HTML Authors. All Rights Reserved. -| -| Licensed under the Apache License, Version 2.0 (the "License"); -| you may not use this file except in compliance with the License. -| You may obtain a copy of the License at -| -| http://www.apache.org/licenses/LICENSE-2.0 -| -| Unless required by applicable law or agreed to in writing, software -| distributed under the License is distributed on an "AS-IS" BASIS, -| WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -| See the License for the specific language governing permissions and -| limitations under the license. -| --> -| <!-- | Test Description: | Tests for the amp-animation tag. | --> @@ -55,7 +40,7 @@ FAIL | <!-- Invalid: trigger value is not visibility --> | <amp-animation layout="nodisplay" trigger="display"> >> ^~~~~~~~~ -amp-animation/0.1/test/validator-amp-animation.html:55:2 The attribute 'trigger' in tag 'amp-animation' is set to the invalid value 'display'. (see https://amp.dev/documentation/components/amp-animation) +amp-animation/0.1/test/validator-amp-animation.html:40:2 The attribute 'trigger' in tag 'amp-animation' is set to the invalid value 'display'. (see https://amp.dev/documentation/components/amp-animation) | <script type="application/json"> | { | "target": "target1", @@ -68,7 +53,7 @@ amp-animation/0.1/test/validator-amp-animation.html:55:2 The attribute 'trigger' | <!-- Invalid: no child json tag --> | <amp-animation layout="nodisplay"> >> ^~~~~~~~~ -amp-animation/0.1/test/validator-amp-animation.html:66:2 Tag 'amp-animation' must have 1 child tags - saw 0 child tags. (see https://amp.dev/documentation/components/amp-animation) +amp-animation/0.1/test/validator-amp-animation.html:51:2 Tag 'amp-animation' must have 1 child tags - saw 0 child tags. (see https://amp.dev/documentation/components/amp-animation) | </amp-animation> | </body> | </html> diff --git a/extensions/amp-apester-media/0.1/test/validator-amp-apester-media.html b/extensions/amp-apester-media/0.1/test/validator-amp-apester-media.html index 31d97b36ca5e..4cdef179fcf2 100644 --- a/extensions/amp-apester-media/0.1/test/validator-amp-apester-media.html +++ b/extensions/amp-apester-media/0.1/test/validator-amp-apester-media.html @@ -1,18 +1,3 @@ -<!-- - Copyright 2016 The AMP HTML Authors. All Rights Reserved. - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS-IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the license. ---> <!-- Test Description: Tests for the amp-apester-media tag. See the inline comments. diff --git a/extensions/amp-apester-media/0.1/test/validator-amp-apester-media.out b/extensions/amp-apester-media/0.1/test/validator-amp-apester-media.out index dca5db96cfa9..0720395143ec 100644 --- a/extensions/amp-apester-media/0.1/test/validator-amp-apester-media.out +++ b/extensions/amp-apester-media/0.1/test/validator-amp-apester-media.out @@ -1,20 +1,5 @@ PASS | <!-- -| Copyright 2016 The AMP HTML Authors. All Rights Reserved. -| -| Licensed under the Apache License, Version 2.0 (the "License"); -| you may not use this file except in compliance with the License. -| You may obtain a copy of the License at -| -| http://www.apache.org/licenses/LICENSE-2.0 -| -| Unless required by applicable law or agreed to in writing, software -| distributed under the License is distributed on an "AS-IS" BASIS, -| WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -| See the License for the specific language governing permissions and -| limitations under the license. -| --> -| <!-- | Test Description: | Tests for the amp-apester-media tag. See the inline comments. | --> diff --git a/extensions/amp-app-banner/0.1/test/validator-amp-app-banner-missing-meta.html b/extensions/amp-app-banner/0.1/test/validator-amp-app-banner-missing-meta.html index fa69f00bd21f..bfdce9002342 100644 --- a/extensions/amp-app-banner/0.1/test/validator-amp-app-banner-missing-meta.html +++ b/extensions/amp-app-banner/0.1/test/validator-amp-app-banner-missing-meta.html @@ -1,18 +1,3 @@ -<!-- - Copyright 2015 The AMP HTML Authors. All Rights Reserved. - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS-IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the license. ---> <!-- Test Description: Tests support for the amp-app-banner tag. This test case demonstrates diff --git a/extensions/amp-app-banner/0.1/test/validator-amp-app-banner-missing-meta.out b/extensions/amp-app-banner/0.1/test/validator-amp-app-banner-missing-meta.out index bf43a932ffd2..23a20614542c 100644 --- a/extensions/amp-app-banner/0.1/test/validator-amp-app-banner-missing-meta.out +++ b/extensions/amp-app-banner/0.1/test/validator-amp-app-banner-missing-meta.out @@ -1,20 +1,5 @@ FAIL | <!-- -| Copyright 2015 The AMP HTML Authors. All Rights Reserved. -| -| Licensed under the Apache License, Version 2.0 (the "License"); -| you may not use this file except in compliance with the License. -| You may obtain a copy of the License at -| -| http://www.apache.org/licenses/LICENSE-2.0 -| -| Unless required by applicable law or agreed to in writing, software -| distributed under the License is distributed on an "AS-IS" BASIS, -| WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -| See the License for the specific language governing permissions and -| limitations under the license. -| --> -| <!-- | Test Description: | Tests support for the amp-app-banner tag. This test case demonstrates | a valid <amp-app-banner> tag with missing metadata in the head. @@ -46,4 +31,4 @@ FAIL | </body> | </html> >> ^~~~~~~~~ -amp-app-banner/0.1/test/validator-amp-app-banner-missing-meta.html:46:6 The tag 'amp-app-banner data source' is missing or incorrect, but required by 'amp-app-banner'. (see https://amp.dev/documentation/components/amp-app-banner/) +amp-app-banner/0.1/test/validator-amp-app-banner-missing-meta.html:31:6 The tag 'amp-app-banner data source' is missing or incorrect, but required by 'amp-app-banner'. (see https://amp.dev/documentation/components/amp-app-banner/) diff --git a/extensions/amp-app-banner/0.1/test/validator-amp-app-banner-only-one-meta.html b/extensions/amp-app-banner/0.1/test/validator-amp-app-banner-only-one-meta.html index 46ceceed51f8..4b6a2454242a 100644 --- a/extensions/amp-app-banner/0.1/test/validator-amp-app-banner-only-one-meta.html +++ b/extensions/amp-app-banner/0.1/test/validator-amp-app-banner-only-one-meta.html @@ -1,18 +1,3 @@ -<!-- - Copyright 2015 The AMP HTML Authors. All Rights Reserved. - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS-IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the license. ---> <!-- Test Description: Tests support for the amp-app-banner tag and required <head> metatdata. diff --git a/extensions/amp-app-banner/0.1/test/validator-amp-app-banner-only-one-meta.out b/extensions/amp-app-banner/0.1/test/validator-amp-app-banner-only-one-meta.out index da2b8a89d9ef..f5ab0598a4c7 100644 --- a/extensions/amp-app-banner/0.1/test/validator-amp-app-banner-only-one-meta.out +++ b/extensions/amp-app-banner/0.1/test/validator-amp-app-banner-only-one-meta.out @@ -1,20 +1,5 @@ PASS | <!-- -| Copyright 2015 The AMP HTML Authors. All Rights Reserved. -| -| Licensed under the Apache License, Version 2.0 (the "License"); -| you may not use this file except in compliance with the License. -| You may obtain a copy of the License at -| -| http://www.apache.org/licenses/LICENSE-2.0 -| -| Unless required by applicable law or agreed to in writing, software -| distributed under the License is distributed on an "AS-IS" BASIS, -| WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -| See the License for the specific language governing permissions and -| limitations under the license. -| --> -| <!-- | Test Description: | Tests support for the amp-app-banner tag and required <head> metatdata. | In this test, we only have the <link rel=manifest> tag, and not the diff --git a/extensions/amp-app-banner/0.1/test/validator-amp-app-banner.html b/extensions/amp-app-banner/0.1/test/validator-amp-app-banner.html index 318073387210..e1b843df84de 100644 --- a/extensions/amp-app-banner/0.1/test/validator-amp-app-banner.html +++ b/extensions/amp-app-banner/0.1/test/validator-amp-app-banner.html @@ -1,18 +1,3 @@ -<!-- - Copyright 2015 The AMP HTML Authors. All Rights Reserved. - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS-IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the license. ---> <!-- Test Description: Tests support for the amp-app-banner tag and required <head> metatdata. diff --git a/extensions/amp-app-banner/0.1/test/validator-amp-app-banner.out b/extensions/amp-app-banner/0.1/test/validator-amp-app-banner.out index 6b733b298f9b..b673249c85ab 100644 --- a/extensions/amp-app-banner/0.1/test/validator-amp-app-banner.out +++ b/extensions/amp-app-banner/0.1/test/validator-amp-app-banner.out @@ -1,20 +1,5 @@ PASS | <!-- -| Copyright 2015 The AMP HTML Authors. All Rights Reserved. -| -| Licensed under the Apache License, Version 2.0 (the "License"); -| you may not use this file except in compliance with the License. -| You may obtain a copy of the License at -| -| http://www.apache.org/licenses/LICENSE-2.0 -| -| Unless required by applicable law or agreed to in writing, software -| distributed under the License is distributed on an "AS-IS" BASIS, -| WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -| See the License for the specific language governing permissions and -| limitations under the license. -| --> -| <!-- | Test Description: | Tests support for the amp-app-banner tag and required <head> metatdata. | --> diff --git a/extensions/amp-audio/0.1/test/validator-amp-audio.html b/extensions/amp-audio/0.1/test/validator-amp-audio.html index e0e28ad2bf8f..8c2c8fc0cb0e 100644 --- a/extensions/amp-audio/0.1/test/validator-amp-audio.html +++ b/extensions/amp-audio/0.1/test/validator-amp-audio.html @@ -1,18 +1,3 @@ -<!-- - Copyright 2015 The AMP HTML Authors. All Rights Reserved. - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS-IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the license. ---> <!-- Test Description: Tests the example from the markdown file, autoplay enabled. diff --git a/extensions/amp-audio/0.1/test/validator-amp-audio.out b/extensions/amp-audio/0.1/test/validator-amp-audio.out index 81c05d24c3f1..e61d7e3e91b8 100644 --- a/extensions/amp-audio/0.1/test/validator-amp-audio.out +++ b/extensions/amp-audio/0.1/test/validator-amp-audio.out @@ -1,20 +1,5 @@ PASS | <!-- -| Copyright 2015 The AMP HTML Authors. All Rights Reserved. -| -| Licensed under the Apache License, Version 2.0 (the "License"); -| you may not use this file except in compliance with the License. -| You may obtain a copy of the License at -| -| http://www.apache.org/licenses/LICENSE-2.0 -| -| Unless required by applicable law or agreed to in writing, software -| distributed under the License is distributed on an "AS-IS" BASIS, -| WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -| See the License for the specific language governing permissions and -| limitations under the license. -| --> -| <!-- | Test Description: | Tests the example from the markdown file, autoplay enabled. | --> diff --git a/extensions/amp-audio/0.1/test/validator-amp4ads-amp-audio.html b/extensions/amp-audio/0.1/test/validator-amp4ads-amp-audio.html index b5f3366558a3..27f81e6a82f4 100644 --- a/extensions/amp-audio/0.1/test/validator-amp4ads-amp-audio.html +++ b/extensions/amp-audio/0.1/test/validator-amp4ads-amp-audio.html @@ -1,18 +1,3 @@ -<!-- - Copyright 2015 The AMP HTML Authors. All Rights Reserved. - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS-IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the license. ---> <!-- Test Description: Tests the example from the markdown file with and without autoplay. diff --git a/extensions/amp-audio/0.1/test/validator-amp4ads-amp-audio.out b/extensions/amp-audio/0.1/test/validator-amp4ads-amp-audio.out index ad9d67ec6eeb..429fb84ee57a 100644 --- a/extensions/amp-audio/0.1/test/validator-amp4ads-amp-audio.out +++ b/extensions/amp-audio/0.1/test/validator-amp4ads-amp-audio.out @@ -1,20 +1,5 @@ FAIL | <!-- -| Copyright 2015 The AMP HTML Authors. All Rights Reserved. -| -| Licensed under the Apache License, Version 2.0 (the "License"); -| you may not use this file except in compliance with the License. -| You may obtain a copy of the License at -| -| http://www.apache.org/licenses/LICENSE-2.0 -| -| Unless required by applicable law or agreed to in writing, software -| distributed under the License is distributed on an "AS-IS" BASIS, -| WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -| See the License for the specific language governing permissions and -| limitations under the license. -| --> -| <!-- | Test Description: | Tests the example from the markdown file with and without autoplay. | Format is set to A4A. @@ -41,7 +26,7 @@ FAIL | <!-- Invalid: autoplay present. --> | <amp-audio width="400" height="300" autoplay src="https://yourhost.com/audios/myaudio.mp3"> >> ^~~~~~~~~ -amp-audio/0.1/test/validator-amp4ads-amp-audio.html:41:2 The attribute 'autoplay' may not appear in tag 'amp-audio'. (see https://amp.dev/documentation/components/amp-audio/) +amp-audio/0.1/test/validator-amp4ads-amp-audio.html:26:2 The attribute 'autoplay' may not appear in tag 'amp-audio'. (see https://amp.dev/documentation/components/amp-audio/) | <div fallback> | <p>Your browser doesn’t support HTML5 audio</p> | </div> diff --git a/extensions/amp-auto-ads/0.1/test/validator-amp-auto-ads.html b/extensions/amp-auto-ads/0.1/test/validator-amp-auto-ads.html index 6272690a03c3..daa895111885 100644 --- a/extensions/amp-auto-ads/0.1/test/validator-amp-auto-ads.html +++ b/extensions/amp-auto-ads/0.1/test/validator-amp-auto-ads.html @@ -1,18 +1,3 @@ -<!-- - Copyright 2015 The AMP HTML Authors. All Rights Reserved. - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS-IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the license. ---> <!-- Test Description: Basic test for amp-auto-ad. --> diff --git a/extensions/amp-auto-ads/0.1/test/validator-amp-auto-ads.out b/extensions/amp-auto-ads/0.1/test/validator-amp-auto-ads.out index 299535e06ba8..68e26ba94725 100644 --- a/extensions/amp-auto-ads/0.1/test/validator-amp-auto-ads.out +++ b/extensions/amp-auto-ads/0.1/test/validator-amp-auto-ads.out @@ -1,20 +1,5 @@ PASS | <!-- -| Copyright 2015 The AMP HTML Authors. All Rights Reserved. -| -| Licensed under the Apache License, Version 2.0 (the "License"); -| you may not use this file except in compliance with the License. -| You may obtain a copy of the License at -| -| http://www.apache.org/licenses/LICENSE-2.0 -| -| Unless required by applicable law or agreed to in writing, software -| distributed under the License is distributed on an "AS-IS" BASIS, -| WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -| See the License for the specific language governing permissions and -| limitations under the license. -| --> -| <!-- | Test Description: Basic test for amp-auto-ad. | --> | <!doctype html> diff --git a/extensions/amp-autocomplete/0.1/test/validator-amp-autocomplete.html b/extensions/amp-autocomplete/0.1/test/validator-amp-autocomplete.html index a4b1c1aae505..40e976724c3c 100644 --- a/extensions/amp-autocomplete/0.1/test/validator-amp-autocomplete.html +++ b/extensions/amp-autocomplete/0.1/test/validator-amp-autocomplete.html @@ -1,18 +1,3 @@ -<!-- - Copyright 2019 The AMP HTML Authors. All Rights Reserved. - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS-IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. ---> <!-- Test Description: Tests for the amp-autocomplete tag. diff --git a/extensions/amp-autocomplete/0.1/test/validator-amp-autocomplete.out b/extensions/amp-autocomplete/0.1/test/validator-amp-autocomplete.out index 1403e88c3477..601f95f77fce 100644 --- a/extensions/amp-autocomplete/0.1/test/validator-amp-autocomplete.out +++ b/extensions/amp-autocomplete/0.1/test/validator-amp-autocomplete.out @@ -1,20 +1,5 @@ FAIL | <!-- -| Copyright 2019 The AMP HTML Authors. All Rights Reserved. -| -| Licensed under the Apache License, Version 2.0 (the "License"); -| you may not use this file except in compliance with the License. -| You may obtain a copy of the License at -| -| http://www.apache.org/licenses/LICENSE-2.0 -| -| Unless required by applicable law or agreed to in writing, software -| distributed under the License is distributed on an "AS-IS" BASIS, -| WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -| See the License for the specific language governing permissions and -| limitations under the License. -| --> -| <!-- | Test Description: | Tests for the amp-autocomplete tag. | --> @@ -524,7 +509,7 @@ FAIL | <!-- Invalid: filter unspecified --> | <amp-autocomplete> >> ^~~~~~~~~ -amp-autocomplete/0.1/test/validator-amp-autocomplete.html:524:4 The mandatory attribute 'filter' is missing in tag 'amp-autocomplete'. (see https://amp.dev/documentation/components/amp-autocomplete/) +amp-autocomplete/0.1/test/validator-amp-autocomplete.html:509:4 The mandatory attribute 'filter' is missing in tag 'amp-autocomplete'. (see https://amp.dev/documentation/components/amp-autocomplete/) | <input /> | <script type="application/json"> | {} @@ -534,7 +519,7 @@ amp-autocomplete/0.1/test/validator-amp-autocomplete.html:524:4 The mandatory at | <!-- Invalid: width is mistyped --> | <amp-autocomplete widht="100" filter="prefix"> >> ^~~~~~~~~ -amp-autocomplete/0.1/test/validator-amp-autocomplete.html:532:4 The attribute 'widht' may not appear in tag 'amp-autocomplete'. (see https://amp.dev/documentation/components/amp-autocomplete/) +amp-autocomplete/0.1/test/validator-amp-autocomplete.html:517:4 The attribute 'widht' may not appear in tag 'amp-autocomplete'. (see https://amp.dev/documentation/components/amp-autocomplete/) | <input /> | <script type="application/json"> | {} @@ -544,7 +529,7 @@ amp-autocomplete/0.1/test/validator-amp-autocomplete.html:532:4 The attribute 'w | <!-- Invalid: responsive layout is not supported --> | <amp-autocomplete layout="responsive" filter="prefix"> >> ^~~~~~~~~ -amp-autocomplete/0.1/test/validator-amp-autocomplete.html:540:4 The specified layout 'RESPONSIVE' is not supported by tag 'amp-autocomplete'. (see https://amp.dev/documentation/components/amp-autocomplete/) +amp-autocomplete/0.1/test/validator-amp-autocomplete.html:525:4 The specified layout 'RESPONSIVE' is not supported by tag 'amp-autocomplete'. (see https://amp.dev/documentation/components/amp-autocomplete/) | <input /> | <script type="application/json"> | {} @@ -554,10 +539,10 @@ amp-autocomplete/0.1/test/validator-amp-autocomplete.html:540:4 The specified la | <!-- Invalid: amp-autocomplete with invalid input types --> | <amp-autocomplete widht="100" filter="prefix"> >> ^~~~~~~~~ -amp-autocomplete/0.1/test/validator-amp-autocomplete.html:548:4 The attribute 'widht' may not appear in tag 'amp-autocomplete'. (see https://amp.dev/documentation/components/amp-autocomplete/) +amp-autocomplete/0.1/test/validator-amp-autocomplete.html:533:4 The attribute 'widht' may not appear in tag 'amp-autocomplete'. (see https://amp.dev/documentation/components/amp-autocomplete/) | <input type="file" /> >> ^~~~~~~~~ -amp-autocomplete/0.1/test/validator-amp-autocomplete.html:549:6 The tag 'input' may only appear as a descendant of tag 'form [method=post]'. (see https://amp.dev/documentation/components/amp-form/) +amp-autocomplete/0.1/test/validator-amp-autocomplete.html:534:6 The tag 'input' may only appear as a descendant of tag 'form [method=post]'. (see https://amp.dev/documentation/components/amp-form/) | <script type="application/json"> | {} | </script> @@ -566,7 +551,7 @@ amp-autocomplete/0.1/test/validator-amp-autocomplete.html:549:6 The tag 'input' | <!-- Invalid: amp-autocomplete with filter=custom and no filter-expr attribute --> | <amp-autocomplete filter="custom"> >> ^~~~~~~~~ -amp-autocomplete/0.1/test/validator-amp-autocomplete.html:556:4 The attribute 'filter-expr' in tag 'amp-autocomplete' is missing or incorrect, but required by attribute 'filter'. (see https://amp.dev/documentation/components/amp-autocomplete/) +amp-autocomplete/0.1/test/validator-amp-autocomplete.html:541:4 The attribute 'filter-expr' in tag 'amp-autocomplete' is missing or incorrect, but required by attribute 'filter'. (see https://amp.dev/documentation/components/amp-autocomplete/) | <input /> | <script type="application/json"> | {} @@ -576,7 +561,7 @@ amp-autocomplete/0.1/test/validator-amp-autocomplete.html:556:4 The attribute 'f | <!-- Invalid: amp-autocomplete with filter=custom and no filter-expr attribute --> | <amp-autocomplete >> ^~~~~~~~~ -amp-autocomplete/0.1/test/validator-amp-autocomplete.html:564:4 The attribute 'filter-expr' in tag 'amp-autocomplete' is missing or incorrect, but required by attribute 'filter'. (see https://amp.dev/documentation/components/amp-autocomplete/) +amp-autocomplete/0.1/test/validator-amp-autocomplete.html:549:4 The attribute 'filter-expr' in tag 'amp-autocomplete' is missing or incorrect, but required by attribute 'filter'. (see https://amp.dev/documentation/components/amp-autocomplete/) | filter="custom" | src="https://data.com/articles.json?ref=CANONICAL_URL" | > @@ -586,7 +571,7 @@ amp-autocomplete/0.1/test/validator-amp-autocomplete.html:564:4 The attribute 'f | <!-- Invalid: amp-autocomplete with unexpected filter --> | <amp-autocomplete filter="random"> >> ^~~~~~~~~ -amp-autocomplete/0.1/test/validator-amp-autocomplete.html:572:4 The attribute 'filter' in tag 'amp-autocomplete' is set to the invalid value 'random'. (see https://amp.dev/documentation/components/amp-autocomplete/) +amp-autocomplete/0.1/test/validator-amp-autocomplete.html:557:4 The attribute 'filter' in tag 'amp-autocomplete' is set to the invalid value 'random'. (see https://amp.dev/documentation/components/amp-autocomplete/) | <input /> | <script type="application/json"> | {} @@ -596,7 +581,7 @@ amp-autocomplete/0.1/test/validator-amp-autocomplete.html:572:4 The attribute 'f | <!-- Invalid: amp-autocomplete with unexpected filter and src attr --> | <amp-autocomplete >> ^~~~~~~~~ -amp-autocomplete/0.1/test/validator-amp-autocomplete.html:580:4 The attribute 'filter' in tag 'amp-autocomplete' is set to the invalid value 'random'. (see https://amp.dev/documentation/components/amp-autocomplete/) +amp-autocomplete/0.1/test/validator-amp-autocomplete.html:565:4 The attribute 'filter' in tag 'amp-autocomplete' is set to the invalid value 'random'. (see https://amp.dev/documentation/components/amp-autocomplete/) | filter="random" | src="https://data.com/articles.json?ref=CANONICAL_URL" | > @@ -606,7 +591,7 @@ amp-autocomplete/0.1/test/validator-amp-autocomplete.html:580:4 The attribute 'f | <!-- Invalid: amp-autocomplete with query attr missing src attr --> | <amp-autocomplete filter="prefix" query="q"> >> ^~~~~~~~~ -amp-autocomplete/0.1/test/validator-amp-autocomplete.html:588:4 The attribute 'src' in tag 'amp-autocomplete' is missing or incorrect, but required by attribute 'query'. (see https://amp.dev/documentation/components/amp-autocomplete/) +amp-autocomplete/0.1/test/validator-amp-autocomplete.html:573:4 The attribute 'src' in tag 'amp-autocomplete' is missing or incorrect, but required by attribute 'query'. (see https://amp.dev/documentation/components/amp-autocomplete/) | <input /> | </amp-autocomplete> | @@ -622,7 +607,7 @@ amp-autocomplete/0.1/test/validator-amp-autocomplete.html:588:4 The attribute 's | <!-- Invalid: prefetch is mistyped --> | <amp-autocomplete >> ^~~~~~~~~ -amp-autocomplete/0.1/test/validator-amp-autocomplete.html:602:4 The attribute 'prefecth' may not appear in tag 'amp-autocomplete'. (see https://amp.dev/documentation/components/amp-autocomplete/) +amp-autocomplete/0.1/test/validator-amp-autocomplete.html:587:4 The attribute 'prefecth' may not appear in tag 'amp-autocomplete'. (see https://amp.dev/documentation/components/amp-autocomplete/) | filter="prefix" | src="https://data.com/articles.json?ref=CANONICAL_URL" | prefecth diff --git a/extensions/amp-autocomplete/0.1/test/validator-amp-autocomplete.out.cpponly b/extensions/amp-autocomplete/0.1/test/validator-amp-autocomplete.out.cpponly index e42ef3c83e0e..b93742f1f412 100644 --- a/extensions/amp-autocomplete/0.1/test/validator-amp-autocomplete.out.cpponly +++ b/extensions/amp-autocomplete/0.1/test/validator-amp-autocomplete.out.cpponly @@ -1,20 +1,5 @@ FAIL | <!-- -| Copyright 2019 The AMP HTML Authors. All Rights Reserved. -| -| Licensed under the Apache License, Version 2.0 (the "License"); -| you may not use this file except in compliance with the License. -| You may obtain a copy of the License at -| -| http://www.apache.org/licenses/LICENSE-2.0 -| -| Unless required by applicable law or agreed to in writing, software -| distributed under the License is distributed on an "AS-IS" BASIS, -| WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -| See the License for the specific language governing permissions and -| limitations under the License. -| --> -| <!-- | Test Description: | Tests for the amp-autocomplete tag. | --> @@ -525,7 +510,7 @@ FAIL | <amp-autocomplete> | <input /> >> ^~~~~~~~~ -amp-autocomplete/0.1/test/validator-amp-autocomplete.html:525:4 The mandatory attribute 'filter' is missing in tag 'amp-autocomplete'. (see https://amp.dev/documentation/components/amp-autocomplete/) +amp-autocomplete/0.1/test/validator-amp-autocomplete.html:510:4 The mandatory attribute 'filter' is missing in tag 'amp-autocomplete'. (see https://amp.dev/documentation/components/amp-autocomplete/) | <script type="application/json"> | {} | </script> @@ -535,7 +520,7 @@ amp-autocomplete/0.1/test/validator-amp-autocomplete.html:525:4 The mandatory at | <amp-autocomplete widht="100" filter="prefix"> | <input /> >> ^~~~~~~~~ -amp-autocomplete/0.1/test/validator-amp-autocomplete.html:533:4 The attribute 'widht' may not appear in tag 'amp-autocomplete'. (see https://amp.dev/documentation/components/amp-autocomplete/) +amp-autocomplete/0.1/test/validator-amp-autocomplete.html:518:4 The attribute 'widht' may not appear in tag 'amp-autocomplete'. (see https://amp.dev/documentation/components/amp-autocomplete/) | <script type="application/json"> | {} | </script> @@ -545,7 +530,7 @@ amp-autocomplete/0.1/test/validator-amp-autocomplete.html:533:4 The attribute 'w | <amp-autocomplete layout="responsive" filter="prefix"> | <input /> >> ^~~~~~~~~ -amp-autocomplete/0.1/test/validator-amp-autocomplete.html:541:4 The specified layout 'RESPONSIVE' is not supported by tag 'amp-autocomplete'. (see https://amp.dev/documentation/components/amp-autocomplete/) +amp-autocomplete/0.1/test/validator-amp-autocomplete.html:526:4 The specified layout 'RESPONSIVE' is not supported by tag 'amp-autocomplete'. (see https://amp.dev/documentation/components/amp-autocomplete/) | <script type="application/json"> | {} | </script> @@ -555,10 +540,10 @@ amp-autocomplete/0.1/test/validator-amp-autocomplete.html:541:4 The specified la | <amp-autocomplete widht="100" filter="prefix"> | <input type="file" /> >> ^~~~~~~~~ -amp-autocomplete/0.1/test/validator-amp-autocomplete.html:549:4 The attribute 'widht' may not appear in tag 'amp-autocomplete'. (see https://amp.dev/documentation/components/amp-autocomplete/) +amp-autocomplete/0.1/test/validator-amp-autocomplete.html:534:4 The attribute 'widht' may not appear in tag 'amp-autocomplete'. (see https://amp.dev/documentation/components/amp-autocomplete/) | <script type="application/json"> >> ^~~~~~~~~ -amp-autocomplete/0.1/test/validator-amp-autocomplete.html:550:6 The tag 'input' may only appear as a descendant of tag 'form [method=post]'. (see https://amp.dev/documentation/components/amp-form/) +amp-autocomplete/0.1/test/validator-amp-autocomplete.html:535:6 The tag 'input' may only appear as a descendant of tag 'form [method=post]'. (see https://amp.dev/documentation/components/amp-form/) | {} | </script> | </amp-autocomplete> @@ -567,7 +552,7 @@ amp-autocomplete/0.1/test/validator-amp-autocomplete.html:550:6 The tag 'input' | <amp-autocomplete filter="custom"> | <input /> >> ^~~~~~~~~ -amp-autocomplete/0.1/test/validator-amp-autocomplete.html:557:4 The attribute 'filter-expr' in tag 'amp-autocomplete' is missing or incorrect, but required by attribute 'filter'. (see https://amp.dev/documentation/components/amp-autocomplete/) +amp-autocomplete/0.1/test/validator-amp-autocomplete.html:542:4 The attribute 'filter-expr' in tag 'amp-autocomplete' is missing or incorrect, but required by attribute 'filter'. (see https://amp.dev/documentation/components/amp-autocomplete/) | <script type="application/json"> | {} | </script> @@ -577,7 +562,7 @@ amp-autocomplete/0.1/test/validator-amp-autocomplete.html:557:4 The attribute 'f | <amp-autocomplete | filter="custom" >> ^~~~~~~~~ -amp-autocomplete/0.1/test/validator-amp-autocomplete.html:565:4 The attribute 'filter-expr' in tag 'amp-autocomplete' is missing or incorrect, but required by attribute 'filter'. (see https://amp.dev/documentation/components/amp-autocomplete/) +amp-autocomplete/0.1/test/validator-amp-autocomplete.html:550:4 The attribute 'filter-expr' in tag 'amp-autocomplete' is missing or incorrect, but required by attribute 'filter'. (see https://amp.dev/documentation/components/amp-autocomplete/) | src="https://data.com/articles.json?ref=CANONICAL_URL" | > | <input /> @@ -587,7 +572,7 @@ amp-autocomplete/0.1/test/validator-amp-autocomplete.html:565:4 The attribute 'f | <amp-autocomplete filter="random"> | <input /> >> ^~~~~~~~~ -amp-autocomplete/0.1/test/validator-amp-autocomplete.html:573:4 The attribute 'filter' in tag 'amp-autocomplete' is set to the invalid value 'random'. (see https://amp.dev/documentation/components/amp-autocomplete/) +amp-autocomplete/0.1/test/validator-amp-autocomplete.html:558:4 The attribute 'filter' in tag 'amp-autocomplete' is set to the invalid value 'random'. (see https://amp.dev/documentation/components/amp-autocomplete/) | <script type="application/json"> | {} | </script> @@ -597,7 +582,7 @@ amp-autocomplete/0.1/test/validator-amp-autocomplete.html:573:4 The attribute 'f | <amp-autocomplete | filter="random" >> ^~~~~~~~~ -amp-autocomplete/0.1/test/validator-amp-autocomplete.html:581:4 The attribute 'filter' in tag 'amp-autocomplete' is set to the invalid value 'random'. (see https://amp.dev/documentation/components/amp-autocomplete/) +amp-autocomplete/0.1/test/validator-amp-autocomplete.html:566:4 The attribute 'filter' in tag 'amp-autocomplete' is set to the invalid value 'random'. (see https://amp.dev/documentation/components/amp-autocomplete/) | src="https://data.com/articles.json?ref=CANONICAL_URL" | > | <input /> @@ -607,7 +592,7 @@ amp-autocomplete/0.1/test/validator-amp-autocomplete.html:581:4 The attribute 'f | <amp-autocomplete filter="prefix" query="q"> | <input /> >> ^~~~~~~~~ -amp-autocomplete/0.1/test/validator-amp-autocomplete.html:589:4 The attribute 'src' in tag 'amp-autocomplete' is missing or incorrect, but required by attribute 'query'. (see https://amp.dev/documentation/components/amp-autocomplete/) +amp-autocomplete/0.1/test/validator-amp-autocomplete.html:574:4 The attribute 'src' in tag 'amp-autocomplete' is missing or incorrect, but required by attribute 'query'. (see https://amp.dev/documentation/components/amp-autocomplete/) | </amp-autocomplete> | | <!-- Valid: amp-component with remote data, filter=prefix and prefetch attribute --> @@ -623,7 +608,7 @@ amp-autocomplete/0.1/test/validator-amp-autocomplete.html:589:4 The attribute 's | <amp-autocomplete | filter="prefix" >> ^~~~~~~~~ -amp-autocomplete/0.1/test/validator-amp-autocomplete.html:603:4 The attribute 'prefecth' may not appear in tag 'amp-autocomplete'. (see https://amp.dev/documentation/components/amp-autocomplete/) +amp-autocomplete/0.1/test/validator-amp-autocomplete.html:588:4 The attribute 'prefecth' may not appear in tag 'amp-autocomplete'. (see https://amp.dev/documentation/components/amp-autocomplete/) | src="https://data.com/articles.json?ref=CANONICAL_URL" | prefecth | > diff --git a/extensions/amp-base-carousel/0.1/test/validator-amp-base-carousel.html b/extensions/amp-base-carousel/0.1/test/validator-amp-base-carousel.html index 38b4e2bb3426..91bffebb68c2 100644 --- a/extensions/amp-base-carousel/0.1/test/validator-amp-base-carousel.html +++ b/extensions/amp-base-carousel/0.1/test/validator-amp-base-carousel.html @@ -1,18 +1,3 @@ -<!-- - Copyright 2019 The AMP HTML Authors. All Rights Reserved. - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS-IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the license. ---> <!-- Test Description: Tests for the amp-base-carousel tag. See the inline comments. diff --git a/extensions/amp-base-carousel/0.1/test/validator-amp-base-carousel.out b/extensions/amp-base-carousel/0.1/test/validator-amp-base-carousel.out index 6fae88740fdf..538831ef23ff 100644 --- a/extensions/amp-base-carousel/0.1/test/validator-amp-base-carousel.out +++ b/extensions/amp-base-carousel/0.1/test/validator-amp-base-carousel.out @@ -1,20 +1,5 @@ FAIL | <!-- -| Copyright 2019 The AMP HTML Authors. All Rights Reserved. -| -| Licensed under the Apache License, Version 2.0 (the "License"); -| you may not use this file except in compliance with the License. -| You may obtain a copy of the License at -| -| http://www.apache.org/licenses/LICENSE-2.0 -| -| Unless required by applicable law or agreed to in writing, software -| distributed under the License is distributed on an "AS-IS" BASIS, -| WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -| See the License for the specific language governing permissions and -| limitations under the license. -| --> -| <!-- | Test Description: | Tests for the amp-base-carousel tag. See the inline comments. | --> @@ -46,22 +31,22 @@ FAIL | <!-- Invalid: no default value--> | <amp-base-carousel width="4" height="3" auto-advance="(min-width: 800px) true"> >> ^~~~~~~~~ -amp-base-carousel/0.1/test/validator-amp-base-carousel.html:46:4 The attribute 'auto-advance' in tag 'amp-base-carousel' is set to the invalid value '(min-width: 800px) true'. (see https://amp.dev/documentation/components/amp-base-carousel/) +amp-base-carousel/0.1/test/validator-amp-base-carousel.html:31:4 The attribute 'auto-advance' in tag 'amp-base-carousel' is set to the invalid value '(min-width: 800px) true'. (see https://amp.dev/documentation/components/amp-base-carousel/) | </amp-base-carousel> | <!-- Invalid: no value --> | <amp-base-carousel width="4" height="3" auto-advance> >> ^~~~~~~~~ -amp-base-carousel/0.1/test/validator-amp-base-carousel.html:49:4 The attribute 'auto-advance' in tag 'amp-base-carousel' is set to the invalid value ''. (see https://amp.dev/documentation/components/amp-base-carousel/) +amp-base-carousel/0.1/test/validator-amp-base-carousel.html:34:4 The attribute 'auto-advance' in tag 'amp-base-carousel' is set to the invalid value ''. (see https://amp.dev/documentation/components/amp-base-carousel/) | </amp-base-carousel> | <!-- Invalid: incorrect value --> | <amp-base-carousel width="4" height="3" auto-advance="5"> >> ^~~~~~~~~ -amp-base-carousel/0.1/test/validator-amp-base-carousel.html:52:4 The attribute 'auto-advance' in tag 'amp-base-carousel' is set to the invalid value '5'. (see https://amp.dev/documentation/components/amp-base-carousel/) +amp-base-carousel/0.1/test/validator-amp-base-carousel.html:37:4 The attribute 'auto-advance' in tag 'amp-base-carousel' is set to the invalid value '5'. (see https://amp.dev/documentation/components/amp-base-carousel/) | </amp-base-carousel> | <!-- Invalid: incorrect in media query --> | <amp-base-carousel width="4" height="3" auto-advance="(min-width: 800px) true, (max-height: 1000px) 5, false"> >> ^~~~~~~~~ -amp-base-carousel/0.1/test/validator-amp-base-carousel.html:55:4 The attribute 'auto-advance' in tag 'amp-base-carousel' is set to the invalid value '(min-width: 800px) true, (max-height: 1000px) 5, false'. (see https://amp.dev/documentation/components/amp-base-carousel/) +amp-base-carousel/0.1/test/validator-amp-base-carousel.html:40:4 The attribute 'auto-advance' in tag 'amp-base-carousel' is set to the invalid value '(min-width: 800px) true, (max-height: 1000px) 5, false'. (see https://amp.dev/documentation/components/amp-base-carousel/) | </amp-base-carousel> | </section> | @@ -85,22 +70,22 @@ amp-base-carousel/0.1/test/validator-amp-base-carousel.html:55:4 The attribute ' | <!-- Invalid: no default value--> | <amp-base-carousel width="4" height="3" advance-count="(min-width: 800px) 3"> >> ^~~~~~~~~ -amp-base-carousel/0.1/test/validator-amp-base-carousel.html:77:4 The attribute 'advance-count' in tag 'amp-base-carousel' is set to the invalid value '(min-width: 800px) 3'. (see https://amp.dev/documentation/components/amp-base-carousel/) +amp-base-carousel/0.1/test/validator-amp-base-carousel.html:62:4 The attribute 'advance-count' in tag 'amp-base-carousel' is set to the invalid value '(min-width: 800px) 3'. (see https://amp.dev/documentation/components/amp-base-carousel/) | </amp-base-carousel> | <!-- Invalid: no value --> | <amp-base-carousel width="4" height="3" advance-count> >> ^~~~~~~~~ -amp-base-carousel/0.1/test/validator-amp-base-carousel.html:80:4 The attribute 'advance-count' in tag 'amp-base-carousel' is set to the invalid value ''. (see https://amp.dev/documentation/components/amp-base-carousel/) +amp-base-carousel/0.1/test/validator-amp-base-carousel.html:65:4 The attribute 'advance-count' in tag 'amp-base-carousel' is set to the invalid value ''. (see https://amp.dev/documentation/components/amp-base-carousel/) | </amp-base-carousel> | <!-- Invalid: floating point value --> | <amp-base-carousel width="4" height="3" advance-count="3.2"> >> ^~~~~~~~~ -amp-base-carousel/0.1/test/validator-amp-base-carousel.html:83:4 The attribute 'advance-count' in tag 'amp-base-carousel' is set to the invalid value '3.2'. (see https://amp.dev/documentation/components/amp-base-carousel/) +amp-base-carousel/0.1/test/validator-amp-base-carousel.html:68:4 The attribute 'advance-count' in tag 'amp-base-carousel' is set to the invalid value '3.2'. (see https://amp.dev/documentation/components/amp-base-carousel/) | </amp-base-carousel> | <!-- Invalid: floating point value in media query --> | <amp-base-carousel width="4" height="3" advance-count="(min-width: 800px) -3, (max-height: 1000px) 3.2, 1"> >> ^~~~~~~~~ -amp-base-carousel/0.1/test/validator-amp-base-carousel.html:86:4 The attribute 'advance-count' in tag 'amp-base-carousel' is set to the invalid value '(min-width: 800px) -3, (max-height: 1000px) 3.2, 1'. (see https://amp.dev/documentation/components/amp-base-carousel/) +amp-base-carousel/0.1/test/validator-amp-base-carousel.html:71:4 The attribute 'advance-count' in tag 'amp-base-carousel' is set to the invalid value '(min-width: 800px) -3, (max-height: 1000px) 3.2, 1'. (see https://amp.dev/documentation/components/amp-base-carousel/) | </amp-base-carousel> | </section> | @@ -121,27 +106,27 @@ amp-base-carousel/0.1/test/validator-amp-base-carousel.html:86:4 The attribute ' | <!-- Invalid: negative integer value --> | <amp-base-carousel width="4" height="3" visible-count="-2"> >> ^~~~~~~~~ -amp-base-carousel/0.1/test/validator-amp-base-carousel.html:105:4 The attribute 'visible-count' in tag 'amp-base-carousel' is set to the invalid value '-2'. (see https://amp.dev/documentation/components/amp-base-carousel/) +amp-base-carousel/0.1/test/validator-amp-base-carousel.html:90:4 The attribute 'visible-count' in tag 'amp-base-carousel' is set to the invalid value '-2'. (see https://amp.dev/documentation/components/amp-base-carousel/) | </amp-base-carousel> | <!-- Invalid: no default value--> | <amp-base-carousel width="4" height="3" visible-count="(min-width: 800px) 3"> >> ^~~~~~~~~ -amp-base-carousel/0.1/test/validator-amp-base-carousel.html:108:4 The attribute 'visible-count' in tag 'amp-base-carousel' is set to the invalid value '(min-width: 800px) 3'. (see https://amp.dev/documentation/components/amp-base-carousel/) +amp-base-carousel/0.1/test/validator-amp-base-carousel.html:93:4 The attribute 'visible-count' in tag 'amp-base-carousel' is set to the invalid value '(min-width: 800px) 3'. (see https://amp.dev/documentation/components/amp-base-carousel/) | </amp-base-carousel> | <!-- Invalid: no value --> | <amp-base-carousel width="4" height="3" visible-count> >> ^~~~~~~~~ -amp-base-carousel/0.1/test/validator-amp-base-carousel.html:111:4 The attribute 'visible-count' in tag 'amp-base-carousel' is set to the invalid value ''. (see https://amp.dev/documentation/components/amp-base-carousel/) +amp-base-carousel/0.1/test/validator-amp-base-carousel.html:96:4 The attribute 'visible-count' in tag 'amp-base-carousel' is set to the invalid value ''. (see https://amp.dev/documentation/components/amp-base-carousel/) | </amp-base-carousel> | <!-- Invalid: string value --> | <amp-base-carousel width="4" height="3" visible-count="foo"> >> ^~~~~~~~~ -amp-base-carousel/0.1/test/validator-amp-base-carousel.html:114:4 The attribute 'visible-count' in tag 'amp-base-carousel' is set to the invalid value 'foo'. (see https://amp.dev/documentation/components/amp-base-carousel/) +amp-base-carousel/0.1/test/validator-amp-base-carousel.html:99:4 The attribute 'visible-count' in tag 'amp-base-carousel' is set to the invalid value 'foo'. (see https://amp.dev/documentation/components/amp-base-carousel/) | </amp-base-carousel> | <!-- Invalid: negative value in media query --> | <amp-base-carousel width="4" height="3" visible-count="(min-width: 800px) -3, (max-height: 1000px) 3, 1"> >> ^~~~~~~~~ -amp-base-carousel/0.1/test/validator-amp-base-carousel.html:117:4 The attribute 'visible-count' in tag 'amp-base-carousel' is set to the invalid value '(min-width: 800px) -3, (max-height: 1000px) 3, 1'. (see https://amp.dev/documentation/components/amp-base-carousel/) +amp-base-carousel/0.1/test/validator-amp-base-carousel.html:102:4 The attribute 'visible-count' in tag 'amp-base-carousel' is set to the invalid value '(min-width: 800px) -3, (max-height: 1000px) 3, 1'. (see https://amp.dev/documentation/components/amp-base-carousel/) | </amp-base-carousel> | </section> | @@ -156,7 +141,7 @@ amp-base-carousel/0.1/test/validator-amp-base-carousel.html:117:4 The attribute | <!-- Invalid: no space between media query and value --> | <amp-base-carousel width="4" height="3" auto-advance="(min-width: 800px)true, false"> >> ^~~~~~~~~ -amp-base-carousel/0.1/test/validator-amp-base-carousel.html:130:4 The attribute 'auto-advance' in tag 'amp-base-carousel' is set to the invalid value '(min-width: 800px)true, false'. (see https://amp.dev/documentation/components/amp-base-carousel/) +amp-base-carousel/0.1/test/validator-amp-base-carousel.html:115:4 The attribute 'auto-advance' in tag 'amp-base-carousel' is set to the invalid value '(min-width: 800px)true, false'. (see https://amp.dev/documentation/components/amp-base-carousel/) | </amp-base-carousel> | </section> | </body> diff --git a/extensions/amp-base-carousel/1.0/test/validator-amp-base-carousel.html b/extensions/amp-base-carousel/1.0/test/validator-amp-base-carousel.html index 44337d40844f..94d58362db38 100644 --- a/extensions/amp-base-carousel/1.0/test/validator-amp-base-carousel.html +++ b/extensions/amp-base-carousel/1.0/test/validator-amp-base-carousel.html @@ -1,18 +1,3 @@ -<!-- - Copyright 2021 The AMP HTML Authors. All Rights Reserved. - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS-IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the license. ---> <!-- Test Description: Tests for the amp-base-carousel tag. See the inline comments. diff --git a/extensions/amp-base-carousel/1.0/test/validator-amp-base-carousel.out b/extensions/amp-base-carousel/1.0/test/validator-amp-base-carousel.out index 77e4eaa798c0..88eb26119363 100644 --- a/extensions/amp-base-carousel/1.0/test/validator-amp-base-carousel.out +++ b/extensions/amp-base-carousel/1.0/test/validator-amp-base-carousel.out @@ -1,20 +1,5 @@ FAIL | <!-- -| Copyright 2021 The AMP HTML Authors. All Rights Reserved. -| -| Licensed under the Apache License, Version 2.0 (the "License"); -| you may not use this file except in compliance with the License. -| You may obtain a copy of the License at -| -| http://www.apache.org/licenses/LICENSE-2.0 -| -| Unless required by applicable law or agreed to in writing, software -| distributed under the License is distributed on an "AS-IS" BASIS, -| WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -| See the License for the specific language governing permissions and -| limitations under the license. -| --> -| <!-- | Test Description: | Tests for the amp-base-carousel tag. See the inline comments. | --> @@ -49,22 +34,22 @@ FAIL | <!-- Invalid: no default value--> | <amp-base-carousel width="4" height="3" auto-advance="(min-width: 800px) true"> >> ^~~~~~~~~ -amp-base-carousel/1.0/test/validator-amp-base-carousel.html:49:4 The attribute 'auto-advance' in tag 'amp-base-carousel' is set to the invalid value '(min-width: 800px) true'. (see https://amp.dev/documentation/components/amp-base-carousel/) +amp-base-carousel/1.0/test/validator-amp-base-carousel.html:34:4 The attribute 'auto-advance' in tag 'amp-base-carousel' is set to the invalid value '(min-width: 800px) true'. (see https://amp.dev/documentation/components/amp-base-carousel/) | </amp-base-carousel> | <!-- Invalid: no value --> | <amp-base-carousel width="4" height="3" auto-advance> >> ^~~~~~~~~ -amp-base-carousel/1.0/test/validator-amp-base-carousel.html:52:4 The attribute 'auto-advance' in tag 'amp-base-carousel' is set to the invalid value ''. (see https://amp.dev/documentation/components/amp-base-carousel/) +amp-base-carousel/1.0/test/validator-amp-base-carousel.html:37:4 The attribute 'auto-advance' in tag 'amp-base-carousel' is set to the invalid value ''. (see https://amp.dev/documentation/components/amp-base-carousel/) | </amp-base-carousel> | <!-- Invalid: incorrect value --> | <amp-base-carousel width="4" height="3" auto-advance="5"> >> ^~~~~~~~~ -amp-base-carousel/1.0/test/validator-amp-base-carousel.html:55:4 The attribute 'auto-advance' in tag 'amp-base-carousel' is set to the invalid value '5'. (see https://amp.dev/documentation/components/amp-base-carousel/) +amp-base-carousel/1.0/test/validator-amp-base-carousel.html:40:4 The attribute 'auto-advance' in tag 'amp-base-carousel' is set to the invalid value '5'. (see https://amp.dev/documentation/components/amp-base-carousel/) | </amp-base-carousel> | <!-- Invalid: incorrect in media query --> | <amp-base-carousel width="4" height="3" auto-advance="(min-width: 800px) true, (max-height: 1000px) 5, false"> >> ^~~~~~~~~ -amp-base-carousel/1.0/test/validator-amp-base-carousel.html:58:4 The attribute 'auto-advance' in tag 'amp-base-carousel' is set to the invalid value '(min-width: 800px) true, (max-height: 1000px) 5, false'. (see https://amp.dev/documentation/components/amp-base-carousel/) +amp-base-carousel/1.0/test/validator-amp-base-carousel.html:43:4 The attribute 'auto-advance' in tag 'amp-base-carousel' is set to the invalid value '(min-width: 800px) true, (max-height: 1000px) 5, false'. (see https://amp.dev/documentation/components/amp-base-carousel/) | </amp-base-carousel> | </section> | @@ -85,22 +70,22 @@ amp-base-carousel/1.0/test/validator-amp-base-carousel.html:58:4 The attribute ' | <!-- Invalid: no default value--> | <amp-base-carousel width="4" height="3" advance-count="(min-width: 800px) 3"> >> ^~~~~~~~~ -amp-base-carousel/1.0/test/validator-amp-base-carousel.html:77:4 The attribute 'advance-count' in tag 'amp-base-carousel' is set to the invalid value '(min-width: 800px) 3'. (see https://amp.dev/documentation/components/amp-base-carousel/) +amp-base-carousel/1.0/test/validator-amp-base-carousel.html:62:4 The attribute 'advance-count' in tag 'amp-base-carousel' is set to the invalid value '(min-width: 800px) 3'. (see https://amp.dev/documentation/components/amp-base-carousel/) | </amp-base-carousel> | <!-- Invalid: no value --> | <amp-base-carousel width="4" height="3" advance-count> >> ^~~~~~~~~ -amp-base-carousel/1.0/test/validator-amp-base-carousel.html:80:4 The attribute 'advance-count' in tag 'amp-base-carousel' is set to the invalid value ''. (see https://amp.dev/documentation/components/amp-base-carousel/) +amp-base-carousel/1.0/test/validator-amp-base-carousel.html:65:4 The attribute 'advance-count' in tag 'amp-base-carousel' is set to the invalid value ''. (see https://amp.dev/documentation/components/amp-base-carousel/) | </amp-base-carousel> | <!-- Invalid: floating point value --> | <amp-base-carousel width="4" height="3" advance-count="3.2"> >> ^~~~~~~~~ -amp-base-carousel/1.0/test/validator-amp-base-carousel.html:83:4 The attribute 'advance-count' in tag 'amp-base-carousel' is set to the invalid value '3.2'. (see https://amp.dev/documentation/components/amp-base-carousel/) +amp-base-carousel/1.0/test/validator-amp-base-carousel.html:68:4 The attribute 'advance-count' in tag 'amp-base-carousel' is set to the invalid value '3.2'. (see https://amp.dev/documentation/components/amp-base-carousel/) | </amp-base-carousel> | <!-- Invalid: floating point value in media query --> | <amp-base-carousel width="4" height="3" advance-count="(min-width: 800px) -3, (max-height: 1000px) 3.2, 1"> >> ^~~~~~~~~ -amp-base-carousel/1.0/test/validator-amp-base-carousel.html:86:4 The attribute 'advance-count' in tag 'amp-base-carousel' is set to the invalid value '(min-width: 800px) -3, (max-height: 1000px) 3.2, 1'. (see https://amp.dev/documentation/components/amp-base-carousel/) +amp-base-carousel/1.0/test/validator-amp-base-carousel.html:71:4 The attribute 'advance-count' in tag 'amp-base-carousel' is set to the invalid value '(min-width: 800px) -3, (max-height: 1000px) 3.2, 1'. (see https://amp.dev/documentation/components/amp-base-carousel/) | </amp-base-carousel> | </section> | @@ -121,27 +106,27 @@ amp-base-carousel/1.0/test/validator-amp-base-carousel.html:86:4 The attribute ' | <!-- Invalid: negative integer value --> | <amp-base-carousel width="4" height="3" visible-count="-2"> >> ^~~~~~~~~ -amp-base-carousel/1.0/test/validator-amp-base-carousel.html:105:4 The attribute 'visible-count' in tag 'amp-base-carousel' is set to the invalid value '-2'. (see https://amp.dev/documentation/components/amp-base-carousel/) +amp-base-carousel/1.0/test/validator-amp-base-carousel.html:90:4 The attribute 'visible-count' in tag 'amp-base-carousel' is set to the invalid value '-2'. (see https://amp.dev/documentation/components/amp-base-carousel/) | </amp-base-carousel> | <!-- Invalid: no default value--> | <amp-base-carousel width="4" height="3" visible-count="(min-width: 800px) 3"> >> ^~~~~~~~~ -amp-base-carousel/1.0/test/validator-amp-base-carousel.html:108:4 The attribute 'visible-count' in tag 'amp-base-carousel' is set to the invalid value '(min-width: 800px) 3'. (see https://amp.dev/documentation/components/amp-base-carousel/) +amp-base-carousel/1.0/test/validator-amp-base-carousel.html:93:4 The attribute 'visible-count' in tag 'amp-base-carousel' is set to the invalid value '(min-width: 800px) 3'. (see https://amp.dev/documentation/components/amp-base-carousel/) | </amp-base-carousel> | <!-- Invalid: no value --> | <amp-base-carousel width="4" height="3" visible-count> >> ^~~~~~~~~ -amp-base-carousel/1.0/test/validator-amp-base-carousel.html:111:4 The attribute 'visible-count' in tag 'amp-base-carousel' is set to the invalid value ''. (see https://amp.dev/documentation/components/amp-base-carousel/) +amp-base-carousel/1.0/test/validator-amp-base-carousel.html:96:4 The attribute 'visible-count' in tag 'amp-base-carousel' is set to the invalid value ''. (see https://amp.dev/documentation/components/amp-base-carousel/) | </amp-base-carousel> | <!-- Invalid: string value --> | <amp-base-carousel width="4" height="3" visible-count="foo"> >> ^~~~~~~~~ -amp-base-carousel/1.0/test/validator-amp-base-carousel.html:114:4 The attribute 'visible-count' in tag 'amp-base-carousel' is set to the invalid value 'foo'. (see https://amp.dev/documentation/components/amp-base-carousel/) +amp-base-carousel/1.0/test/validator-amp-base-carousel.html:99:4 The attribute 'visible-count' in tag 'amp-base-carousel' is set to the invalid value 'foo'. (see https://amp.dev/documentation/components/amp-base-carousel/) | </amp-base-carousel> | <!-- Invalid: negative value in media query --> | <amp-base-carousel width="4" height="3" visible-count="(min-width: 800px) -3, (max-height: 1000px) 3, 1"> >> ^~~~~~~~~ -amp-base-carousel/1.0/test/validator-amp-base-carousel.html:117:4 The attribute 'visible-count' in tag 'amp-base-carousel' is set to the invalid value '(min-width: 800px) -3, (max-height: 1000px) 3, 1'. (see https://amp.dev/documentation/components/amp-base-carousel/) +amp-base-carousel/1.0/test/validator-amp-base-carousel.html:102:4 The attribute 'visible-count' in tag 'amp-base-carousel' is set to the invalid value '(min-width: 800px) -3, (max-height: 1000px) 3, 1'. (see https://amp.dev/documentation/components/amp-base-carousel/) | </amp-base-carousel> | </section> | @@ -162,22 +147,22 @@ amp-base-carousel/1.0/test/validator-amp-base-carousel.html:117:4 The attribute | <!-- Invalid: no default value--> | <amp-base-carousel width="4" height="3" orientation="(min-width: 800px) horizontal"> >> ^~~~~~~~~ -amp-base-carousel/1.0/test/validator-amp-base-carousel.html:136:4 The attribute 'orientation' in tag 'amp-base-carousel' is set to the invalid value '(min-width: 800px) horizontal'. (see https://amp.dev/documentation/components/amp-base-carousel/) +amp-base-carousel/1.0/test/validator-amp-base-carousel.html:121:4 The attribute 'orientation' in tag 'amp-base-carousel' is set to the invalid value '(min-width: 800px) horizontal'. (see https://amp.dev/documentation/components/amp-base-carousel/) | </amp-base-carousel> | <!-- Invalid: no value --> | <amp-base-carousel width="4" height="3" orientation> >> ^~~~~~~~~ -amp-base-carousel/1.0/test/validator-amp-base-carousel.html:139:4 The attribute 'orientation' in tag 'amp-base-carousel' is set to the invalid value ''. (see https://amp.dev/documentation/components/amp-base-carousel/) +amp-base-carousel/1.0/test/validator-amp-base-carousel.html:124:4 The attribute 'orientation' in tag 'amp-base-carousel' is set to the invalid value ''. (see https://amp.dev/documentation/components/amp-base-carousel/) | </amp-base-carousel> | <!-- Invalid: incorrect value --> | <amp-base-carousel width="4" height="3" orientation="true"> >> ^~~~~~~~~ -amp-base-carousel/1.0/test/validator-amp-base-carousel.html:142:4 The attribute 'orientation' in tag 'amp-base-carousel' is set to the invalid value 'true'. (see https://amp.dev/documentation/components/amp-base-carousel/) +amp-base-carousel/1.0/test/validator-amp-base-carousel.html:127:4 The attribute 'orientation' in tag 'amp-base-carousel' is set to the invalid value 'true'. (see https://amp.dev/documentation/components/amp-base-carousel/) | </amp-base-carousel> | <!-- Invalid: incorrect in media query --> | <amp-base-carousel width="4" height="3" orientation="(min-width: 800px) vertical, (max-height: 1000px) true, horizontal"> >> ^~~~~~~~~ -amp-base-carousel/1.0/test/validator-amp-base-carousel.html:145:4 The attribute 'orientation' in tag 'amp-base-carousel' is set to the invalid value '(min-width: 800px) vertical, (max-height: 1000px) true, horizontal'. (see https://amp.dev/documentation/components/amp-base-carousel/) +amp-base-carousel/1.0/test/validator-amp-base-carousel.html:130:4 The attribute 'orientation' in tag 'amp-base-carousel' is set to the invalid value '(min-width: 800px) vertical, (max-height: 1000px) true, horizontal'. (see https://amp.dev/documentation/components/amp-base-carousel/) | </amp-base-carousel> | </section> | @@ -192,7 +177,7 @@ amp-base-carousel/1.0/test/validator-amp-base-carousel.html:145:4 The attribute | <!-- Invalid: no space between media query and value --> | <amp-base-carousel width="4" height="3" auto-advance="(min-width: 800px)true, false"> >> ^~~~~~~~~ -amp-base-carousel/1.0/test/validator-amp-base-carousel.html:158:4 The attribute 'auto-advance' in tag 'amp-base-carousel' is set to the invalid value '(min-width: 800px)true, false'. (see https://amp.dev/documentation/components/amp-base-carousel/) +amp-base-carousel/1.0/test/validator-amp-base-carousel.html:143:4 The attribute 'auto-advance' in tag 'amp-base-carousel' is set to the invalid value '(min-width: 800px)true, false'. (see https://amp.dev/documentation/components/amp-base-carousel/) | </amp-base-carousel> | </section> | </body> diff --git a/extensions/amp-beopinion/0.1/test/validator-amp-beopinion.html b/extensions/amp-beopinion/0.1/test/validator-amp-beopinion.html index 98392284719f..16959cfd7824 100644 --- a/extensions/amp-beopinion/0.1/test/validator-amp-beopinion.html +++ b/extensions/amp-beopinion/0.1/test/validator-amp-beopinion.html @@ -1,18 +1,3 @@ -<!-- - Copyright 2018 The AMP HTML Authors. All Rights Reserved. - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS-IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the license. ---> <!-- Test Description: Tests for the amp-beopinion tag. diff --git a/extensions/amp-beopinion/0.1/test/validator-amp-beopinion.out b/extensions/amp-beopinion/0.1/test/validator-amp-beopinion.out index 7deee4006965..3828d02b1820 100644 --- a/extensions/amp-beopinion/0.1/test/validator-amp-beopinion.out +++ b/extensions/amp-beopinion/0.1/test/validator-amp-beopinion.out @@ -1,20 +1,5 @@ PASS | <!-- -| Copyright 2018 The AMP HTML Authors. All Rights Reserved. -| -| Licensed under the Apache License, Version 2.0 (the "License"); -| you may not use this file except in compliance with the License. -| You may obtain a copy of the License at -| -| http://www.apache.org/licenses/LICENSE-2.0 -| -| Unless required by applicable law or agreed to in writing, software -| distributed under the License is distributed on an "AS-IS" BASIS, -| WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -| See the License for the specific language governing permissions and -| limitations under the license. -| --> -| <!-- | Test Description: | Tests for the amp-beopinion tag. | --> diff --git a/extensions/amp-bind/0.1/test/validator-amp-bind.html b/extensions/amp-bind/0.1/test/validator-amp-bind.html index 1c8125e6b9ed..bd246d3719c0 100644 --- a/extensions/amp-bind/0.1/test/validator-amp-bind.html +++ b/extensions/amp-bind/0.1/test/validator-amp-bind.html @@ -1,18 +1,3 @@ -<!-- - Copyright 2015 The AMP HTML Authors. All Rights Reserved. - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS-IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the license. ---> <!-- Test Description: Basic test for amp-bind. --> diff --git a/extensions/amp-bind/0.1/test/validator-amp-bind.out b/extensions/amp-bind/0.1/test/validator-amp-bind.out index b28e16301bc4..89174da43964 100644 --- a/extensions/amp-bind/0.1/test/validator-amp-bind.out +++ b/extensions/amp-bind/0.1/test/validator-amp-bind.out @@ -1,20 +1,5 @@ PASS | <!-- -| Copyright 2015 The AMP HTML Authors. All Rights Reserved. -| -| Licensed under the Apache License, Version 2.0 (the "License"); -| you may not use this file except in compliance with the License. -| You may obtain a copy of the License at -| -| http://www.apache.org/licenses/LICENSE-2.0 -| -| Unless required by applicable law or agreed to in writing, software -| distributed under the License is distributed on an "AS-IS" BASIS, -| WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -| See the License for the specific language governing permissions and -| limitations under the license. -| --> -| <!-- | Test Description: Basic test for amp-bind. | --> | <!doctype html> diff --git a/extensions/amp-bodymovin-animation/0.1/test/validator-amp-bodymovin-animation.html b/extensions/amp-bodymovin-animation/0.1/test/validator-amp-bodymovin-animation.html index 93f40483a85a..ac1d501ec89c 100644 --- a/extensions/amp-bodymovin-animation/0.1/test/validator-amp-bodymovin-animation.html +++ b/extensions/amp-bodymovin-animation/0.1/test/validator-amp-bodymovin-animation.html @@ -1,18 +1,3 @@ -<!-- - Copyright 2018 The AMP HTML Authors. All Rights Reserved. - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS-IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the license. ---> <!-- Test Description: Tests for the amp-bodymovin-animation tag. See the inline comments. diff --git a/extensions/amp-bodymovin-animation/0.1/test/validator-amp-bodymovin-animation.out b/extensions/amp-bodymovin-animation/0.1/test/validator-amp-bodymovin-animation.out index 467bf4eb3c14..3285d8123b17 100644 --- a/extensions/amp-bodymovin-animation/0.1/test/validator-amp-bodymovin-animation.out +++ b/extensions/amp-bodymovin-animation/0.1/test/validator-amp-bodymovin-animation.out @@ -1,20 +1,5 @@ FAIL | <!-- -| Copyright 2018 The AMP HTML Authors. All Rights Reserved. -| -| Licensed under the Apache License, Version 2.0 (the "License"); -| you may not use this file except in compliance with the License. -| You may obtain a copy of the License at -| -| http://www.apache.org/licenses/LICENSE-2.0 -| -| Unless required by applicable law or agreed to in writing, software -| distributed under the License is distributed on an "AS-IS" BASIS, -| WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -| See the License for the specific language governing permissions and -| limitations under the license. -| --> -| <!-- | Test Description: | Tests for the amp-bodymovin-animation tag. See the inline comments. | --> @@ -61,18 +46,18 @@ FAIL | <!-- Invalid because missing `height` and `width` attributes for `layout="fixed"` --> | <amp-bodymovin-animation layout="fixed" src="https://nainar.github.io/loader.json"> >> ^~~~~~~~~ -amp-bodymovin-animation/0.1/test/validator-amp-bodymovin-animation.html:61:2 The mandatory attribute 'height' is missing in tag 'amp-bodymovin-animation'. (see https://amp.dev/documentation/components/amp-bodymovin-animation/) +amp-bodymovin-animation/0.1/test/validator-amp-bodymovin-animation.html:46:2 The mandatory attribute 'height' is missing in tag 'amp-bodymovin-animation'. (see https://amp.dev/documentation/components/amp-bodymovin-animation/) | </amp-bodymovin-animation> | | <!-- Invalid becuase `loop`is set to an invalid value. --> | <amp-bodymovin-animation layout="fixed" width="200" height="200" src="https://nainar.github.io/loader.json" loop='nope'> >> ^~~~~~~~~ -amp-bodymovin-animation/0.1/test/validator-amp-bodymovin-animation.html:65:2 The attribute 'loop' in tag 'amp-bodymovin-animation' is set to the invalid value 'nope'. (see https://amp.dev/documentation/components/amp-bodymovin-animation/) +amp-bodymovin-animation/0.1/test/validator-amp-bodymovin-animation.html:50:2 The attribute 'loop' in tag 'amp-bodymovin-animation' is set to the invalid value 'nope'. (see https://amp.dev/documentation/components/amp-bodymovin-animation/) | </amp-bodymovin-animation> | | <!-- Invalid becuase `autoplay`attribute isn't allowed on `<amp-bodymovin-animation>`. --> | <amp-bodymovin-animation layout="responsive" width="200" height="200" src="https://nainar.github.io/loader.json" loop='true' autoplay> >> ^~~~~~~~~ -amp-bodymovin-animation/0.1/test/validator-amp-bodymovin-animation.html:69:2 The attribute 'autoplay' may not appear in tag 'amp-bodymovin-animation'. (see https://amp.dev/documentation/components/amp-bodymovin-animation/) +amp-bodymovin-animation/0.1/test/validator-amp-bodymovin-animation.html:54:2 The attribute 'autoplay' may not appear in tag 'amp-bodymovin-animation'. (see https://amp.dev/documentation/components/amp-bodymovin-animation/) | </amp-bodymovin-animation> | </html> diff --git a/extensions/amp-brid-player/0.1/test/validator-amp-brid-player.html b/extensions/amp-brid-player/0.1/test/validator-amp-brid-player.html index 3a3c8ec41fbb..c0dde7a8ba25 100644 --- a/extensions/amp-brid-player/0.1/test/validator-amp-brid-player.html +++ b/extensions/amp-brid-player/0.1/test/validator-amp-brid-player.html @@ -1,18 +1,3 @@ -<!-- - Copyright 2015 The AMP HTML Authors. All Rights Reserved. - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS-IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the license. ---> <!-- Test Description: Tests support for the amp-brid-player tag. diff --git a/extensions/amp-brid-player/0.1/test/validator-amp-brid-player.out b/extensions/amp-brid-player/0.1/test/validator-amp-brid-player.out index 369b02971718..7f347c2f511a 100644 --- a/extensions/amp-brid-player/0.1/test/validator-amp-brid-player.out +++ b/extensions/amp-brid-player/0.1/test/validator-amp-brid-player.out @@ -1,20 +1,5 @@ FAIL | <!-- -| Copyright 2015 The AMP HTML Authors. All Rights Reserved. -| -| Licensed under the Apache License, Version 2.0 (the "License"); -| you may not use this file except in compliance with the License. -| You may obtain a copy of the License at -| -| http://www.apache.org/licenses/LICENSE-2.0 -| -| Unless required by applicable law or agreed to in writing, software -| distributed under the License is distributed on an "AS-IS" BASIS, -| WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -| See the License for the specific language governing permissions and -| limitations under the license. -| --> -| <!-- | Test Description: | Tests support for the amp-brid-player tag. | --> @@ -73,7 +58,7 @@ FAIL | <!-- Invalid example missing a player id. --> | <amp-brid-player >> ^~~~~~~~~ -amp-brid-player/0.1/test/validator-amp-brid-player.html:73:2 The mandatory attribute 'data-player' is missing in tag 'amp-brid-player'. (see https://amp.dev/documentation/components/amp-brid-player/) +amp-brid-player/0.1/test/validator-amp-brid-player.html:58:2 The mandatory attribute 'data-player' is missing in tag 'amp-brid-player'. (see https://amp.dev/documentation/components/amp-brid-player/) | data-partner="264" | data-video="13663" | layout="responsive" @@ -82,7 +67,7 @@ amp-brid-player/0.1/test/validator-amp-brid-player.html:73:2 The mandatory attri | <!-- Invalid example missing video, playlist and outstream. --> | <amp-brid-player >> ^~~~~~~~~ -amp-brid-player/0.1/test/validator-amp-brid-player.html:80:2 The tag 'amp-brid-player' is missing a mandatory attribute - pick one of ['data-carousel', 'data-outstream', 'data-playlist', 'data-video']. (see https://amp.dev/documentation/components/amp-brid-player/) +amp-brid-player/0.1/test/validator-amp-brid-player.html:65:2 The tag 'amp-brid-player' is missing a mandatory attribute - pick one of ['data-carousel', 'data-outstream', 'data-playlist', 'data-video']. (see https://amp.dev/documentation/components/amp-brid-player/) | data-partner="264" | data-player="4144" | layout="responsive" @@ -91,7 +76,7 @@ amp-brid-player/0.1/test/validator-amp-brid-player.html:80:2 The tag 'amp-brid-p | <!-- Invalid: `dock` without `amp-video-docking` extension. --> | <amp-brid-player >> ^~~~~~~~~ -amp-brid-player/0.1/test/validator-amp-brid-player.html:87:2 The attribute 'dock' requires including the 'amp-video-docking' extension JavaScript. +amp-brid-player/0.1/test/validator-amp-brid-player.html:72:2 The attribute 'dock' requires including the 'amp-video-docking' extension JavaScript. | dock | data-partner="264" | data-player="4144" diff --git a/extensions/amp-brightcove/0.1/test/validator-amp-brightcove.html b/extensions/amp-brightcove/0.1/test/validator-amp-brightcove.html index b6369a47902e..d2018e3adcd6 100644 --- a/extensions/amp-brightcove/0.1/test/validator-amp-brightcove.html +++ b/extensions/amp-brightcove/0.1/test/validator-amp-brightcove.html @@ -1,18 +1,3 @@ -<!-- - Copyright 2015 The AMP HTML Authors. All Rights Reserved. - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS-IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the license. ---> <!-- Test Description: Tests support for the amp-brightcove tag. diff --git a/extensions/amp-brightcove/0.1/test/validator-amp-brightcove.out b/extensions/amp-brightcove/0.1/test/validator-amp-brightcove.out index c09ef6a54bc1..c02e3f0ff123 100644 --- a/extensions/amp-brightcove/0.1/test/validator-amp-brightcove.out +++ b/extensions/amp-brightcove/0.1/test/validator-amp-brightcove.out @@ -1,20 +1,5 @@ FAIL | <!-- -| Copyright 2015 The AMP HTML Authors. All Rights Reserved. -| -| Licensed under the Apache License, Version 2.0 (the "License"); -| you may not use this file except in compliance with the License. -| You may obtain a copy of the License at -| -| http://www.apache.org/licenses/LICENSE-2.0 -| -| Unless required by applicable law or agreed to in writing, software -| distributed under the License is distributed on an "AS-IS" BASIS, -| WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -| See the License for the specific language governing permissions and -| limitations under the license. -| --> -| <!-- | Test Description: | Tests support for the amp-brightcove tag. | --> @@ -55,13 +40,13 @@ FAIL | leaving them out results in an error. --> | <amp-brightcove >> ^~~~~~~~~ -amp-brightcove/0.1/test/validator-amp-brightcove.html:55:2 The mandatory attribute 'data-account' is missing in tag 'amp-brightcove'. (see https://amp.dev/documentation/components/amp-brightcove/) +amp-brightcove/0.1/test/validator-amp-brightcove.html:40:2 The mandatory attribute 'data-account' is missing in tag 'amp-brightcove'. (see https://amp.dev/documentation/components/amp-brightcove/) | layout="responsive" width="480" height="270"> | </amp-brightcove> | <!-- Invalid: `dock` without `amp-video-docking` extension. --> | <amp-brightcove >> ^~~~~~~~~ -amp-brightcove/0.1/test/validator-amp-brightcove.html:59:2 The attribute 'dock' requires including the 'amp-video-docking' extension JavaScript. +amp-brightcove/0.1/test/validator-amp-brightcove.html:44:2 The attribute 'dock' requires including the 'amp-video-docking' extension JavaScript. | dock | data-account="1290862519001" | data-video-id="ref:amp-docs-sample" diff --git a/extensions/amp-brightcove/1.0/test/validator-amp-brightcove.html b/extensions/amp-brightcove/1.0/test/validator-amp-brightcove.html index b7283a057aaa..24ab0e441233 100644 --- a/extensions/amp-brightcove/1.0/test/validator-amp-brightcove.html +++ b/extensions/amp-brightcove/1.0/test/validator-amp-brightcove.html @@ -1,18 +1,3 @@ -<!-- - Copyright 2021 The AMP HTML Authors. All Rights Reserved. - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS-IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the license. ---> <!-- Test Description: Tests support for the amp-brightcove tag. diff --git a/extensions/amp-brightcove/1.0/test/validator-amp-brightcove.out b/extensions/amp-brightcove/1.0/test/validator-amp-brightcove.out index 7ae56c9fb31a..a1fa10c6e7a2 100644 --- a/extensions/amp-brightcove/1.0/test/validator-amp-brightcove.out +++ b/extensions/amp-brightcove/1.0/test/validator-amp-brightcove.out @@ -1,20 +1,5 @@ FAIL | <!-- -| Copyright 2021 The AMP HTML Authors. All Rights Reserved. -| -| Licensed under the Apache License, Version 2.0 (the "License"); -| you may not use this file except in compliance with the License. -| You may obtain a copy of the License at -| -| http://www.apache.org/licenses/LICENSE-2.0 -| -| Unless required by applicable law or agreed to in writing, software -| distributed under the License is distributed on an "AS-IS" BASIS, -| WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -| See the License for the specific language governing permissions and -| limitations under the license. -| --> -| <!-- | Test Description: | Tests support for the amp-brightcove tag. | --> @@ -55,13 +40,13 @@ FAIL | leaving them out results in an error. --> | <amp-brightcove >> ^~~~~~~~~ -amp-brightcove/1.0/test/validator-amp-brightcove.html:55:2 The mandatory attribute 'data-account' is missing in tag 'amp-brightcove'. (see https://amp.dev/documentation/components/amp-brightcove/) +amp-brightcove/1.0/test/validator-amp-brightcove.html:40:2 The mandatory attribute 'data-account' is missing in tag 'amp-brightcove'. (see https://amp.dev/documentation/components/amp-brightcove/) | layout="responsive" width="480" height="270"> | </amp-brightcove> | <!-- Invalid: `dock` without `amp-video-docking` extension. --> | <amp-brightcove >> ^~~~~~~~~ -amp-brightcove/1.0/test/validator-amp-brightcove.html:59:2 The attribute 'dock' requires including the 'amp-video-docking' extension JavaScript. +amp-brightcove/1.0/test/validator-amp-brightcove.html:44:2 The attribute 'dock' requires including the 'amp-video-docking' extension JavaScript. | dock | data-account="1290862519001" | data-video-id="ref:amp-docs-sample" diff --git a/extensions/amp-byside-content/0.1/test/validator-amp-byside-content.html b/extensions/amp-byside-content/0.1/test/validator-amp-byside-content.html index 813f18e0751b..869a298f2f65 100644 --- a/extensions/amp-byside-content/0.1/test/validator-amp-byside-content.html +++ b/extensions/amp-byside-content/0.1/test/validator-amp-byside-content.html @@ -1,18 +1,3 @@ -<!-- - Copyright 2018 The AMP HTML Authors. All Rights Reserved. - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS-IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the license. ---> <!-- Test Description: Tests support for the amp-byside-content tag. diff --git a/extensions/amp-byside-content/0.1/test/validator-amp-byside-content.out b/extensions/amp-byside-content/0.1/test/validator-amp-byside-content.out index 4a14146a68a0..438e54cd7012 100644 --- a/extensions/amp-byside-content/0.1/test/validator-amp-byside-content.out +++ b/extensions/amp-byside-content/0.1/test/validator-amp-byside-content.out @@ -1,20 +1,5 @@ FAIL | <!-- -| Copyright 2018 The AMP HTML Authors. All Rights Reserved. -| -| Licensed under the Apache License, Version 2.0 (the "License"); -| you may not use this file except in compliance with the License. -| You may obtain a copy of the License at -| -| http://www.apache.org/licenses/LICENSE-2.0 -| -| Unless required by applicable law or agreed to in writing, software -| distributed under the License is distributed on an "AS-IS" BASIS, -| WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -| See the License for the specific language governing permissions and -| limitations under the license. -| --> -| <!-- | Test Description: | Tests support for the amp-byside-content tag. | --> @@ -49,9 +34,9 @@ FAIL | leaving them out results in an error. --> | <amp-byside-content >> ^~~~~~~~~ -amp-byside-content/0.1/test/validator-amp-byside-content.html:49:2 The mandatory attribute 'data-label' is missing in tag 'amp-byside-content'. (see https://amp.dev/documentation/components/amp-byside-content) +amp-byside-content/0.1/test/validator-amp-byside-content.html:34:2 The mandatory attribute 'data-label' is missing in tag 'amp-byside-content'. (see https://amp.dev/documentation/components/amp-byside-content) >> ^~~~~~~~~ -amp-byside-content/0.1/test/validator-amp-byside-content.html:49:2 The mandatory attribute 'data-webcare-id' is missing in tag 'amp-byside-content'. (see https://amp.dev/documentation/components/amp-byside-content) +amp-byside-content/0.1/test/validator-amp-byside-content.html:34:2 The mandatory attribute 'data-webcare-id' is missing in tag 'amp-byside-content'. (see https://amp.dev/documentation/components/amp-byside-content) | data-lang="en" | data-channel="en" | height="300" diff --git a/extensions/amp-cache-url/0.1/test/validator-amp-cache-url.html b/extensions/amp-cache-url/0.1/test/validator-amp-cache-url.html index c7da9747c990..d5c088d169e9 100644 --- a/extensions/amp-cache-url/0.1/test/validator-amp-cache-url.html +++ b/extensions/amp-cache-url/0.1/test/validator-amp-cache-url.html @@ -1,18 +1,3 @@ -<!-- - Copyright 2021 The AMP HTML Authors. All Rights Reserved. - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS-IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the license. ---> <!-- Test Description: Tests for amp-cache-url tag. diff --git a/extensions/amp-cache-url/0.1/test/validator-amp-cache-url.out b/extensions/amp-cache-url/0.1/test/validator-amp-cache-url.out index d3ae144e90b1..2ff01578ed4c 100644 --- a/extensions/amp-cache-url/0.1/test/validator-amp-cache-url.out +++ b/extensions/amp-cache-url/0.1/test/validator-amp-cache-url.out @@ -1,20 +1,5 @@ PASS | <!-- -| Copyright 2021 The AMP HTML Authors. All Rights Reserved. -| -| Licensed under the Apache License, Version 2.0 (the "License"); -| you may not use this file except in compliance with the License. -| You may obtain a copy of the License at -| -| http://www.apache.org/licenses/LICENSE-2.0 -| -| Unless required by applicable law or agreed to in writing, software -| distributed under the License is distributed on an "AS-IS" BASIS, -| WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -| See the License for the specific language governing permissions and -| limitations under the license. -| --> -| <!-- | Test Description: | Tests for amp-cache-url tag. | --> diff --git a/extensions/amp-call-tracking/0.1/test/validator-amp-call-tracking.html b/extensions/amp-call-tracking/0.1/test/validator-amp-call-tracking.html index 7d39e8ea6c57..6a4c164a77ed 100644 --- a/extensions/amp-call-tracking/0.1/test/validator-amp-call-tracking.html +++ b/extensions/amp-call-tracking/0.1/test/validator-amp-call-tracking.html @@ -1,18 +1,3 @@ -<!-- - Copyright 2017 The AMP HTML Authors. All Rights Reserved. - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS-IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the license. ---> <!-- Test Description: Tests for the amp-call-tracking tag. diff --git a/extensions/amp-call-tracking/0.1/test/validator-amp-call-tracking.out b/extensions/amp-call-tracking/0.1/test/validator-amp-call-tracking.out index b7c2e6db4271..d84e4bc77d42 100644 --- a/extensions/amp-call-tracking/0.1/test/validator-amp-call-tracking.out +++ b/extensions/amp-call-tracking/0.1/test/validator-amp-call-tracking.out @@ -1,20 +1,5 @@ FAIL | <!-- -| Copyright 2017 The AMP HTML Authors. All Rights Reserved. -| -| Licensed under the Apache License, Version 2.0 (the "License"); -| you may not use this file except in compliance with the License. -| You may obtain a copy of the License at -| -| http://www.apache.org/licenses/LICENSE-2.0 -| -| Unless required by applicable law or agreed to in writing, software -| distributed under the License is distributed on an "AS-IS" BASIS, -| WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -| See the License for the specific language governing permissions and -| limitations under the license. -| --> -| <!-- | Test Description: | Tests for the amp-call-tracking tag. | --> @@ -37,13 +22,13 @@ FAIL | <!-- Invalid: no <A> tag --> | <amp-call-tracking config="https://example.com/calltracking.json"> >> ^~~~~~~~~ -amp-call-tracking/0.1/test/validator-amp-call-tracking.html:37:2 Tag 'amp-call-tracking' must have 1 child tags - saw 0 child tags. (see https://amp.dev/documentation/components/amp-call-tracking/) +amp-call-tracking/0.1/test/validator-amp-call-tracking.html:22:2 Tag 'amp-call-tracking' must have 1 child tags - saw 0 child tags. (see https://amp.dev/documentation/components/amp-call-tracking/) | </amp-call-tracking> | | <!-- Invalid: more than one <A> tag --> | <amp-call-tracking config="https://example.com/calltracking.json"> >> ^~~~~~~~~ -amp-call-tracking/0.1/test/validator-amp-call-tracking.html:41:2 Tag 'amp-call-tracking' must have 1 child tags - saw 2 child tags. (see https://amp.dev/documentation/components/amp-call-tracking/) +amp-call-tracking/0.1/test/validator-amp-call-tracking.html:26:2 Tag 'amp-call-tracking' must have 1 child tags - saw 2 child tags. (see https://amp.dev/documentation/components/amp-call-tracking/) | <a href="tel:12345678">+1 (23) 45-678</a> | <a href="tel:98765432">(987) 654-321</a> | </amp-call-tracking> @@ -51,7 +36,7 @@ amp-call-tracking/0.1/test/validator-amp-call-tracking.html:41:2 Tag 'amp-call-t | <!-- Invalid: no "config" attribute --> | <amp-call-tracking> >> ^~~~~~~~~ -amp-call-tracking/0.1/test/validator-amp-call-tracking.html:47:2 The mandatory attribute 'config' is missing in tag 'amp-call-tracking'. (see https://amp.dev/documentation/components/amp-call-tracking/) +amp-call-tracking/0.1/test/validator-amp-call-tracking.html:32:2 The mandatory attribute 'config' is missing in tag 'amp-call-tracking'. (see https://amp.dev/documentation/components/amp-call-tracking/) | <a href="tel:12345678">+1 (23) 45-678</a> | </amp-call-tracking> | @@ -59,7 +44,7 @@ amp-call-tracking/0.1/test/validator-amp-call-tracking.html:47:2 The mandatory a | <amp-call-tracking config="https://example.com/calltracking.json"> | <div></div> >> ^~~~~~~~~ -amp-call-tracking/0.1/test/validator-amp-call-tracking.html:53:4 Tag 'div' is disallowed as child of tag 'amp-call-tracking'. Child tag must be one of ['a']. (see https://amp.dev/documentation/components/amp-call-tracking/) +amp-call-tracking/0.1/test/validator-amp-call-tracking.html:38:4 Tag 'div' is disallowed as child of tag 'amp-call-tracking'. Child tag must be one of ['a']. (see https://amp.dev/documentation/components/amp-call-tracking/) | </amp-call-tracking> | </body> | </html> diff --git a/extensions/amp-carousel/0.2/test/validator-amp-carousel-error-msg.html b/extensions/amp-carousel/0.2/test/validator-amp-carousel-error-msg.html index b6d0c3c73d29..60a998f927a1 100644 --- a/extensions/amp-carousel/0.2/test/validator-amp-carousel-error-msg.html +++ b/extensions/amp-carousel/0.2/test/validator-amp-carousel-error-msg.html @@ -1,18 +1,3 @@ -<!-- - Copyright 2016 The AMP HTML Authors. All Rights Reserved. - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS-IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the license. ---> <!-- Test Description: Tests for the amp-carousel tag. There are multiple tagspecs for each carousel diff --git a/extensions/amp-carousel/0.2/test/validator-amp-carousel-error-msg.out b/extensions/amp-carousel/0.2/test/validator-amp-carousel-error-msg.out index b1f6ba3ede49..7f8b0dc0be57 100644 --- a/extensions/amp-carousel/0.2/test/validator-amp-carousel-error-msg.out +++ b/extensions/amp-carousel/0.2/test/validator-amp-carousel-error-msg.out @@ -1,20 +1,5 @@ FAIL | <!-- -| Copyright 2016 The AMP HTML Authors. All Rights Reserved. -| -| Licensed under the Apache License, Version 2.0 (the "License"); -| you may not use this file except in compliance with the License. -| You may obtain a copy of the License at -| -| http://www.apache.org/licenses/LICENSE-2.0 -| -| Unless required by applicable law or agreed to in writing, software -| distributed under the License is distributed on an "AS-IS" BASIS, -| WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -| See the License for the specific language governing permissions and -| limitations under the license. -| --> -| <!-- | Test Description: | Tests for the amp-carousel tag. There are multiple tagspecs for each carousel | and we want to see if the error messages are any good at distinguishing. @@ -32,9 +17,9 @@ FAIL | <!-- Invalid: Missing script, test is to see if the error message is OK. --> | <amp-carousel layout=fill></amp-carousel> >> ^~~~~~~~~ -amp-carousel/0.2/test/validator-amp-carousel-error-msg.html:32:2 The tag 'amp-carousel' requires including the 'amp-carousel' extension JavaScript. (see https://amp.dev/documentation/components/amp-carousel/) +amp-carousel/0.2/test/validator-amp-carousel-error-msg.html:17:2 The tag 'amp-carousel' requires including the 'amp-carousel' extension JavaScript. (see https://amp.dev/documentation/components/amp-carousel/) | <amp-carousel width="600" height="522" layout="responsive" type="slides" controls></amp-carousel> >> ^~~~~~~~~ -amp-carousel/0.2/test/validator-amp-carousel-error-msg.html:33:2 The tag 'amp-carousel' requires including the 'amp-carousel' extension JavaScript. (see https://amp.dev/documentation/components/amp-carousel/) +amp-carousel/0.2/test/validator-amp-carousel-error-msg.html:18:2 The tag 'amp-carousel' requires including the 'amp-carousel' extension JavaScript. (see https://amp.dev/documentation/components/amp-carousel/) | </body> | </html> diff --git a/extensions/amp-carousel/0.2/test/validator-amp-carousel.html b/extensions/amp-carousel/0.2/test/validator-amp-carousel.html index 3b5a82bcb657..d145cc2fe0ca 100644 --- a/extensions/amp-carousel/0.2/test/validator-amp-carousel.html +++ b/extensions/amp-carousel/0.2/test/validator-amp-carousel.html @@ -1,18 +1,3 @@ -<!-- - Copyright 2016 The AMP HTML Authors. All Rights Reserved. - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS-IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the license. ---> <!-- Test Description: Tests for the amp-carousel tag. See the inline comments. diff --git a/extensions/amp-carousel/0.2/test/validator-amp-carousel.out b/extensions/amp-carousel/0.2/test/validator-amp-carousel.out index 9beeb8c5fa6e..7dac9605fa65 100644 --- a/extensions/amp-carousel/0.2/test/validator-amp-carousel.out +++ b/extensions/amp-carousel/0.2/test/validator-amp-carousel.out @@ -1,20 +1,5 @@ FAIL | <!-- -| Copyright 2016 The AMP HTML Authors. All Rights Reserved. -| -| Licensed under the Apache License, Version 2.0 (the "License"); -| you may not use this file except in compliance with the License. -| You may obtain a copy of the License at -| -| http://www.apache.org/licenses/LICENSE-2.0 -| -| Unless required by applicable law or agreed to in writing, software -| distributed under the License is distributed on an "AS-IS" BASIS, -| WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -| See the License for the specific language governing permissions and -| limitations under the license. -| --> -| <!-- | Test Description: | Tests for the amp-carousel tag. See the inline comments. | --> @@ -32,7 +17,7 @@ FAIL | <!-- Invalid: Wrong delay attribute usage --> | <amp-carousel layout="fixed" width=500 height=500 autoplay delay> >> ^~~~~~~~~ -amp-carousel/0.2/test/validator-amp-carousel.html:32:2 The attribute 'delay' in tag 'amp-carousel' is set to the invalid value ''. (see https://amp.dev/documentation/components/amp-carousel/) +amp-carousel/0.2/test/validator-amp-carousel.html:17:2 The attribute 'delay' in tag 'amp-carousel' is set to the invalid value ''. (see https://amp.dev/documentation/components/amp-carousel/) | </amp-carousel> | <!-- Valid: Correct delay attribute usage --> | <amp-carousel layout="fixed" width=500 height=500 autoplay delay=5000> diff --git a/extensions/amp-connatix-player/0.1/test/validator-amp-connatix-player.html b/extensions/amp-connatix-player/0.1/test/validator-amp-connatix-player.html index 14319f44566d..1ec5cfefaa42 100644 --- a/extensions/amp-connatix-player/0.1/test/validator-amp-connatix-player.html +++ b/extensions/amp-connatix-player/0.1/test/validator-amp-connatix-player.html @@ -1,18 +1,3 @@ -<!-- - Copyright 2019 The AMP HTML Authors. All Rights Reserved. - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS-IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the license. ---> <!-- Test Description: Tests for the amp-connatix-player tag. diff --git a/extensions/amp-connatix-player/0.1/test/validator-amp-connatix-player.out b/extensions/amp-connatix-player/0.1/test/validator-amp-connatix-player.out index 4e9a41b67022..046e939db407 100644 --- a/extensions/amp-connatix-player/0.1/test/validator-amp-connatix-player.out +++ b/extensions/amp-connatix-player/0.1/test/validator-amp-connatix-player.out @@ -1,20 +1,5 @@ FAIL | <!-- -| Copyright 2019 The AMP HTML Authors. All Rights Reserved. -| -| Licensed under the Apache License, Version 2.0 (the "License"); -| you may not use this file except in compliance with the License. -| You may obtain a copy of the License at -| -| http://www.apache.org/licenses/LICENSE-2.0 -| -| Unless required by applicable law or agreed to in writing, software -| distributed under the License is distributed on an "AS-IS" BASIS, -| WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -| See the License for the specific language governing permissions and -| limitations under the license. -| --> -| <!-- | Test Description: | Tests for the amp-connatix-player tag. | --> @@ -38,7 +23,7 @@ FAIL | <!-- Invalid: missing required data-player-id attribute --> | <amp-connatix-player >> ^~~~~~~~~ -amp-connatix-player/0.1/test/validator-amp-connatix-player.html:38:2 The mandatory attribute 'data-player-id' is missing in tag 'amp-connatix-player'. (see https://amp.dev/documentation/components/amp-connatix-player/) +amp-connatix-player/0.1/test/validator-amp-connatix-player.html:23:2 The mandatory attribute 'data-player-id' is missing in tag 'amp-connatix-player'. (see https://amp.dev/documentation/components/amp-connatix-player/) | layout="responsive" | width="150" | height="80"> diff --git a/extensions/amp-consent/0.1/test/validator-amp-consent-invalid-no-meta.html b/extensions/amp-consent/0.1/test/validator-amp-consent-invalid-no-meta.html index bc878c605d9c..35764b50ea6f 100644 --- a/extensions/amp-consent/0.1/test/validator-amp-consent-invalid-no-meta.html +++ b/extensions/amp-consent/0.1/test/validator-amp-consent-invalid-no-meta.html @@ -1,18 +1,3 @@ -<!-- - Copyright 2019 The AMP HTML Authors. All Rights Reserved. - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS-IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the license. ---> <!-- Test Description: This tests for amp-consent syntax. diff --git a/extensions/amp-consent/0.1/test/validator-amp-consent-invalid-no-meta.out b/extensions/amp-consent/0.1/test/validator-amp-consent-invalid-no-meta.out index e764d8d254fb..12bb6bfc1d09 100644 --- a/extensions/amp-consent/0.1/test/validator-amp-consent-invalid-no-meta.out +++ b/extensions/amp-consent/0.1/test/validator-amp-consent-invalid-no-meta.out @@ -1,20 +1,5 @@ FAIL | <!-- -| Copyright 2019 The AMP HTML Authors. All Rights Reserved. -| -| Licensed under the Apache License, Version 2.0 (the "License"); -| you may not use this file except in compliance with the License. -| You may obtain a copy of the License at -| -| http://www.apache.org/licenses/LICENSE-2.0 -| -| Unless required by applicable law or agreed to in writing, software -| distributed under the License is distributed on an "AS-IS" BASIS, -| WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -| See the License for the specific language governing permissions and -| limitations under the license. -| --> -| <!-- | Test Description: | This tests for amp-consent syntax. | --> @@ -41,4 +26,4 @@ FAIL | </body> | </html> >> ^~~~~~~~~ -amp-consent/0.1/test/validator-amp-consent-invalid-no-meta.html:41:6 The tag 'meta name=amp-consent-blocking' is missing or incorrect, but required by 'amp-consent'. (see https://amp.dev/documentation/components/amp-consent) +amp-consent/0.1/test/validator-amp-consent-invalid-no-meta.html:26:6 The tag 'meta name=amp-consent-blocking' is missing or incorrect, but required by 'amp-consent'. (see https://amp.dev/documentation/components/amp-consent) diff --git a/extensions/amp-consent/0.1/test/validator-amp-consent-invalid.html b/extensions/amp-consent/0.1/test/validator-amp-consent-invalid.html index 3a5119aa46c5..813ab385d917 100644 --- a/extensions/amp-consent/0.1/test/validator-amp-consent-invalid.html +++ b/extensions/amp-consent/0.1/test/validator-amp-consent-invalid.html @@ -1,18 +1,3 @@ -<!-- - Copyright 2018 The AMP HTML Authors. All Rights Reserved. - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS-IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the license. ---> <!-- Test Description: This tests for amp-consent syntax. diff --git a/extensions/amp-consent/0.1/test/validator-amp-consent-invalid.out b/extensions/amp-consent/0.1/test/validator-amp-consent-invalid.out index 6daed4172f16..3c98d9b57c5e 100644 --- a/extensions/amp-consent/0.1/test/validator-amp-consent-invalid.out +++ b/extensions/amp-consent/0.1/test/validator-amp-consent-invalid.out @@ -1,20 +1,5 @@ FAIL | <!-- -| Copyright 2018 The AMP HTML Authors. All Rights Reserved. -| -| Licensed under the Apache License, Version 2.0 (the "License"); -| you may not use this file except in compliance with the License. -| You may obtain a copy of the License at -| -| http://www.apache.org/licenses/LICENSE-2.0 -| -| Unless required by applicable law or agreed to in writing, software -| distributed under the License is distributed on an "AS-IS" BASIS, -| WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -| See the License for the specific language governing permissions and -| limitations under the license. -| --> -| <!-- | Test Description: | This tests for amp-consent syntax. | --> @@ -42,7 +27,7 @@ FAIL | <!-- Invalid: multiple amp-consent --> | <amp-consent id='ABC' layout='nodisplay'> >> ^~~~~~~~~ -amp-consent/0.1/test/validator-amp-consent-invalid.html:42:0 The tag 'amp-consent' appears more than once in the document. (see https://amp.dev/documentation/components/amp-consent) +amp-consent/0.1/test/validator-amp-consent-invalid.html:27:0 The tag 'amp-consent' appears more than once in the document. (see https://amp.dev/documentation/components/amp-consent) | <div id='ui1'>UI1 | <button>Accept</button> | </div> @@ -53,4 +38,4 @@ amp-consent/0.1/test/validator-amp-consent-invalid.html:42:0 The tag 'amp-consen | </body> | </html> >> ^~~~~~~~~ -amp-consent/0.1/test/validator-amp-consent-invalid.html:51:6 The tag 'amp-consent extension .json script' is missing or incorrect, but required by 'amp-consent'. (see https://amp.dev/documentation/components/amp-consent) +amp-consent/0.1/test/validator-amp-consent-invalid.html:36:6 The tag 'amp-consent extension .json script' is missing or incorrect, but required by 'amp-consent'. (see https://amp.dev/documentation/components/amp-consent) diff --git a/extensions/amp-consent/0.1/test/validator-amp-consent-multi.html b/extensions/amp-consent/0.1/test/validator-amp-consent-multi.html index 8daf5851de42..dd497c43091b 100644 --- a/extensions/amp-consent/0.1/test/validator-amp-consent-multi.html +++ b/extensions/amp-consent/0.1/test/validator-amp-consent-multi.html @@ -1,18 +1,3 @@ -<!-- - Copyright 2019 The AMP HTML Authors. All Rights Reserved. - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS-IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the license. ---> <!-- Test Description: This tests for amp-consent syntax. diff --git a/extensions/amp-consent/0.1/test/validator-amp-consent-multi.out b/extensions/amp-consent/0.1/test/validator-amp-consent-multi.out index cc5b70a012fb..24d6b3813ece 100644 --- a/extensions/amp-consent/0.1/test/validator-amp-consent-multi.out +++ b/extensions/amp-consent/0.1/test/validator-amp-consent-multi.out @@ -1,20 +1,5 @@ FAIL | <!-- -| Copyright 2019 The AMP HTML Authors. All Rights Reserved. -| -| Licensed under the Apache License, Version 2.0 (the "License"); -| you may not use this file except in compliance with the License. -| You may obtain a copy of the License at -| -| http://www.apache.org/licenses/LICENSE-2.0 -| -| Unless required by applicable law or agreed to in writing, software -| distributed under the License is distributed on an "AS-IS" BASIS, -| WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -| See the License for the specific language governing permissions and -| limitations under the license. -| --> -| <!-- | Test Description: | This tests for amp-consent syntax. | --> @@ -48,4 +33,4 @@ FAIL | </body> | </html> >> ^~~~~~~~~ -amp-consent/0.1/test/validator-amp-consent-multi.html:48:6 The tag 'amp-consent' is present, but is excluded by the presence of 'amp-consent [type]'. (see https://amp.dev/documentation/components/amp-consent) +amp-consent/0.1/test/validator-amp-consent-multi.html:33:6 The tag 'amp-consent' is present, but is excluded by the presence of 'amp-consent [type]'. (see https://amp.dev/documentation/components/amp-consent) diff --git a/extensions/amp-consent/0.1/test/validator-amp-consent-type.html b/extensions/amp-consent/0.1/test/validator-amp-consent-type.html index dfec87f9d796..8e048a16aa3e 100644 --- a/extensions/amp-consent/0.1/test/validator-amp-consent-type.html +++ b/extensions/amp-consent/0.1/test/validator-amp-consent-type.html @@ -1,18 +1,3 @@ -<!-- - Copyright 2019 The AMP HTML Authors. All Rights Reserved. - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS-IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the license. ---> <!-- Test Description: This tests for amp-consent syntax. diff --git a/extensions/amp-consent/0.1/test/validator-amp-consent-type.out b/extensions/amp-consent/0.1/test/validator-amp-consent-type.out index 8537f4a1c89b..c9e3d4375a94 100644 --- a/extensions/amp-consent/0.1/test/validator-amp-consent-type.out +++ b/extensions/amp-consent/0.1/test/validator-amp-consent-type.out @@ -1,20 +1,5 @@ PASS | <!-- -| Copyright 2019 The AMP HTML Authors. All Rights Reserved. -| -| Licensed under the Apache License, Version 2.0 (the "License"); -| you may not use this file except in compliance with the License. -| You may obtain a copy of the License at -| -| http://www.apache.org/licenses/LICENSE-2.0 -| -| Unless required by applicable law or agreed to in writing, software -| distributed under the License is distributed on an "AS-IS" BASIS, -| WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -| See the License for the specific language governing permissions and -| limitations under the license. -| --> -| <!-- | Test Description: | This tests for amp-consent syntax. | --> diff --git a/extensions/amp-consent/0.1/test/validator-amp-consent.html b/extensions/amp-consent/0.1/test/validator-amp-consent.html index feabc92212f5..d471161021b6 100644 --- a/extensions/amp-consent/0.1/test/validator-amp-consent.html +++ b/extensions/amp-consent/0.1/test/validator-amp-consent.html @@ -1,18 +1,3 @@ -<!-- - Copyright 2018 The AMP HTML Authors. All Rights Reserved. - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS-IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the license. ---> <!-- Test Description: This tests for amp-consent syntax. diff --git a/extensions/amp-consent/0.1/test/validator-amp-consent.out b/extensions/amp-consent/0.1/test/validator-amp-consent.out index 85bf2163021b..2c6f7a185ed1 100644 --- a/extensions/amp-consent/0.1/test/validator-amp-consent.out +++ b/extensions/amp-consent/0.1/test/validator-amp-consent.out @@ -1,20 +1,5 @@ PASS | <!-- -| Copyright 2018 The AMP HTML Authors. All Rights Reserved. -| -| Licensed under the Apache License, Version 2.0 (the "License"); -| you may not use this file except in compliance with the License. -| You may obtain a copy of the License at -| -| http://www.apache.org/licenses/LICENSE-2.0 -| -| Unless required by applicable law or agreed to in writing, software -| distributed under the License is distributed on an "AS-IS" BASIS, -| WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -| See the License for the specific language governing permissions and -| limitations under the license. -| --> -| <!-- | Test Description: | This tests for amp-consent syntax. | --> diff --git a/extensions/amp-dailymotion/0.1/test/validator-amp-dailymotion.html b/extensions/amp-dailymotion/0.1/test/validator-amp-dailymotion.html index 9a7c0ee43d3f..83a5e4c3e044 100644 --- a/extensions/amp-dailymotion/0.1/test/validator-amp-dailymotion.html +++ b/extensions/amp-dailymotion/0.1/test/validator-amp-dailymotion.html @@ -1,18 +1,3 @@ -<!-- - Copyright 2015 The AMP HTML Authors. All Rights Reserved. - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS-IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the license. ---> <!-- Test Description: This tests validation for the amp-dailymotion tag. diff --git a/extensions/amp-dailymotion/0.1/test/validator-amp-dailymotion.out b/extensions/amp-dailymotion/0.1/test/validator-amp-dailymotion.out index 016fb61d26c7..b6ba89bc6fb0 100644 --- a/extensions/amp-dailymotion/0.1/test/validator-amp-dailymotion.out +++ b/extensions/amp-dailymotion/0.1/test/validator-amp-dailymotion.out @@ -1,20 +1,5 @@ FAIL | <!-- -| Copyright 2015 The AMP HTML Authors. All Rights Reserved. -| -| Licensed under the Apache License, Version 2.0 (the "License"); -| you may not use this file except in compliance with the License. -| You may obtain a copy of the License at -| -| http://www.apache.org/licenses/LICENSE-2.0 -| -| Unless required by applicable law or agreed to in writing, software -| distributed under the License is distributed on an "AS-IS" BASIS, -| WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -| See the License for the specific language governing permissions and -| limitations under the license. -| --> -| <!-- | Test Description: | This tests validation for the amp-dailymotion tag. | --> @@ -47,18 +32,18 @@ FAIL | <!-- invalid: videoid bad --> | <amp-dailymotion data-videoid="i don't think so" width="500" height="281" >> ^~~~~~~~~ -amp-dailymotion/0.1/test/validator-amp-dailymotion.html:47:0 The attribute 'data-videoid' in tag 'amp-dailymotion' is set to the invalid value 'i don't think so'. (see https://amp.dev/documentation/components/amp-dailymotion/) +amp-dailymotion/0.1/test/validator-amp-dailymotion.html:32:0 The attribute 'data-videoid' in tag 'amp-dailymotion' is set to the invalid value 'i don't think so'. (see https://amp.dev/documentation/components/amp-dailymotion/) | layout="responsive"></amp-dailymotion> | | <!-- invalid: videoid missing --> | <amp-dailymotion width="500" height="281" layout="responsive"></amp-dailymotion> >> ^~~~~~~~~ -amp-dailymotion/0.1/test/validator-amp-dailymotion.html:51:0 The mandatory attribute 'data-videoid' is missing in tag 'amp-dailymotion'. (see https://amp.dev/documentation/components/amp-dailymotion/) +amp-dailymotion/0.1/test/validator-amp-dailymotion.html:36:0 The mandatory attribute 'data-videoid' is missing in tag 'amp-dailymotion'. (see https://amp.dev/documentation/components/amp-dailymotion/) | | <!-- invalid: bad attr value --> | <amp-dailymotion data-videoid="jx2m8pp" width="500" height="281" layout="responsive" >> ^~~~~~~~~ -amp-dailymotion/0.1/test/validator-amp-dailymotion.html:54:0 The attribute 'data-ui-highlight' in tag 'amp-dailymotion' is set to the invalid value 'blue'. (see https://amp.dev/documentation/components/amp-dailymotion/) +amp-dailymotion/0.1/test/validator-amp-dailymotion.html:39:0 The attribute 'data-ui-highlight' in tag 'amp-dailymotion' is set to the invalid value 'blue'. (see https://amp.dev/documentation/components/amp-dailymotion/) | data-ui-highlight="blue"> | </amp-dailymotion> | @@ -70,6 +55,6 @@ amp-dailymotion/0.1/test/validator-amp-dailymotion.html:54:0 The attribute 'data | <!-- invalid: dock without amp-video-docking extension --> | <amp-dailymotion data-videoid="x2m8jpp" width="500" height="281" dock></amp-dailymotion> >> ^~~~~~~~~ -amp-dailymotion/0.1/test/validator-amp-dailymotion.html:64:0 The attribute 'dock' requires including the 'amp-video-docking' extension JavaScript. +amp-dailymotion/0.1/test/validator-amp-dailymotion.html:49:0 The attribute 'dock' requires including the 'amp-video-docking' extension JavaScript. | </body> | </html> \ No newline at end of file diff --git a/extensions/amp-date-countdown/0.1/test/validator-amp-date-countdown.html b/extensions/amp-date-countdown/0.1/test/validator-amp-date-countdown.html index a8e5545ff208..b936ce82b477 100644 --- a/extensions/amp-date-countdown/0.1/test/validator-amp-date-countdown.html +++ b/extensions/amp-date-countdown/0.1/test/validator-amp-date-countdown.html @@ -1,15 +1,3 @@ -<!-- - Copyright 2018 The AMP HTML Authors. All Rights Reserved. - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - http://www.apache.org/licenses/LICENSE-2.0 - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS-IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the license. ---> <!-- Test Description: This is the minimum valid AMP document; it includes all of the required diff --git a/extensions/amp-date-countdown/0.1/test/validator-amp-date-countdown.out b/extensions/amp-date-countdown/0.1/test/validator-amp-date-countdown.out index 11e1bc7b4186..f25a49f57fd8 100644 --- a/extensions/amp-date-countdown/0.1/test/validator-amp-date-countdown.out +++ b/extensions/amp-date-countdown/0.1/test/validator-amp-date-countdown.out @@ -1,17 +1,5 @@ FAIL | <!-- -| Copyright 2018 The AMP HTML Authors. All Rights Reserved. -| Licensed under the Apache License, Version 2.0 (the "License"); -| you may not use this file except in compliance with the License. -| You may obtain a copy of the License at -| http://www.apache.org/licenses/LICENSE-2.0 -| Unless required by applicable law or agreed to in writing, software -| distributed under the License is distributed on an "AS-IS" BASIS, -| WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -| See the License for the specific language governing permissions and -| limitations under the license. -| --> -| <!-- | Test Description: | This is the minimum valid AMP document; it includes all of the required | fields from the spec, but nothing else. @@ -161,7 +149,7 @@ FAIL | <!-- Should error if the `template` referent is missing. --> | <amp-date-countdown timestamp-ms="1521880470000" offset-seconds="1521880470" when-ended="stop" locale='zh-tw' height="50" width="360" template="notMyTemplate"> >> ^~~~~~~~~ -amp-date-countdown/0.1/test/validator-amp-date-countdown.html:161:2 Attribute 'template' in tag 'amp-date-countdown' contains a value that does not match any other tags on the page. (see https://amp.dev/documentation/components/amp-date-countdown) +amp-date-countdown/0.1/test/validator-amp-date-countdown.html:149:2 Attribute 'template' in tag 'amp-date-countdown' contains a value that does not match any other tags on the page. (see https://amp.dev/documentation/components/amp-date-countdown) | </amp-date-countdown> | | <!-- Should allow `data-count-up` attribute. --> @@ -171,7 +159,7 @@ amp-date-countdown/0.1/test/validator-amp-date-countdown.html:161:2 Attribute 't | <!-- Should error if `data-count-up` attribute is given a non-empty value. --> | <amp-date-countdown data-count-up="true" timestamp-seconds="1521880470" offset-seconds="1521880470" when-ended="continue" locale='de' height="50" width="360" template="myTemplate"> >> ^~~~~~~~~ -amp-date-countdown/0.1/test/validator-amp-date-countdown.html:169:2 The attribute 'data-count-up' in tag 'amp-date-countdown' is set to the invalid value 'true'. (see https://amp.dev/documentation/components/amp-date-countdown) +amp-date-countdown/0.1/test/validator-amp-date-countdown.html:157:2 The attribute 'data-count-up' in tag 'amp-date-countdown' is set to the invalid value 'true'. (see https://amp.dev/documentation/components/amp-date-countdown) | </amp-date-countdown> | | </body> diff --git a/extensions/amp-date-countdown/1.0/test/validator-amp-date-countdown.html b/extensions/amp-date-countdown/1.0/test/validator-amp-date-countdown.html index bae9c451404c..2ec72d5630a0 100644 --- a/extensions/amp-date-countdown/1.0/test/validator-amp-date-countdown.html +++ b/extensions/amp-date-countdown/1.0/test/validator-amp-date-countdown.html @@ -1,15 +1,3 @@ -<!-- - Copyright 2018 The AMP HTML Authors. All Rights Reserved. - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - http://www.apache.org/licenses/LICENSE-2.0 - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS-IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the license. ---> <!-- Test Description: This is the minimum valid AMP document; it includes all of the required diff --git a/extensions/amp-date-countdown/1.0/test/validator-amp-date-countdown.out b/extensions/amp-date-countdown/1.0/test/validator-amp-date-countdown.out index 985916d4707f..db49f5692745 100644 --- a/extensions/amp-date-countdown/1.0/test/validator-amp-date-countdown.out +++ b/extensions/amp-date-countdown/1.0/test/validator-amp-date-countdown.out @@ -1,17 +1,5 @@ FAIL | <!-- -| Copyright 2018 The AMP HTML Authors. All Rights Reserved. -| Licensed under the Apache License, Version 2.0 (the "License"); -| you may not use this file except in compliance with the License. -| You may obtain a copy of the License at -| http://www.apache.org/licenses/LICENSE-2.0 -| Unless required by applicable law or agreed to in writing, software -| distributed under the License is distributed on an "AS-IS" BASIS, -| WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -| See the License for the specific language governing permissions and -| limitations under the license. -| --> -| <!-- | Test Description: | This is the minimum valid AMP document; it includes all of the required | fields from the spec, but nothing else. @@ -162,7 +150,7 @@ FAIL | <!-- Should error if the `template` referent is missing. --> | <amp-date-countdown timestamp-ms="1521880470000" offset-seconds="1521880470" when-ended="stop" locale='zh-tw' height="50" width="360" template="notMyTemplate"> >> ^~~~~~~~~ -amp-date-countdown/1.0/test/validator-amp-date-countdown.html:162:2 Attribute 'template' in tag 'amp-date-countdown' contains a value that does not match any other tags on the page. (see https://amp.dev/documentation/components/amp-date-countdown) +amp-date-countdown/1.0/test/validator-amp-date-countdown.html:150:2 Attribute 'template' in tag 'amp-date-countdown' contains a value that does not match any other tags on the page. (see https://amp.dev/documentation/components/amp-date-countdown) | </amp-date-countdown> | | <!-- Should allow `data-count-up` attribute. --> @@ -172,7 +160,7 @@ amp-date-countdown/1.0/test/validator-amp-date-countdown.html:162:2 Attribute 't | <!-- Should error if `data-count-up` attribute is given a non-empty value. --> | <amp-date-countdown data-count-up="true" timestamp-seconds="1521880470" offset-seconds="1521880470" when-ended="continue" locale='de' height="50" width="360" template="myTemplate"> >> ^~~~~~~~~ -amp-date-countdown/1.0/test/validator-amp-date-countdown.html:170:2 The attribute 'data-count-up' in tag 'amp-date-countdown' is set to the invalid value 'true'. (see https://amp.dev/documentation/components/amp-date-countdown) +amp-date-countdown/1.0/test/validator-amp-date-countdown.html:158:2 The attribute 'data-count-up' in tag 'amp-date-countdown' is set to the invalid value 'true'. (see https://amp.dev/documentation/components/amp-date-countdown) | </amp-date-countdown> | | </body> diff --git a/extensions/amp-date-display/0.1/test/validator-amp-date-display.html b/extensions/amp-date-display/0.1/test/validator-amp-date-display.html index e6164b2ed124..50cc70247749 100644 --- a/extensions/amp-date-display/0.1/test/validator-amp-date-display.html +++ b/extensions/amp-date-display/0.1/test/validator-amp-date-display.html @@ -1,18 +1,3 @@ -<!-- - Copyright 2018 The AMP HTML Authors. All Rights Reserved. - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS-IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the license. ---> <!-- Test Description: Tests for the amp-date-display tag. diff --git a/extensions/amp-date-display/0.1/test/validator-amp-date-display.out b/extensions/amp-date-display/0.1/test/validator-amp-date-display.out index 607c99866a84..2f7207d948c8 100644 --- a/extensions/amp-date-display/0.1/test/validator-amp-date-display.out +++ b/extensions/amp-date-display/0.1/test/validator-amp-date-display.out @@ -1,20 +1,5 @@ FAIL | <!-- -| Copyright 2018 The AMP HTML Authors. All Rights Reserved. -| -| Licensed under the Apache License, Version 2.0 (the "License"); -| you may not use this file except in compliance with the License. -| You may obtain a copy of the License at -| -| http://www.apache.org/licenses/LICENSE-2.0 -| -| Unless required by applicable law or agreed to in writing, software -| distributed under the License is distributed on an "AS-IS" BASIS, -| WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -| See the License for the specific language governing permissions and -| limitations under the license. -| --> -| <!-- | Test Description: | Tests for the amp-date-display tag. | --> @@ -104,7 +89,7 @@ FAIL | <!-- invalid, with dangling reference to template --> | <amp-date-display datetime="now" display-in="utc" layout="fixed" width="360" height="20" template="notMyTemplate"> >> ^~~~~~~~~ -amp-date-display/0.1/test/validator-amp-date-display.html:104:2 Attribute 'template' in tag 'amp-date-display' contains a value that does not match any other tags on the page. (see https://amp.dev/documentation/components/amp-date-display) +amp-date-display/0.1/test/validator-amp-date-display.html:89:2 Attribute 'template' in tag 'amp-date-display' contains a value that does not match any other tags on the page. (see https://amp.dev/documentation/components/amp-date-display) | </amp-date-display> | | <!-- valid, within amp-list with script mustache --> @@ -140,56 +125,56 @@ amp-date-display/0.1/test/validator-amp-date-display.html:104:2 Attribute 'templ | <!-- invalid, no date provided --> | <amp-date-display layout="fixed" width="360" height="20"> >> ^~~~~~~~~ -amp-date-display/0.1/test/validator-amp-date-display.html:138:2 The tag 'amp-date-display' is missing a mandatory attribute - pick one of ['datetime', 'timestamp-ms', 'timestamp-seconds']. (see https://amp.dev/documentation/components/amp-date-display) +amp-date-display/0.1/test/validator-amp-date-display.html:123:2 The tag 'amp-date-display' is missing a mandatory attribute - pick one of ['datetime', 'timestamp-ms', 'timestamp-seconds']. (see https://amp.dev/documentation/components/amp-date-display) | <template type="amp-mustache">{{iso}}</template> | </amp-date-display> | | <!-- invalid, wrong date format --> | <amp-date-display datetime="20170802" layout="fixed" width="360" height="20"> >> ^~~~~~~~~ -amp-date-display/0.1/test/validator-amp-date-display.html:143:2 The attribute 'datetime' in tag 'amp-date-display' is set to the invalid value '20170802'. (see https://amp.dev/documentation/components/amp-date-display) +amp-date-display/0.1/test/validator-amp-date-display.html:128:2 The attribute 'datetime' in tag 'amp-date-display' is set to the invalid value '20170802'. (see https://amp.dev/documentation/components/amp-date-display) | <template type="amp-mustache">{{iso}}</template> | </amp-date-display> | | <!-- invalid, date with time zone --> | <amp-date-display datetime="2017-08-02+04:00" layout="fixed" width="360" height="20"> >> ^~~~~~~~~ -amp-date-display/0.1/test/validator-amp-date-display.html:148:2 The attribute 'datetime' in tag 'amp-date-display' is set to the invalid value '2017-08-02+04:00'. (see https://amp.dev/documentation/components/amp-date-display) +amp-date-display/0.1/test/validator-amp-date-display.html:133:2 The attribute 'datetime' in tag 'amp-date-display' is set to the invalid value '2017-08-02+04:00'. (see https://amp.dev/documentation/components/amp-date-display) | <template type="amp-mustache">{{iso}}</template> | </amp-date-display> | | <!-- invalid, no minutes in time zone --> | <amp-date-display datetime="2017-08-02T15:05:05+04" layout="fixed" width="360" height="20"> >> ^~~~~~~~~ -amp-date-display/0.1/test/validator-amp-date-display.html:153:2 The attribute 'datetime' in tag 'amp-date-display' is set to the invalid value '2017-08-02T15:05:05+04'. (see https://amp.dev/documentation/components/amp-date-display) +amp-date-display/0.1/test/validator-amp-date-display.html:138:2 The attribute 'datetime' in tag 'amp-date-display' is set to the invalid value '2017-08-02T15:05:05+04'. (see https://amp.dev/documentation/components/amp-date-display) | <template type="amp-mustache">{{iso}}</template> | </amp-date-display> | | <!-- invalid, no date --> | <amp-date-display datetime="T15:05:05.000Z" layout="fixed" width="360" height="20"> >> ^~~~~~~~~ -amp-date-display/0.1/test/validator-amp-date-display.html:158:2 The attribute 'datetime' in tag 'amp-date-display' is set to the invalid value 'T15:05:05.000Z'. (see https://amp.dev/documentation/components/amp-date-display) +amp-date-display/0.1/test/validator-amp-date-display.html:143:2 The attribute 'datetime' in tag 'amp-date-display' is set to the invalid value 'T15:05:05.000Z'. (see https://amp.dev/documentation/components/amp-date-display) | <template type="amp-mustache">{{iso}}</template> | </amp-date-display> | | <!-- invalid, missing hour (hour > 23) --> | <amp-date-display datetime="2017-08-02T59:05.000Z" layout="fixed" width="360" height="20"> >> ^~~~~~~~~ -amp-date-display/0.1/test/validator-amp-date-display.html:163:2 The attribute 'datetime' in tag 'amp-date-display' is set to the invalid value '2017-08-02T59:05.000Z'. (see https://amp.dev/documentation/components/amp-date-display) +amp-date-display/0.1/test/validator-amp-date-display.html:148:2 The attribute 'datetime' in tag 'amp-date-display' is set to the invalid value '2017-08-02T59:05.000Z'. (see https://amp.dev/documentation/components/amp-date-display) | <template type="amp-mustache">{{iso}}</template> | </amp-date-display> | | <!-- invalid, sub miliseconds --> | <amp-date-display datetime="2017-08-02T15:05:05.0001+04:00" layout="fixed" width="360" height="20"> >> ^~~~~~~~~ -amp-date-display/0.1/test/validator-amp-date-display.html:168:2 The attribute 'datetime' in tag 'amp-date-display' is set to the invalid value '2017-08-02T15:05:05.0001+04:00'. (see https://amp.dev/documentation/components/amp-date-display) +amp-date-display/0.1/test/validator-amp-date-display.html:153:2 The attribute 'datetime' in tag 'amp-date-display' is set to the invalid value '2017-08-02T15:05:05.0001+04:00'. (see https://amp.dev/documentation/components/amp-date-display) | <template type="amp-mustache">{{iso}}</template> | </amp-date-display> | | <!-- invalid, missing fractions--> | <amp-date-display datetime="2017-08-02T15:05:05.+04:00" layout="fixed" width="360" height="20"> >> ^~~~~~~~~ -amp-date-display/0.1/test/validator-amp-date-display.html:173:2 The attribute 'datetime' in tag 'amp-date-display' is set to the invalid value '2017-08-02T15:05:05.+04:00'. (see https://amp.dev/documentation/components/amp-date-display) +amp-date-display/0.1/test/validator-amp-date-display.html:158:2 The attribute 'datetime' in tag 'amp-date-display' is set to the invalid value '2017-08-02T15:05:05.+04:00'. (see https://amp.dev/documentation/components/amp-date-display) | <template type="amp-mustache">{{iso}}</template> | </amp-date-display> | diff --git a/extensions/amp-date-display/1.0/test/validator-amp-date-display.html b/extensions/amp-date-display/1.0/test/validator-amp-date-display.html index d71e9c307804..05c2bd955ff5 100644 --- a/extensions/amp-date-display/1.0/test/validator-amp-date-display.html +++ b/extensions/amp-date-display/1.0/test/validator-amp-date-display.html @@ -1,18 +1,3 @@ -<!-- - Copyright 2021 The AMP HTML Authors. All Rights Reserved. - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS-IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the license. ---> <!-- Test Description: Tests for the amp-date-display tag. diff --git a/extensions/amp-date-display/1.0/test/validator-amp-date-display.out b/extensions/amp-date-display/1.0/test/validator-amp-date-display.out index 62f439e461bb..d5f230644a5a 100644 --- a/extensions/amp-date-display/1.0/test/validator-amp-date-display.out +++ b/extensions/amp-date-display/1.0/test/validator-amp-date-display.out @@ -1,20 +1,5 @@ FAIL | <!-- -| Copyright 2021 The AMP HTML Authors. All Rights Reserved. -| -| Licensed under the Apache License, Version 2.0 (the "License"); -| you may not use this file except in compliance with the License. -| You may obtain a copy of the License at -| -| http://www.apache.org/licenses/LICENSE-2.0 -| -| Unless required by applicable law or agreed to in writing, software -| distributed under the License is distributed on an "AS-IS" BASIS, -| WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -| See the License for the specific language governing permissions and -| limitations under the license. -| --> -| <!-- | Test Description: | Tests for the amp-date-display tag. | --> @@ -104,7 +89,7 @@ FAIL | <!-- invalid, with dangling reference to template --> | <amp-date-display datetime="now" display-in="utc" layout="fixed" width="360" height="20" template="notMyTemplate"> >> ^~~~~~~~~ -amp-date-display/1.0/test/validator-amp-date-display.html:104:2 Attribute 'template' in tag 'amp-date-display' contains a value that does not match any other tags on the page. (see https://amp.dev/documentation/components/amp-date-display) +amp-date-display/1.0/test/validator-amp-date-display.html:89:2 Attribute 'template' in tag 'amp-date-display' contains a value that does not match any other tags on the page. (see https://amp.dev/documentation/components/amp-date-display) | </amp-date-display> | | <!-- valid, within amp-list with script mustache --> @@ -140,56 +125,56 @@ amp-date-display/1.0/test/validator-amp-date-display.html:104:2 Attribute 'templ | <!-- invalid, no date provided --> | <amp-date-display layout="fixed" width="360" height="20"> >> ^~~~~~~~~ -amp-date-display/1.0/test/validator-amp-date-display.html:138:2 The tag 'amp-date-display' is missing a mandatory attribute - pick one of ['datetime', 'timestamp-ms', 'timestamp-seconds']. (see https://amp.dev/documentation/components/amp-date-display) +amp-date-display/1.0/test/validator-amp-date-display.html:123:2 The tag 'amp-date-display' is missing a mandatory attribute - pick one of ['datetime', 'timestamp-ms', 'timestamp-seconds']. (see https://amp.dev/documentation/components/amp-date-display) | <template type="amp-mustache">{{iso}}</template> | </amp-date-display> | | <!-- invalid, wrong date format --> | <amp-date-display datetime="20170802" layout="fixed" width="360" height="20"> >> ^~~~~~~~~ -amp-date-display/1.0/test/validator-amp-date-display.html:143:2 The attribute 'datetime' in tag 'amp-date-display' is set to the invalid value '20170802'. (see https://amp.dev/documentation/components/amp-date-display) +amp-date-display/1.0/test/validator-amp-date-display.html:128:2 The attribute 'datetime' in tag 'amp-date-display' is set to the invalid value '20170802'. (see https://amp.dev/documentation/components/amp-date-display) | <template type="amp-mustache">{{iso}}</template> | </amp-date-display> | | <!-- invalid, date with time zone --> | <amp-date-display datetime="2017-08-02+04:00" layout="fixed" width="360" height="20"> >> ^~~~~~~~~ -amp-date-display/1.0/test/validator-amp-date-display.html:148:2 The attribute 'datetime' in tag 'amp-date-display' is set to the invalid value '2017-08-02+04:00'. (see https://amp.dev/documentation/components/amp-date-display) +amp-date-display/1.0/test/validator-amp-date-display.html:133:2 The attribute 'datetime' in tag 'amp-date-display' is set to the invalid value '2017-08-02+04:00'. (see https://amp.dev/documentation/components/amp-date-display) | <template type="amp-mustache">{{iso}}</template> | </amp-date-display> | | <!-- invalid, no minutes in time zone --> | <amp-date-display datetime="2017-08-02T15:05:05+04" layout="fixed" width="360" height="20"> >> ^~~~~~~~~ -amp-date-display/1.0/test/validator-amp-date-display.html:153:2 The attribute 'datetime' in tag 'amp-date-display' is set to the invalid value '2017-08-02T15:05:05+04'. (see https://amp.dev/documentation/components/amp-date-display) +amp-date-display/1.0/test/validator-amp-date-display.html:138:2 The attribute 'datetime' in tag 'amp-date-display' is set to the invalid value '2017-08-02T15:05:05+04'. (see https://amp.dev/documentation/components/amp-date-display) | <template type="amp-mustache">{{iso}}</template> | </amp-date-display> | | <!-- invalid, no date --> | <amp-date-display datetime="T15:05:05.000Z" layout="fixed" width="360" height="20"> >> ^~~~~~~~~ -amp-date-display/1.0/test/validator-amp-date-display.html:158:2 The attribute 'datetime' in tag 'amp-date-display' is set to the invalid value 'T15:05:05.000Z'. (see https://amp.dev/documentation/components/amp-date-display) +amp-date-display/1.0/test/validator-amp-date-display.html:143:2 The attribute 'datetime' in tag 'amp-date-display' is set to the invalid value 'T15:05:05.000Z'. (see https://amp.dev/documentation/components/amp-date-display) | <template type="amp-mustache">{{iso}}</template> | </amp-date-display> | | <!-- invalid, missing hour (hour > 23) --> | <amp-date-display datetime="2017-08-02T59:05.000Z" layout="fixed" width="360" height="20"> >> ^~~~~~~~~ -amp-date-display/1.0/test/validator-amp-date-display.html:163:2 The attribute 'datetime' in tag 'amp-date-display' is set to the invalid value '2017-08-02T59:05.000Z'. (see https://amp.dev/documentation/components/amp-date-display) +amp-date-display/1.0/test/validator-amp-date-display.html:148:2 The attribute 'datetime' in tag 'amp-date-display' is set to the invalid value '2017-08-02T59:05.000Z'. (see https://amp.dev/documentation/components/amp-date-display) | <template type="amp-mustache">{{iso}}</template> | </amp-date-display> | | <!-- invalid, sub milliseconds --> | <amp-date-display datetime="2017-08-02T15:05:05.0001+04:00" layout="fixed" width="360" height="20"> >> ^~~~~~~~~ -amp-date-display/1.0/test/validator-amp-date-display.html:168:2 The attribute 'datetime' in tag 'amp-date-display' is set to the invalid value '2017-08-02T15:05:05.0001+04:00'. (see https://amp.dev/documentation/components/amp-date-display) +amp-date-display/1.0/test/validator-amp-date-display.html:153:2 The attribute 'datetime' in tag 'amp-date-display' is set to the invalid value '2017-08-02T15:05:05.0001+04:00'. (see https://amp.dev/documentation/components/amp-date-display) | <template type="amp-mustache">{{iso}}</template> | </amp-date-display> | | <!-- invalid, missing fractions--> | <amp-date-display datetime="2017-08-02T15:05:05.+04:00" layout="fixed" width="360" height="20"> >> ^~~~~~~~~ -amp-date-display/1.0/test/validator-amp-date-display.html:173:2 The attribute 'datetime' in tag 'amp-date-display' is set to the invalid value '2017-08-02T15:05:05.+04:00'. (see https://amp.dev/documentation/components/amp-date-display) +amp-date-display/1.0/test/validator-amp-date-display.html:158:2 The attribute 'datetime' in tag 'amp-date-display' is set to the invalid value '2017-08-02T15:05:05.+04:00'. (see https://amp.dev/documentation/components/amp-date-display) | <template type="amp-mustache">{{iso}}</template> | </amp-date-display> | diff --git a/extensions/amp-date-picker/0.1/test/validator-amp-date-picker.html b/extensions/amp-date-picker/0.1/test/validator-amp-date-picker.html index fdac6fbe2984..b607676192d9 100644 --- a/extensions/amp-date-picker/0.1/test/validator-amp-date-picker.html +++ b/extensions/amp-date-picker/0.1/test/validator-amp-date-picker.html @@ -1,18 +1,3 @@ -<!-- - Copyright 2018 The AMP HTML Authors. All Rights Reserved. - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS-IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the license. ---> <!-- Test Description: Tests for the amp-date-picker tag. diff --git a/extensions/amp-date-picker/0.1/test/validator-amp-date-picker.out b/extensions/amp-date-picker/0.1/test/validator-amp-date-picker.out index e13a26dece1a..592e0d227615 100644 --- a/extensions/amp-date-picker/0.1/test/validator-amp-date-picker.out +++ b/extensions/amp-date-picker/0.1/test/validator-amp-date-picker.out @@ -1,20 +1,5 @@ FAIL | <!-- -| Copyright 2018 The AMP HTML Authors. All Rights Reserved. -| -| Licensed under the Apache License, Version 2.0 (the "License"); -| you may not use this file except in compliance with the License. -| You may obtain a copy of the License at -| -| http://www.apache.org/licenses/LICENSE-2.0 -| -| Unless required by applicable law or agreed to in writing, software -| distributed under the License is distributed on an "AS-IS" BASIS, -| WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -| See the License for the specific language governing permissions and -| limitations under the license. -| --> -| <!-- | Test Description: | Tests for the amp-date-picker tag. | --> @@ -138,97 +123,97 @@ FAIL | <!-- Invalid: single amp-date-picker with start-input-selector --> | <amp-date-picker type="single" mode="static" start-input-selector="#x3" layout="fixed-height" height="360"> >> ^~~~~~~~~ -amp-date-picker/0.1/test/validator-amp-date-picker.html:138:2 The attribute 'type' in tag 'amp-date-picker' is set to the invalid value 'single'. (see https://amp.dev/documentation/components/amp-date-picker) +amp-date-picker/0.1/test/validator-amp-date-picker.html:123:2 The attribute 'type' in tag 'amp-date-picker' is set to the invalid value 'single'. (see https://amp.dev/documentation/components/amp-date-picker) | </amp-date-picker> | <!-- Invalid: range amp-date-picker with input-selector --> | <amp-date-picker type="range" input-selector="#a4" layout="fixed-height" height="360"> >> ^~~~~~~~~ -amp-date-picker/0.1/test/validator-amp-date-picker.html:141:2 The attribute 'type' in tag 'amp-date-picker' is set to the invalid value 'range'. (see https://amp.dev/documentation/components/amp-date-picker) +amp-date-picker/0.1/test/validator-amp-date-picker.html:126:2 The attribute 'type' in tag 'amp-date-picker' is set to the invalid value 'range'. (see https://amp.dev/documentation/components/amp-date-picker) | </amp-date-picker> | <!-- Invalid: amp-date-picker with implicit mode="static" without layout --> | <amp-date-picker></amp-date-picker> >> ^~~~~~~~~ -amp-date-picker/0.1/test/validator-amp-date-picker.html:144:2 Incomplete layout attributes specified for tag 'amp-date-picker'. For example, provide attributes 'width' and 'height'. (see https://amp.dev/documentation/components/amp-date-picker) +amp-date-picker/0.1/test/validator-amp-date-picker.html:129:2 Incomplete layout attributes specified for tag 'amp-date-picker'. For example, provide attributes 'width' and 'height'. (see https://amp.dev/documentation/components/amp-date-picker) | <!-- Invalid: amp-date-picker with explicit mode="static" without layout --> | <amp-date-picker mode="static"> >> ^~~~~~~~~ -amp-date-picker/0.1/test/validator-amp-date-picker.html:146:2 Incomplete layout attributes specified for tag 'amp-date-picker'. For example, provide attributes 'width' and 'height'. (see https://amp.dev/documentation/components/amp-date-picker) +amp-date-picker/0.1/test/validator-amp-date-picker.html:131:2 Incomplete layout attributes specified for tag 'amp-date-picker'. For example, provide attributes 'width' and 'height'. (see https://amp.dev/documentation/components/amp-date-picker) | </amp-date-picker> | <!-- Invalid: overlay amp-date-picker with fullscreen attribute --> | <amp-date-picker mode="overlay" fullscreen> >> ^~~~~~~~~ -amp-date-picker/0.1/test/validator-amp-date-picker.html:149:2 The attribute 'fullscreen' may not appear in tag 'amp-date-picker'. (see https://amp.dev/documentation/components/amp-date-picker) +amp-date-picker/0.1/test/validator-amp-date-picker.html:134:2 The attribute 'fullscreen' may not appear in tag 'amp-date-picker'. (see https://amp.dev/documentation/components/amp-date-picker) | <input type="text" name="date4"> | </amp-date-picker> | <!-- Invalid: width is mistyped. --> | <amp-date-picker height="360" wdith="360"> >> ^~~~~~~~~ -amp-date-picker/0.1/test/validator-amp-date-picker.html:153:2 The attribute 'wdith' may not appear in tag 'amp-date-picker'. (see https://amp.dev/documentation/components/amp-date-picker) +amp-date-picker/0.1/test/validator-amp-date-picker.html:138:2 The attribute 'wdith' may not appear in tag 'amp-date-picker'. (see https://amp.dev/documentation/components/amp-date-picker) | </amp-date-picker> | <!-- Invalid: amp-date-picker with bad day-size--> | <amp-date-picker type="range" layout="fixed-height" height="360" >> ^~~~~~~~~ -amp-date-picker/0.1/test/validator-amp-date-picker.html:156:2 The attribute 'day-size' in tag 'amp-date-picker' is set to the invalid value 'five'. (see https://amp.dev/documentation/components/amp-date-picker) +amp-date-picker/0.1/test/validator-amp-date-picker.html:141:2 The attribute 'day-size' in tag 'amp-date-picker' is set to the invalid value 'five'. (see https://amp.dev/documentation/components/amp-date-picker) | day-size="five"> | </amp-date-picker> | <!-- Invalid: amp-date-picker with bad number-of-months --> | <amp-date-picker type="range" layout="fixed-height" height="360" >> ^~~~~~~~~ -amp-date-picker/0.1/test/validator-amp-date-picker.html:160:2 The attribute 'number-of-months' in tag 'amp-date-picker' is set to the invalid value 'twele'. (see https://amp.dev/documentation/components/amp-date-picker) +amp-date-picker/0.1/test/validator-amp-date-picker.html:145:2 The attribute 'number-of-months' in tag 'amp-date-picker' is set to the invalid value 'twele'. (see https://amp.dev/documentation/components/amp-date-picker) | number-of-months="twele"> | </amp-date-picker> | <!-- Invalid: amp-date-picker with bad first-day-of-week --> | <amp-date-picker type="range" layout="fixed-height" height="360" >> ^~~~~~~~~ -amp-date-picker/0.1/test/validator-amp-date-picker.html:164:2 The attribute 'first-day-of-week' in tag 'amp-date-picker' is set to the invalid value '7'. (see https://amp.dev/documentation/components/amp-date-picker) +amp-date-picker/0.1/test/validator-amp-date-picker.html:149:2 The attribute 'first-day-of-week' in tag 'amp-date-picker' is set to the invalid value '7'. (see https://amp.dev/documentation/components/amp-date-picker) | first-day-of-week="7"> | </amp-date-picker> | <!-- Invalid: amp-date-picker templates outside amp-date-picker --> | <template info-template type="amp-mustache"></template> >> ^~~~~~~~~ -amp-date-picker/0.1/test/validator-amp-date-picker.html:168:2 The parent tag of tag 'template' is 'body', but it can only be 'amp-date-picker'. (see https://amp.dev/documentation/components/amp-mustache) +amp-date-picker/0.1/test/validator-amp-date-picker.html:153:2 The parent tag of tag 'template' is 'body', but it can only be 'amp-date-picker'. (see https://amp.dev/documentation/components/amp-mustache) | <template date-template dates="2018-01-01" type="amp-mustache"></template> >> ^~~~~~~~~ -amp-date-picker/0.1/test/validator-amp-date-picker.html:169:2 The parent tag of tag 'template' is 'body', but it can only be 'amp-date-picker'. (see https://amp.dev/documentation/components/amp-mustache) +amp-date-picker/0.1/test/validator-amp-date-picker.html:154:2 The parent tag of tag 'template' is 'body', but it can only be 'amp-date-picker'. (see https://amp.dev/documentation/components/amp-mustache) | <!-- Invalid: amp-date-picker with bad maximum nights --> | <amp-date-picker type="range" layout="fixed-height" height="360" maximum-nights="zero"> >> ^~~~~~~~~ -amp-date-picker/0.1/test/validator-amp-date-picker.html:171:2 The attribute 'maximum-nights' in tag 'amp-date-picker' is set to the invalid value 'zero'. (see https://amp.dev/documentation/components/amp-date-picker) +amp-date-picker/0.1/test/validator-amp-date-picker.html:156:2 The attribute 'maximum-nights' in tag 'amp-date-picker' is set to the invalid value 'zero'. (see https://amp.dev/documentation/components/amp-date-picker) | </amp-date-picker> | <!-- Invalid: amp-date-picker with bad minimum nights --> | <amp-date-picker type="range" layout="fixed-height" height="360" minimum-nights="zero"> >> ^~~~~~~~~ -amp-date-picker/0.1/test/validator-amp-date-picker.html:174:2 The attribute 'minimum-nights' in tag 'amp-date-picker' is set to the invalid value 'zero'. (see https://amp.dev/documentation/components/amp-date-picker) +amp-date-picker/0.1/test/validator-amp-date-picker.html:159:2 The attribute 'minimum-nights' in tag 'amp-date-picker' is set to the invalid value 'zero'. (see https://amp.dev/documentation/components/amp-date-picker) | </amp-date-picker> | <!-- Invalid: single amp-date-picker with maximum nights --> | <amp-date-picker layout="fixed-height" height="360" maximum-nights="0"> >> ^~~~~~~~~ -amp-date-picker/0.1/test/validator-amp-date-picker.html:177:2 The mandatory attribute 'type' is missing in tag 'amp-date-picker'. (see https://amp.dev/documentation/components/amp-date-picker) +amp-date-picker/0.1/test/validator-amp-date-picker.html:162:2 The mandatory attribute 'type' is missing in tag 'amp-date-picker'. (see https://amp.dev/documentation/components/amp-date-picker) | </amp-date-picker> | <!-- Invalid: single amp-date-picker with minimum nights --> | <amp-date-picker layout="fixed-height" height="360" minimum-nights="0"> >> ^~~~~~~~~ -amp-date-picker/0.1/test/validator-amp-date-picker.html:180:2 The mandatory attribute 'type' is missing in tag 'amp-date-picker'. (see https://amp.dev/documentation/components/amp-date-picker) +amp-date-picker/0.1/test/validator-amp-date-picker.html:165:2 The mandatory attribute 'type' is missing in tag 'amp-date-picker'. (see https://amp.dev/documentation/components/amp-date-picker) | </amp-date-picker> | <!-- Invalid: single amp-date-picker with start-date attribute --> | <amp-date-picker layout="fixed-height" height="360" start-date="2018-01-01"> >> ^~~~~~~~~ -amp-date-picker/0.1/test/validator-amp-date-picker.html:183:2 The mandatory attribute 'type' is missing in tag 'amp-date-picker'. (see https://amp.dev/documentation/components/amp-date-picker) +amp-date-picker/0.1/test/validator-amp-date-picker.html:168:2 The mandatory attribute 'type' is missing in tag 'amp-date-picker'. (see https://amp.dev/documentation/components/amp-date-picker) | </amp-date-picker> | <!-- Invalid: range amp-date-picker with date attribute --> | <amp-date-picker type="range" layout="fixed-height" height="360" date="2018-01-01"> >> ^~~~~~~~~ -amp-date-picker/0.1/test/validator-amp-date-picker.html:186:2 The attribute 'type' in tag 'amp-date-picker' is set to the invalid value 'range'. (see https://amp.dev/documentation/components/amp-date-picker) +amp-date-picker/0.1/test/validator-amp-date-picker.html:171:2 The attribute 'type' in tag 'amp-date-picker' is set to the invalid value 'range'. (see https://amp.dev/documentation/components/amp-date-picker) | </amp-date-picker> | <!-- Invalid: static amp-date-picker with touch-keyboard-editable --> | <amp-date-picker layout="fixed-height" height="360" touch-keyboard-editable> >> ^~~~~~~~~ -amp-date-picker/0.1/test/validator-amp-date-picker.html:189:2 The attribute 'touch-keyboard-editable' may not appear in tag 'amp-date-picker'. (see https://amp.dev/documentation/components/amp-date-picker) +amp-date-picker/0.1/test/validator-amp-date-picker.html:174:2 The attribute 'touch-keyboard-editable' may not appear in tag 'amp-date-picker'. (see https://amp.dev/documentation/components/amp-date-picker) | </amp-date-picker> | <!-- Invalid: amp-date-picker with http src --> | <amp-date-picker layout="fixed-height" height="360" >> ^~~~~~~~~ -amp-date-picker/0.1/test/validator-amp-date-picker.html:192:2 Invalid URL protocol 'http:' for attribute 'src' in tag 'amp-date-picker'. (see https://amp.dev/documentation/components/amp-date-picker) +amp-date-picker/0.1/test/validator-amp-date-picker.html:177:2 Invalid URL protocol 'http:' for attribute 'src' in tag 'amp-date-picker'. (see https://amp.dev/documentation/components/amp-date-picker) | src="http://data.com/dates.json?ref=CANONICAL_URL"> | </amp-date-picker> | </body> diff --git a/extensions/amp-delight-player/0.1/test/validator-amp-delight-player.html b/extensions/amp-delight-player/0.1/test/validator-amp-delight-player.html index 69bad0e7f9ab..61574160175b 100644 --- a/extensions/amp-delight-player/0.1/test/validator-amp-delight-player.html +++ b/extensions/amp-delight-player/0.1/test/validator-amp-delight-player.html @@ -1,18 +1,3 @@ -<!-- - Copyright 2018 The AMP HTML Authors. All Rights Reserved. - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS-IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the license. ---> <!-- Test Description: Test support for the amp-delight-player tag. diff --git a/extensions/amp-delight-player/0.1/test/validator-amp-delight-player.out b/extensions/amp-delight-player/0.1/test/validator-amp-delight-player.out index 7777f74a2aed..20091cc4589e 100644 --- a/extensions/amp-delight-player/0.1/test/validator-amp-delight-player.out +++ b/extensions/amp-delight-player/0.1/test/validator-amp-delight-player.out @@ -1,20 +1,5 @@ FAIL | <!-- -| Copyright 2018 The AMP HTML Authors. All Rights Reserved. -| -| Licensed under the Apache License, Version 2.0 (the "License"); -| you may not use this file except in compliance with the License. -| You may obtain a copy of the License at -| -| http://www.apache.org/licenses/LICENSE-2.0 -| -| Unless required by applicable law or agreed to in writing, software -| distributed under the License is distributed on an "AS-IS" BASIS, -| WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -| See the License for the specific language governing permissions and -| limitations under the license. -| --> -| <!-- | Test Description: | Test support for the amp-delight-player tag. | --> @@ -38,14 +23,14 @@ FAIL | <!-- Invalid example of missing content ID. --> | <amp-delight-player >> ^~~~~~~~~ -amp-delight-player/0.1/test/validator-amp-delight-player.html:38:4 The mandatory attribute 'data-content-id' is missing in tag 'amp-delight-player'. (see https://amp.dev/documentation/components/amp-delight-player) +amp-delight-player/0.1/test/validator-amp-delight-player.html:23:4 The mandatory attribute 'data-content-id' is missing in tag 'amp-delight-player'. (see https://amp.dev/documentation/components/amp-delight-player) | layout="responsive" width="16" height="9"> | </amp-delight-player> | | <!-- Invalid: dock without amp-video-docking extension --> | <amp-delight-player >> ^~~~~~~~~ -amp-delight-player/0.1/test/validator-amp-delight-player.html:43:4 The attribute 'dock' requires including the 'amp-video-docking' extension JavaScript. +amp-delight-player/0.1/test/validator-amp-delight-player.html:28:4 The attribute 'dock' requires including the 'amp-video-docking' extension JavaScript. | data-content-id="-LLoCCZqWi18O73b6M0w" | layout="fixed" | width="960" diff --git a/extensions/amp-dynamic-css-classes/0.1/test/validator-amp-dynamic-css-classes.html b/extensions/amp-dynamic-css-classes/0.1/test/validator-amp-dynamic-css-classes.html index 2ae54ce11e32..0ded45c0a131 100644 --- a/extensions/amp-dynamic-css-classes/0.1/test/validator-amp-dynamic-css-classes.html +++ b/extensions/amp-dynamic-css-classes/0.1/test/validator-amp-dynamic-css-classes.html @@ -1,18 +1,3 @@ -<!-- - Copyright 2018 The AMP HTML Authors. All Rights Reserved. - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS-IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the license. ---> <!-- Test Description: Test for the amp-dynamic-css-classes extension from ampbyexample.com. diff --git a/extensions/amp-dynamic-css-classes/0.1/test/validator-amp-dynamic-css-classes.out b/extensions/amp-dynamic-css-classes/0.1/test/validator-amp-dynamic-css-classes.out index 0e76c756a603..069aa5972923 100644 --- a/extensions/amp-dynamic-css-classes/0.1/test/validator-amp-dynamic-css-classes.out +++ b/extensions/amp-dynamic-css-classes/0.1/test/validator-amp-dynamic-css-classes.out @@ -1,20 +1,5 @@ PASS | <!-- -| Copyright 2018 The AMP HTML Authors. All Rights Reserved. -| -| Licensed under the Apache License, Version 2.0 (the "License"); -| you may not use this file except in compliance with the License. -| You may obtain a copy of the License at -| -| http://www.apache.org/licenses/LICENSE-2.0 -| -| Unless required by applicable law or agreed to in writing, software -| distributed under the License is distributed on an "AS-IS" BASIS, -| WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -| See the License for the specific language governing permissions and -| limitations under the license. -| --> -| <!-- | Test Description: | Test for the amp-dynamic-css-classes extension from ampbyexample.com. | --> diff --git a/extensions/amp-experiment/0.1/test/validator-amp-experiment.html b/extensions/amp-experiment/0.1/test/validator-amp-experiment.html index cc62df5d331b..c29974e18cb7 100644 --- a/extensions/amp-experiment/0.1/test/validator-amp-experiment.html +++ b/extensions/amp-experiment/0.1/test/validator-amp-experiment.html @@ -1,18 +1,3 @@ -<!-- - Copyright 2016 The AMP HTML Authors. All Rights Reserved. - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS-IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the license. ---> <!-- Test Description: This tests validation for the amp-experiment tag. diff --git a/extensions/amp-experiment/0.1/test/validator-amp-experiment.out b/extensions/amp-experiment/0.1/test/validator-amp-experiment.out index f3be8c4a9dc4..b1c963e7e3b7 100644 --- a/extensions/amp-experiment/0.1/test/validator-amp-experiment.out +++ b/extensions/amp-experiment/0.1/test/validator-amp-experiment.out @@ -1,20 +1,5 @@ FAIL | <!-- -| Copyright 2016 The AMP HTML Authors. All Rights Reserved. -| -| Licensed under the Apache License, Version 2.0 (the "License"); -| you may not use this file except in compliance with the License. -| You may obtain a copy of the License at -| -| http://www.apache.org/licenses/LICENSE-2.0 -| -| Unless required by applicable law or agreed to in writing, software -| distributed under the License is distributed on an "AS-IS" BASIS, -| WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -| See the License for the specific language governing permissions and -| limitations under the license. -| --> -| <!-- | Test Description: | This tests validation for the amp-experiment tag. | --> @@ -46,10 +31,10 @@ FAIL | | <amp-experiment> >> ^~~~~~~~~ -amp-experiment/0.1/test/validator-amp-experiment.html:46:0 The tag 'amp-experiment' appears more than once in the document. (see https://amp.dev/documentation/components/amp-experiment/) +amp-experiment/0.1/test/validator-amp-experiment.html:31:0 The tag 'amp-experiment' appears more than once in the document. (see https://amp.dev/documentation/components/amp-experiment/) | <script type="invalidtype"></script> >> ^~~~~~~~~ -amp-experiment/0.1/test/validator-amp-experiment.html:47:4 Custom JavaScript is not allowed. (see https://amp.dev/documentation/guides-and-tutorials/learn/validation-workflow/validation_errors/#custom-javascript-is-not-allowed) +amp-experiment/0.1/test/validator-amp-experiment.html:32:4 Custom JavaScript is not allowed. (see https://amp.dev/documentation/guides-and-tutorials/learn/validation-workflow/validation_errors/#custom-javascript-is-not-allowed) | </amp-experiment> | </body> | </html> \ No newline at end of file diff --git a/extensions/amp-experiment/1.0/test/validator-amp-experiment.html b/extensions/amp-experiment/1.0/test/validator-amp-experiment.html index dab9848a41c5..70ccfb96eac5 100644 --- a/extensions/amp-experiment/1.0/test/validator-amp-experiment.html +++ b/extensions/amp-experiment/1.0/test/validator-amp-experiment.html @@ -1,18 +1,3 @@ -<!-- - Copyright 2019 The AMP HTML Authors. All Rights Reserved. - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS-IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the license. ---> <!-- Test Description: This tests validation for the amp-experiment tag. diff --git a/extensions/amp-experiment/1.0/test/validator-amp-experiment.out b/extensions/amp-experiment/1.0/test/validator-amp-experiment.out index 95f410195864..73db5fd1a649 100644 --- a/extensions/amp-experiment/1.0/test/validator-amp-experiment.out +++ b/extensions/amp-experiment/1.0/test/validator-amp-experiment.out @@ -1,20 +1,5 @@ FAIL | <!-- -| Copyright 2019 The AMP HTML Authors. All Rights Reserved. -| -| Licensed under the Apache License, Version 2.0 (the "License"); -| you may not use this file except in compliance with the License. -| You may obtain a copy of the License at -| -| http://www.apache.org/licenses/LICENSE-2.0 -| -| Unless required by applicable law or agreed to in writing, software -| distributed under the License is distributed on an "AS-IS" BASIS, -| WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -| See the License for the specific language governing permissions and -| limitations under the license. -| --> -| <!-- | Test Description: | This tests validation for the amp-experiment tag. | --> @@ -66,19 +51,19 @@ FAIL | | <amp-experiment> >> ^~~~~~~~~ -amp-experiment/1.0/test/validator-amp-experiment.html:66:0 The tag 'amp-experiment' appears more than once in the document. (see https://amp.dev/documentation/components/amp-experiment/) +amp-experiment/1.0/test/validator-amp-experiment.html:51:0 The tag 'amp-experiment' appears more than once in the document. (see https://amp.dev/documentation/components/amp-experiment/) | <script type="invalidtype"></script> >> ^~~~~~~~~ -amp-experiment/1.0/test/validator-amp-experiment.html:67:4 Custom JavaScript is not allowed. (see https://amp.dev/documentation/guides-and-tutorials/learn/validation-workflow/validation_errors/#custom-javascript-is-not-allowed) +amp-experiment/1.0/test/validator-amp-experiment.html:52:4 Custom JavaScript is not allowed. (see https://amp.dev/documentation/guides-and-tutorials/learn/validation-workflow/validation_errors/#custom-javascript-is-not-allowed) | </amp-experiment> | | <!-- Too large of JSON --> | <amp-experiment> >> ^~~~~~~~~ -amp-experiment/1.0/test/validator-amp-experiment.html:71:0 The tag 'amp-experiment' appears more than once in the document. (see https://amp.dev/documentation/components/amp-experiment/) +amp-experiment/1.0/test/validator-amp-experiment.html:56:0 The tag 'amp-experiment' appears more than once in the document. (see https://amp.dev/documentation/components/amp-experiment/) | <script type="application/json"> >> ^~~~~~~~~ -amp-experiment/1.0/test/validator-amp-experiment.html:72:2 The inline script is 15998 bytes, which exceeds the limit of 15000 bytes. (see https://amp.dev/documentation/components/amp-experiment/#configuration) +amp-experiment/1.0/test/validator-amp-experiment.html:57:2 The inline script is 15998 bytes, which exceeds the limit of 15000 bytes. (see https://amp.dev/documentation/components/amp-experiment/#configuration) | {"lorem ipsum": ["Skate ipsum dolor sit amet, Saran Wrap manual birdie berm nose-bump hurricane. Full-cab fastplant ollie deck pool Japan air. Durometer 900 slam bearings Saran Wrap 540. Animal Chin poseur freestyle ho-ho frigid air risers gnar bucket. Lip wheels hip bearings 270 Saran Wrap. Boned out slap maxwell Blind birdie wheels skate or die gnar bucket. Pump Bare Cover nose blunt chicken wing transition ho-ho darkslide. Hard Corps wall ride crailtap cab flip speed wobbles kickflip transfer. Switch downhill pool g-turn nose grab nose slide Video Days. Grind concave kick-nose frontside goofy footed skate key. Mini ramp rail slide Shawn Dutton slam bail bone air front foot impossible. ","Fast plant slam camel back hip. Risers wax full pipe crailtap. Bluntslide frigid air finger flip baseplate. Carve Vision Streetwear soul skate pop shove-it skate key. China Banks late hang ten ollie north transfer. Half-flip helipop powerslide steps. Lip hang ten camel back rail Jai Alai Banks. Crooked grind gnar bucket vert Caballerial nose slide. Pogo pressure flip dude Vision Streetwear kingpin. ","Downhill airwalk Chico Brenes kidney fakie out sponsored. Slob air Julien Stranger fakie deck rad soul skate. Sick Memory Screen bail airwalk pressure flip transition. Bluntslide Randy Ruiz fakie out stoked pool cab flip. Kidney stalefish coffin cess slide skate or die. Casper slide ollie hole gnar bucket Chris Haslam lip bank. Backside Primo slide frontside air dude Kevin Harris. Tailslide coper disaster ho-ho bigspin Jeremy Klein. Risers lip spine sketchy wheels. Shinner slob air bail switch hurricane. 50-50 frigid air judo air transfer Brian Brannon salad grind. Slide regular footed death box Shawn Dutton transfer grind. Judo air wheels late full pipe aerial. ","Axle fakie Jai Alai Banks Christ air speed wobbles pivot. Acid drop air pogo nosebone hip Vision. 540 berm coping pressure flip skater. Bonite hurricane melancholy frontside masonite bone air. Birdie berm ollie hole mongo layback Alternative Sports. Randy Ruiz pivot hard flip axle set ollie slap maxwell. Primo slide wall ride backside concave John Carbis full-cab. Yeah hip Venice chicken wing hand rail transition. Skate or die half-cab ledge frontside salad grind. Christ air lipslide hard flip kick-nose crail slide Vernon Courtland Johnson. ","Darkslide method air wax downhill. Backside Saran Wrap downhill Girl death box. Kevin Harris wax lien air kickturn. Grind bail face plant pressure flip China Banks. Griptape Jeff Phillips rad Primo slide kickturn. Ollie tuna-flip switch rip grip. No comply downhill kingpin slide. Handplant kidney darkslide hanger. Blunt pool Christ air half-flip. Sidewalk Surfer kingpin snake noseblunt slide alley oop. Axle full-cab chicken wing egg plant. Tail kickturn method air Gullwing frontside. ","Rock and roll bail body varial hip. Rails pump melancholy bluntslide Chris Haslam. Rad soul skate durometer powerslide. Powerslide betty vert helipop Jeff Phillips. Boned out coper nollie spine. Wax sick hurricane Jai Alai Banks fakie. Mute-air betty airwalk goofy footed. Kevin Harris stalefish Plan B body varial goofy footed. Fakie finger flip cess slide tail. Indy grab transition camel back impossible. ","Wall ride body varial Vans stoked bluntslide snake. Stoked heel flip switch Tracker Johnny Rad wall ride. Impossible flypaper opposite footed Kevin Harris late. Melancholy Z-Roller hang-up noseblunt slide nosepicker late. Pool carve 720 stalefish impossible. Nose grab rail coffin alley oop nose-bump. Birdie transfer lip Rune Glifberg mongo gnar bucket. Rocket air Tim May no comply pressure flip berm chicken wing. Hardware pop shove-it concave pool frontside air. Jeff Phillips slam Tracker grab sick helipop. Tailslide pop shove-it no comply wall ride 720 Jeremy Wray. ","Melancholy skater bigspin birdie snake. Opposite footed nosegrind Randy Ruiz masonite layback chicken wing. Chris Livingston flail rails handplant hanger spine. Roll-in kidney deck vert axle. Air disaster vert Tony Magnusson alley oop Christ air. Coper 50-50 casper slide hang ten gnar bucket. Sketchy half-flip Neal Hendrix bigspin grind stoked. Coper frontside disaster skate key Dudesblood ho-ho. Full pipe switch bruised heel rocket air no comply. Bail masonite 270 flail vert Skull Skates. Bluntslide speed wobbles half-flip flypaper vert Sidewalk Surfer. ","Sean Cliver downhill carve cess slide skate or die. Feeble nose bigspin casper slide. Half-flip hurricane chicken wing wheels. Slappy Geoff Rowley ollie skater regular footed. 1080 drop in quarter pipe stalefish. Hospital flip lipslide smith grind 1080. Ledge kidney helipop Tracker. Slap maxwell betty New Deal half-cab melancholy. Santa Cruz 50-50 air nose grab Saran Wrap. Jason Dill goofy footed air speed wobbles indy grab. Helipop regular footed stoked rad Alternative Sports. ","Rip grip durometer Chris Livingston crail grab invert tail. John Grigley pivot judo air sponsored heel flip helipop. Shinner 180 Mike Taylor gap lipslide hip. Flail The Wedge hanger Saran Wrap Primo slide rail slide. Melancholy risers fakie out Saran Wrap kickturn. Nosebone Skull and Sword roll-in axle set nosepicker locals. 540 Spike Jonze speed wobbles rail slide slappy switch. Griptape grind crail grab coping pogo. Bruised heel manual berm tail 180 Greg Evans. Tim May rail smith grind bone air hospital flip opposite footed. Kickflip crailtap skate key locals no comply. Varial coping front foot impossible Andy Howell slappy Saran Wrap. ","Nollie gnar bucket pogo powerslide darkslide Slimeballs hard flip. Betty nose slide tuna-flip Vernon Courtland Johnson 540 hurricane frontside air. Full pipe roll-in grind mute-air betty snake Jordan Richter. Salad grind kickturn Primo slide lipslide hang ten Saran Wrap. Darkslide varial kickflip layback g-turn downhill Matt Hensley. Baker late blunt smith grind grab fakie coping. Boneless bank aerial freestyle alley oop 720. Hip yeah airwalk camel back hardware 540. Disaster body varial Shiloh Greathouse frontside invert frontside air crailtap. Julien Stranger mute-air acid drop tuna-flip manual crooked grind crail grab. Bank nollie bluntslide helipop bail deck. ","Berm Wes Humpston noseblunt slide g-turn wax tailslide baseplate. Griptape pressure flip rail nose slide axle set frontside air. Aerial g-turn heel flip fast plant coping crooked grind. Pop shove-it nosepicker Elissa Steamer face plant blunt Tracker kickflip. Flail nosebone nose blunt 50-50 quarter pipe 540 Blind. Steps crail grab concave quarter pipe ollie Pantsman stoked. Tracker concave Daggers soul skate mini ramp boardslide full pipe. Lipslide finger flip Supersonic Skate Camp drop in chicken wing frontside sick. Regular footed vert air mute-air blunt rocket air. 900 frigid air rocket air handplant grind manual. Pivot vert hip bruised heel wheels finger flip. ","Frontside air finger flip indy grab nollie skate or die fakie. Roll-in alley oop skate or die wall ride boned out coper. Steps coping shinner ollie north rail skate key. 180 carve air backside camel back betty. Wall ride sketchy skater powerslide drop in rail slide. Dude ledge skate key casper slide durometer nosegrind. Rocket air grab 720 body varial backside air Hugh Bod Boyle. Hard flip Hugh Bod Boyle egg plant frontside air flypaper 270 flail. Cab flip hanger pool Billy Ruff airwalk hang ten front foot impossible. Sponsored tail Agent Orange shoveit lipslide rock and roll crooked grind. ","Judo air griptape wax stoked Alternative Sports layback. Ledge lipslide kingpin durometer opposite footed. Crailtap Streets on Fire slap maxwell frigid air egg plant griptape. Late hang-up impossible salad grind Jason Jesse stoked. Darkslide coffin feeble freestyle dude. G-turn Tim May slide bail steps nosebone. Rip grip 540 crailtap disaster goofy footed Ray Underhill. Tic-tac axle set 720 transfer Tracker. Darkslide griptape feeble tail Saran Wrap. Hardware Saran Wrap roll-in axle Geoff Rowley noseblunt slide. Bigspin cess slide hard flip pop shove-it pump. ","Poseur sick 270 heel flip bluntslide transition. Wax front foot impossible pogo Justin Regan soul skate 900 rad. Helipop camel back sponsored pop shove-it Paul Rodriguez 540 indy grab. Rip grip axle set griptape half-cab Donger ollie hole grab. Wheels Mike Carroll blunt 720 smith grind nosepicker deck. Crail slide kingpin smith grind ollie north pivot grind. Stoked tailslide 360 masonite bank soul skate Lance Mountain. Hard flip sponsored egg plant Greg Evans rip grip carve 720. Bearings half-flip manual gnarly switch grab. Transfer heel flip hurricane nose-bump tic-tac Saran Wrap. Boneless Wheels of FIre gnar bucket alley oop 360 bigspin indy grab. Rodney Mullen front foot impossible freestyle launch ramp hang-up hardware mongo. Late kidney Steve Olson airwalk nose-bump hanger full-cab. ","Hurricane frontside tailslide shinner kidney risers Video Days. Hang ten Wade Speyer snake boned out smith grind casper slide hanger. Ollie north axle Jason Wilson face plant darkslide durometer rock and roll. Opposite footed cab flip Saran Wrap 50-50 nosebone wheels. Kingpin g-turn risers trucks pogo ledge. Grab varial pivot tuna-flip boneless cab flip. Casper slide durometer steps cess slide ho-ho Matt Hensley body varial. Stoked boneless powerslide casper lipslide bail. Snake berm method air Wheels of FIre handplant crooked grind skater. ","Slap maxwell indy grab tic-tac roll-in front foot impossible powerslide JFA nosegrind. Pump drop in tail cess slide spine deck half-flip. Ledge hand rail skater shoveit bank bearings ollie. Hand rail kickturn pogo Shiloh Greathouse ollie north 50-50 wheels coper. Ron Allen nosebone wheels impossible birdie nosepicker bail nose. Rails pop shove-it Christ air ollie regular footed crail slide lipslide. Nose blunt slappy Saran Wrap fast plant ollie hole acid drop frontside Memory Screen. Hang ten method air casper slide fakie pogo late hand rail. Snake melancholy flail deck axle handplant 360. G-turn gnarly rad boned out 720 rocket air frigid air. Steps lipslide feeble aerial hospital flip tuna-flip half-cab. Griptape Saran Wrap crooked grind Japan air varial acid drop kidney Wallows. Smith grind hardware regular footed Andy Howell front foot impossible finger flip launch ramp hard flip. ","Mute-air front foot impossible street Mike Vallely helipop. Kevin Harris impossible Steve Rocco face plant carve. Saran Wrap Stacy Peralta hip no comply downhill. Powerslide Zorlac slappy crail slide baseplate. Kingpin rail slide rocket air Daewon Song grab. Santa Monica Airlines transition skater freestyle melancholy. Video Days half-flip 1080 baseplate rock and roll. Wheels hip half-flip g-turn. 1080 birdie steps handplant. ","Ollie north goofy footed pogo disaster. Feeble Kevin Jarvis trucks lipslide hurricane. Half-cab gap bail pogo. Bigspin smith grind kickturn Guy Mariano fast plant. 50-50 poseur 720 airwalk. Ollie north helipop wheels hospital flip. Blunt Rudy Johnson nosegrind varial invert. 50-50 backside skate or die casper Steve Steadham. Manual axle street bigspin. Coping g-turn sketchy stalefish Jerry Hsu. Nose bump sponsored rad feeble Girl. Smith grind nose Japan air skate or die. 360 tail transition yeah. ","Plan B tailslide pool nosebone crooked grind disaster fastplant. Masonite ollie north John Cardiel rip grip crailtap tail impossible. Durometer slap maxwell transition varial nose slide mini ramp. Launch ramp vert Thrasher hanger crooked grind transition nose blunt. Ollie pop shove-it carve fakie out varial shinner. Varial boned out casper half-cab 540 mini ramp. Tic-tac Chris Buchinsky speed wobbles shoveit nose blunt invert ollie. Hardware layback Kevin Harris bank crailtap Saran Wrap. Half-flip 50-50 hang-up 540 casper slide slappy. 360 smith grind 720 bank hospital flip crailtap. Bearings durometer Skull Skates bluntslide helipop darkslide coper. Full-cab fastplant ollie deck pool Japan air. Durometer 900 slam bearings Saran Wrap 540. Animal Chin poseur freestyle ho-ho frigid air risers gnar bucket. Lip wheels hip bearings 270 Saran Wrap. Boned out slap maxwell Blind birdie wheels skate or die gnar bucket. Pump Bare Cover nose blunt chicken wing transition ho-ho darkslide. Hard Corps wall ride crailtap cab flip speed wobbles kickflip transfer. Switch downhill pool g-turn nose grab nose slide Video Days. Grind concave kick-nose frontside goofy footed skate key. Mini ramp rail slide Shawn Dutton slam bail bone air front foot impossible. ","Fast plant slam camel back hip. Risers wax full pipe crailtap. Bluntslide frigid air finger flip baseplate. Carve Vision Streetwear soul skate pop shove-it skate key. China Banks late hang ten ollie north transfer. Half-flip helipop powerslide steps. Lip hang ten camel back rail Jai Alai Banks. Crooked grind gnar bucket vert Caballerial nose slide. Pogo pressure flip dude Vision Streetwear kingpin. ","Downhill airwalk Chico Brenes kidney fakie out sponsored. Slob air Julien Stranger fakie deck rad soul skate. Sick Memory Screen bail airwalk pressure flip transition. Bluntslide Randy Ruiz fakie out stoked pool cab flip. Kidney stalefish coffin cess slide skate or die. Casper slide ollie hole gnar bucket Chris Haslam lip bank. Backside Primo slide frontside air dude Kevin Harris. Tailslide coper disaster ho-ho bigspin Jeremy Klein. Risers lip spine sketchy wheels. Shinner slob air bail switch hurricane. 50-50 frigid air judo air transfer Brian Brannon salad grind. Slide regular footed death box Shawn Dutton transfer grind. Judo air wheels late full pipe aerial. ","Axle fakie Jai Alai Banks Christ air speed wobbles pivot. Acid drop air pogo nosebone hip Vision. 540 berm coping pressure flip skater. Bonite hurricane melancholy frontside masonite bone air. Birdie berm ollie hole mongo layback Alternative Sports. Randy Ruiz pivot hard flip axle set ollie slap maxwell. Primo slide wall ride backside concave John Carbis full-cab. Yeah hip Venice chicken wing hand rail transition. Skate or die half-cab ledge frontside salad grind. Christ air lipslide hard flip kick-nose crail slide Vernon Courtland Johnson. ","Darkslide method air wax downhill. Backside Saran Wrap downhill Girl death box. Kevin Harris wax lien air kickturn. Grind bail face plant pressure flip China Banks. Griptape Jeff Phillips rad Primo slide kickturn. Ollie tuna-flip switch rip grip. No comply downhill kingpin slide. Handplant kidney darkslide hanger. Blunt pool Christ air half-flip. Sidewalk Surfer kingpin snake noseblunt slide alley oop. Axle full-cab chicken wing egg plant. Tail kickturn method air Gullwing frontside. ","Rock and roll bail body varial hip. Rails pump melancholy bluntslide Chris Haslam. Rad soul skate durometer powerslide. Powerslide betty vert helipop Jeff Phillips. Boned out coper nollie spine. Wax sick hurricane Jai Alai Banks fakie. Mute-air betty airwalk goofy footed. Kevin Harris stalefish Plan B body varial goofy footed. Fakie finger flip cess slide tail. Indy grab transition camel back impossible. ","Wall ride body varial Vans stoked bluntslide snake. Stoked heel flip switch Tracker Johnny Rad wall ride. Impossible flypaper opposite footed Kevin Harris late. Melancholy Z-Roller hang-up noseblunt slide nosepicker late. Pool carve 720 stalefish impossible. Nose grab rail coffin alley oop nose-bump. Birdie transfer lip Rune Glifberg mongo gnar bucket. Rocket air Tim May no comply pressure flip berm chicken wing. Hardware pop shove-it concave pool frontside air. Jeff Phillips slam Tracker grab sick helipop. Tailslide pop shove-it no comply wall ride 720 Jeremy Wray. ","Melancholy skater bigspin birdie snake. Opposite footed nosegrind Randy Ruiz masonite layback chicken wing. Chris Livingston flail rails handplant hanger spine. Roll-in kidney deck vert axle. Air disaster vert Tony Magnusson alley oop Christ air. Coper 50-50 casper slide hang ten gnar bucket. Sketchy half-flip Neal Hendrix bigspin grind stoked. Coper frontside disaster skate key Dudesblood ho-ho."]} | </script> | </amp-experiment> diff --git a/extensions/amp-facebook-comments/0.1/test/validator-amp-facebook-comments-invalid.html b/extensions/amp-facebook-comments/0.1/test/validator-amp-facebook-comments-invalid.html index f01eb89c69d2..4ff38f2f0912 100644 --- a/extensions/amp-facebook-comments/0.1/test/validator-amp-facebook-comments-invalid.html +++ b/extensions/amp-facebook-comments/0.1/test/validator-amp-facebook-comments-invalid.html @@ -1,18 +1,3 @@ -<!-- - Copyright 2021 The AMP HTML Authors. All Rights Reserved. - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS-IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the license. ---> <!-- Test Description: Tests support for the amp-facebook-comments tag. diff --git a/extensions/amp-facebook-comments/0.1/test/validator-amp-facebook-comments-invalid.out b/extensions/amp-facebook-comments/0.1/test/validator-amp-facebook-comments-invalid.out index 6ac3bcad86ac..e5351b2613b0 100644 --- a/extensions/amp-facebook-comments/0.1/test/validator-amp-facebook-comments-invalid.out +++ b/extensions/amp-facebook-comments/0.1/test/validator-amp-facebook-comments-invalid.out @@ -1,20 +1,5 @@ FAIL | <!-- -| Copyright 2021 The AMP HTML Authors. All Rights Reserved. -| -| Licensed under the Apache License, Version 2.0 (the "License"); -| you may not use this file except in compliance with the License. -| You may obtain a copy of the License at -| -| http://www.apache.org/licenses/LICENSE-2.0 -| -| Unless required by applicable law or agreed to in writing, software -| distributed under the License is distributed on an "AS-IS" BASIS, -| WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -| See the License for the specific language governing permissions and -| limitations under the license. -| --> -| <!-- | Test Description: | Tests support for the amp-facebook-comments tag. | --> @@ -39,4 +24,4 @@ FAIL | </body> | </html> >> ^~~~~~~~~ -amp-facebook-comments/0.1/test/validator-amp-facebook-comments-invalid.html:39:6 The tag 'amp-facebook 1.0' is missing or incorrect, but required by 'amp-facebook-comments'. (see https://amp.dev/documentation/components/amp-facebook) +amp-facebook-comments/0.1/test/validator-amp-facebook-comments-invalid.html:24:6 The tag 'amp-facebook 1.0' is missing or incorrect, but required by 'amp-facebook-comments'. (see https://amp.dev/documentation/components/amp-facebook) diff --git a/extensions/amp-facebook-comments/0.1/test/validator-amp-facebook-comments.html b/extensions/amp-facebook-comments/0.1/test/validator-amp-facebook-comments.html index fde2283ccddb..bc7b03e34bd7 100644 --- a/extensions/amp-facebook-comments/0.1/test/validator-amp-facebook-comments.html +++ b/extensions/amp-facebook-comments/0.1/test/validator-amp-facebook-comments.html @@ -1,18 +1,3 @@ -<!-- - Copyright 2015 The AMP HTML Authors. All Rights Reserved. - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS-IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the license. ---> <!-- Test Description: Tests support for the amp-facebook-comments tag. diff --git a/extensions/amp-facebook-comments/0.1/test/validator-amp-facebook-comments.out b/extensions/amp-facebook-comments/0.1/test/validator-amp-facebook-comments.out index 6ccee4d6b091..e24d8d9aeec1 100644 --- a/extensions/amp-facebook-comments/0.1/test/validator-amp-facebook-comments.out +++ b/extensions/amp-facebook-comments/0.1/test/validator-amp-facebook-comments.out @@ -1,20 +1,5 @@ PASS | <!-- -| Copyright 2015 The AMP HTML Authors. All Rights Reserved. -| -| Licensed under the Apache License, Version 2.0 (the "License"); -| you may not use this file except in compliance with the License. -| You may obtain a copy of the License at -| -| http://www.apache.org/licenses/LICENSE-2.0 -| -| Unless required by applicable law or agreed to in writing, software -| distributed under the License is distributed on an "AS-IS" BASIS, -| WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -| See the License for the specific language governing permissions and -| limitations under the license. -| --> -| <!-- | Test Description: | Tests support for the amp-facebook-comments tag. | --> diff --git a/extensions/amp-facebook-like/0.1/test/validator-amp-facebook-like-invalid.html b/extensions/amp-facebook-like/0.1/test/validator-amp-facebook-like-invalid.html index 7b63f0064cd5..4f68e711af91 100644 --- a/extensions/amp-facebook-like/0.1/test/validator-amp-facebook-like-invalid.html +++ b/extensions/amp-facebook-like/0.1/test/validator-amp-facebook-like-invalid.html @@ -1,18 +1,3 @@ -<!-- - Copyright 2021 The AMP HTML Authors. All Rights Reserved. - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS-IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the license. ---> <!-- Test Description: Tests support for the amp-facebook-like tag. diff --git a/extensions/amp-facebook-like/0.1/test/validator-amp-facebook-like-invalid.out b/extensions/amp-facebook-like/0.1/test/validator-amp-facebook-like-invalid.out index 76360c873382..439eb72bee32 100644 --- a/extensions/amp-facebook-like/0.1/test/validator-amp-facebook-like-invalid.out +++ b/extensions/amp-facebook-like/0.1/test/validator-amp-facebook-like-invalid.out @@ -1,20 +1,5 @@ FAIL | <!-- -| Copyright 2021 The AMP HTML Authors. All Rights Reserved. -| -| Licensed under the Apache License, Version 2.0 (the "License"); -| you may not use this file except in compliance with the License. -| You may obtain a copy of the License at -| -| http://www.apache.org/licenses/LICENSE-2.0 -| -| Unless required by applicable law or agreed to in writing, software -| distributed under the License is distributed on an "AS-IS" BASIS, -| WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -| See the License for the specific language governing permissions and -| limitations under the license. -| --> -| <!-- | Test Description: | Tests support for the amp-facebook-like tag. | --> @@ -41,4 +26,4 @@ FAIL | </body> | </html> >> ^~~~~~~~~ -amp-facebook-like/0.1/test/validator-amp-facebook-like-invalid.html:41:6 The tag 'amp-facebook 1.0' is missing or incorrect, but required by 'amp-facebook-like'. (see https://amp.dev/documentation/components/amp-facebook) +amp-facebook-like/0.1/test/validator-amp-facebook-like-invalid.html:26:6 The tag 'amp-facebook 1.0' is missing or incorrect, but required by 'amp-facebook-like'. (see https://amp.dev/documentation/components/amp-facebook) diff --git a/extensions/amp-facebook-like/0.1/test/validator-amp-facebook-like.html b/extensions/amp-facebook-like/0.1/test/validator-amp-facebook-like.html index 2ca1e858fffc..9628b205b21a 100644 --- a/extensions/amp-facebook-like/0.1/test/validator-amp-facebook-like.html +++ b/extensions/amp-facebook-like/0.1/test/validator-amp-facebook-like.html @@ -1,18 +1,3 @@ -<!-- - Copyright 2017 The AMP HTML Authors. All Rights Reserved. - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS-IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the license. ---> <!-- Test Description: Tests support for the amp-facebook-like tag. diff --git a/extensions/amp-facebook-like/0.1/test/validator-amp-facebook-like.out b/extensions/amp-facebook-like/0.1/test/validator-amp-facebook-like.out index c37f67a78ac1..7e425f119e17 100644 --- a/extensions/amp-facebook-like/0.1/test/validator-amp-facebook-like.out +++ b/extensions/amp-facebook-like/0.1/test/validator-amp-facebook-like.out @@ -1,20 +1,5 @@ PASS | <!-- -| Copyright 2017 The AMP HTML Authors. All Rights Reserved. -| -| Licensed under the Apache License, Version 2.0 (the "License"); -| you may not use this file except in compliance with the License. -| You may obtain a copy of the License at -| -| http://www.apache.org/licenses/LICENSE-2.0 -| -| Unless required by applicable law or agreed to in writing, software -| distributed under the License is distributed on an "AS-IS" BASIS, -| WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -| See the License for the specific language governing permissions and -| limitations under the license. -| --> -| <!-- | Test Description: | Tests support for the amp-facebook-like tag. | --> diff --git a/extensions/amp-facebook-page/0.1/test/validator-amp-facebook-page-invalid.html b/extensions/amp-facebook-page/0.1/test/validator-amp-facebook-page-invalid.html index 9f3c0aa621a2..0b1fb4dff333 100644 --- a/extensions/amp-facebook-page/0.1/test/validator-amp-facebook-page-invalid.html +++ b/extensions/amp-facebook-page/0.1/test/validator-amp-facebook-page-invalid.html @@ -1,18 +1,3 @@ -<!-- - Copyright 2021 The AMP HTML Authors. All Rights Reserved. - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS-IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the license. ---> <!-- Test Description: Tests support for the amp-facebook-page tag. diff --git a/extensions/amp-facebook-page/0.1/test/validator-amp-facebook-page-invalid.out b/extensions/amp-facebook-page/0.1/test/validator-amp-facebook-page-invalid.out index 62a8b8a83a68..ebd0f83b08fe 100644 --- a/extensions/amp-facebook-page/0.1/test/validator-amp-facebook-page-invalid.out +++ b/extensions/amp-facebook-page/0.1/test/validator-amp-facebook-page-invalid.out @@ -1,20 +1,5 @@ FAIL | <!-- -| Copyright 2021 The AMP HTML Authors. All Rights Reserved. -| -| Licensed under the Apache License, Version 2.0 (the "License"); -| you may not use this file except in compliance with the License. -| You may obtain a copy of the License at -| -| http://www.apache.org/licenses/LICENSE-2.0 -| -| Unless required by applicable law or agreed to in writing, software -| distributed under the License is distributed on an "AS-IS" BASIS, -| WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -| See the License for the specific language governing permissions and -| limitations under the license. -| --> -| <!-- | Test Description: | Tests support for the amp-facebook-page tag. | --> @@ -38,4 +23,4 @@ FAIL | </body> | </html> >> ^~~~~~~~~ -amp-facebook-page/0.1/test/validator-amp-facebook-page-invalid.html:38:6 The tag 'amp-facebook 1.0' is missing or incorrect, but required by 'amp-facebook-page'. (see https://amp.dev/documentation/components/amp-facebook) +amp-facebook-page/0.1/test/validator-amp-facebook-page-invalid.html:23:6 The tag 'amp-facebook 1.0' is missing or incorrect, but required by 'amp-facebook-page'. (see https://amp.dev/documentation/components/amp-facebook) diff --git a/extensions/amp-facebook-page/0.1/test/validator-amp-facebook-page.html b/extensions/amp-facebook-page/0.1/test/validator-amp-facebook-page.html index 18508c4fe6a0..ba50b4128c89 100644 --- a/extensions/amp-facebook-page/0.1/test/validator-amp-facebook-page.html +++ b/extensions/amp-facebook-page/0.1/test/validator-amp-facebook-page.html @@ -1,18 +1,3 @@ -<!-- - Copyright 2018 The AMP HTML Authors. All Rights Reserved. - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS-IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the license. ---> <!-- Test Description: Tests support for the amp-facebook-page tag. diff --git a/extensions/amp-facebook-page/0.1/test/validator-amp-facebook-page.out b/extensions/amp-facebook-page/0.1/test/validator-amp-facebook-page.out index 2babff5cfa8a..063fb105070c 100644 --- a/extensions/amp-facebook-page/0.1/test/validator-amp-facebook-page.out +++ b/extensions/amp-facebook-page/0.1/test/validator-amp-facebook-page.out @@ -1,20 +1,5 @@ PASS | <!-- -| Copyright 2018 The AMP HTML Authors. All Rights Reserved. -| -| Licensed under the Apache License, Version 2.0 (the "License"); -| you may not use this file except in compliance with the License. -| You may obtain a copy of the License at -| -| http://www.apache.org/licenses/LICENSE-2.0 -| -| Unless required by applicable law or agreed to in writing, software -| distributed under the License is distributed on an "AS-IS" BASIS, -| WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -| See the License for the specific language governing permissions and -| limitations under the license. -| --> -| <!-- | Test Description: | Tests support for the amp-facebook-page tag. | --> diff --git a/extensions/amp-facebook/0.1/test/validator-amp-facebook.html b/extensions/amp-facebook/0.1/test/validator-amp-facebook.html index 2a9e065e6c4c..6ba6a0df8a7f 100644 --- a/extensions/amp-facebook/0.1/test/validator-amp-facebook.html +++ b/extensions/amp-facebook/0.1/test/validator-amp-facebook.html @@ -1,18 +1,3 @@ -<!-- - Copyright 2015 The AMP HTML Authors. All Rights Reserved. - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS-IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the license. ---> <!-- Test Description: Tests support for the amp-facebook tag. diff --git a/extensions/amp-facebook/0.1/test/validator-amp-facebook.out b/extensions/amp-facebook/0.1/test/validator-amp-facebook.out index a6c512a76666..28b2e15eb424 100644 --- a/extensions/amp-facebook/0.1/test/validator-amp-facebook.out +++ b/extensions/amp-facebook/0.1/test/validator-amp-facebook.out @@ -1,20 +1,5 @@ PASS | <!-- -| Copyright 2015 The AMP HTML Authors. All Rights Reserved. -| -| Licensed under the Apache License, Version 2.0 (the "License"); -| you may not use this file except in compliance with the License. -| You may obtain a copy of the License at -| -| http://www.apache.org/licenses/LICENSE-2.0 -| -| Unless required by applicable law or agreed to in writing, software -| distributed under the License is distributed on an "AS-IS" BASIS, -| WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -| See the License for the specific language governing permissions and -| limitations under the license. -| --> -| <!-- | Test Description: | Tests support for the amp-facebook tag. | --> diff --git a/extensions/amp-facebook/1.0/test/validator-amp-facebook-comments.html b/extensions/amp-facebook/1.0/test/validator-amp-facebook-comments.html index f2b8a213076c..932c13c7547d 100644 --- a/extensions/amp-facebook/1.0/test/validator-amp-facebook-comments.html +++ b/extensions/amp-facebook/1.0/test/validator-amp-facebook-comments.html @@ -1,18 +1,3 @@ -<!-- - Copyright 2021 The AMP HTML Authors. All Rights Reserved. - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS-IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the license. ---> <!-- Test Description: Tests support for the amp-facebook-comments tag. diff --git a/extensions/amp-facebook/1.0/test/validator-amp-facebook-comments.out b/extensions/amp-facebook/1.0/test/validator-amp-facebook-comments.out index f61107820415..ad4842165ddd 100644 --- a/extensions/amp-facebook/1.0/test/validator-amp-facebook-comments.out +++ b/extensions/amp-facebook/1.0/test/validator-amp-facebook-comments.out @@ -1,20 +1,5 @@ PASS | <!-- -| Copyright 2021 The AMP HTML Authors. All Rights Reserved. -| -| Licensed under the Apache License, Version 2.0 (the "License"); -| you may not use this file except in compliance with the License. -| You may obtain a copy of the License at -| -| http://www.apache.org/licenses/LICENSE-2.0 -| -| Unless required by applicable law or agreed to in writing, software -| distributed under the License is distributed on an "AS-IS" BASIS, -| WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -| See the License for the specific language governing permissions and -| limitations under the license. -| --> -| <!-- | Test Description: | Tests support for the amp-facebook-comments tag. | --> diff --git a/extensions/amp-facebook/1.0/test/validator-amp-facebook-exclusive.html b/extensions/amp-facebook/1.0/test/validator-amp-facebook-exclusive.html index 3e72ac65117f..2aac2c6b5c62 100644 --- a/extensions/amp-facebook/1.0/test/validator-amp-facebook-exclusive.html +++ b/extensions/amp-facebook/1.0/test/validator-amp-facebook-exclusive.html @@ -1,18 +1,3 @@ -<!-- - Copyright 2021 The AMP HTML Authors. All Rights Reserved. - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS-IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the license. ---> <!-- Test Description: Tests support for the amp-facebook tag. diff --git a/extensions/amp-facebook/1.0/test/validator-amp-facebook-exclusive.out b/extensions/amp-facebook/1.0/test/validator-amp-facebook-exclusive.out index 5f3fceecd017..7a937832404d 100644 --- a/extensions/amp-facebook/1.0/test/validator-amp-facebook-exclusive.out +++ b/extensions/amp-facebook/1.0/test/validator-amp-facebook-exclusive.out @@ -1,20 +1,5 @@ FAIL | <!-- -| Copyright 2021 The AMP HTML Authors. All Rights Reserved. -| -| Licensed under the Apache License, Version 2.0 (the "License"); -| you may not use this file except in compliance with the License. -| You may obtain a copy of the License at -| -| http://www.apache.org/licenses/LICENSE-2.0 -| -| Unless required by applicable law or agreed to in writing, software -| distributed under the License is distributed on an "AS-IS" BASIS, -| WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -| See the License for the specific language governing permissions and -| limitations under the license. -| --> -| <!-- | Test Description: | Tests support for the amp-facebook tag. | --> @@ -64,14 +49,14 @@ FAIL | </body> | </html> >> ^~~~~~~~~ -amp-facebook/1.0/test/validator-amp-facebook-exclusive.html:64:6 The tag 'amp-facebook-comments extension script' is present, but is excluded by the presence of 'amp-facebook 1.0'. (see https://amp.dev/documentation/components/amp-facebook-comments) +amp-facebook/1.0/test/validator-amp-facebook-exclusive.html:49:6 The tag 'amp-facebook-comments extension script' is present, but is excluded by the presence of 'amp-facebook 1.0'. (see https://amp.dev/documentation/components/amp-facebook-comments) >> ^~~~~~~~~ -amp-facebook/1.0/test/validator-amp-facebook-exclusive.html:64:6 The tag 'amp-facebook-like extension script' is present, but is excluded by the presence of 'amp-facebook 1.0'. (see https://amp.dev/documentation/components/amp-facebook-like) +amp-facebook/1.0/test/validator-amp-facebook-exclusive.html:49:6 The tag 'amp-facebook-like extension script' is present, but is excluded by the presence of 'amp-facebook 1.0'. (see https://amp.dev/documentation/components/amp-facebook-like) >> ^~~~~~~~~ -amp-facebook/1.0/test/validator-amp-facebook-exclusive.html:64:6 The tag 'amp-facebook-page extension script' is present, but is excluded by the presence of 'amp-facebook 1.0'. (see https://amp.dev/documentation/components/amp-facebook-page) +amp-facebook/1.0/test/validator-amp-facebook-exclusive.html:49:6 The tag 'amp-facebook-page extension script' is present, but is excluded by the presence of 'amp-facebook 1.0'. (see https://amp.dev/documentation/components/amp-facebook-page) >> ^~~~~~~~~ -amp-facebook/1.0/test/validator-amp-facebook-exclusive.html:64:6 The tag 'amp-facebook 1.0' is present, but is excluded by the presence of 'amp-facebook-comments 0.1'. (see https://amp.dev/documentation/components/amp-facebook) +amp-facebook/1.0/test/validator-amp-facebook-exclusive.html:49:6 The tag 'amp-facebook 1.0' is present, but is excluded by the presence of 'amp-facebook-comments 0.1'. (see https://amp.dev/documentation/components/amp-facebook) >> ^~~~~~~~~ -amp-facebook/1.0/test/validator-amp-facebook-exclusive.html:64:6 The tag 'amp-facebook 1.0' is present, but is excluded by the presence of 'amp-facebook-like 0.1'. (see https://amp.dev/documentation/components/amp-facebook) +amp-facebook/1.0/test/validator-amp-facebook-exclusive.html:49:6 The tag 'amp-facebook 1.0' is present, but is excluded by the presence of 'amp-facebook-like 0.1'. (see https://amp.dev/documentation/components/amp-facebook) >> ^~~~~~~~~ -amp-facebook/1.0/test/validator-amp-facebook-exclusive.html:64:6 The tag 'amp-facebook 1.0' is present, but is excluded by the presence of 'amp-facebook-page 0.1'. (see https://amp.dev/documentation/components/amp-facebook) +amp-facebook/1.0/test/validator-amp-facebook-exclusive.html:49:6 The tag 'amp-facebook 1.0' is present, but is excluded by the presence of 'amp-facebook-page 0.1'. (see https://amp.dev/documentation/components/amp-facebook) diff --git a/extensions/amp-facebook/1.0/test/validator-amp-facebook-like.html b/extensions/amp-facebook/1.0/test/validator-amp-facebook-like.html index bed3f7f99c5b..9d20d0dbb565 100644 --- a/extensions/amp-facebook/1.0/test/validator-amp-facebook-like.html +++ b/extensions/amp-facebook/1.0/test/validator-amp-facebook-like.html @@ -1,18 +1,3 @@ -<!-- - Copyright 2021 The AMP HTML Authors. All Rights Reserved. - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS-IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the license. ---> <!-- Test Description: Tests support for the amp-facebook-like tag. diff --git a/extensions/amp-facebook/1.0/test/validator-amp-facebook-like.out b/extensions/amp-facebook/1.0/test/validator-amp-facebook-like.out index 9e32bb6f9db5..770921a3b333 100644 --- a/extensions/amp-facebook/1.0/test/validator-amp-facebook-like.out +++ b/extensions/amp-facebook/1.0/test/validator-amp-facebook-like.out @@ -1,20 +1,5 @@ PASS | <!-- -| Copyright 2021 The AMP HTML Authors. All Rights Reserved. -| -| Licensed under the Apache License, Version 2.0 (the "License"); -| you may not use this file except in compliance with the License. -| You may obtain a copy of the License at -| -| http://www.apache.org/licenses/LICENSE-2.0 -| -| Unless required by applicable law or agreed to in writing, software -| distributed under the License is distributed on an "AS-IS" BASIS, -| WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -| See the License for the specific language governing permissions and -| limitations under the license. -| --> -| <!-- | Test Description: | Tests support for the amp-facebook-like tag. | --> diff --git a/extensions/amp-facebook/1.0/test/validator-amp-facebook-page.html b/extensions/amp-facebook/1.0/test/validator-amp-facebook-page.html index 7f667e3af2a4..80e9a721d1ed 100644 --- a/extensions/amp-facebook/1.0/test/validator-amp-facebook-page.html +++ b/extensions/amp-facebook/1.0/test/validator-amp-facebook-page.html @@ -1,18 +1,3 @@ -<!-- - Copyright 2021 The AMP HTML Authors. All Rights Reserved. - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS-IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the license. ---> <!-- Test Description: Tests support for the amp-facebook-page tag. diff --git a/extensions/amp-facebook/1.0/test/validator-amp-facebook-page.out b/extensions/amp-facebook/1.0/test/validator-amp-facebook-page.out index e974aaec8da9..9a6816c9a222 100644 --- a/extensions/amp-facebook/1.0/test/validator-amp-facebook-page.out +++ b/extensions/amp-facebook/1.0/test/validator-amp-facebook-page.out @@ -1,20 +1,5 @@ PASS | <!-- -| Copyright 2021 The AMP HTML Authors. All Rights Reserved. -| -| Licensed under the Apache License, Version 2.0 (the "License"); -| you may not use this file except in compliance with the License. -| You may obtain a copy of the License at -| -| http://www.apache.org/licenses/LICENSE-2.0 -| -| Unless required by applicable law or agreed to in writing, software -| distributed under the License is distributed on an "AS-IS" BASIS, -| WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -| See the License for the specific language governing permissions and -| limitations under the license. -| --> -| <!-- | Test Description: | Tests support for the amp-facebook-page tag. | --> diff --git a/extensions/amp-facebook/1.0/test/validator-amp-facebook.html b/extensions/amp-facebook/1.0/test/validator-amp-facebook.html index c498ecb33887..3115a324d6f2 100644 --- a/extensions/amp-facebook/1.0/test/validator-amp-facebook.html +++ b/extensions/amp-facebook/1.0/test/validator-amp-facebook.html @@ -1,18 +1,3 @@ -<!-- - Copyright 2021 The AMP HTML Authors. All Rights Reserved. - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS-IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the license. ---> <!-- Test Description: Tests support for the amp-facebook tag. diff --git a/extensions/amp-facebook/1.0/test/validator-amp-facebook.out b/extensions/amp-facebook/1.0/test/validator-amp-facebook.out index 79763f19cb98..06e75b4e8261 100644 --- a/extensions/amp-facebook/1.0/test/validator-amp-facebook.out +++ b/extensions/amp-facebook/1.0/test/validator-amp-facebook.out @@ -1,20 +1,5 @@ PASS | <!-- -| Copyright 2021 The AMP HTML Authors. All Rights Reserved. -| -| Licensed under the Apache License, Version 2.0 (the "License"); -| you may not use this file except in compliance with the License. -| You may obtain a copy of the License at -| -| http://www.apache.org/licenses/LICENSE-2.0 -| -| Unless required by applicable law or agreed to in writing, software -| distributed under the License is distributed on an "AS-IS" BASIS, -| WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -| See the License for the specific language governing permissions and -| limitations under the license. -| --> -| <!-- | Test Description: | Tests support for the amp-facebook tag. | --> diff --git a/extensions/amp-fit-text/0.1/test/validator-amp-fit-text.html b/extensions/amp-fit-text/0.1/test/validator-amp-fit-text.html index cce0655c13bc..63749c16cdeb 100644 --- a/extensions/amp-fit-text/0.1/test/validator-amp-fit-text.html +++ b/extensions/amp-fit-text/0.1/test/validator-amp-fit-text.html @@ -1,18 +1,3 @@ -<!-- - Copyright 2018 The AMP HTML Authors. All Rights Reserved. - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS-IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the license. ---> <!-- Test Description: Tests for the amp-fit-text tag. See the inline comments. diff --git a/extensions/amp-fit-text/0.1/test/validator-amp-fit-text.out b/extensions/amp-fit-text/0.1/test/validator-amp-fit-text.out index 2b3c385d073c..6bb7d3d4a512 100644 --- a/extensions/amp-fit-text/0.1/test/validator-amp-fit-text.out +++ b/extensions/amp-fit-text/0.1/test/validator-amp-fit-text.out @@ -1,20 +1,5 @@ FAIL | <!-- -| Copyright 2018 The AMP HTML Authors. All Rights Reserved. -| -| Licensed under the Apache License, Version 2.0 (the "License"); -| you may not use this file except in compliance with the License. -| You may obtain a copy of the License at -| -| http://www.apache.org/licenses/LICENSE-2.0 -| -| Unless required by applicable law or agreed to in writing, software -| distributed under the License is distributed on an "AS-IS" BASIS, -| WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -| See the License for the specific language governing permissions and -| limitations under the license. -| --> -| <!-- | Test Description: | Tests for the amp-fit-text tag. See the inline comments. | --> @@ -65,7 +50,7 @@ FAIL | <div class="fixedblock"> | <amp-fit-text >> ^~~~~~~~~ -amp-fit-text/0.1/test/validator-amp-fit-text.html:65:4 The specified layout 'CONTAINER' is not supported by tag 'amp-fit-text'. (see https://amp.dev/documentation/components/amp-fit-text) +amp-fit-text/0.1/test/validator-amp-fit-text.html:50:4 The specified layout 'CONTAINER' is not supported by tag 'amp-fit-text'. (see https://amp.dev/documentation/components/amp-fit-text) | layout="container" | height="200" | width="200"> diff --git a/extensions/amp-fit-text/1.0/test/validator-amp-fit-text.html b/extensions/amp-fit-text/1.0/test/validator-amp-fit-text.html index b46d2e385232..c3120fce40eb 100644 --- a/extensions/amp-fit-text/1.0/test/validator-amp-fit-text.html +++ b/extensions/amp-fit-text/1.0/test/validator-amp-fit-text.html @@ -1,18 +1,3 @@ -<!-- - Copyright 2021 The AMP HTML Authors. All Rights Reserved. - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS-IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the license. ---> <!-- Test Description: Tests for the amp-fit-text tag. See the inline comments. diff --git a/extensions/amp-fit-text/1.0/test/validator-amp-fit-text.out b/extensions/amp-fit-text/1.0/test/validator-amp-fit-text.out index 542fe8fe393d..cb53873f18a9 100644 --- a/extensions/amp-fit-text/1.0/test/validator-amp-fit-text.out +++ b/extensions/amp-fit-text/1.0/test/validator-amp-fit-text.out @@ -1,20 +1,5 @@ FAIL | <!-- -| Copyright 2021 The AMP HTML Authors. All Rights Reserved. -| -| Licensed under the Apache License, Version 2.0 (the "License"); -| you may not use this file except in compliance with the License. -| You may obtain a copy of the License at -| -| http://www.apache.org/licenses/LICENSE-2.0 -| -| Unless required by applicable law or agreed to in writing, software -| distributed under the License is distributed on an "AS-IS" BASIS, -| WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -| See the License for the specific language governing permissions and -| limitations under the license. -| --> -| <!-- | Test Description: | Tests for the amp-fit-text tag. See the inline comments. | --> @@ -65,7 +50,7 @@ FAIL | <div class="fixedblock"> | <amp-fit-text >> ^~~~~~~~~ -amp-fit-text/1.0/test/validator-amp-fit-text.html:65:4 The specified layout 'CONTAINER' is not supported by tag 'amp-fit-text'. (see https://amp.dev/documentation/components/amp-fit-text) +amp-fit-text/1.0/test/validator-amp-fit-text.html:50:4 The specified layout 'CONTAINER' is not supported by tag 'amp-fit-text'. (see https://amp.dev/documentation/components/amp-fit-text) | layout="container" | height="200" | width="200"> diff --git a/extensions/amp-font/0.1/test/validator-amp-font.html b/extensions/amp-font/0.1/test/validator-amp-font.html index 8825cd5b66be..0bd6fe8b0a08 100644 --- a/extensions/amp-font/0.1/test/validator-amp-font.html +++ b/extensions/amp-font/0.1/test/validator-amp-font.html @@ -1,18 +1,3 @@ -<!-- - Copyright 2015 The AMP HTML Authors. All Rights Reserved. - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS-IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the license. ---> <!doctype html> <html ⚡ lang="en"> <head> diff --git a/extensions/amp-font/0.1/test/validator-amp-font.out b/extensions/amp-font/0.1/test/validator-amp-font.out index 6937478db3ef..a9a4f4063d02 100644 --- a/extensions/amp-font/0.1/test/validator-amp-font.out +++ b/extensions/amp-font/0.1/test/validator-amp-font.out @@ -1,19 +1,4 @@ PASS -| <!-- -| Copyright 2015 The AMP HTML Authors. All Rights Reserved. -| -| Licensed under the Apache License, Version 2.0 (the "License"); -| you may not use this file except in compliance with the License. -| You may obtain a copy of the License at -| -| http://www.apache.org/licenses/LICENSE-2.0 -| -| Unless required by applicable law or agreed to in writing, software -| distributed under the License is distributed on an "AS-IS" BASIS, -| WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -| See the License for the specific language governing permissions and -| limitations under the license. -| --> | <!doctype html> | <html ⚡ lang="en"> | <head> diff --git a/extensions/amp-fx-collection/0.1/test/validator-amp-fx-collection-missing-extension.html b/extensions/amp-fx-collection/0.1/test/validator-amp-fx-collection-missing-extension.html index 024611469192..fcb3b1b3d3d9 100644 --- a/extensions/amp-fx-collection/0.1/test/validator-amp-fx-collection-missing-extension.html +++ b/extensions/amp-fx-collection/0.1/test/validator-amp-fx-collection-missing-extension.html @@ -1,18 +1,3 @@ -<!-- - Copyright 2018 The AMP HTML Authors. All Rights Reserved. - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS-IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the license. ---> <!-- Test Description: Tests for the amp-fx-collection tag. diff --git a/extensions/amp-fx-collection/0.1/test/validator-amp-fx-collection-missing-extension.out b/extensions/amp-fx-collection/0.1/test/validator-amp-fx-collection-missing-extension.out index 5474c673da45..99fa0ff8cae3 100644 --- a/extensions/amp-fx-collection/0.1/test/validator-amp-fx-collection-missing-extension.out +++ b/extensions/amp-fx-collection/0.1/test/validator-amp-fx-collection-missing-extension.out @@ -1,20 +1,5 @@ FAIL | <!-- -| Copyright 2018 The AMP HTML Authors. All Rights Reserved. -| -| Licensed under the Apache License, Version 2.0 (the "License"); -| you may not use this file except in compliance with the License. -| You may obtain a copy of the License at -| -| http://www.apache.org/licenses/LICENSE-2.0 -| -| Unless required by applicable law or agreed to in writing, software -| distributed under the License is distributed on an "AS-IS" BASIS, -| WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -| See the License for the specific language governing permissions and -| limitations under the license. -| --> -| <!-- | Test Description: | Tests for the amp-fx-collection tag. | --> @@ -31,6 +16,6 @@ FAIL | <!-- Invalid: Missing extension script --> | <div amp-fx="parallax" data-parallax-factor="0.8"></div> >> ^~~~~~~~~ -amp-fx-collection/0.1/test/validator-amp-fx-collection-missing-extension.html:31:2 The attribute 'amp-fx' requires including the 'amp-fx-collection' extension JavaScript. +amp-fx-collection/0.1/test/validator-amp-fx-collection-missing-extension.html:16:2 The attribute 'amp-fx' requires including the 'amp-fx-collection' extension JavaScript. | </body> | </html> diff --git a/extensions/amp-fx-collection/0.1/test/validator-amp-fx-collection.html b/extensions/amp-fx-collection/0.1/test/validator-amp-fx-collection.html index bf7c56c187f7..c8b1f5a8ba6b 100644 --- a/extensions/amp-fx-collection/0.1/test/validator-amp-fx-collection.html +++ b/extensions/amp-fx-collection/0.1/test/validator-amp-fx-collection.html @@ -1,18 +1,3 @@ -<!-- - Copyright 2018 The AMP HTML Authors. All Rights Reserved. - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS-IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the license. ---> <!-- Test Description: Tests for the amp-fx-collection tag. diff --git a/extensions/amp-fx-collection/0.1/test/validator-amp-fx-collection.out b/extensions/amp-fx-collection/0.1/test/validator-amp-fx-collection.out index b204823a843b..5727e7772faf 100644 --- a/extensions/amp-fx-collection/0.1/test/validator-amp-fx-collection.out +++ b/extensions/amp-fx-collection/0.1/test/validator-amp-fx-collection.out @@ -1,20 +1,5 @@ PASS | <!-- -| Copyright 2018 The AMP HTML Authors. All Rights Reserved. -| -| Licensed under the Apache License, Version 2.0 (the "License"); -| you may not use this file except in compliance with the License. -| You may obtain a copy of the License at -| -| http://www.apache.org/licenses/LICENSE-2.0 -| -| Unless required by applicable law or agreed to in writing, software -| distributed under the License is distributed on an "AS-IS" BASIS, -| WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -| See the License for the specific language governing permissions and -| limitations under the license. -| --> -| <!-- | Test Description: | Tests for the amp-fx-collection tag. | --> diff --git a/extensions/amp-fx-flying-carpet/0.1/test/validator-amp-flying-carpet.html b/extensions/amp-fx-flying-carpet/0.1/test/validator-amp-flying-carpet.html index f62853d72f82..f1251a33db20 100644 --- a/extensions/amp-fx-flying-carpet/0.1/test/validator-amp-flying-carpet.html +++ b/extensions/amp-fx-flying-carpet/0.1/test/validator-amp-flying-carpet.html @@ -1,18 +1,3 @@ -<!-- - Copyright 2015 The AMP HTML Authors. All Rights Reserved. - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS-IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the license. ---> <!-- Test Description: Tests amp-fx-flying-carpet. diff --git a/extensions/amp-fx-flying-carpet/0.1/test/validator-amp-flying-carpet.out b/extensions/amp-fx-flying-carpet/0.1/test/validator-amp-flying-carpet.out index 4098bea0d616..2c3718b4191d 100644 --- a/extensions/amp-fx-flying-carpet/0.1/test/validator-amp-flying-carpet.out +++ b/extensions/amp-fx-flying-carpet/0.1/test/validator-amp-flying-carpet.out @@ -1,20 +1,5 @@ PASS | <!-- -| Copyright 2015 The AMP HTML Authors. All Rights Reserved. -| -| Licensed under the Apache License, Version 2.0 (the "License"); -| you may not use this file except in compliance with the License. -| You may obtain a copy of the License at -| -| http://www.apache.org/licenses/LICENSE-2.0 -| -| Unless required by applicable law or agreed to in writing, software -| distributed under the License is distributed on an "AS-IS" BASIS, -| WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -| See the License for the specific language governing permissions and -| limitations under the license. -| --> -| <!-- | Test Description: | Tests amp-fx-flying-carpet. | --> diff --git a/extensions/amp-geo/0.1/test/validator-amp-geo.html b/extensions/amp-geo/0.1/test/validator-amp-geo.html index c606697a4193..d8f529796e5a 100644 --- a/extensions/amp-geo/0.1/test/validator-amp-geo.html +++ b/extensions/amp-geo/0.1/test/validator-amp-geo.html @@ -1,18 +1,3 @@ -<!-- - Copyright 2018 The AMP HTML Authors. All Rights Reserved. - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS-IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the license. ---> <!-- Test Description: Tests for the amp-geo tag. See the inline comments. diff --git a/extensions/amp-geo/0.1/test/validator-amp-geo.out b/extensions/amp-geo/0.1/test/validator-amp-geo.out index 0b49aa8aa0a2..7dba66945b8f 100644 --- a/extensions/amp-geo/0.1/test/validator-amp-geo.out +++ b/extensions/amp-geo/0.1/test/validator-amp-geo.out @@ -1,20 +1,5 @@ PASS | <!-- -| Copyright 2018 The AMP HTML Authors. All Rights Reserved. -| -| Licensed under the Apache License, Version 2.0 (the "License"); -| you may not use this file except in compliance with the License. -| You may obtain a copy of the License at -| -| http://www.apache.org/licenses/LICENSE-2.0 -| -| Unless required by applicable law or agreed to in writing, software -| distributed under the License is distributed on an "AS-IS" BASIS, -| WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -| See the License for the specific language governing permissions and -| limitations under the license. -| --> -| <!-- | Test Description: | Tests for the amp-geo tag. See the inline comments. | --> @@ -43,7 +28,7 @@ PASS | <!-- Invalid: AMP Runtime can't parse json with comments. --> | <script type="application/json"> >> ^~~~~~~~~ -amp-geo/0.1/test/validator-amp-geo.html:43:4 The script tag contains invalid JSON that cannot be parsed. +amp-geo/0.1/test/validator-amp-geo.html:28:4 The script tag contains invalid JSON that cannot be parsed. | { | // Comment, should break parsing and result in a warning. | } diff --git a/extensions/amp-geo/0.1/test/validator-amp-geo.out.cpponly b/extensions/amp-geo/0.1/test/validator-amp-geo.out.cpponly index 79f12bb88595..50305921f495 100644 --- a/extensions/amp-geo/0.1/test/validator-amp-geo.out.cpponly +++ b/extensions/amp-geo/0.1/test/validator-amp-geo.out.cpponly @@ -1,20 +1,5 @@ PASS | <!-- -| Copyright 2018 The AMP HTML Authors. All Rights Reserved. -| -| Licensed under the Apache License, Version 2.0 (the "License"); -| you may not use this file except in compliance with the License. -| You may obtain a copy of the License at -| -| http://www.apache.org/licenses/LICENSE-2.0 -| -| Unless required by applicable law or agreed to in writing, software -| distributed under the License is distributed on an "AS-IS" BASIS, -| WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -| See the License for the specific language governing permissions and -| limitations under the license. -| --> -| <!-- | Test Description: | Tests for the amp-geo tag. See the inline comments. | --> @@ -45,7 +30,7 @@ PASS | { | // Comment, should break parsing and result in a warning. >> ^~~~~~~~~ -amp-geo/0.1/test/validator-amp-geo.html:45:6 The script tag contains invalid JSON that cannot be parsed. +amp-geo/0.1/test/validator-amp-geo.html:30:6 The script tag contains invalid JSON that cannot be parsed. | } | </script> | </amp-geo> diff --git a/extensions/amp-gfycat/0.1/test/validator-amp-gfycat.html b/extensions/amp-gfycat/0.1/test/validator-amp-gfycat.html index 035dca706862..f1106f7c4a88 100644 --- a/extensions/amp-gfycat/0.1/test/validator-amp-gfycat.html +++ b/extensions/amp-gfycat/0.1/test/validator-amp-gfycat.html @@ -1,18 +1,3 @@ -<!-- - Copyright 2017 The AMP HTML Authors. All Rights Reserved. - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS-IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the license. ---> <!doctype html> <html ⚡ lang="en"> <head> diff --git a/extensions/amp-gfycat/0.1/test/validator-amp-gfycat.out b/extensions/amp-gfycat/0.1/test/validator-amp-gfycat.out index 2adb3f47c80d..d16c5d8179a7 100644 --- a/extensions/amp-gfycat/0.1/test/validator-amp-gfycat.out +++ b/extensions/amp-gfycat/0.1/test/validator-amp-gfycat.out @@ -1,19 +1,4 @@ PASS -| <!-- -| Copyright 2017 The AMP HTML Authors. All Rights Reserved. -| -| Licensed under the Apache License, Version 2.0 (the "License"); -| you may not use this file except in compliance with the License. -| You may obtain a copy of the License at -| -| http://www.apache.org/licenses/LICENSE-2.0 -| -| Unless required by applicable law or agreed to in writing, software -| distributed under the License is distributed on an "AS-IS" BASIS, -| WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -| See the License for the specific language governing permissions and -| limitations under the license. -| --> | <!doctype html> | <html ⚡ lang="en"> | <head> diff --git a/extensions/amp-gist/0.1/test/validator-amp-gist.html b/extensions/amp-gist/0.1/test/validator-amp-gist.html index 342bafa63513..4742bc0c58e9 100644 --- a/extensions/amp-gist/0.1/test/validator-amp-gist.html +++ b/extensions/amp-gist/0.1/test/validator-amp-gist.html @@ -1,18 +1,3 @@ -<!-- - Copyright 2018 The AMP HTML Authors. All Rights Reserved. - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS-IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the license. ---> <!-- Test Description: Tests for the amp-gist tag. See the inline comments. diff --git a/extensions/amp-gist/0.1/test/validator-amp-gist.out b/extensions/amp-gist/0.1/test/validator-amp-gist.out index c767304f8415..26e4c09fc508 100644 --- a/extensions/amp-gist/0.1/test/validator-amp-gist.out +++ b/extensions/amp-gist/0.1/test/validator-amp-gist.out @@ -1,20 +1,5 @@ FAIL | <!-- -| Copyright 2018 The AMP HTML Authors. All Rights Reserved. -| -| Licensed under the Apache License, Version 2.0 (the "License"); -| you may not use this file except in compliance with the License. -| You may obtain a copy of the License at -| -| http://www.apache.org/licenses/LICENSE-2.0 -| -| Unless required by applicable law or agreed to in writing, software -| distributed under the License is distributed on an "AS-IS" BASIS, -| WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -| See the License for the specific language governing permissions and -| limitations under the license. -| --> -| <!-- | Test Description: | Tests for the amp-gist tag. See the inline comments. | --> @@ -47,7 +32,7 @@ FAIL | <!-- Invalid: missing data-gistid attribute. --> | <amp-gist >> ^~~~~~~~~ -amp-gist/0.1/test/validator-amp-gist.html:47:2 The mandatory attribute 'data-gistid' is missing in tag 'amp-gist'. (see https://amp.dev/documentation/components/amp-gist/) +amp-gist/0.1/test/validator-amp-gist.html:32:2 The mandatory attribute 'data-gistid' is missing in tag 'amp-gist'. (see https://amp.dev/documentation/components/amp-gist/) | layout="fixed-height" | height="241"> | </amp-gist> @@ -55,7 +40,7 @@ amp-gist/0.1/test/validator-amp-gist.html:47:2 The mandatory attribute 'data-gis | <!-- Invalid: illegal layout. --> | <amp-gist >> ^~~~~~~~~ -amp-gist/0.1/test/validator-amp-gist.html:53:2 The specified layout 'RESPONSIVE' is not supported by tag 'amp-gist'. (see https://amp.dev/documentation/components/amp-gist/) +amp-gist/0.1/test/validator-amp-gist.html:38:2 The specified layout 'RESPONSIVE' is not supported by tag 'amp-gist'. (see https://amp.dev/documentation/components/amp-gist/) | layout="responsive" | height="241" | data-gistid="b9bb35bc68df68259af94430f012425f"> diff --git a/extensions/amp-google-document-embed/0.1/test/validator-amp-google-document-embed.html b/extensions/amp-google-document-embed/0.1/test/validator-amp-google-document-embed.html index aa63ad8c3b17..75e1a666aaba 100644 --- a/extensions/amp-google-document-embed/0.1/test/validator-amp-google-document-embed.html +++ b/extensions/amp-google-document-embed/0.1/test/validator-amp-google-document-embed.html @@ -1,18 +1,3 @@ -<!-- - Copyright 2018 The AMP HTML Authors. All Rights Reserved. - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS-IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the license. ---> <!-- Test Description: Tests for the amp-google-document-embed tag. diff --git a/extensions/amp-google-document-embed/0.1/test/validator-amp-google-document-embed.out b/extensions/amp-google-document-embed/0.1/test/validator-amp-google-document-embed.out index 257d165b1e55..4d38cec53dea 100644 --- a/extensions/amp-google-document-embed/0.1/test/validator-amp-google-document-embed.out +++ b/extensions/amp-google-document-embed/0.1/test/validator-amp-google-document-embed.out @@ -1,20 +1,5 @@ FAIL | <!-- -| Copyright 2018 The AMP HTML Authors. All Rights Reserved. -| -| Licensed under the Apache License, Version 2.0 (the "License"); -| you may not use this file except in compliance with the License. -| You may obtain a copy of the License at -| -| http://www.apache.org/licenses/LICENSE-2.0 -| -| Unless required by applicable law or agreed to in writing, software -| distributed under the License is distributed on an "AS-IS" BASIS, -| WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -| See the License for the specific language governing permissions and -| limitations under the license. -| --> -| <!-- | Test Description: | Tests for the amp-google-document-embed tag. | --> @@ -47,27 +32,27 @@ FAIL | <!-- Invalid: element without src --> | <amp-google-document-embed width="800" height="600"> >> ^~~~~~~~~ -amp-google-document-embed/0.1/test/validator-amp-google-document-embed.html:47:2 The mandatory attribute 'src' is missing in tag 'amp-google-document-embed'. (see https://amp.dev/documentation/components/amp-google-document-embed/) +amp-google-document-embed/0.1/test/validator-amp-google-document-embed.html:32:2 The mandatory attribute 'src' is missing in tag 'amp-google-document-embed'. (see https://amp.dev/documentation/components/amp-google-document-embed/) | </amp-google-document-embed> | <!-- Invalid: element with empty src --> | <amp-google-document-embed src="" width="800" height="600"> >> ^~~~~~~~~ -amp-google-document-embed/0.1/test/validator-amp-google-document-embed.html:50:2 Missing URL for attribute 'src' in tag 'amp-google-document-embed'. (see https://amp.dev/documentation/components/amp-google-document-embed/) +amp-google-document-embed/0.1/test/validator-amp-google-document-embed.html:35:2 Missing URL for attribute 'src' in tag 'amp-google-document-embed'. (see https://amp.dev/documentation/components/amp-google-document-embed/) | </amp-google-document-embed> | <!-- Invalid: element with empty src but bind [src] --> | <amp-google-document-embed src="" [src]="'https://www.example.com/document.pdf'" width="800" height="600"> >> ^~~~~~~~~ -amp-google-document-embed/0.1/test/validator-amp-google-document-embed.html:53:2 Missing URL for attribute 'src' in tag 'amp-google-document-embed'. (see https://amp.dev/documentation/components/amp-google-document-embed/) +amp-google-document-embed/0.1/test/validator-amp-google-document-embed.html:38:2 Missing URL for attribute 'src' in tag 'amp-google-document-embed'. (see https://amp.dev/documentation/components/amp-google-document-embed/) | </amp-google-document-embed> | <!-- Invalid: element with http src --> | <amp-google-document-embed src="http://www.example.com/document.pdf" width="800" height="600"> >> ^~~~~~~~~ -amp-google-document-embed/0.1/test/validator-amp-google-document-embed.html:56:2 Invalid URL protocol 'http:' for attribute 'src' in tag 'amp-google-document-embed'. (see https://amp.dev/documentation/components/amp-google-document-embed/) +amp-google-document-embed/0.1/test/validator-amp-google-document-embed.html:41:2 Invalid URL protocol 'http:' for attribute 'src' in tag 'amp-google-document-embed'. (see https://amp.dev/documentation/components/amp-google-document-embed/) | </amp-google-document-embed> | <!-- Invalid: element with relative src --> | <amp-google-document-embed src="document.pdf" width="800" height="600"> >> ^~~~~~~~~ -amp-google-document-embed/0.1/test/validator-amp-google-document-embed.html:59:2 The relative URL 'document.pdf' for attribute 'src' in tag 'amp-google-document-embed' is disallowed. (see https://amp.dev/documentation/components/amp-google-document-embed/) +amp-google-document-embed/0.1/test/validator-amp-google-document-embed.html:44:2 The relative URL 'document.pdf' for attribute 'src' in tag 'amp-google-document-embed' is disallowed. (see https://amp.dev/documentation/components/amp-google-document-embed/) | </amp-google-document-embed> | </body> | </html> diff --git a/extensions/amp-gwd-animation/0.1/test/validator-amp4ads-amp-gwd-animation.html b/extensions/amp-gwd-animation/0.1/test/validator-amp4ads-amp-gwd-animation.html index 377ce78f2556..9e503d69ad81 100644 --- a/extensions/amp-gwd-animation/0.1/test/validator-amp4ads-amp-gwd-animation.html +++ b/extensions/amp-gwd-animation/0.1/test/validator-amp4ads-amp-gwd-animation.html @@ -1,18 +1,3 @@ -<!-- - Copyright 2017 The AMP HTML Authors. All Rights Reserved. - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS-IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the license. ---> <!doctype html> <html ⚡4ads> <head> diff --git a/extensions/amp-gwd-animation/0.1/test/validator-amp4ads-amp-gwd-animation.out b/extensions/amp-gwd-animation/0.1/test/validator-amp4ads-amp-gwd-animation.out index e9b476b805b2..fd0d46ef2c3e 100644 --- a/extensions/amp-gwd-animation/0.1/test/validator-amp4ads-amp-gwd-animation.out +++ b/extensions/amp-gwd-animation/0.1/test/validator-amp4ads-amp-gwd-animation.out @@ -1,19 +1,4 @@ PASS -| <!-- -| Copyright 2017 The AMP HTML Authors. All Rights Reserved. -| -| Licensed under the Apache License, Version 2.0 (the "License"); -| you may not use this file except in compliance with the License. -| You may obtain a copy of the License at -| -| http://www.apache.org/licenses/LICENSE-2.0 -| -| Unless required by applicable law or agreed to in writing, software -| distributed under the License is distributed on an "AS-IS" BASIS, -| WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -| See the License for the specific language governing permissions and -| limitations under the license. -| --> | <!doctype html> | <html ⚡4ads> | <head> diff --git a/extensions/amp-hulu/0.1/test/validator-amp-hulu.html b/extensions/amp-hulu/0.1/test/validator-amp-hulu.html index e6c329bafff1..3a9e4a88652e 100644 --- a/extensions/amp-hulu/0.1/test/validator-amp-hulu.html +++ b/extensions/amp-hulu/0.1/test/validator-amp-hulu.html @@ -1,18 +1,3 @@ -<!-- - Copyright 2018 The AMP HTML Authors. All Rights Reserved. - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS-IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the license. ---> <!-- Test Description: Tests for the amp-hulu tag. See the inline comments. diff --git a/extensions/amp-hulu/0.1/test/validator-amp-hulu.out b/extensions/amp-hulu/0.1/test/validator-amp-hulu.out index e472e5ea6c77..ea0984fd01c1 100644 --- a/extensions/amp-hulu/0.1/test/validator-amp-hulu.out +++ b/extensions/amp-hulu/0.1/test/validator-amp-hulu.out @@ -1,20 +1,5 @@ FAIL | <!-- -| Copyright 2018 The AMP HTML Authors. All Rights Reserved. -| -| Licensed under the Apache License, Version 2.0 (the "License"); -| you may not use this file except in compliance with the License. -| You may obtain a copy of the License at -| -| http://www.apache.org/licenses/LICENSE-2.0 -| -| Unless required by applicable law or agreed to in writing, software -| distributed under the License is distributed on an "AS-IS" BASIS, -| WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -| See the License for the specific language governing permissions and -| limitations under the license. -| --> -| <!-- | Test Description: | Tests for the amp-hulu tag. See the inline comments. | --> @@ -40,7 +25,7 @@ FAIL | <!-- Invalid: missing data-eid attribute. --> | <amp-hulu >> ^~~~~~~~~ -amp-hulu/0.1/test/validator-amp-hulu.html:40:2 The mandatory attribute 'data-eid' is missing in tag 'amp-hulu'. (see https://amp.dev/documentation/components/amp-hulu/) +amp-hulu/0.1/test/validator-amp-hulu.html:25:2 The mandatory attribute 'data-eid' is missing in tag 'amp-hulu'. (see https://amp.dev/documentation/components/amp-hulu/) | layout="responsive" | width="312" | height="213"> @@ -49,7 +34,7 @@ amp-hulu/0.1/test/validator-amp-hulu.html:40:2 The mandatory attribute 'data-eid | <!-- Invalid: illegal layout. --> | <amp-hulu >> ^~~~~~~~~ -amp-hulu/0.1/test/validator-amp-hulu.html:47:2 The specified layout 'INTRINSIC' is not supported by tag 'amp-hulu'. (see https://amp.dev/documentation/components/amp-hulu/) +amp-hulu/0.1/test/validator-amp-hulu.html:32:2 The specified layout 'INTRINSIC' is not supported by tag 'amp-hulu'. (see https://amp.dev/documentation/components/amp-hulu/) | layout="intrinsic" | width="412" | height="213" diff --git a/extensions/amp-iframe/0.1/test/validator-amp-iframe.html b/extensions/amp-iframe/0.1/test/validator-amp-iframe.html index 1d45b427d6dd..7b7f5b5d1a0b 100644 --- a/extensions/amp-iframe/0.1/test/validator-amp-iframe.html +++ b/extensions/amp-iframe/0.1/test/validator-amp-iframe.html @@ -1,18 +1,3 @@ -<!-- - Copyright 2015 The AMP HTML Authors. All Rights Reserved. - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS-IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the license. ---> <!-- Test Description: Tests for the amp-iframe tag. See the inline comments. diff --git a/extensions/amp-iframe/0.1/test/validator-amp-iframe.out b/extensions/amp-iframe/0.1/test/validator-amp-iframe.out index a2de1ca78dee..d9bef66687c5 100644 --- a/extensions/amp-iframe/0.1/test/validator-amp-iframe.out +++ b/extensions/amp-iframe/0.1/test/validator-amp-iframe.out @@ -1,20 +1,5 @@ FAIL | <!-- -| Copyright 2015 The AMP HTML Authors. All Rights Reserved. -| -| Licensed under the Apache License, Version 2.0 (the "License"); -| you may not use this file except in compliance with the License. -| You may obtain a copy of the License at -| -| http://www.apache.org/licenses/LICENSE-2.0 -| -| Unless required by applicable law or agreed to in writing, software -| distributed under the License is distributed on an "AS-IS" BASIS, -| WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -| See the License for the specific language governing permissions and -| limitations under the license. -| --> -| <!-- | Test Description: | Tests for the amp-iframe tag. See the inline comments. | --> @@ -44,7 +29,7 @@ FAIL | <!-- Invalid: We do not allow to bind to the src attribute, and also specify a srcdoc value --> | <amp-iframe width="200" height="200" srcdoc="<p>Hello World</p>" [src]="iframeurl"></amp-iframe> >> ^~~~~~~~~ -amp-iframe/0.1/test/validator-amp-iframe.html:44:2 The attribute 'src' in tag 'amp-iframe' is missing or incorrect, but required by attribute '[src]'. (see https://amp.dev/documentation/components/amp-iframe) +amp-iframe/0.1/test/validator-amp-iframe.html:29:2 The attribute 'src' in tag 'amp-iframe' is missing or incorrect, but required by attribute '[src]'. (see https://amp.dev/documentation/components/amp-iframe) | | | <!-- Mandatory amp-state to avoid amp-bind validator errors --> diff --git a/extensions/amp-iframely/0.1/test/validator-amp-iframely.html b/extensions/amp-iframely/0.1/test/validator-amp-iframely.html index c94b1765272b..2678c511eda3 100644 --- a/extensions/amp-iframely/0.1/test/validator-amp-iframely.html +++ b/extensions/amp-iframely/0.1/test/validator-amp-iframely.html @@ -1,18 +1,3 @@ -<!-- - Copyright 2021 The AMP HTML Authors. All Rights Reserved. - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS-IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the license. ---> <!-- Test Description: Tests for the amp-iframely tag. See the inline comments. diff --git a/extensions/amp-iframely/0.1/test/validator-amp-iframely.out b/extensions/amp-iframely/0.1/test/validator-amp-iframely.out index 13869cbf7163..ede9b4370c33 100644 --- a/extensions/amp-iframely/0.1/test/validator-amp-iframely.out +++ b/extensions/amp-iframely/0.1/test/validator-amp-iframely.out @@ -1,20 +1,5 @@ FAIL | <!-- -| Copyright 2021 The AMP HTML Authors. All Rights Reserved. -| -| Licensed under the Apache License, Version 2.0 (the "License"); -| you may not use this file except in compliance with the License. -| You may obtain a copy of the License at -| -| http://www.apache.org/licenses/LICENSE-2.0 -| -| Unless required by applicable law or agreed to in writing, software -| distributed under the License is distributed on an "AS-IS" BASIS, -| WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -| See the License for the specific language governing permissions and -| limitations under the license. -| --> -| <!-- | Test Description: | Tests for the amp-iframely tag. See the inline comments. | --> @@ -44,16 +29,16 @@ FAIL | <!-- Invalid: Missing mandatory data-id attribute --> | <amp-iframely width="600" height="400"></amp-iframely> >> ^~~~~~~~~ -amp-iframely/0.1/test/validator-amp-iframely.html:44:2 The tag 'amp-iframely' is missing a mandatory attribute - pick one of ['data-id', 'data-url']. (see https://amp.dev/documentation/components/amp-iframely) +amp-iframely/0.1/test/validator-amp-iframely.html:29:2 The tag 'amp-iframely' is missing a mandatory attribute - pick one of ['data-id', 'data-url']. (see https://amp.dev/documentation/components/amp-iframely) | | <!-- Invalid: data-domain="example.com" --> | <amp-iframely data-id="JQfo4N" data-domain="example.com" width="400" height="225" layout="responsive"></amp-iframely> >> ^~~~~~~~~ -amp-iframely/0.1/test/validator-amp-iframely.html:47:2 The attribute 'data-domain' in tag 'amp-iframely' is set to the invalid value 'example.com'. (see https://amp.dev/documentation/components/amp-iframely) +amp-iframely/0.1/test/validator-amp-iframely.html:32:2 The attribute 'data-domain' in tag 'amp-iframely' is set to the invalid value 'example.com'. (see https://amp.dev/documentation/components/amp-iframely) | | <!-- Invalid: data-url without corresponding data-key --> | <amp-iframely data-url="https://iframely.com/" height="200" width="400" layout="responsive"></amp-iframely> >> ^~~~~~~~~ -amp-iframely/0.1/test/validator-amp-iframely.html:50:2 The attribute 'data-key' in tag 'amp-iframely' is missing or incorrect, but required by attribute 'data-url'. (see https://amp.dev/documentation/components/amp-iframely) +amp-iframely/0.1/test/validator-amp-iframely.html:35:2 The attribute 'data-key' in tag 'amp-iframely' is missing or incorrect, but required by attribute 'data-url'. (see https://amp.dev/documentation/components/amp-iframely) | </body> | </html> diff --git a/extensions/amp-ima-video/0.1/test/validator-amp-ima-video-dock-no-extension.html b/extensions/amp-ima-video/0.1/test/validator-amp-ima-video-dock-no-extension.html index 5a4c21d0f4b8..a151c7b380ec 100644 --- a/extensions/amp-ima-video/0.1/test/validator-amp-ima-video-dock-no-extension.html +++ b/extensions/amp-ima-video/0.1/test/validator-amp-ima-video-dock-no-extension.html @@ -1,18 +1,3 @@ -<!-- - Copyright 2019 The AMP HTML Authors. All Rights Reserved. - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS-IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the license. ---> <!-- Test Description: Tests for <amp-ima-video dock> without amp-video-docking extension. diff --git a/extensions/amp-ima-video/0.1/test/validator-amp-ima-video-dock-no-extension.out b/extensions/amp-ima-video/0.1/test/validator-amp-ima-video-dock-no-extension.out index 470c368baf0c..f9cba3a3cadd 100644 --- a/extensions/amp-ima-video/0.1/test/validator-amp-ima-video-dock-no-extension.out +++ b/extensions/amp-ima-video/0.1/test/validator-amp-ima-video-dock-no-extension.out @@ -1,20 +1,5 @@ FAIL | <!-- -| Copyright 2019 The AMP HTML Authors. All Rights Reserved. -| -| Licensed under the Apache License, Version 2.0 (the "License"); -| you may not use this file except in compliance with the License. -| You may obtain a copy of the License at -| -| http://www.apache.org/licenses/LICENSE-2.0 -| -| Unless required by applicable law or agreed to in writing, software -| distributed under the License is distributed on an "AS-IS" BASIS, -| WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -| See the License for the specific language governing permissions and -| limitations under the license. -| --> -| <!-- | Test Description: | Tests for <amp-ima-video dock> without amp-video-docking extension. | --> @@ -32,7 +17,7 @@ FAIL | <!-- Invalid: dock without `amp-video-docking` extension --> | <amp-ima-video >> ^~~~~~~~~ -amp-ima-video/0.1/test/validator-amp-ima-video-dock-no-extension.html:32:2 The attribute 'dock' requires including the 'amp-video-docking' extension JavaScript. +amp-ima-video/0.1/test/validator-amp-ima-video-dock-no-extension.html:17:2 The attribute 'dock' requires including the 'amp-video-docking' extension JavaScript. | dock | width=640 height=360 layout="responsive" | data-src="https://s0.2mdn.net/4253510/google_ddm_animation_480P.mp4" diff --git a/extensions/amp-ima-video/0.1/test/validator-amp-ima-video.html b/extensions/amp-ima-video/0.1/test/validator-amp-ima-video.html index 34ee2368cd74..8e4bd12ce7ab 100644 --- a/extensions/amp-ima-video/0.1/test/validator-amp-ima-video.html +++ b/extensions/amp-ima-video/0.1/test/validator-amp-ima-video.html @@ -1,18 +1,3 @@ -<!-- - Copyright 2017 The AMP HTML Authors. All Rights Reserved. - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS-IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the license. ---> <!-- Test Description: Basic test for amp-ima-video. diff --git a/extensions/amp-ima-video/0.1/test/validator-amp-ima-video.out b/extensions/amp-ima-video/0.1/test/validator-amp-ima-video.out index 1f9b4142ebfd..36d3a5d93b5e 100644 --- a/extensions/amp-ima-video/0.1/test/validator-amp-ima-video.out +++ b/extensions/amp-ima-video/0.1/test/validator-amp-ima-video.out @@ -1,20 +1,5 @@ PASS | <!-- -| Copyright 2017 The AMP HTML Authors. All Rights Reserved. -| -| Licensed under the Apache License, Version 2.0 (the "License"); -| you may not use this file except in compliance with the License. -| You may obtain a copy of the License at -| -| http://www.apache.org/licenses/LICENSE-2.0 -| -| Unless required by applicable law or agreed to in writing, software -| distributed under the License is distributed on an "AS-IS" BASIS, -| WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -| See the License for the specific language governing permissions and -| limitations under the license. -| --> -| <!-- | Test Description: | Basic test for amp-ima-video. | --> diff --git a/extensions/amp-image-lightbox/0.1/test/validator-amp-image-lightbox.html b/extensions/amp-image-lightbox/0.1/test/validator-amp-image-lightbox.html index 9d39777386a5..38dd2f0ec2f9 100644 --- a/extensions/amp-image-lightbox/0.1/test/validator-amp-image-lightbox.html +++ b/extensions/amp-image-lightbox/0.1/test/validator-amp-image-lightbox.html @@ -1,18 +1,3 @@ -<!-- - Copyright 2018 The AMP HTML Authors. All Rights Reserved. - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS-IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the license. ---> <!-- Test Description: Tests for the amp-image-lightbox tag. See the inline comments. diff --git a/extensions/amp-image-lightbox/0.1/test/validator-amp-image-lightbox.out b/extensions/amp-image-lightbox/0.1/test/validator-amp-image-lightbox.out index d17538004033..f928b7c69fe9 100644 --- a/extensions/amp-image-lightbox/0.1/test/validator-amp-image-lightbox.out +++ b/extensions/amp-image-lightbox/0.1/test/validator-amp-image-lightbox.out @@ -1,20 +1,5 @@ FAIL | <!-- -| Copyright 2018 The AMP HTML Authors. All Rights Reserved. -| -| Licensed under the Apache License, Version 2.0 (the "License"); -| you may not use this file except in compliance with the License. -| You may obtain a copy of the License at -| -| http://www.apache.org/licenses/LICENSE-2.0 -| -| Unless required by applicable law or agreed to in writing, software -| distributed under the License is distributed on an "AS-IS" BASIS, -| WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -| See the License for the specific language governing permissions and -| limitations under the license. -| --> -| <!-- | Test Description: | Tests for the amp-image-lightbox tag. See the inline comments. | --> @@ -39,6 +24,6 @@ FAIL | <!-- Invalid: illegal layout. --> | <amp-image-lightbox id="lightbox1" width=1 height=1></amp-image-lightbox> >> ^~~~~~~~~ -amp-image-lightbox/0.1/test/validator-amp-image-lightbox.html:39:2 The implied layout 'FIXED' is not supported by tag 'amp-image-lightbox'. (see https://amp.dev/documentation/components/amp-image-lightbox) +amp-image-lightbox/0.1/test/validator-amp-image-lightbox.html:24:2 The implied layout 'FIXED' is not supported by tag 'amp-image-lightbox'. (see https://amp.dev/documentation/components/amp-image-lightbox) | </body> | </html> diff --git a/extensions/amp-imgur/0.1/test/validator-amp-imgur.html b/extensions/amp-imgur/0.1/test/validator-amp-imgur.html index 4646de9eaf29..cd4dd6fc0b32 100644 --- a/extensions/amp-imgur/0.1/test/validator-amp-imgur.html +++ b/extensions/amp-imgur/0.1/test/validator-amp-imgur.html @@ -1,18 +1,3 @@ -<!-- - Copyright 2017 The AMP HTML Authors. All Rights Reserved. - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS-IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the license. ---> <!-- Test Description: Tests for amp-imgur tag. diff --git a/extensions/amp-imgur/0.1/test/validator-amp-imgur.out b/extensions/amp-imgur/0.1/test/validator-amp-imgur.out index 82f8641432b8..c51d8ce5617d 100644 --- a/extensions/amp-imgur/0.1/test/validator-amp-imgur.out +++ b/extensions/amp-imgur/0.1/test/validator-amp-imgur.out @@ -1,20 +1,5 @@ FAIL | <!-- -| Copyright 2017 The AMP HTML Authors. All Rights Reserved. -| -| Licensed under the Apache License, Version 2.0 (the "License"); -| you may not use this file except in compliance with the License. -| You may obtain a copy of the License at -| -| http://www.apache.org/licenses/LICENSE-2.0 -| -| Unless required by applicable law or agreed to in writing, software -| distributed under the License is distributed on an "AS-IS" BASIS, -| WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -| See the License for the specific language governing permissions and -| limitations under the license. -| --> -| <!-- | Test Description: | Tests for amp-imgur tag. | --> @@ -34,6 +19,6 @@ FAIL | <!-- Invalid: Missing mandatory data-imgur-id attribute --> | <amp-imgur height="480" width="640" layout="responsive"></amp-imgur> >> ^~~~~~~~~ -amp-imgur/0.1/test/validator-amp-imgur.html:34:2 The mandatory attribute 'data-imgur-id' is missing in tag 'amp-imgur'. (see https://amp.dev/documentation/components/amp-imgur) +amp-imgur/0.1/test/validator-amp-imgur.html:19:2 The mandatory attribute 'data-imgur-id' is missing in tag 'amp-imgur'. (see https://amp.dev/documentation/components/amp-imgur) | </body> | </html> diff --git a/extensions/amp-inline-gallery/0.1/test/validator-amp-inline-gallery-pagination.html b/extensions/amp-inline-gallery/0.1/test/validator-amp-inline-gallery-pagination.html index dfe3c835ffc9..eb3dcbe313c6 100644 --- a/extensions/amp-inline-gallery/0.1/test/validator-amp-inline-gallery-pagination.html +++ b/extensions/amp-inline-gallery/0.1/test/validator-amp-inline-gallery-pagination.html @@ -1,18 +1,3 @@ -<!-- - Copyright 2020 The AMP HTML Authors. All Rights Reserved. - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS-IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the license. ---> <!-- Test Description: Tests for the amp-inline-gallery-pagination tag. See the inline comments. diff --git a/extensions/amp-inline-gallery/0.1/test/validator-amp-inline-gallery-pagination.out b/extensions/amp-inline-gallery/0.1/test/validator-amp-inline-gallery-pagination.out index 8a539ba150aa..ce0277debe15 100644 --- a/extensions/amp-inline-gallery/0.1/test/validator-amp-inline-gallery-pagination.out +++ b/extensions/amp-inline-gallery/0.1/test/validator-amp-inline-gallery-pagination.out @@ -1,20 +1,5 @@ FAIL | <!-- -| Copyright 2020 The AMP HTML Authors. All Rights Reserved. -| -| Licensed under the Apache License, Version 2.0 (the "License"); -| you may not use this file except in compliance with the License. -| You may obtain a copy of the License at -| -| http://www.apache.org/licenses/LICENSE-2.0 -| -| Unless required by applicable law or agreed to in writing, software -| distributed under the License is distributed on an "AS-IS" BASIS, -| WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -| See the License for the specific language governing permissions and -| limitations under the license. -| --> -| <!-- | Test Description: | Tests for the amp-inline-gallery-pagination tag. See the inline comments. | --> @@ -32,13 +17,13 @@ FAIL | <!-- Invalid: Not in a gallery --> | <amp-inline-gallery-pagination layout="fixed-height" height="24"> >> ^~~~~~~~~ -amp-inline-gallery/0.1/test/validator-amp-inline-gallery-pagination.html:32:2 The tag 'amp-inline-gallery-pagination' may only appear as a descendant of tag 'amp-inline-gallery'. (see https://amp.dev/documentation/components/amp-inline-gallery/) +amp-inline-gallery/0.1/test/validator-amp-inline-gallery-pagination.html:17:2 The tag 'amp-inline-gallery-pagination' may only appear as a descendant of tag 'amp-inline-gallery'. (see https://amp.dev/documentation/components/amp-inline-gallery/) | </amp-inline-gallery-pagination> | <!-- Invalid: Inset without nodisplay --> | <amp-inline-gallery layout="container"> | <amp-inline-gallery-pagination layout="fixed-height" height="24" inset> >> ^~~~~~~~~ -amp-inline-gallery/0.1/test/validator-amp-inline-gallery-pagination.html:36:4 The specified layout 'FIXED_HEIGHT' is not supported by tag 'amp-inline-gallery-pagination'. (see https://amp.dev/documentation/components/amp-inline-gallery/) +amp-inline-gallery/0.1/test/validator-amp-inline-gallery-pagination.html:21:4 The specified layout 'FIXED_HEIGHT' is not supported by tag 'amp-inline-gallery-pagination'. (see https://amp.dev/documentation/components/amp-inline-gallery/) | </amp-inline-gallery-pagination> | </amp-inline-gallery> | <!-- Valid: Inset with nodisplay --> diff --git a/extensions/amp-inline-gallery/0.1/test/validator-amp-inline-gallery-thumbnails.html b/extensions/amp-inline-gallery/0.1/test/validator-amp-inline-gallery-thumbnails.html index b62e667ef78a..b3748cf288e3 100644 --- a/extensions/amp-inline-gallery/0.1/test/validator-amp-inline-gallery-thumbnails.html +++ b/extensions/amp-inline-gallery/0.1/test/validator-amp-inline-gallery-thumbnails.html @@ -1,18 +1,3 @@ -<!-- - Copyright 2020 The AMP HTML Authors. All Rights Reserved. - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS-IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the license. ---> <!-- Test Description: Tests for the amp-inline-gallery-thumbnails tag. See the inline comments. diff --git a/extensions/amp-inline-gallery/0.1/test/validator-amp-inline-gallery-thumbnails.out b/extensions/amp-inline-gallery/0.1/test/validator-amp-inline-gallery-thumbnails.out index debf389e1bd5..26a499b4390c 100644 --- a/extensions/amp-inline-gallery/0.1/test/validator-amp-inline-gallery-thumbnails.out +++ b/extensions/amp-inline-gallery/0.1/test/validator-amp-inline-gallery-thumbnails.out @@ -1,20 +1,5 @@ FAIL | <!-- -| Copyright 2020 The AMP HTML Authors. All Rights Reserved. -| -| Licensed under the Apache License, Version 2.0 (the "License"); -| you may not use this file except in compliance with the License. -| You may obtain a copy of the License at -| -| http://www.apache.org/licenses/LICENSE-2.0 -| -| Unless required by applicable law or agreed to in writing, software -| distributed under the License is distributed on an "AS-IS" BASIS, -| WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -| See the License for the specific language governing permissions and -| limitations under the license. -| --> -| <!-- | Test Description: | Tests for the amp-inline-gallery-thumbnails tag. See the inline comments. | --> @@ -32,41 +17,41 @@ FAIL | <!-- Invalid: Not in a gallery --> | <amp-inline-gallery-thumbnails layout="fixed-height" height="96"> >> ^~~~~~~~~ -amp-inline-gallery/0.1/test/validator-amp-inline-gallery-thumbnails.html:32:2 The tag 'amp-inline-gallery-thumbnails' may only appear as a descendant of tag 'amp-inline-gallery'. (see https://amp.dev/documentation/components/amp-inline-gallery/) +amp-inline-gallery/0.1/test/validator-amp-inline-gallery-thumbnails.html:17:2 The tag 'amp-inline-gallery-thumbnails' may only appear as a descendant of tag 'amp-inline-gallery'. (see https://amp.dev/documentation/components/amp-inline-gallery/) | </amp-inline-gallery-thumbnails> | <!-- Invalid: Aspect ratio height widthout width --> | <amp-inline-gallery layout="container"> | <amp-inline-gallery-thumbnails layout="fixed-height" height="96" aspect-ratio-height="2"> >> ^~~~~~~~~ -amp-inline-gallery/0.1/test/validator-amp-inline-gallery-thumbnails.html:36:4 The attribute 'aspect-ratio-width' in tag 'amp-inline-gallery-thumbnails' is missing or incorrect, but required by attribute 'aspect-ratio-height'. (see https://amp.dev/documentation/components/amp-inline-gallery/) +amp-inline-gallery/0.1/test/validator-amp-inline-gallery-thumbnails.html:21:4 The attribute 'aspect-ratio-width' in tag 'amp-inline-gallery-thumbnails' is missing or incorrect, but required by attribute 'aspect-ratio-height'. (see https://amp.dev/documentation/components/amp-inline-gallery/) | </amp-inline-gallery-thumbnails> | </amp-inline-gallery> | <!-- Invalid: Non-number aspect ratio height--> | <amp-inline-gallery layout="container"> | <amp-inline-gallery-thumbnails layout="fixed-height" height="96" aspect-ratio-height="two" aspect-ratio-width="3"> >> ^~~~~~~~~ -amp-inline-gallery/0.1/test/validator-amp-inline-gallery-thumbnails.html:41:4 The attribute 'aspect-ratio-height' in tag 'amp-inline-gallery-thumbnails' is set to the invalid value 'two'. (see https://amp.dev/documentation/components/amp-inline-gallery/) +amp-inline-gallery/0.1/test/validator-amp-inline-gallery-thumbnails.html:26:4 The attribute 'aspect-ratio-height' in tag 'amp-inline-gallery-thumbnails' is set to the invalid value 'two'. (see https://amp.dev/documentation/components/amp-inline-gallery/) | </amp-inline-gallery-thumbnails> | </amp-inline-gallery> | <!-- Invalid: Aspect ratio component of zero --> | <amp-inline-gallery layout="container"> | <amp-inline-gallery-thumbnails layout="fixed-height" height="96" aspect-ratio-height="0" aspect-ratio-width="3"> >> ^~~~~~~~~ -amp-inline-gallery/0.1/test/validator-amp-inline-gallery-thumbnails.html:46:4 The attribute 'aspect-ratio-height' in tag 'amp-inline-gallery-thumbnails' is set to the invalid value '0'. (see https://amp.dev/documentation/components/amp-inline-gallery/) +amp-inline-gallery/0.1/test/validator-amp-inline-gallery-thumbnails.html:31:4 The attribute 'aspect-ratio-height' in tag 'amp-inline-gallery-thumbnails' is set to the invalid value '0'. (see https://amp.dev/documentation/components/amp-inline-gallery/) | </amp-inline-gallery-thumbnails> | </amp-inline-gallery> | <!-- Invalid: Aspect ratio component of zero (float) --> | <amp-inline-gallery layout="container"> | <amp-inline-gallery-thumbnails layout="fixed-height" height="96" aspect-ratio-height="0.00" aspect-ratio-width="3"> >> ^~~~~~~~~ -amp-inline-gallery/0.1/test/validator-amp-inline-gallery-thumbnails.html:51:4 The attribute 'aspect-ratio-height' in tag 'amp-inline-gallery-thumbnails' is set to the invalid value '0.00'. (see https://amp.dev/documentation/components/amp-inline-gallery/) +amp-inline-gallery/0.1/test/validator-amp-inline-gallery-thumbnails.html:36:4 The attribute 'aspect-ratio-height' in tag 'amp-inline-gallery-thumbnails' is set to the invalid value '0.00'. (see https://amp.dev/documentation/components/amp-inline-gallery/) | </amp-inline-gallery-thumbnails> | </amp-inline-gallery> | <!-- Invalid: Snap attribute without value --> | <amp-inline-gallery layout="container"> | <amp-inline-gallery-thumbnails layout="fixed-height" height="96" snap> >> ^~~~~~~~~ -amp-inline-gallery/0.1/test/validator-amp-inline-gallery-thumbnails.html:56:4 The attribute 'snap' may not appear in tag 'amp-inline-gallery-thumbnails'. (see https://amp.dev/documentation/components/amp-inline-gallery/) +amp-inline-gallery/0.1/test/validator-amp-inline-gallery-thumbnails.html:41:4 The attribute 'snap' may not appear in tag 'amp-inline-gallery-thumbnails'. (see https://amp.dev/documentation/components/amp-inline-gallery/) | </amp-inline-gallery-thumbnails> | </amp-inline-gallery> | <!-- Valid: Wrapped with a parent div --> diff --git a/extensions/amp-inline-gallery/1.0/test/validator-amp-inline-gallery-pagination.html b/extensions/amp-inline-gallery/1.0/test/validator-amp-inline-gallery-pagination.html index 6faba533d756..b2a74f3b1d45 100644 --- a/extensions/amp-inline-gallery/1.0/test/validator-amp-inline-gallery-pagination.html +++ b/extensions/amp-inline-gallery/1.0/test/validator-amp-inline-gallery-pagination.html @@ -1,18 +1,3 @@ -<!-- - Copyright 2021 The AMP HTML Authors. All Rights Reserved. - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS-IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the license. ---> <!-- Test Description: Tests for the amp-inline-gallery-pagination tag. See the inline comments. diff --git a/extensions/amp-inline-gallery/1.0/test/validator-amp-inline-gallery-pagination.out b/extensions/amp-inline-gallery/1.0/test/validator-amp-inline-gallery-pagination.out index 8600f4f52ca1..5d898cb8f8db 100644 --- a/extensions/amp-inline-gallery/1.0/test/validator-amp-inline-gallery-pagination.out +++ b/extensions/amp-inline-gallery/1.0/test/validator-amp-inline-gallery-pagination.out @@ -1,20 +1,5 @@ FAIL | <!-- -| Copyright 2021 The AMP HTML Authors. All Rights Reserved. -| -| Licensed under the Apache License, Version 2.0 (the "License"); -| you may not use this file except in compliance with the License. -| You may obtain a copy of the License at -| -| http://www.apache.org/licenses/LICENSE-2.0 -| -| Unless required by applicable law or agreed to in writing, software -| distributed under the License is distributed on an "AS-IS" BASIS, -| WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -| See the License for the specific language governing permissions and -| limitations under the license. -| --> -| <!-- | Test Description: | Tests for the amp-inline-gallery-pagination tag. See the inline comments. | --> @@ -49,13 +34,13 @@ FAIL | <!-- Invalid: Not in a gallery --> | <amp-inline-gallery-pagination layout="fixed-height" height="24"> >> ^~~~~~~~~ -amp-inline-gallery/1.0/test/validator-amp-inline-gallery-pagination.html:49:2 The tag 'amp-inline-gallery-pagination' may only appear as a descendant of tag 'amp-inline-gallery'. (see https://amp.dev/documentation/components/amp-inline-gallery/) +amp-inline-gallery/1.0/test/validator-amp-inline-gallery-pagination.html:34:2 The tag 'amp-inline-gallery-pagination' may only appear as a descendant of tag 'amp-inline-gallery'. (see https://amp.dev/documentation/components/amp-inline-gallery/) | </amp-inline-gallery-pagination> | <!-- Invalid: Inset without nodisplay --> | <amp-inline-gallery layout="container"> | <amp-inline-gallery-pagination layout="fixed-height" height="24" inset> >> ^~~~~~~~~ -amp-inline-gallery/1.0/test/validator-amp-inline-gallery-pagination.html:53:4 The specified layout 'FIXED_HEIGHT' is not supported by tag 'amp-inline-gallery-pagination'. (see https://amp.dev/documentation/components/amp-inline-gallery/) +amp-inline-gallery/1.0/test/validator-amp-inline-gallery-pagination.html:38:4 The specified layout 'FIXED_HEIGHT' is not supported by tag 'amp-inline-gallery-pagination'. (see https://amp.dev/documentation/components/amp-inline-gallery/) | </amp-inline-gallery-pagination> | </amp-inline-gallery> | </body> diff --git a/extensions/amp-inline-gallery/1.0/test/validator-amp-inline-gallery-thumbnails.html b/extensions/amp-inline-gallery/1.0/test/validator-amp-inline-gallery-thumbnails.html index 5caf46296a99..067324385352 100644 --- a/extensions/amp-inline-gallery/1.0/test/validator-amp-inline-gallery-thumbnails.html +++ b/extensions/amp-inline-gallery/1.0/test/validator-amp-inline-gallery-thumbnails.html @@ -1,18 +1,3 @@ -<!-- - Copyright 2020 The AMP HTML Authors. All Rights Reserved. - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS-IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the license. ---> <!-- Test Description: Tests for the amp-inline-gallery-thumbnails tag. See the inline comments. diff --git a/extensions/amp-inline-gallery/1.0/test/validator-amp-inline-gallery-thumbnails.out b/extensions/amp-inline-gallery/1.0/test/validator-amp-inline-gallery-thumbnails.out index 4d6d0696f6c1..4d8e4ac8c7cd 100644 --- a/extensions/amp-inline-gallery/1.0/test/validator-amp-inline-gallery-thumbnails.out +++ b/extensions/amp-inline-gallery/1.0/test/validator-amp-inline-gallery-thumbnails.out @@ -1,20 +1,5 @@ FAIL | <!-- -| Copyright 2020 The AMP HTML Authors. All Rights Reserved. -| -| Licensed under the Apache License, Version 2.0 (the "License"); -| you may not use this file except in compliance with the License. -| You may obtain a copy of the License at -| -| http://www.apache.org/licenses/LICENSE-2.0 -| -| Unless required by applicable law or agreed to in writing, software -| distributed under the License is distributed on an "AS-IS" BASIS, -| WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -| See the License for the specific language governing permissions and -| limitations under the license. -| --> -| <!-- | Test Description: | Tests for the amp-inline-gallery-thumbnails tag. See the inline comments. | --> @@ -59,34 +44,34 @@ FAIL | <!-- Invalid: Not in a gallery --> | <amp-inline-gallery-thumbnails layout="fixed-height" height="96"> >> ^~~~~~~~~ -amp-inline-gallery/1.0/test/validator-amp-inline-gallery-thumbnails.html:59:2 The tag 'amp-inline-gallery-thumbnails' may only appear as a descendant of tag 'amp-inline-gallery'. (see https://amp.dev/documentation/components/amp-inline-gallery/) +amp-inline-gallery/1.0/test/validator-amp-inline-gallery-thumbnails.html:44:2 The tag 'amp-inline-gallery-thumbnails' may only appear as a descendant of tag 'amp-inline-gallery'. (see https://amp.dev/documentation/components/amp-inline-gallery/) | </amp-inline-gallery-thumbnails> | <!-- Invalid: Non-number aspect ratio--> | <amp-inline-gallery layout="container"> | <amp-inline-gallery-thumbnails layout="fixed-height" height="96" aspect-ratio="two"> >> ^~~~~~~~~ -amp-inline-gallery/1.0/test/validator-amp-inline-gallery-thumbnails.html:63:4 The attribute 'aspect-ratio' in tag 'amp-inline-gallery-thumbnails' is set to the invalid value 'two'. (see https://amp.dev/documentation/components/amp-inline-gallery/) +amp-inline-gallery/1.0/test/validator-amp-inline-gallery-thumbnails.html:48:4 The attribute 'aspect-ratio' in tag 'amp-inline-gallery-thumbnails' is set to the invalid value 'two'. (see https://amp.dev/documentation/components/amp-inline-gallery/) | </amp-inline-gallery-thumbnails> | </amp-inline-gallery> | <!-- Invalid: Aspect ratio of zero --> | <amp-inline-gallery layout="container"> | <amp-inline-gallery-thumbnails layout="fixed-height" height="96" aspect-ratio="0"> >> ^~~~~~~~~ -amp-inline-gallery/1.0/test/validator-amp-inline-gallery-thumbnails.html:68:4 The attribute 'aspect-ratio' in tag 'amp-inline-gallery-thumbnails' is set to the invalid value '0'. (see https://amp.dev/documentation/components/amp-inline-gallery/) +amp-inline-gallery/1.0/test/validator-amp-inline-gallery-thumbnails.html:53:4 The attribute 'aspect-ratio' in tag 'amp-inline-gallery-thumbnails' is set to the invalid value '0'. (see https://amp.dev/documentation/components/amp-inline-gallery/) | </amp-inline-gallery-thumbnails> | </amp-inline-gallery> | <!-- Invalid: Aspect ratio of zero (float) --> | <amp-inline-gallery layout="container"> | <amp-inline-gallery-thumbnails layout="fixed-height" height="96" aspect-ratio-height="0.00"> >> ^~~~~~~~~ -amp-inline-gallery/1.0/test/validator-amp-inline-gallery-thumbnails.html:73:4 The attribute 'aspect-ratio-height' in tag 'amp-inline-gallery-thumbnails' is set to the invalid value '0.00'. (see https://amp.dev/documentation/components/amp-inline-gallery/) +amp-inline-gallery/1.0/test/validator-amp-inline-gallery-thumbnails.html:58:4 The attribute 'aspect-ratio-height' in tag 'amp-inline-gallery-thumbnails' is set to the invalid value '0.00'. (see https://amp.dev/documentation/components/amp-inline-gallery/) | </amp-inline-gallery-thumbnails> | </amp-inline-gallery> | <!-- Invalid: Snap attribute without value --> | <amp-inline-gallery layout="container"> | <amp-inline-gallery-thumbnails layout="fixed-height" height="96" snap> >> ^~~~~~~~~ -amp-inline-gallery/1.0/test/validator-amp-inline-gallery-thumbnails.html:78:4 The attribute 'snap' may not appear in tag 'amp-inline-gallery-thumbnails'. (see https://amp.dev/documentation/components/amp-inline-gallery/) +amp-inline-gallery/1.0/test/validator-amp-inline-gallery-thumbnails.html:63:4 The attribute 'snap' may not appear in tag 'amp-inline-gallery-thumbnails'. (see https://amp.dev/documentation/components/amp-inline-gallery/) | </amp-inline-gallery-thumbnails> | </amp-inline-gallery> | </body> diff --git a/extensions/amp-inputmask/0.1/test/validator-amp-inputmask.html b/extensions/amp-inputmask/0.1/test/validator-amp-inputmask.html index a3e55ad770a3..64295803a23d 100644 --- a/extensions/amp-inputmask/0.1/test/validator-amp-inputmask.html +++ b/extensions/amp-inputmask/0.1/test/validator-amp-inputmask.html @@ -1,18 +1,3 @@ -<!-- - Copyright 2018 The AMP HTML Authors. All Rights Reserved. - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS-IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the license. ---> <!-- Test Description: This tests looks at specific errors related to inputmasks. diff --git a/extensions/amp-inputmask/0.1/test/validator-amp-inputmask.out b/extensions/amp-inputmask/0.1/test/validator-amp-inputmask.out index 220a1ac0d9ee..b0c96c924650 100644 --- a/extensions/amp-inputmask/0.1/test/validator-amp-inputmask.out +++ b/extensions/amp-inputmask/0.1/test/validator-amp-inputmask.out @@ -1,20 +1,5 @@ FAIL | <!-- -| Copyright 2018 The AMP HTML Authors. All Rights Reserved. -| -| Licensed under the Apache License, Version 2.0 (the "License"); -| you may not use this file except in compliance with the License. -| You may obtain a copy of the License at -| -| http://www.apache.org/licenses/LICENSE-2.0 -| -| Unless required by applicable law or agreed to in writing, software -| distributed under the License is distributed on an "AS-IS" BASIS, -| WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -| See the License for the specific language governing permissions and -| limitations under the license. -| --> -| <!-- | Test Description: | This tests looks at specific errors related to inputmasks. | --> @@ -68,66 +53,66 @@ FAIL | <!-- Invalid: mask-output attr without mask attr --> | <input mask-output="raw" type="text"> >> ^~~~~~~~~ -amp-inputmask/0.1/test/validator-amp-inputmask.html:68:4 The attribute 'mask-output' may not appear in tag 'input'. (see https://amp.dev/documentation/components/amp-form/) +amp-inputmask/0.1/test/validator-amp-inputmask.html:53:4 The attribute 'mask-output' may not appear in tag 'input'. (see https://amp.dev/documentation/components/amp-form/) | <!-- Invalid: mask attr with type=date --> | <input mask="L0L_0L0" type="date"> >> ^~~~~~~~~ -amp-inputmask/0.1/test/validator-amp-inputmask.html:70:4 The attribute 'type' in tag 'input' is set to the invalid value 'date'. (see https://amp.dev/documentation/components/amp-inputmask/) +amp-inputmask/0.1/test/validator-amp-inputmask.html:55:4 The attribute 'type' in tag 'input' is set to the invalid value 'date'. (see https://amp.dev/documentation/components/amp-inputmask/) | <!-- Invalid: mask attr with type=email --> | <input mask="L0L_0L0" type="email"> >> ^~~~~~~~~ -amp-inputmask/0.1/test/validator-amp-inputmask.html:72:4 The attribute 'type' in tag 'input' is set to the invalid value 'email'. (see https://amp.dev/documentation/components/amp-inputmask/) +amp-inputmask/0.1/test/validator-amp-inputmask.html:57:4 The attribute 'type' in tag 'input' is set to the invalid value 'email'. (see https://amp.dev/documentation/components/amp-inputmask/) | <!-- Invalid: mask attr with type=number --> | <input mask="L0L_0L0" type="number"> >> ^~~~~~~~~ -amp-inputmask/0.1/test/validator-amp-inputmask.html:74:4 The attribute 'type' in tag 'input' is set to the invalid value 'number'. (see https://amp.dev/documentation/components/amp-inputmask/) +amp-inputmask/0.1/test/validator-amp-inputmask.html:59:4 The attribute 'type' in tag 'input' is set to the invalid value 'number'. (see https://amp.dev/documentation/components/amp-inputmask/) | <!-- Invalid: mask attr with type=button --> | <input mask="L0L_0L0" type="button"> >> ^~~~~~~~~ -amp-inputmask/0.1/test/validator-amp-inputmask.html:76:4 The attribute 'type' in tag 'input' is set to the invalid value 'button'. (see https://amp.dev/documentation/components/amp-inputmask/) +amp-inputmask/0.1/test/validator-amp-inputmask.html:61:4 The attribute 'type' in tag 'input' is set to the invalid value 'button'. (see https://amp.dev/documentation/components/amp-inputmask/) | <!-- Invalid: mask attr with type=range --> | <input mask="L0L_0L0" type="range"> >> ^~~~~~~~~ -amp-inputmask/0.1/test/validator-amp-inputmask.html:78:4 The attribute 'type' in tag 'input' is set to the invalid value 'range'. (see https://amp.dev/documentation/components/amp-inputmask/) +amp-inputmask/0.1/test/validator-amp-inputmask.html:63:4 The attribute 'type' in tag 'input' is set to the invalid value 'range'. (see https://amp.dev/documentation/components/amp-inputmask/) | <!-- Invalid: mask attr with type=hidden --> | <input mask="L0L_0L0" type="hidden"> >> ^~~~~~~~~ -amp-inputmask/0.1/test/validator-amp-inputmask.html:80:4 The attribute 'type' in tag 'input' is set to the invalid value 'hidden'. (see https://amp.dev/documentation/components/amp-inputmask/) +amp-inputmask/0.1/test/validator-amp-inputmask.html:65:4 The attribute 'type' in tag 'input' is set to the invalid value 'hidden'. (see https://amp.dev/documentation/components/amp-inputmask/) | <!-- Invalid: mask attr with type=password --> | <input mask="L0L_0L0" type="password"> >> ^~~~~~~~~ -amp-inputmask/0.1/test/validator-amp-inputmask.html:82:4 The attribute 'type' in tag 'input' is set to the invalid value 'password'. (see https://amp.dev/documentation/components/amp-inputmask/) +amp-inputmask/0.1/test/validator-amp-inputmask.html:67:4 The attribute 'type' in tag 'input' is set to the invalid value 'password'. (see https://amp.dev/documentation/components/amp-inputmask/) | <!-- Invalid: mask attr with div[contenteditable] --> | <div contenteditable mask="L0L_0L0"></div> >> ^~~~~~~~~ -amp-inputmask/0.1/test/validator-amp-inputmask.html:84:4 The attribute 'contenteditable' may not appear in tag 'div'. +amp-inputmask/0.1/test/validator-amp-inputmask.html:69:4 The attribute 'contenteditable' may not appear in tag 'div'. >> ^~~~~~~~~ -amp-inputmask/0.1/test/validator-amp-inputmask.html:84:4 The attribute 'mask' may not appear in tag 'div'. +amp-inputmask/0.1/test/validator-amp-inputmask.html:69:4 The attribute 'mask' may not appear in tag 'div'. | <!-- Invalid: mask attr with multiple masks that includes named mask --> | <input mask="LOL_0L0 payment-card"></div> >> ^~~~~~~~~ -amp-inputmask/0.1/test/validator-amp-inputmask.html:86:4 The attribute 'mask' in tag 'input' is set to the invalid value 'LOL_0L0 payment-card'. (see https://amp.dev/documentation/components/amp-inputmask/) +amp-inputmask/0.1/test/validator-amp-inputmask.html:71:4 The attribute 'mask' in tag 'input' is set to the invalid value 'LOL_0L0 payment-card'. (see https://amp.dev/documentation/components/amp-inputmask/) | <!-- Invalid: mask attr with multiple named masks --> | <input mask="payment-card payment-card"></div> >> ^~~~~~~~~ -amp-inputmask/0.1/test/validator-amp-inputmask.html:88:4 The attribute 'mask' in tag 'input' is set to the invalid value 'payment-card payment-card'. (see https://amp.dev/documentation/components/amp-inputmask/) +amp-inputmask/0.1/test/validator-amp-inputmask.html:73:4 The attribute 'mask' in tag 'input' is set to the invalid value 'payment-card payment-card'. (see https://amp.dev/documentation/components/amp-inputmask/) | <input mask="payment-card date-mm-yy"></div> >> ^~~~~~~~~ -amp-inputmask/0.1/test/validator-amp-inputmask.html:89:4 The attribute 'mask' in tag 'input' is set to the invalid value 'payment-card date-mm-yy'. (see https://amp.dev/documentation/components/amp-inputmask/) +amp-inputmask/0.1/test/validator-amp-inputmask.html:74:4 The attribute 'mask' in tag 'input' is set to the invalid value 'payment-card date-mm-yy'. (see https://amp.dev/documentation/components/amp-inputmask/) | <input mask="payment-card date-mm-yy"></div> >> ^~~~~~~~~ -amp-inputmask/0.1/test/validator-amp-inputmask.html:90:4 The attribute 'mask' in tag 'input' is set to the invalid value 'payment-card date-mm-yy'. (see https://amp.dev/documentation/components/amp-inputmask/) +amp-inputmask/0.1/test/validator-amp-inputmask.html:75:4 The attribute 'mask' in tag 'input' is set to the invalid value 'payment-card date-mm-yy'. (see https://amp.dev/documentation/components/amp-inputmask/) | <!-- Invalid: mask attr with spaces named masks --> | <input mask="payment-card "></div> >> ^~~~~~~~~ -amp-inputmask/0.1/test/validator-amp-inputmask.html:92:4 The attribute 'mask' in tag 'input' is set to the invalid value 'payment-card '. (see https://amp.dev/documentation/components/amp-inputmask/) +amp-inputmask/0.1/test/validator-amp-inputmask.html:77:4 The attribute 'mask' in tag 'input' is set to the invalid value 'payment-card '. (see https://amp.dev/documentation/components/amp-inputmask/) | <input mask=" payment-card "></div> >> ^~~~~~~~~ -amp-inputmask/0.1/test/validator-amp-inputmask.html:93:4 The attribute 'mask' in tag 'input' is set to the invalid value ' payment-card '. (see https://amp.dev/documentation/components/amp-inputmask/) +amp-inputmask/0.1/test/validator-amp-inputmask.html:78:4 The attribute 'mask' in tag 'input' is set to the invalid value ' payment-card '. (see https://amp.dev/documentation/components/amp-inputmask/) | <!-- Invalid: mask attr with non-numeric mask-trim-zeros --> | <input mask="00000" mask-trim-zeros="wow" type="tel"> >> ^~~~~~~~~ -amp-inputmask/0.1/test/validator-amp-inputmask.html:95:4 The attribute 'mask-trim-zeros' in tag 'input' is set to the invalid value 'wow'. (see https://amp.dev/documentation/components/amp-inputmask/) +amp-inputmask/0.1/test/validator-amp-inputmask.html:80:4 The attribute 'mask-trim-zeros' in tag 'input' is set to the invalid value 'wow'. (see https://amp.dev/documentation/components/amp-inputmask/) | </form> | </form> | diff --git a/extensions/amp-instagram/0.1/test/validator-amp-instagram.html b/extensions/amp-instagram/0.1/test/validator-amp-instagram.html index 19e9ad301bc5..525aa824c1de 100644 --- a/extensions/amp-instagram/0.1/test/validator-amp-instagram.html +++ b/extensions/amp-instagram/0.1/test/validator-amp-instagram.html @@ -1,18 +1,3 @@ -<!-- - Copyright 2017 The AMP HTML Authors. All Rights Reserved. - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS-IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the license. ---> <!doctype html> <html ⚡ lang="en"> <head> diff --git a/extensions/amp-instagram/0.1/test/validator-amp-instagram.out b/extensions/amp-instagram/0.1/test/validator-amp-instagram.out index dbb192032aac..5b903a7f9328 100644 --- a/extensions/amp-instagram/0.1/test/validator-amp-instagram.out +++ b/extensions/amp-instagram/0.1/test/validator-amp-instagram.out @@ -1,19 +1,4 @@ PASS -| <!-- -| Copyright 2017 The AMP HTML Authors. All Rights Reserved. -| -| Licensed under the Apache License, Version 2.0 (the "License"); -| you may not use this file except in compliance with the License. -| You may obtain a copy of the License at -| -| http://www.apache.org/licenses/LICENSE-2.0 -| -| Unless required by applicable law or agreed to in writing, software -| distributed under the License is distributed on an "AS-IS" BASIS, -| WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -| See the License for the specific language governing permissions and -| limitations under the license. -| --> | <!doctype html> | <html ⚡ lang="en"> | <head> diff --git a/extensions/amp-instagram/1.0/test/validator-amp-instagram.html b/extensions/amp-instagram/1.0/test/validator-amp-instagram.html index 686bdf9b07f4..ec14e5a5e8d5 100644 --- a/extensions/amp-instagram/1.0/test/validator-amp-instagram.html +++ b/extensions/amp-instagram/1.0/test/validator-amp-instagram.html @@ -1,18 +1,3 @@ -<!-- - Copyright 2021 The AMP HTML Authors. All Rights Reserved. - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS-IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the license. ---> <!doctype html> <html ⚡ lang="en"> <head> diff --git a/extensions/amp-instagram/1.0/test/validator-amp-instagram.out b/extensions/amp-instagram/1.0/test/validator-amp-instagram.out index d170a4ec6334..1215ebaed146 100644 --- a/extensions/amp-instagram/1.0/test/validator-amp-instagram.out +++ b/extensions/amp-instagram/1.0/test/validator-amp-instagram.out @@ -1,19 +1,4 @@ PASS -| <!-- -| Copyright 2021 The AMP HTML Authors. All Rights Reserved. -| -| Licensed under the Apache License, Version 2.0 (the "License"); -| you may not use this file except in compliance with the License. -| You may obtain a copy of the License at -| -| http://www.apache.org/licenses/LICENSE-2.0 -| -| Unless required by applicable law or agreed to in writing, software -| distributed under the License is distributed on an "AS-IS" BASIS, -| WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -| See the License for the specific language governing permissions and -| limitations under the license. -| --> | <!doctype html> | <html ⚡ lang="en"> | <head> diff --git a/extensions/amp-install-serviceworker/0.1/test/validator-amp-install-serviceworker.html b/extensions/amp-install-serviceworker/0.1/test/validator-amp-install-serviceworker.html index 93bdccb2551c..ac318e76dbc0 100644 --- a/extensions/amp-install-serviceworker/0.1/test/validator-amp-install-serviceworker.html +++ b/extensions/amp-install-serviceworker/0.1/test/validator-amp-install-serviceworker.html @@ -1,18 +1,3 @@ -<!-- - Copyright 2018 The AMP HTML Authors. All Rights Reserved. - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS-IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the license. ---> <!-- Test Description: Tests for the amp-install-serviceworker tag. See the inline comments. diff --git a/extensions/amp-install-serviceworker/0.1/test/validator-amp-install-serviceworker.out b/extensions/amp-install-serviceworker/0.1/test/validator-amp-install-serviceworker.out index 2c5f0e3dc702..adac479e5e5c 100644 --- a/extensions/amp-install-serviceworker/0.1/test/validator-amp-install-serviceworker.out +++ b/extensions/amp-install-serviceworker/0.1/test/validator-amp-install-serviceworker.out @@ -1,20 +1,5 @@ FAIL | <!-- -| Copyright 2018 The AMP HTML Authors. All Rights Reserved. -| -| Licensed under the Apache License, Version 2.0 (the "License"); -| you may not use this file except in compliance with the License. -| You may obtain a copy of the License at -| -| http://www.apache.org/licenses/LICENSE-2.0 -| -| Unless required by applicable law or agreed to in writing, software -| distributed under the License is distributed on an "AS-IS" BASIS, -| WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -| See the License for the specific language governing permissions and -| limitations under the license. -| --> -| <!-- | Test Description: | Tests for the amp-install-serviceworker tag. See the inline comments. | --> @@ -45,7 +30,7 @@ FAIL | <!-- Invalid: The data-iframe-src attribute is not https or relative. --> | <amp-install-serviceworker >> ^~~~~~~~~ -amp-install-serviceworker/0.1/test/validator-amp-install-serviceworker.html:45:2 Invalid URL protocol 'http:' for attribute 'data-iframe-src' in tag 'amp-install-serviceworker'. (see https://amp.dev/documentation/components/amp-install-serviceworker) +amp-install-serviceworker/0.1/test/validator-amp-install-serviceworker.html:30:2 Invalid URL protocol 'http:' for attribute 'data-iframe-src' in tag 'amp-install-serviceworker'. (see https://amp.dev/documentation/components/amp-install-serviceworker) | src="https://www.your-domain.com/serviceworker.js" | data-iframe-src="http://www.your-domain.com/install-serviceworker.html" | layout="nodisplay"> @@ -54,7 +39,7 @@ amp-install-serviceworker/0.1/test/validator-amp-install-serviceworker.html:45:2 | <!-- Invalid: Missing src attribute. --> | <amp-install-serviceworker >> ^~~~~~~~~ -amp-install-serviceworker/0.1/test/validator-amp-install-serviceworker.html:52:2 The mandatory attribute 'src' is missing in tag 'amp-install-serviceworker'. (see https://amp.dev/documentation/components/amp-install-serviceworker) +amp-install-serviceworker/0.1/test/validator-amp-install-serviceworker.html:37:2 The mandatory attribute 'src' is missing in tag 'amp-install-serviceworker'. (see https://amp.dev/documentation/components/amp-install-serviceworker) | data-iframe-src="https://www.your-domain.com/install-serviceworker.html" | layout="nodisplay"> | </amp-install-serviceworker> @@ -62,7 +47,7 @@ amp-install-serviceworker/0.1/test/validator-amp-install-serviceworker.html:52:2 | <!-- Invalid: The src attribute is not https or relative. --> | <amp-install-serviceworker >> ^~~~~~~~~ -amp-install-serviceworker/0.1/test/validator-amp-install-serviceworker.html:58:2 Invalid URL protocol 'http:' for attribute 'src' in tag 'amp-install-serviceworker'. (see https://amp.dev/documentation/components/amp-install-serviceworker) +amp-install-serviceworker/0.1/test/validator-amp-install-serviceworker.html:43:2 Invalid URL protocol 'http:' for attribute 'src' in tag 'amp-install-serviceworker'. (see https://amp.dev/documentation/components/amp-install-serviceworker) | src="http://www.your-domain.com/serviceworker.js" | data-iframe-src="https://www.your-domain.com/install-serviceworker.html" | layout="nodisplay"> @@ -71,7 +56,7 @@ amp-install-serviceworker/0.1/test/validator-amp-install-serviceworker.html:58:2 | <!-- Invalid: illegal layout. --> | <amp-install-serviceworker >> ^~~~~~~~~ -amp-install-serviceworker/0.1/test/validator-amp-install-serviceworker.html:65:2 The specified layout 'RESPONSIVE' is not supported by tag 'amp-install-serviceworker'. (see https://amp.dev/documentation/components/amp-install-serviceworker) +amp-install-serviceworker/0.1/test/validator-amp-install-serviceworker.html:50:2 The specified layout 'RESPONSIVE' is not supported by tag 'amp-install-serviceworker'. (see https://amp.dev/documentation/components/amp-install-serviceworker) | src="https://www.your-domain.com/serviceworker.js" | data-iframe-src="https://www.your-domain.com/install-serviceworker.html" | layout="responsive"> diff --git a/extensions/amp-izlesene/0.1/test/validator-amp-izlesene.html b/extensions/amp-izlesene/0.1/test/validator-amp-izlesene.html index 569683a80465..c86c91abacc1 100644 --- a/extensions/amp-izlesene/0.1/test/validator-amp-izlesene.html +++ b/extensions/amp-izlesene/0.1/test/validator-amp-izlesene.html @@ -1,18 +1,3 @@ -<!-- - Copyright 2017 The AMP HTML Authors. All Rights Reserved. - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS-IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the license. ---> <!-- Test Description: This tests validation for the amp-izlesene tag. diff --git a/extensions/amp-izlesene/0.1/test/validator-amp-izlesene.out b/extensions/amp-izlesene/0.1/test/validator-amp-izlesene.out index 43586cb3a3ea..0e11a80ce49c 100644 --- a/extensions/amp-izlesene/0.1/test/validator-amp-izlesene.out +++ b/extensions/amp-izlesene/0.1/test/validator-amp-izlesene.out @@ -1,20 +1,5 @@ FAIL | <!-- -| Copyright 2017 The AMP HTML Authors. All Rights Reserved. -| -| Licensed under the Apache License, Version 2.0 (the "License"); -| you may not use this file except in compliance with the License. -| You may obtain a copy of the License at -| -| http://www.apache.org/licenses/LICENSE-2.0 -| -| Unless required by applicable law or agreed to in writing, software -| distributed under the License is distributed on an "AS-IS" BASIS, -| WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -| See the License for the specific language governing permissions and -| limitations under the license. -| --> -| <!-- | Test Description: | This tests validation for the amp-izlesene tag. | --> @@ -41,11 +26,11 @@ FAIL | <!-- Invalid: bad data-videoid. --> | <amp-izlesene data-videoid="something else" width="480" height="270" layout="responsive"></amp-izlesene> >> ^~~~~~~~~ -amp-izlesene/0.1/test/validator-amp-izlesene.html:41:2 The attribute 'data-videoid' in tag 'amp-izlesene' is set to the invalid value 'something else'. (see https://amp.dev/documentation/components/amp-izlesene) +amp-izlesene/0.1/test/validator-amp-izlesene.html:26:2 The attribute 'data-videoid' in tag 'amp-izlesene' is set to the invalid value 'something else'. (see https://amp.dev/documentation/components/amp-izlesene) | | <!-- Invalid: data-videoid missing. --> | <amp-izlesene width="480" height="270" layout="responsive"></amp-izlesene> >> ^~~~~~~~~ -amp-izlesene/0.1/test/validator-amp-izlesene.html:44:2 The mandatory attribute 'data-videoid' is missing in tag 'amp-izlesene'. (see https://amp.dev/documentation/components/amp-izlesene) +amp-izlesene/0.1/test/validator-amp-izlesene.html:29:2 The mandatory attribute 'data-videoid' is missing in tag 'amp-izlesene'. (see https://amp.dev/documentation/components/amp-izlesene) | </body> | </html> \ No newline at end of file diff --git a/extensions/amp-jwplayer/0.1/test/validator-amp-jwplayer.html b/extensions/amp-jwplayer/0.1/test/validator-amp-jwplayer.html index 59ddd24d17e5..18dcc1584a56 100644 --- a/extensions/amp-jwplayer/0.1/test/validator-amp-jwplayer.html +++ b/extensions/amp-jwplayer/0.1/test/validator-amp-jwplayer.html @@ -1,18 +1,3 @@ -<!-- - Copyright 2015 The AMP HTML Authors. All Rights Reserved. - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS-IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the license. ---> <!-- Test Description: Tests support for the amp-jwplayer tag. diff --git a/extensions/amp-jwplayer/0.1/test/validator-amp-jwplayer.out b/extensions/amp-jwplayer/0.1/test/validator-amp-jwplayer.out index 9859d8d6fdce..0f49ba024ddc 100644 --- a/extensions/amp-jwplayer/0.1/test/validator-amp-jwplayer.out +++ b/extensions/amp-jwplayer/0.1/test/validator-amp-jwplayer.out @@ -1,20 +1,5 @@ FAIL | <!-- -| Copyright 2015 The AMP HTML Authors. All Rights Reserved. -| -| Licensed under the Apache License, Version 2.0 (the "License"); -| you may not use this file except in compliance with the License. -| You may obtain a copy of the License at -| -| http://www.apache.org/licenses/LICENSE-2.0 -| -| Unless required by applicable law or agreed to in writing, software -| distributed under the License is distributed on an "AS-IS" BASIS, -| WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -| See the License for the specific language governing permissions and -| limitations under the license. -| --> -| <!-- | Test Description: | Tests support for the amp-jwplayer tag. | --> @@ -52,16 +37,16 @@ FAIL | <!-- Invalid example missing a player id. --> | <amp-jwplayer >> ^~~~~~~~~ -amp-jwplayer/0.1/test/validator-amp-jwplayer.html:52:2 The tag 'amp-jwplayer' is missing a mandatory attribute - pick one of ['data-media-id', 'data-playlist-id']. (see https://amp.dev/documentation/components/amp-jwplayer/) +amp-jwplayer/0.1/test/validator-amp-jwplayer.html:37:2 The tag 'amp-jwplayer' is missing a mandatory attribute - pick one of ['data-media-id', 'data-playlist-id']. (see https://amp.dev/documentation/components/amp-jwplayer/) >> ^~~~~~~~~ -amp-jwplayer/0.1/test/validator-amp-jwplayer.html:52:2 The mandatory attribute 'data-player-id' is missing in tag 'amp-jwplayer'. (see https://amp.dev/documentation/components/amp-jwplayer/) +amp-jwplayer/0.1/test/validator-amp-jwplayer.html:37:2 The mandatory attribute 'data-player-id' is missing in tag 'amp-jwplayer'. (see https://amp.dev/documentation/components/amp-jwplayer/) | data-playerlist-id="482jsTAr" | width="160" height="90"> | </amp-jwplayer> | <!-- Invalid example missing playlist id or media-id. --> | <amp-jwplayer >> ^~~~~~~~~ -amp-jwplayer/0.1/test/validator-amp-jwplayer.html:57:2 The tag 'amp-jwplayer' is missing a mandatory attribute - pick one of ['data-media-id', 'data-playlist-id']. (see https://amp.dev/documentation/components/amp-jwplayer/) +amp-jwplayer/0.1/test/validator-amp-jwplayer.html:42:2 The tag 'amp-jwplayer' is missing a mandatory attribute - pick one of ['data-media-id', 'data-playlist-id']. (see https://amp.dev/documentation/components/amp-jwplayer/) | data-player-id="BjcwyK37" | width="160" height="90"> | </amp-jwplayer> diff --git a/extensions/amp-kaltura-player/0.1/test/validator-amp-kaltura-player.html b/extensions/amp-kaltura-player/0.1/test/validator-amp-kaltura-player.html index 01d7e51559e0..6f699e896904 100644 --- a/extensions/amp-kaltura-player/0.1/test/validator-amp-kaltura-player.html +++ b/extensions/amp-kaltura-player/0.1/test/validator-amp-kaltura-player.html @@ -1,18 +1,3 @@ -<!-- - Copyright 2015 The AMP HTML Authors. All Rights Reserved. - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS-IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the license. ---> <!-- Test Description: Tests for the amp-youtube tag. See the inline comments. diff --git a/extensions/amp-kaltura-player/0.1/test/validator-amp-kaltura-player.out b/extensions/amp-kaltura-player/0.1/test/validator-amp-kaltura-player.out index 3d4252686df8..657bcf3c62e1 100644 --- a/extensions/amp-kaltura-player/0.1/test/validator-amp-kaltura-player.out +++ b/extensions/amp-kaltura-player/0.1/test/validator-amp-kaltura-player.out @@ -1,20 +1,5 @@ FAIL | <!-- -| Copyright 2015 The AMP HTML Authors. All Rights Reserved. -| -| Licensed under the Apache License, Version 2.0 (the "License"); -| you may not use this file except in compliance with the License. -| You may obtain a copy of the License at -| -| http://www.apache.org/licenses/LICENSE-2.0 -| -| Unless required by applicable law or agreed to in writing, software -| distributed under the License is distributed on an "AS-IS" BASIS, -| WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -| See the License for the specific language governing permissions and -| limitations under the license. -| --> -| <!-- | Test Description: | Tests for the amp-youtube tag. See the inline comments. | --> @@ -51,6 +36,6 @@ FAIL | <!-- invalid example: data-partner is missing --> | <amp-kaltura-player width="480" height="270"></amp-kaltura-player> >> ^~~~~~~~~ -amp-kaltura-player/0.1/test/validator-amp-kaltura-player.html:51:2 The mandatory attribute 'data-partner' is missing in tag 'amp-kaltura-player'. (see https://amp.dev/documentation/components/amp-kaltura-player) +amp-kaltura-player/0.1/test/validator-amp-kaltura-player.html:36:2 The mandatory attribute 'data-partner' is missing in tag 'amp-kaltura-player'. (see https://amp.dev/documentation/components/amp-kaltura-player) | </body> | </html> diff --git a/extensions/amp-lightbox-gallery/0.1/test/validator-amp-lightbox-gallery.html b/extensions/amp-lightbox-gallery/0.1/test/validator-amp-lightbox-gallery.html index fa0c2a827dfc..b3f8107d3eb5 100644 --- a/extensions/amp-lightbox-gallery/0.1/test/validator-amp-lightbox-gallery.html +++ b/extensions/amp-lightbox-gallery/0.1/test/validator-amp-lightbox-gallery.html @@ -1,18 +1,3 @@ -<!-- - Copyright 2018 The AMP HTML Authors. All Rights Reserved. - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS-IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the license. ---> <!-- Test Description: Tests for the amp-lightbox-gallery tag. See inline comments. diff --git a/extensions/amp-lightbox-gallery/0.1/test/validator-amp-lightbox-gallery.out b/extensions/amp-lightbox-gallery/0.1/test/validator-amp-lightbox-gallery.out index 124db8b60438..f84d30b56e72 100644 --- a/extensions/amp-lightbox-gallery/0.1/test/validator-amp-lightbox-gallery.out +++ b/extensions/amp-lightbox-gallery/0.1/test/validator-amp-lightbox-gallery.out @@ -1,20 +1,5 @@ FAIL | <!-- -| Copyright 2018 The AMP HTML Authors. All Rights Reserved. -| -| Licensed under the Apache License, Version 2.0 (the "License"); -| you may not use this file except in compliance with the License. -| You may obtain a copy of the License at -| -| http://www.apache.org/licenses/LICENSE-2.0 -| -| Unless required by applicable law or agreed to in writing, software -| distributed under the License is distributed on an "AS-IS" BASIS, -| WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -| See the License for the specific language governing permissions and -| limitations under the license. -| --> -| <!-- | Test Description: | Tests for the amp-lightbox-gallery tag. See inline comments. | --> @@ -42,7 +27,7 @@ FAIL | <!-- Invalid: missing value for lightbox-thumbnail-id --> | <amp-img src="/awesome.png" width="300" height="300" lightbox lightbox-thumbnail-id></amp-img> >> ^~~~~~~~~ -amp-lightbox-gallery/0.1/test/validator-amp-lightbox-gallery.html:42:2 The attribute 'lightbox-thumbnail-id' in tag 'amp-img' is set to the invalid value ''. (see https://amp.dev/documentation/components/amp-img/) +amp-lightbox-gallery/0.1/test/validator-amp-lightbox-gallery.html:27:2 The attribute 'lightbox-thumbnail-id' in tag 'amp-img' is set to the invalid value ''. (see https://amp.dev/documentation/components/amp-img/) | <!-- Invalid: missing lightbox attribute for element with lightbox-thumbnail-id --> | <amp-img src="/awesome.png" width="300" height="300" lightbox-thumbnail-id="a"></amp-img> | @@ -99,12 +84,12 @@ amp-lightbox-gallery/0.1/test/validator-amp-lightbox-gallery.html:42:2 The attri | <!-- Invalid: missing value for lightbox-thumbnail-id --> | <amp-img src="/awesome.png" width="300" height="300" lightbox lightbox-thumbnail-id></amp-img> >> ^~~~~~~~~ -amp-lightbox-gallery/0.1/test/validator-amp-lightbox-gallery.html:97:2 The attribute 'lightbox-thumbnail-id' in tag 'amp-img' is set to the invalid value ''. (see https://amp.dev/documentation/components/amp-img/) +amp-lightbox-gallery/0.1/test/validator-amp-lightbox-gallery.html:82:2 The attribute 'lightbox-thumbnail-id' in tag 'amp-img' is set to the invalid value ''. (see https://amp.dev/documentation/components/amp-img/) | <!-- Invalid: missing lightbox attribute for element with lightbox-thumbnail-id --> | <amp-img src="/awesome.png" width="300" height="300" lightbox-thumbnail-id="a"></amp-img> | <!-- Invalid: invalid use of lightbox-exclude --> | <amp-img src="/awesome.png" width="300" height="300" lightbox-exclude></amp-img> >> ^~~~~~~~~ -amp-lightbox-gallery/0.1/test/validator-amp-lightbox-gallery.html:101:2 The attribute 'lightbox-exclude' may not appear in tag 'amp-img'. (see https://amp.dev/documentation/components/amp-img/) +amp-lightbox-gallery/0.1/test/validator-amp-lightbox-gallery.html:86:2 The attribute 'lightbox-exclude' may not appear in tag 'amp-img'. (see https://amp.dev/documentation/components/amp-img/) | </body> | </html> diff --git a/extensions/amp-lightbox-gallery/1.0/test/validator-amp-lightbox-gallery.html b/extensions/amp-lightbox-gallery/1.0/test/validator-amp-lightbox-gallery.html index 1ef55b87b654..c48d4a666d9f 100644 --- a/extensions/amp-lightbox-gallery/1.0/test/validator-amp-lightbox-gallery.html +++ b/extensions/amp-lightbox-gallery/1.0/test/validator-amp-lightbox-gallery.html @@ -1,18 +1,3 @@ -<!-- - Copyright 2021 The AMP HTML Authors. All Rights Reserved. - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS-IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the license. ---> <!-- Test Description: Tests for the amp-lightbox-gallery tag. See inline comments. diff --git a/extensions/amp-lightbox-gallery/1.0/test/validator-amp-lightbox-gallery.out b/extensions/amp-lightbox-gallery/1.0/test/validator-amp-lightbox-gallery.out index 5ac0d354ac69..74f580462102 100644 --- a/extensions/amp-lightbox-gallery/1.0/test/validator-amp-lightbox-gallery.out +++ b/extensions/amp-lightbox-gallery/1.0/test/validator-amp-lightbox-gallery.out @@ -1,20 +1,5 @@ FAIL | <!-- -| Copyright 2021 The AMP HTML Authors. All Rights Reserved. -| -| Licensed under the Apache License, Version 2.0 (the "License"); -| you may not use this file except in compliance with the License. -| You may obtain a copy of the License at -| -| http://www.apache.org/licenses/LICENSE-2.0 -| -| Unless required by applicable law or agreed to in writing, software -| distributed under the License is distributed on an "AS-IS" BASIS, -| WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -| See the License for the specific language governing permissions and -| limitations under the license. -| --> -| <!-- | Test Description: | Tests for the amp-lightbox-gallery tag. See inline comments. | --> @@ -42,7 +27,7 @@ FAIL | <!-- Invalid: missing value for lightbox-thumbnail-id --> | <amp-img src="/awesome.png" width="300" height="300" lightbox lightbox-thumbnail-id></amp-img> >> ^~~~~~~~~ -amp-lightbox-gallery/1.0/test/validator-amp-lightbox-gallery.html:42:2 The attribute 'lightbox-thumbnail-id' in tag 'amp-img' is set to the invalid value ''. (see https://amp.dev/documentation/components/amp-img/) +amp-lightbox-gallery/1.0/test/validator-amp-lightbox-gallery.html:27:2 The attribute 'lightbox-thumbnail-id' in tag 'amp-img' is set to the invalid value ''. (see https://amp.dev/documentation/components/amp-img/) | | <!-- Valid --> | <amp-video @@ -107,10 +92,10 @@ amp-lightbox-gallery/1.0/test/validator-amp-lightbox-gallery.html:42:2 The attri | <!-- Invalid: missing value for lightbox-thumbnail-id --> | <amp-img src="/awesome.png" width="300" height="300" lightbox lightbox-thumbnail-id></amp-img> >> ^~~~~~~~~ -amp-lightbox-gallery/1.0/test/validator-amp-lightbox-gallery.html:105:2 The attribute 'lightbox-thumbnail-id' in tag 'amp-img' is set to the invalid value ''. (see https://amp.dev/documentation/components/amp-img/) +amp-lightbox-gallery/1.0/test/validator-amp-lightbox-gallery.html:90:2 The attribute 'lightbox-thumbnail-id' in tag 'amp-img' is set to the invalid value ''. (see https://amp.dev/documentation/components/amp-img/) | <!-- Invalid: invalid use of lightbox-exclude --> | <amp-img src="/awesome.png" width="300" height="300" lightbox-exclude></amp-img> >> ^~~~~~~~~ -amp-lightbox-gallery/1.0/test/validator-amp-lightbox-gallery.html:107:2 The attribute 'lightbox-exclude' may not appear in tag 'amp-img'. (see https://amp.dev/documentation/components/amp-img/) +amp-lightbox-gallery/1.0/test/validator-amp-lightbox-gallery.html:92:2 The attribute 'lightbox-exclude' may not appear in tag 'amp-img'. (see https://amp.dev/documentation/components/amp-img/) | </body> | </html> diff --git a/extensions/amp-lightbox/0.1/test/validator-amp-lightbox.html b/extensions/amp-lightbox/0.1/test/validator-amp-lightbox.html index 74ce0d47b4ef..d99b616af34c 100644 --- a/extensions/amp-lightbox/0.1/test/validator-amp-lightbox.html +++ b/extensions/amp-lightbox/0.1/test/validator-amp-lightbox.html @@ -1,18 +1,3 @@ -<!-- - Copyright 2018 The AMP HTML Authors. All Rights Reserved. - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS-IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the license. ---> <!-- Test Description: Tests for the amp-lightbox tag. See the inline comments. diff --git a/extensions/amp-lightbox/0.1/test/validator-amp-lightbox.out b/extensions/amp-lightbox/0.1/test/validator-amp-lightbox.out index 978833619600..5ce5d9cee1af 100644 --- a/extensions/amp-lightbox/0.1/test/validator-amp-lightbox.out +++ b/extensions/amp-lightbox/0.1/test/validator-amp-lightbox.out @@ -1,20 +1,5 @@ FAIL | <!-- -| Copyright 2018 The AMP HTML Authors. All Rights Reserved. -| -| Licensed under the Apache License, Version 2.0 (the "License"); -| you may not use this file except in compliance with the License. -| You may obtain a copy of the License at -| -| http://www.apache.org/licenses/LICENSE-2.0 -| -| Unless required by applicable law or agreed to in writing, software -| distributed under the License is distributed on an "AS-IS" BASIS, -| WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -| See the License for the specific language governing permissions and -| limitations under the license. -| --> -| <!-- | Test Description: | Tests for the amp-lightbox tag. See the inline comments. | --> @@ -35,7 +20,7 @@ FAIL | <!-- Invalid: layout must be nodisplay. --> | <amp-lightbox width="512" height="360"></amp-lightbox> >> ^~~~~~~~~ -amp-lightbox/0.1/test/validator-amp-lightbox.html:35:2 The implied layout 'FIXED' is not supported by tag 'amp-lightbox'. (see https://amp.dev/documentation/components/amp-lightbox) +amp-lightbox/0.1/test/validator-amp-lightbox.html:20:2 The implied layout 'FIXED' is not supported by tag 'amp-lightbox'. (see https://amp.dev/documentation/components/amp-lightbox) | | <!-- Valid --> | <amp-lightbox id="lb-2" layout="nodisplay" animate-in="fade-in"> @@ -52,7 +37,7 @@ amp-lightbox/0.1/test/validator-amp-lightbox.html:35:2 The implied layout 'FIXED | <!-- Invalid: invalid `animate-in` value --> | <amp-lightbox id="lb-5" layout="nodisplay" animate-in="xmas-lights"> >> ^~~~~~~~~ -amp-lightbox/0.1/test/validator-amp-lightbox.html:50:2 The attribute 'animate-in' in tag 'amp-lightbox' is set to the invalid value 'xmas-lights'. (see https://amp.dev/documentation/components/amp-lightbox) +amp-lightbox/0.1/test/validator-amp-lightbox.html:35:2 The attribute 'animate-in' in tag 'amp-lightbox' is set to the invalid value 'xmas-lights'. (see https://amp.dev/documentation/components/amp-lightbox) | </amp-lightbox> | </body> | </html> diff --git a/extensions/amp-lightbox/0.1/test/validator-amp4ads-lightbox.html b/extensions/amp-lightbox/0.1/test/validator-amp4ads-lightbox.html index 65f76a69bbdb..c3de78fe32dd 100644 --- a/extensions/amp-lightbox/0.1/test/validator-amp4ads-lightbox.html +++ b/extensions/amp-lightbox/0.1/test/validator-amp4ads-lightbox.html @@ -1,18 +1,3 @@ -<!-- - Copyright 2018 The AMP HTML Authors. All Rights Reserved. - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS-IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the license. ---> <!-- Test Description: Format is set to A4A. diff --git a/extensions/amp-lightbox/0.1/test/validator-amp4ads-lightbox.out b/extensions/amp-lightbox/0.1/test/validator-amp4ads-lightbox.out index 1a1640f5252b..d706a549768f 100644 --- a/extensions/amp-lightbox/0.1/test/validator-amp4ads-lightbox.out +++ b/extensions/amp-lightbox/0.1/test/validator-amp4ads-lightbox.out @@ -1,20 +1,5 @@ FAIL | <!-- -| Copyright 2018 The AMP HTML Authors. All Rights Reserved. -| -| Licensed under the Apache License, Version 2.0 (the "License"); -| you may not use this file except in compliance with the License. -| You may obtain a copy of the License at -| -| http://www.apache.org/licenses/LICENSE-2.0 -| -| Unless required by applicable law or agreed to in writing, software -| distributed under the License is distributed on an "AS-IS" BASIS, -| WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -| See the License for the specific language governing permissions and -| limitations under the license. -| --> -| <!-- | Test Description: | Format is set to A4A. | --> @@ -35,13 +20,13 @@ FAIL | <!-- Invalid: close-button not present. --> | <amp-lightbox layout="nodisplay"> >> ^~~~~~~~~ -amp-lightbox/0.1/test/validator-amp4ads-lightbox.html:35:2 The mandatory attribute 'close-button' is missing in tag 'amp-lightbox'. (see https://amp.dev/documentation/components/amp-lightbox) +amp-lightbox/0.1/test/validator-amp4ads-lightbox.html:20:2 The mandatory attribute 'close-button' is missing in tag 'amp-lightbox'. (see https://amp.dev/documentation/components/amp-lightbox) | </amp-lightbox> | | <!-- Invalid: scrollable present. --> | <amp-lightbox layout="nodisplay" close-button scrollable> >> ^~~~~~~~~ -amp-lightbox/0.1/test/validator-amp4ads-lightbox.html:39:2 The attribute 'scrollable' may not appear in tag 'amp-lightbox'. (see https://amp.dev/documentation/components/amp-lightbox) +amp-lightbox/0.1/test/validator-amp4ads-lightbox.html:24:2 The attribute 'scrollable' may not appear in tag 'amp-lightbox'. (see https://amp.dev/documentation/components/amp-lightbox) | </amp-lightbox> | </body> | </html> diff --git a/extensions/amp-lightbox/1.0/test/validator-amp-lightbox.html b/extensions/amp-lightbox/1.0/test/validator-amp-lightbox.html index d9e2c680075e..462d41647b02 100644 --- a/extensions/amp-lightbox/1.0/test/validator-amp-lightbox.html +++ b/extensions/amp-lightbox/1.0/test/validator-amp-lightbox.html @@ -1,18 +1,3 @@ -<!-- - Copyright 2021 The AMP HTML Authors. All Rights Reserved. - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS-IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the license. ---> <!-- Test Description: Tests for the amp-lightbox tag. See the inline comments. diff --git a/extensions/amp-lightbox/1.0/test/validator-amp-lightbox.out b/extensions/amp-lightbox/1.0/test/validator-amp-lightbox.out index 6434de85ed93..a89958de29ac 100644 --- a/extensions/amp-lightbox/1.0/test/validator-amp-lightbox.out +++ b/extensions/amp-lightbox/1.0/test/validator-amp-lightbox.out @@ -1,20 +1,5 @@ FAIL | <!-- -| Copyright 2021 The AMP HTML Authors. All Rights Reserved. -| -| Licensed under the Apache License, Version 2.0 (the "License"); -| you may not use this file except in compliance with the License. -| You may obtain a copy of the License at -| -| http://www.apache.org/licenses/LICENSE-2.0 -| -| Unless required by applicable law or agreed to in writing, software -| distributed under the License is distributed on an "AS-IS" BASIS, -| WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -| See the License for the specific language governing permissions and -| limitations under the license. -| --> -| <!-- | Test Description: | Tests for the amp-lightbox tag. See the inline comments. | --> @@ -35,7 +20,7 @@ FAIL | <!-- Invalid: layout must be nodisplay. --> | <amp-lightbox width="512" height="360"></amp-lightbox> >> ^~~~~~~~~ -amp-lightbox/1.0/test/validator-amp-lightbox.html:35:2 The implied layout 'FIXED' is not supported by tag 'amp-lightbox'. (see https://amp.dev/documentation/components/amp-lightbox) +amp-lightbox/1.0/test/validator-amp-lightbox.html:20:2 The implied layout 'FIXED' is not supported by tag 'amp-lightbox'. (see https://amp.dev/documentation/components/amp-lightbox) | | <!-- Valid --> | <amp-lightbox id="lb-2" layout="nodisplay" animation="fade-in"> @@ -52,7 +37,7 @@ amp-lightbox/1.0/test/validator-amp-lightbox.html:35:2 The implied layout 'FIXED | <!-- Invalid: invalid `animation` value --> | <amp-lightbox id="lb-5" layout="nodisplay" animation="xmas-lights"> >> ^~~~~~~~~ -amp-lightbox/1.0/test/validator-amp-lightbox.html:50:2 The attribute 'animation' in tag 'amp-lightbox' is set to the invalid value 'xmas-lights'. (see https://amp.dev/documentation/components/amp-lightbox) +amp-lightbox/1.0/test/validator-amp-lightbox.html:35:2 The attribute 'animation' in tag 'amp-lightbox' is set to the invalid value 'xmas-lights'. (see https://amp.dev/documentation/components/amp-lightbox) | </amp-lightbox> | </body> | </html> diff --git a/extensions/amp-lightbox/1.0/test/validator-amp4ads-lightbox.html b/extensions/amp-lightbox/1.0/test/validator-amp4ads-lightbox.html index aed0704d8975..6493932f78de 100644 --- a/extensions/amp-lightbox/1.0/test/validator-amp4ads-lightbox.html +++ b/extensions/amp-lightbox/1.0/test/validator-amp4ads-lightbox.html @@ -1,18 +1,3 @@ -<!-- - Copyright 2021 The AMP HTML Authors. All Rights Reserved. - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS-IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the license. ---> <!-- Test Description: Format is set to A4A. diff --git a/extensions/amp-lightbox/1.0/test/validator-amp4ads-lightbox.out b/extensions/amp-lightbox/1.0/test/validator-amp4ads-lightbox.out index 97321af08870..001c767945c3 100644 --- a/extensions/amp-lightbox/1.0/test/validator-amp4ads-lightbox.out +++ b/extensions/amp-lightbox/1.0/test/validator-amp4ads-lightbox.out @@ -1,20 +1,5 @@ FAIL | <!-- -| Copyright 2021 The AMP HTML Authors. All Rights Reserved. -| -| Licensed under the Apache License, Version 2.0 (the "License"); -| you may not use this file except in compliance with the License. -| You may obtain a copy of the License at -| -| http://www.apache.org/licenses/LICENSE-2.0 -| -| Unless required by applicable law or agreed to in writing, software -| distributed under the License is distributed on an "AS-IS" BASIS, -| WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -| See the License for the specific language governing permissions and -| limitations under the license. -| --> -| <!-- | Test Description: | Format is set to A4A. | --> @@ -28,7 +13,7 @@ FAIL | <!-- Invalid: importing disallowed version in the ads format. --> | <script async custom-element="amp-lightbox" src="https://cdn.ampproject.org/v0/amp-lightbox-1.0.js"></script> >> ^~~~~~~~~ -amp-lightbox/1.0/test/validator-amp4ads-lightbox.html:28:2 The extension 'amp-lightbox' is referenced at version '1.0' which is an invalid version. Please use a valid version of this extension. (see https://amp.dev/documentation/components/amp-lightbox) +amp-lightbox/1.0/test/validator-amp4ads-lightbox.html:13:2 The extension 'amp-lightbox' is referenced at version '1.0' which is an invalid version. Please use a valid version of this extension. (see https://amp.dev/documentation/components/amp-lightbox) | </head> | <body> | <!-- Valid use with close-button despite importing the wrong version. --> @@ -38,13 +23,13 @@ amp-lightbox/1.0/test/validator-amp4ads-lightbox.html:28:2 The extension 'amp-li | <!-- Invalid: close-button not present. --> | <amp-lightbox layout="nodisplay"> >> ^~~~~~~~~ -amp-lightbox/1.0/test/validator-amp4ads-lightbox.html:36:2 The mandatory attribute 'close-button' is missing in tag 'amp-lightbox'. (see https://amp.dev/documentation/components/amp-lightbox) +amp-lightbox/1.0/test/validator-amp4ads-lightbox.html:21:2 The mandatory attribute 'close-button' is missing in tag 'amp-lightbox'. (see https://amp.dev/documentation/components/amp-lightbox) | </amp-lightbox> | | <!-- Invalid: scrollable present. --> | <amp-lightbox layout="nodisplay" close-button scrollable> >> ^~~~~~~~~ -amp-lightbox/1.0/test/validator-amp4ads-lightbox.html:40:2 The attribute 'scrollable' may not appear in tag 'amp-lightbox'. (see https://amp.dev/documentation/components/amp-lightbox) +amp-lightbox/1.0/test/validator-amp4ads-lightbox.html:25:2 The attribute 'scrollable' may not appear in tag 'amp-lightbox'. (see https://amp.dev/documentation/components/amp-lightbox) | </amp-lightbox> | </body> | </html> diff --git a/extensions/amp-link-rewriter/0.1/test/validator-amp-link-rewriter-exclude.html b/extensions/amp-link-rewriter/0.1/test/validator-amp-link-rewriter-exclude.html index 07459fd6cc6b..0a9903136e0d 100644 --- a/extensions/amp-link-rewriter/0.1/test/validator-amp-link-rewriter-exclude.html +++ b/extensions/amp-link-rewriter/0.1/test/validator-amp-link-rewriter-exclude.html @@ -1,15 +1,3 @@ -<!-- - Copyright 2019 The AMP HTML Authors. All Rights Reserved. - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - http://www.apache.org/licenses/LICENSE-2.0 - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS-IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the license. ---> <!-- Test Description: Tests exclude amp-skimlinks and amp-smartlinks when amp-link-rewriter is present diff --git a/extensions/amp-link-rewriter/0.1/test/validator-amp-link-rewriter-exclude.out b/extensions/amp-link-rewriter/0.1/test/validator-amp-link-rewriter-exclude.out index d7d306514a25..1cf2555f478f 100644 --- a/extensions/amp-link-rewriter/0.1/test/validator-amp-link-rewriter-exclude.out +++ b/extensions/amp-link-rewriter/0.1/test/validator-amp-link-rewriter-exclude.out @@ -1,17 +1,5 @@ FAIL | <!-- -| Copyright 2019 The AMP HTML Authors. All Rights Reserved. -| Licensed under the Apache License, Version 2.0 (the "License"); -| you may not use this file except in compliance with the License. -| You may obtain a copy of the License at -| http://www.apache.org/licenses/LICENSE-2.0 -| Unless required by applicable law or agreed to in writing, software -| distributed under the License is distributed on an "AS-IS" BASIS, -| WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -| See the License for the specific language governing permissions and -| limitations under the license. -| --> -| <!-- | Test Description: | Tests exclude amp-skimlinks and amp-smartlinks when amp-link-rewriter is present | --> @@ -60,14 +48,14 @@ FAIL | </body> | </html> >> ^~~~~~~~~ -amp-link-rewriter/0.1/test/validator-amp-link-rewriter-exclude.html:60:6 The tag 'amp-link-rewriter extension script' is present, but is excluded by the presence of 'amp-skimlinks'. (see https://amp.dev/documentation/components/amp-link-rewriter) +amp-link-rewriter/0.1/test/validator-amp-link-rewriter-exclude.html:48:6 The tag 'amp-link-rewriter extension script' is present, but is excluded by the presence of 'amp-skimlinks'. (see https://amp.dev/documentation/components/amp-link-rewriter) >> ^~~~~~~~~ -amp-link-rewriter/0.1/test/validator-amp-link-rewriter-exclude.html:60:6 The tag 'amp-link-rewriter extension script' is present, but is excluded by the presence of 'amp-smartlinks'. (see https://amp.dev/documentation/components/amp-link-rewriter) +amp-link-rewriter/0.1/test/validator-amp-link-rewriter-exclude.html:48:6 The tag 'amp-link-rewriter extension script' is present, but is excluded by the presence of 'amp-smartlinks'. (see https://amp.dev/documentation/components/amp-link-rewriter) >> ^~~~~~~~~ -amp-link-rewriter/0.1/test/validator-amp-link-rewriter-exclude.html:60:6 The tag 'amp-skimlinks extension script' is present, but is excluded by the presence of 'amp-link-rewriter'. (see https://amp.dev/documentation/components/amp-skimlinks) +amp-link-rewriter/0.1/test/validator-amp-link-rewriter-exclude.html:48:6 The tag 'amp-skimlinks extension script' is present, but is excluded by the presence of 'amp-link-rewriter'. (see https://amp.dev/documentation/components/amp-skimlinks) >> ^~~~~~~~~ -amp-link-rewriter/0.1/test/validator-amp-link-rewriter-exclude.html:60:6 The tag 'amp-skimlinks extension script' is present, but is excluded by the presence of 'amp-smartlinks'. (see https://amp.dev/documentation/components/amp-skimlinks) +amp-link-rewriter/0.1/test/validator-amp-link-rewriter-exclude.html:48:6 The tag 'amp-skimlinks extension script' is present, but is excluded by the presence of 'amp-smartlinks'. (see https://amp.dev/documentation/components/amp-skimlinks) >> ^~~~~~~~~ -amp-link-rewriter/0.1/test/validator-amp-link-rewriter-exclude.html:60:6 The tag 'amp-smartlinks extension script' is present, but is excluded by the presence of 'amp-link-rewriter'. (see https://amp.dev/documentation/components/amp-smartlinks) +amp-link-rewriter/0.1/test/validator-amp-link-rewriter-exclude.html:48:6 The tag 'amp-smartlinks extension script' is present, but is excluded by the presence of 'amp-link-rewriter'. (see https://amp.dev/documentation/components/amp-smartlinks) >> ^~~~~~~~~ -amp-link-rewriter/0.1/test/validator-amp-link-rewriter-exclude.html:60:6 The tag 'amp-smartlinks extension script' is present, but is excluded by the presence of 'amp-skimlinks'. (see https://amp.dev/documentation/components/amp-smartlinks) +amp-link-rewriter/0.1/test/validator-amp-link-rewriter-exclude.html:48:6 The tag 'amp-smartlinks extension script' is present, but is excluded by the presence of 'amp-skimlinks'. (see https://amp.dev/documentation/components/amp-smartlinks) diff --git a/extensions/amp-link-rewriter/0.1/test/validator-amp-link-rewriter-no-script.html b/extensions/amp-link-rewriter/0.1/test/validator-amp-link-rewriter-no-script.html index 4949ddff0fd6..469e196de699 100644 --- a/extensions/amp-link-rewriter/0.1/test/validator-amp-link-rewriter-no-script.html +++ b/extensions/amp-link-rewriter/0.1/test/validator-amp-link-rewriter-no-script.html @@ -1,15 +1,3 @@ -<!-- - Copyright 2019 The AMP HTML Authors. All Rights Reserved. - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - http://www.apache.org/licenses/LICENSE-2.0 - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS-IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the license. ---> <!-- Test Description: Tests amp-link-rewriter tag diff --git a/extensions/amp-link-rewriter/0.1/test/validator-amp-link-rewriter-no-script.out b/extensions/amp-link-rewriter/0.1/test/validator-amp-link-rewriter-no-script.out index e87ca3e4b738..2eda42c32a29 100644 --- a/extensions/amp-link-rewriter/0.1/test/validator-amp-link-rewriter-no-script.out +++ b/extensions/amp-link-rewriter/0.1/test/validator-amp-link-rewriter-no-script.out @@ -1,17 +1,5 @@ FAIL | <!-- -| Copyright 2019 The AMP HTML Authors. All Rights Reserved. -| Licensed under the Apache License, Version 2.0 (the "License"); -| you may not use this file except in compliance with the License. -| You may obtain a copy of the License at -| http://www.apache.org/licenses/LICENSE-2.0 -| Unless required by applicable law or agreed to in writing, software -| distributed under the License is distributed on an "AS-IS" BASIS, -| WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -| See the License for the specific language governing permissions and -| limitations under the license. -| --> -| <!-- | Test Description: | Tests amp-link-rewriter tag | --> @@ -29,6 +17,6 @@ FAIL | <!-- Example of invalid amp-link-rewriter missing a script tag --> | <amp-link-rewriter layout="nodisplay"></amp-link-rewriter> >> ^~~~~~~~~ -amp-link-rewriter/0.1/test/validator-amp-link-rewriter-no-script.html:29:0 Tag 'amp-link-rewriter' must have 1 child tags - saw 0 child tags. (see https://amp.dev/documentation/components/amp-link-rewriter) +amp-link-rewriter/0.1/test/validator-amp-link-rewriter-no-script.html:17:0 Tag 'amp-link-rewriter' must have 1 child tags - saw 0 child tags. (see https://amp.dev/documentation/components/amp-link-rewriter) | </body> | </html> diff --git a/extensions/amp-link-rewriter/0.1/test/validator-amp-link-rewriter.html b/extensions/amp-link-rewriter/0.1/test/validator-amp-link-rewriter.html index 6d1dd38c777a..09bfe34487c2 100644 --- a/extensions/amp-link-rewriter/0.1/test/validator-amp-link-rewriter.html +++ b/extensions/amp-link-rewriter/0.1/test/validator-amp-link-rewriter.html @@ -1,15 +1,3 @@ -<!-- - Copyright 2019 The AMP HTML Authors. All Rights Reserved. - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - http://www.apache.org/licenses/LICENSE-2.0 - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS-IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the license. ---> <!-- Test Description: Tests amp-link-rewriter tag diff --git a/extensions/amp-link-rewriter/0.1/test/validator-amp-link-rewriter.out b/extensions/amp-link-rewriter/0.1/test/validator-amp-link-rewriter.out index 4a6d1604bd1d..699b35e9c3bc 100644 --- a/extensions/amp-link-rewriter/0.1/test/validator-amp-link-rewriter.out +++ b/extensions/amp-link-rewriter/0.1/test/validator-amp-link-rewriter.out @@ -1,17 +1,5 @@ FAIL | <!-- -| Copyright 2019 The AMP HTML Authors. All Rights Reserved. -| Licensed under the Apache License, Version 2.0 (the "License"); -| you may not use this file except in compliance with the License. -| You may obtain a copy of the License at -| http://www.apache.org/licenses/LICENSE-2.0 -| Unless required by applicable law or agreed to in writing, software -| distributed under the License is distributed on an "AS-IS" BASIS, -| WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -| See the License for the specific language governing permissions and -| limitations under the license. -| --> -| <!-- | Test Description: | Tests amp-link-rewriter tag | --> @@ -48,6 +36,6 @@ FAIL | <!-- Example of duplicate amp-link-rewriter tag --> | <amp-link-rewriter layout="nodisplay"></amp-link-rewriter> >> ^~~~~~~~~ -amp-link-rewriter/0.1/test/validator-amp-link-rewriter.html:48:0 The tag 'amp-link-rewriter' appears more than once in the document. (see https://amp.dev/documentation/components/amp-link-rewriter) +amp-link-rewriter/0.1/test/validator-amp-link-rewriter.html:36:0 The tag 'amp-link-rewriter' appears more than once in the document. (see https://amp.dev/documentation/components/amp-link-rewriter) | </body> | </html> diff --git a/extensions/amp-list/0.1/test/validator-amp-list.html b/extensions/amp-list/0.1/test/validator-amp-list.html index 04d4020e0b75..2cad4aa54a92 100644 --- a/extensions/amp-list/0.1/test/validator-amp-list.html +++ b/extensions/amp-list/0.1/test/validator-amp-list.html @@ -1,18 +1,3 @@ -<!-- - Copyright 2015 The AMP HTML Authors. All Rights Reserved. - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS-IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the license. ---> <!-- Test Description: Tests for the amp-list tag. diff --git a/extensions/amp-list/0.1/test/validator-amp-list.out b/extensions/amp-list/0.1/test/validator-amp-list.out index 1765b6f3acc0..7593bb7972f9 100644 --- a/extensions/amp-list/0.1/test/validator-amp-list.out +++ b/extensions/amp-list/0.1/test/validator-amp-list.out @@ -1,20 +1,5 @@ FAIL | <!-- -| Copyright 2015 The AMP HTML Authors. All Rights Reserved. -| -| Licensed under the Apache License, Version 2.0 (the "License"); -| you may not use this file except in compliance with the License. -| You may obtain a copy of the License at -| -| http://www.apache.org/licenses/LICENSE-2.0 -| -| Unless required by applicable law or agreed to in writing, software -| distributed under the License is distributed on an "AS-IS" BASIS, -| WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -| See the License for the specific language governing permissions and -| limitations under the license. -| --> -| <!-- | Test Description: | Tests for the amp-list tag. | --> @@ -48,7 +33,7 @@ FAIL | <!-- Valid: amp-list with both src and [src] attributes --> | <amp-list width=10 height=10 >> ^~~~~~~~~ -amp-list/0.1/test/validator-amp-list.html:48:2 The attribute '[state]' may not appear in tag 'amp-list'. (see https://amp.dev/documentation/components/amp-list) +amp-list/0.1/test/validator-amp-list.html:33:2 The attribute '[state]' may not appear in tag 'amp-list'. (see https://amp.dev/documentation/components/amp-list) | src="https://data.com/articles.json?ref=CANONICAL_URL" | [src]="foo.bar" [state]="baz.qux"> | <div></div> @@ -96,7 +81,7 @@ amp-list/0.1/test/validator-amp-list.html:48:2 The attribute '[state]' may not a | <!-- Valid amp-list with deprecated auto-resize attribute --> | <amp-list width=10 height=10 >> ^~~~~~~~~ -amp-list/0.1/test/validator-amp-list.html:94:2 The attribute 'auto-resize' in tag 'amp-list' is deprecated - use 'replacement-to-be-determined-at-a-later-date' instead. (see https://github.com/ampproject/amphtml/issues/18849) +amp-list/0.1/test/validator-amp-list.html:79:2 The attribute 'auto-resize' in tag 'amp-list' is deprecated - use 'replacement-to-be-determined-at-a-later-date' instead. (see https://github.com/ampproject/amphtml/issues/18849) | src="https://data.com/articles.json?ref=CANONICAL_URL" | auto-resize> | <div></div> @@ -148,7 +133,7 @@ amp-list/0.1/test/validator-amp-list.html:94:2 The attribute 'auto-resize' in ta | <!-- Invalid: unsupported "binding" attribute value --> | <amp-list width=10 height=10 >> ^~~~~~~~~ -amp-list/0.1/test/validator-amp-list.html:144:2 The attribute 'binding' in tag 'amp-list' is set to the invalid value 'this-is-an-error'. (see https://amp.dev/documentation/components/amp-list) +amp-list/0.1/test/validator-amp-list.html:129:2 The attribute 'binding' in tag 'amp-list' is set to the invalid value 'this-is-an-error'. (see https://amp.dev/documentation/components/amp-list) | src="https://data.com/articles.json?ref=CANONICAL_URL" | binding="this-is-an-error"> | <div></div> @@ -156,40 +141,40 @@ amp-list/0.1/test/validator-amp-list.html:144:2 The attribute 'binding' in tag ' | <!-- Invalid: width is mistyped. --> | <amp-list src="https://data.com/articles.json?ref=CANONICAL_URL" >> ^~~~~~~~~ -amp-list/0.1/test/validator-amp-list.html:150:2 The attribute 'wdith' may not appear in tag 'amp-list'. (see https://amp.dev/documentation/components/amp-list) +amp-list/0.1/test/validator-amp-list.html:135:2 The attribute 'wdith' may not appear in tag 'amp-list'. (see https://amp.dev/documentation/components/amp-list) | wdith=10 height=10> | <div></div> | </amp-list> | <!-- Invalid: missing at least src, [src] or data-amp-bind-src. --> | <amp-list width=10 height=10> >> ^~~~~~~~~ -amp-list/0.1/test/validator-amp-list.html:155:2 The tag 'amp-list' is missing a mandatory attribute - pick at least one of ['src','[src]','data-amp-bind-src']. (see https://amp.dev/documentation/components/amp-list) +amp-list/0.1/test/validator-amp-list.html:140:2 The tag 'amp-list' is missing a mandatory attribute - pick at least one of ['src','[src]','data-amp-bind-src']. (see https://amp.dev/documentation/components/amp-list) | <div></div> | </amp-list> | <!-- Invalid: width/height missing, so it's container layout | which isn't supported. --> | <amp-list src="https://data.com/articles.json?ref=CANONICAL_URL"> >> ^~~~~~~~~ -amp-list/0.1/test/validator-amp-list.html:160:2 Incomplete layout attributes specified for tag 'amp-list'. For example, provide attributes 'width' and 'height'. (see https://amp.dev/documentation/components/amp-list) +amp-list/0.1/test/validator-amp-list.html:145:2 Incomplete layout attributes specified for tag 'amp-list'. For example, provide attributes 'width' and 'height'. (see https://amp.dev/documentation/components/amp-list) | <div></div> | </amp-list> | <!-- Invalid: container layout --> | <amp-list layout="container" src="https://data.com/articles.json?ref=CANONICAL_URL"> >> ^~~~~~~~~ -amp-list/0.1/test/validator-amp-list.html:164:2 The specified layout 'CONTAINER' is not supported by tag 'amp-list'. (see https://amp.dev/documentation/components/amp-list) +amp-list/0.1/test/validator-amp-list.html:149:2 The specified layout 'CONTAINER' is not supported by tag 'amp-list'. (see https://amp.dev/documentation/components/amp-list) | <div></div> | </amp-list> | <!-- Invalid amp-list with load-more attribute --> | <amp-list width=10 height=10 >> ^~~~~~~~~ -amp-list/0.1/test/validator-amp-list.html:168:2 The attribute 'load-more' in tag 'amp-list' is set to the invalid value ''. (see https://amp.dev/documentation/components/amp-list) +amp-list/0.1/test/validator-amp-list.html:153:2 The attribute 'load-more' in tag 'amp-list' is set to the invalid value ''. (see https://amp.dev/documentation/components/amp-list) | src="https://data.com/articles.json?ref=CANONICAL_URL" | load-more></amp-list> | </amp-list> | <!-- Invalid amp-list with bad load-more attribute --> | <amp-list width=10 height=10 >> ^~~~~~~~~ -amp-list/0.1/test/validator-amp-list.html:173:2 The attribute 'load-more' in tag 'amp-list' is set to the invalid value 'gibberish'. (see https://amp.dev/documentation/components/amp-list) +amp-list/0.1/test/validator-amp-list.html:158:2 The attribute 'load-more' in tag 'amp-list' is set to the invalid value 'gibberish'. (see https://amp.dev/documentation/components/amp-list) | src="https://data.com/articles.json?ref=CANONICAL_URL" | load-more="gibberish" | load-more-bookmark="next"></amp-list> @@ -197,26 +182,26 @@ amp-list/0.1/test/validator-amp-list.html:173:2 The attribute 'load-more' in tag | <!-- Invalid load-more attributes --> | <div load-more-button></div> >> ^~~~~~~~~ -amp-list/0.1/test/validator-amp-list.html:179:2 The attribute 'load-more-button' may not appear in tag 'div'. +amp-list/0.1/test/validator-amp-list.html:164:2 The attribute 'load-more-button' may not appear in tag 'div'. | <div load-more-loading></div> >> ^~~~~~~~~ -amp-list/0.1/test/validator-amp-list.html:180:2 The attribute 'load-more-loading' may not appear in tag 'div'. +amp-list/0.1/test/validator-amp-list.html:165:2 The attribute 'load-more-loading' may not appear in tag 'div'. | <div load-more-failed></div> >> ^~~~~~~~~ -amp-list/0.1/test/validator-amp-list.html:181:2 The attribute 'load-more-failed' may not appear in tag 'div'. +amp-list/0.1/test/validator-amp-list.html:166:2 The attribute 'load-more-failed' may not appear in tag 'div'. | <div load-more-end></div> >> ^~~~~~~~~ -amp-list/0.1/test/validator-amp-list.html:182:2 The attribute 'load-more-end' may not appear in tag 'div'. +amp-list/0.1/test/validator-amp-list.html:167:2 The attribute 'load-more-end' may not appear in tag 'div'. | <amp-list-load-more></amp-list-load-more> >> ^~~~~~~~~ -amp-list/0.1/test/validator-amp-list.html:183:2 The parent tag of tag 'amp-list-load-more' is 'body', but it can only be 'amp-list'. (see https://amp.dev/documentation/components/amp-list) +amp-list/0.1/test/validator-amp-list.html:168:2 The parent tag of tag 'amp-list-load-more' is 'body', but it can only be 'amp-list'. (see https://amp.dev/documentation/components/amp-list) | <amp-list width=10 height=10 | src="https://data.com/articles.json?ref=CANONICAL_URL" | load-more="manual" | load-more-bookmark="next"> | <button load-more-clickable></button> >> ^~~~~~~~~ -amp-list/0.1/test/validator-amp-list.html:188:4 The parent tag of tag 'button' is 'amp-list', but it can only be 'amp-list-load-more'. (see https://amp.dev/documentation/components/amp-list) +amp-list/0.1/test/validator-amp-list.html:173:4 The parent tag of tag 'button' is 'amp-list', but it can only be 'amp-list-load-more'. (see https://amp.dev/documentation/components/amp-list) | </amp-list> | <amp-list width=10 height=10 | src="https://data.com/articles.json?ref=CANONICAL_URL" @@ -227,7 +212,7 @@ amp-list/0.1/test/validator-amp-list.html:188:4 The parent tag of tag 'button' i | <!-- References to template elements --> | <amp-list width=10 height=10 >> ^~~~~~~~~ -amp-list/0.1/test/validator-amp-list.html:197:2 Attribute 'template' in tag 'amp-list' contains a value that does not match any other tags on the page. (see https://amp.dev/documentation/components/amp-list) +amp-list/0.1/test/validator-amp-list.html:182:2 Attribute 'template' in tag 'amp-list' contains a value that does not match any other tags on the page. (see https://amp.dev/documentation/components/amp-list) | src="https://data.com/articles.json?ref=CANONICAL_URL" | template="missing"> | <div></div> @@ -239,9 +224,9 @@ amp-list/0.1/test/validator-amp-list.html:197:2 Attribute 'template' in tag 'amp | </amp-list> | <template id="found"></template> >> ^~~~~~~~~ -amp-list/0.1/test/validator-amp-list.html:207:2 The mandatory attribute 'type' is missing in tag 'template'. (see https://amp.dev/documentation/components/amp-mustache) +amp-list/0.1/test/validator-amp-list.html:192:2 The mandatory attribute 'type' is missing in tag 'template'. (see https://amp.dev/documentation/components/amp-mustache) >> ^~~~~~~~~ -amp-list/0.1/test/validator-amp-list.html:207:2 The tag 'template' requires including the 'amp-mustache' extension JavaScript. (see https://amp.dev/documentation/components/amp-mustache) +amp-list/0.1/test/validator-amp-list.html:192:2 The tag 'template' requires including the 'amp-mustache' extension JavaScript. (see https://amp.dev/documentation/components/amp-mustache) | <!-- Valid: amp-list with src and xssi-prefix attribute --> | <amp-list width=10 height=10 | src="https://data.com/articles.json?ref=CANONICAL_URL" diff --git a/extensions/amp-live-list/0.1/test/validator-amp-live-list.html b/extensions/amp-live-list/0.1/test/validator-amp-live-list.html index f7d855357476..626217a6f9cc 100644 --- a/extensions/amp-live-list/0.1/test/validator-amp-live-list.html +++ b/extensions/amp-live-list/0.1/test/validator-amp-live-list.html @@ -1,18 +1,3 @@ -<!-- - Copyright 2015 The AMP HTML Authors. All Rights Reserved. - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS-IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the license. ---> <!-- Test Description: Tests amp-live-list. diff --git a/extensions/amp-live-list/0.1/test/validator-amp-live-list.out b/extensions/amp-live-list/0.1/test/validator-amp-live-list.out index 5f70ceb0eb02..206a15740d55 100644 --- a/extensions/amp-live-list/0.1/test/validator-amp-live-list.out +++ b/extensions/amp-live-list/0.1/test/validator-amp-live-list.out @@ -1,20 +1,5 @@ FAIL | <!-- -| Copyright 2015 The AMP HTML Authors. All Rights Reserved. -| -| Licensed under the Apache License, Version 2.0 (the "License"); -| you may not use this file except in compliance with the License. -| You may obtain a copy of the License at -| -| http://www.apache.org/licenses/LICENSE-2.0 -| -| Unless required by applicable law or agreed to in writing, software -| distributed under the License is distributed on an "AS-IS" BASIS, -| WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -| See the License for the specific language governing permissions and -| limitations under the license. -| --> -| <!-- | Test Description: | Tests amp-live-list. | --> @@ -55,10 +40,10 @@ FAIL | <amp-live-list id="my-live-list-2" data-poll-interval="15000" data-max-items-per-page="20"> | <ul><li>a</li></ul> >> ^~~~~~~~~ -amp-live-list/0.1/test/validator-amp-live-list.html:55:4 The tag 'ul', a child tag of 'amp-live-list', does not satisfy one of the acceptable reference points: AMP-LIVE-LIST [update], AMP-LIVE-LIST [items], AMP-LIVE-LIST [pagination]. (see https://amp.dev/documentation/components/amp-live-list) +amp-live-list/0.1/test/validator-amp-live-list.html:40:4 The tag 'ul', a child tag of 'amp-live-list', does not satisfy one of the acceptable reference points: AMP-LIVE-LIST [update], AMP-LIVE-LIST [items], AMP-LIVE-LIST [pagination]. (see https://amp.dev/documentation/components/amp-live-list) | <button>Update</button> >> ^~~~~~~~~ -amp-live-list/0.1/test/validator-amp-live-list.html:56:4 The tag 'button', a child tag of 'amp-live-list', does not satisfy one of the acceptable reference points: AMP-LIVE-LIST [update], AMP-LIVE-LIST [items], AMP-LIVE-LIST [pagination]. (see https://amp.dev/documentation/components/amp-live-list) +amp-live-list/0.1/test/validator-amp-live-list.html:41:4 The tag 'button', a child tag of 'amp-live-list', does not satisfy one of the acceptable reference points: AMP-LIVE-LIST [update], AMP-LIVE-LIST [items], AMP-LIVE-LIST [pagination]. (see https://amp.dev/documentation/components/amp-live-list) | <button update>You have updates!</button> | <div items></div> | </amp-live-list> @@ -68,7 +53,7 @@ amp-live-list/0.1/test/validator-amp-live-list.html:56:4 The tag 'button', a chi | present. --> | <amp-live-list id="my-live-list-2" data-poll-interval="15000" data-max-items-per-page="20"> >> ^~~~~~~~~ -amp-live-list/0.1/test/validator-amp-live-list.html:64:2 The mandatory reference point 'AMP-LIVE-LIST [items]' for 'amp-live-list' is missing. (see https://amp.dev/documentation/components/amp-live-list) +amp-live-list/0.1/test/validator-amp-live-list.html:49:2 The mandatory reference point 'AMP-LIVE-LIST [items]' for 'amp-live-list' is missing. (see https://amp.dev/documentation/components/amp-live-list) | <button update>You have updates!</button> | </amp-live-list> | @@ -76,9 +61,9 @@ amp-live-list/0.1/test/validator-amp-live-list.html:64:2 The mandatory reference | present twice. --> | <amp-live-list id="my-live-list-3" data-poll-interval="15000" data-max-items-per-page="20"> >> ^~~~~~~~~ -amp-live-list/0.1/test/validator-amp-live-list.html:70:2 The reference point 'AMP-LIVE-LIST [update]' for 'amp-live-list' must be unique but a duplicate was encountered. (see https://amp.dev/documentation/components/amp-live-list) +amp-live-list/0.1/test/validator-amp-live-list.html:55:2 The reference point 'AMP-LIVE-LIST [update]' for 'amp-live-list' must be unique but a duplicate was encountered. (see https://amp.dev/documentation/components/amp-live-list) >> ^~~~~~~~~ -amp-live-list/0.1/test/validator-amp-live-list.html:70:2 The reference point 'AMP-LIVE-LIST [pagination]' for 'amp-live-list' must be unique but a duplicate was encountered. (see https://amp.dev/documentation/components/amp-live-list) +amp-live-list/0.1/test/validator-amp-live-list.html:55:2 The reference point 'AMP-LIVE-LIST [pagination]' for 'amp-live-list' must be unique but a duplicate was encountered. (see https://amp.dev/documentation/components/amp-live-list) | <button update on="tap:my-live-list.update">You have updates!</button> | <button update on="tap:my-live-list.update">You have updates!</button> | <div items></div> @@ -92,10 +77,10 @@ amp-live-list/0.1/test/validator-amp-live-list.html:70:2 The reference point 'AM | <amp-live-list id="my-live-list-4" data-poll-interval="15000" data-max-items-per-page="20"> | <img update src="button.gif" onclick="javascript:alert('u have updates!')"> >> ^~~~~~~~~ -amp-live-list/0.1/test/validator-amp-live-list.html:82:4 The tag 'img' may only appear as a descendant of tag 'noscript'. Did you mean 'amp-img'? (see https://amp.dev/documentation/components/amp-img/) +amp-live-list/0.1/test/validator-amp-live-list.html:67:4 The tag 'img' may only appear as a descendant of tag 'noscript'. Did you mean 'amp-img'? (see https://amp.dev/documentation/components/amp-img/) | <script items> >> ^~~~~~~~~ -amp-live-list/0.1/test/validator-amp-live-list.html:83:4 Custom JavaScript is not allowed. (see https://amp.dev/documentation/guides-and-tutorials/learn/validation-workflow/validation_errors/#custom-javascript-is-not-allowed) +amp-live-list/0.1/test/validator-amp-live-list.html:68:4 Custom JavaScript is not allowed. (see https://amp.dev/documentation/guides-and-tutorials/learn/validation-workflow/validation_errors/#custom-javascript-is-not-allowed) | document.writeln('1, 2, 3'); | </script> | </amp-live-list> @@ -107,24 +92,24 @@ amp-live-list/0.1/test/validator-amp-live-list.html:83:4 Custom JavaScript is no | <ul items> | <li id="1" data-update-time="42">1</li> <!-- data-sort-time missing --> >> ^~~~~~~~~ -amp-live-list/0.1/test/validator-amp-live-list.html:93:6 The mandatory attribute 'data-sort-time' is missing in tag 'amp-live-list [items] item'. (see https://amp.dev/documentation/components/amp-live-list/#items) +amp-live-list/0.1/test/validator-amp-live-list.html:78:6 The mandatory attribute 'data-sort-time' is missing in tag 'amp-live-list [items] item'. (see https://amp.dev/documentation/components/amp-live-list/#items) >> ^~~~~~~~~ -amp-live-list/0.1/test/validator-amp-live-list.html:93:6 The tag 'li', a child tag of 'AMP-LIVE-LIST [items]', does not satisfy the reference point 'AMP-LIVE-LIST [items] item'. (see https://amp.dev/documentation/components/amp-live-list/#items) +amp-live-list/0.1/test/validator-amp-live-list.html:78:6 The tag 'li', a child tag of 'AMP-LIVE-LIST [items]', does not satisfy the reference point 'AMP-LIVE-LIST [items] item'. (see https://amp.dev/documentation/components/amp-live-list/#items) | <li id="2" data-sort-time="43" data-update-time="44">2</li> | <li data-update-time="44">3</li> <!-- id and data-sort-time missing --> >> ^~~~~~~~~ -amp-live-list/0.1/test/validator-amp-live-list.html:95:6 The mandatory attribute 'data-sort-time' is missing in tag 'amp-live-list [items] item'. (see https://amp.dev/documentation/components/amp-live-list/#items) +amp-live-list/0.1/test/validator-amp-live-list.html:80:6 The mandatory attribute 'data-sort-time' is missing in tag 'amp-live-list [items] item'. (see https://amp.dev/documentation/components/amp-live-list/#items) >> ^~~~~~~~~ -amp-live-list/0.1/test/validator-amp-live-list.html:95:6 The mandatory attribute 'id' is missing in tag 'amp-live-list [items] item'. (see https://amp.dev/documentation/components/amp-live-list/#items) +amp-live-list/0.1/test/validator-amp-live-list.html:80:6 The mandatory attribute 'id' is missing in tag 'amp-live-list [items] item'. (see https://amp.dev/documentation/components/amp-live-list/#items) >> ^~~~~~~~~ -amp-live-list/0.1/test/validator-amp-live-list.html:95:6 The tag 'li', a child tag of 'AMP-LIVE-LIST [items]', does not satisfy the reference point 'AMP-LIVE-LIST [items] item'. (see https://amp.dev/documentation/components/amp-live-list/#items) +amp-live-list/0.1/test/validator-amp-live-list.html:80:6 The tag 'li', a child tag of 'AMP-LIVE-LIST [items]', does not satisfy the reference point 'AMP-LIVE-LIST [items] item'. (see https://amp.dev/documentation/components/amp-live-list/#items) | <p>junk</p> <!-- id, data-sort-time missing --> >> ^~~~~~~~~ -amp-live-list/0.1/test/validator-amp-live-list.html:96:6 The mandatory attribute 'data-sort-time' is missing in tag 'amp-live-list [items] item'. (see https://amp.dev/documentation/components/amp-live-list/#items) +amp-live-list/0.1/test/validator-amp-live-list.html:81:6 The mandatory attribute 'data-sort-time' is missing in tag 'amp-live-list [items] item'. (see https://amp.dev/documentation/components/amp-live-list/#items) >> ^~~~~~~~~ -amp-live-list/0.1/test/validator-amp-live-list.html:96:6 The mandatory attribute 'id' is missing in tag 'amp-live-list [items] item'. (see https://amp.dev/documentation/components/amp-live-list/#items) +amp-live-list/0.1/test/validator-amp-live-list.html:81:6 The mandatory attribute 'id' is missing in tag 'amp-live-list [items] item'. (see https://amp.dev/documentation/components/amp-live-list/#items) >> ^~~~~~~~~ -amp-live-list/0.1/test/validator-amp-live-list.html:96:6 The tag 'p', a child tag of 'AMP-LIVE-LIST [items]', does not satisfy the reference point 'AMP-LIVE-LIST [items] item'. (see https://amp.dev/documentation/components/amp-live-list/#items) +amp-live-list/0.1/test/validator-amp-live-list.html:81:6 The tag 'p', a child tag of 'AMP-LIVE-LIST [items]', does not satisfy the reference point 'AMP-LIVE-LIST [items] item'. (see https://amp.dev/documentation/components/amp-live-list/#items) | </ul> | <div pagination></div> | </amp-live-list> @@ -135,7 +120,7 @@ amp-live-list/0.1/test/validator-amp-live-list.html:96:6 The tag 'p', a child ta | <button update on="tap:my-live-list-6.update">You have updates!</button> | <amp-live-list items id="my-live-list-7" data-poll-interval="15000" data-max-items-per-page="20"> >> ^~~~~~~~~ -amp-live-list/0.1/test/validator-amp-live-list.html:105:4 The tag 'amp-live-list' conflicts with reference point 'AMP-LIVE-LIST [items]' because both define reference points. (see https://amp.dev/documentation/components/amp-live-list/#items) +amp-live-list/0.1/test/validator-amp-live-list.html:90:4 The tag 'amp-live-list' conflicts with reference point 'AMP-LIVE-LIST [items]' because both define reference points. (see https://amp.dev/documentation/components/amp-live-list/#items) | <button update on="tap:my-live-list-7.update">You have updates!</button> | <div items></div> | </amp-live-list> diff --git a/extensions/amp-mathml/0.1/test/validator-amp-mathml.html b/extensions/amp-mathml/0.1/test/validator-amp-mathml.html index 1c5487791a9d..47ceb32ee2d3 100644 --- a/extensions/amp-mathml/0.1/test/validator-amp-mathml.html +++ b/extensions/amp-mathml/0.1/test/validator-amp-mathml.html @@ -1,18 +1,3 @@ -<!-- - Copyright 2018 The AMP HTML Authors. All Rights Reserved. - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS-IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the license. ---> <!-- Test Description: Tests support for the amp-mathml tag. diff --git a/extensions/amp-mathml/0.1/test/validator-amp-mathml.out b/extensions/amp-mathml/0.1/test/validator-amp-mathml.out index 038ddc526157..cdba680767ff 100644 --- a/extensions/amp-mathml/0.1/test/validator-amp-mathml.out +++ b/extensions/amp-mathml/0.1/test/validator-amp-mathml.out @@ -1,20 +1,5 @@ FAIL | <!-- -| Copyright 2018 The AMP HTML Authors. All Rights Reserved. -| -| Licensed under the Apache License, Version 2.0 (the "License"); -| you may not use this file except in compliance with the License. -| You may obtain a copy of the License at -| -| http://www.apache.org/licenses/LICENSE-2.0 -| -| Unless required by applicable law or agreed to in writing, software -| distributed under the License is distributed on an "AS-IS" BASIS, -| WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -| See the License for the specific language governing permissions and -| limitations under the license. -| --> -| <!-- | Test Description: | Tests support for the amp-mathml tag. | --> @@ -35,10 +20,10 @@ FAIL | <!-- Invalid: unsupported layout value --> | <amp-mathml layout="responsive" width="10px" height="10px" data-formula="\[x = {-b \pm \sqrt{b^2-4ac} \over 2a}.\]"></amp-mathml> >> ^~~~~~~~~ -amp-mathml/0.1/test/validator-amp-mathml.html:35:2 The specified layout 'RESPONSIVE' is not supported by tag 'amp-mathml'. (see https://amp.dev/documentation/components/amp-mathml) +amp-mathml/0.1/test/validator-amp-mathml.html:20:2 The specified layout 'RESPONSIVE' is not supported by tag 'amp-mathml'. (see https://amp.dev/documentation/components/amp-mathml) | <!-- Invalid: missing formula --> | <amp-mathml layout="container"></amp-mathml> >> ^~~~~~~~~ -amp-mathml/0.1/test/validator-amp-mathml.html:37:2 The mandatory attribute 'data-formula' is missing in tag 'amp-mathml'. (see https://amp.dev/documentation/components/amp-mathml) +amp-mathml/0.1/test/validator-amp-mathml.html:22:2 The mandatory attribute 'data-formula' is missing in tag 'amp-mathml'. (see https://amp.dev/documentation/components/amp-mathml) | </body> | </html> diff --git a/extensions/amp-mega-menu/0.1/test/validator-amp-mega-menu-error.html b/extensions/amp-mega-menu/0.1/test/validator-amp-mega-menu-error.html index 5223d6a4c353..292adae36a4b 100644 --- a/extensions/amp-mega-menu/0.1/test/validator-amp-mega-menu-error.html +++ b/extensions/amp-mega-menu/0.1/test/validator-amp-mega-menu-error.html @@ -1,18 +1,3 @@ -<!-- - Copyright 2019 The AMP HTML Authors. All Rights Reserved. - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS-IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the license. ---> <!-- Test Description: Tests for the amp-mega-menu tag. diff --git a/extensions/amp-mega-menu/0.1/test/validator-amp-mega-menu-error.out b/extensions/amp-mega-menu/0.1/test/validator-amp-mega-menu-error.out index 14fab628de17..f68561a991de 100644 --- a/extensions/amp-mega-menu/0.1/test/validator-amp-mega-menu-error.out +++ b/extensions/amp-mega-menu/0.1/test/validator-amp-mega-menu-error.out @@ -1,20 +1,5 @@ FAIL | <!-- -| Copyright 2019 The AMP HTML Authors. All Rights Reserved. -| -| Licensed under the Apache License, Version 2.0 (the "License"); -| you may not use this file except in compliance with the License. -| You may obtain a copy of the License at -| -| http://www.apache.org/licenses/LICENSE-2.0 -| -| Unless required by applicable law or agreed to in writing, software -| distributed under the License is distributed on an "AS-IS" BASIS, -| WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -| See the License for the specific language governing permissions and -| limitations under the license. -| --> -| <!-- | Test Description: | Tests for the amp-mega-menu tag. | --> @@ -33,39 +18,39 @@ FAIL | <amp-mega-menu layout="fixed-height" height="80"> | <nav> >> ^~~~~~~~~ -amp-mega-menu/0.1/test/validator-amp-mega-menu-error.html:33:4 Tag 'amp-mega-menu > nav' must have 1 child tags - saw 2 child tags. +amp-mega-menu/0.1/test/validator-amp-mega-menu-error.html:18:4 Tag 'amp-mega-menu > nav' must have 1 child tags - saw 2 child tags. | <!-- nav cannot contain more than one child, which must be ul/ol --> | <div></div> >> ^~~~~~~~~ -amp-mega-menu/0.1/test/validator-amp-mega-menu-error.html:35:6 Tag 'div' is disallowed as child of tag 'amp-mega-menu > nav'. Child tag must be one of ['ol', 'ul']. +amp-mega-menu/0.1/test/validator-amp-mega-menu-error.html:20:6 Tag 'div' is disallowed as child of tag 'amp-mega-menu > nav'. Child tag must be one of ['ol', 'ul']. | <ul> | <!-- ul/ol cannot have elements other than li as children --> | <div></div> >> ^~~~~~~~~ -amp-mega-menu/0.1/test/validator-amp-mega-menu-error.html:38:8 Tag 'div' is disallowed as child of tag 'amp-mega-menu nav > ul/ol'. Child tag must be one of ['li']. +amp-mega-menu/0.1/test/validator-amp-mega-menu-error.html:23:8 Tag 'div' is disallowed as child of tag 'amp-mega-menu nav > ul/ol'. Child tag must be one of ['li']. | <!-- menu items must have at least one child --> | <li></li> >> ^~~~~~~~~ -amp-mega-menu/0.1/test/validator-amp-mega-menu-error.html:40:8 Tag 'amp-mega-menu nav > ul/ol > li' must have a minimum of 1 child tags - saw 0 child tags. +amp-mega-menu/0.1/test/validator-amp-mega-menu-error.html:25:8 Tag 'amp-mega-menu nav > ul/ol > li' must have a minimum of 1 child tags - saw 0 child tags. >> ^~~~~~~~~ -amp-mega-menu/0.1/test/validator-amp-mega-menu-error.html:40:8 The mandatory reference point 'AMP-MEGA-MENU item-heading' for 'AMP-MEGA-MENU NAV > UL/OL > LI' is missing. +amp-mega-menu/0.1/test/validator-amp-mega-menu-error.html:25:8 The mandatory reference point 'AMP-MEGA-MENU item-heading' for 'AMP-MEGA-MENU NAV > UL/OL > LI' is missing. | <!-- menu item cannot have multiple children unless one has role="dialog" --> | <li> >> ^~~~~~~~~ -amp-mega-menu/0.1/test/validator-amp-mega-menu-error.html:42:8 The reference point 'AMP-MEGA-MENU item-heading' for 'AMP-MEGA-MENU NAV > UL/OL > LI' must be unique but a duplicate was encountered. +amp-mega-menu/0.1/test/validator-amp-mega-menu-error.html:27:8 The reference point 'AMP-MEGA-MENU item-heading' for 'AMP-MEGA-MENU NAV > UL/OL > LI' must be unique but a duplicate was encountered. | <button></button> | <button></button> | </li> | <!-- role="dialog" must be accompanied by a sibling that toggles it --> | <li> >> ^~~~~~~~~ -amp-mega-menu/0.1/test/validator-amp-mega-menu-error.html:47:8 The mandatory reference point 'AMP-MEGA-MENU item-heading' for 'AMP-MEGA-MENU NAV > UL/OL > LI' is missing. +amp-mega-menu/0.1/test/validator-amp-mega-menu-error.html:32:8 The mandatory reference point 'AMP-MEGA-MENU item-heading' for 'AMP-MEGA-MENU NAV > UL/OL > LI' is missing. | <div role="dialog"></div> | </li> | <!-- menu item cannot have multiple role="dialog" as children --> | <li> >> ^~~~~~~~~ -amp-mega-menu/0.1/test/validator-amp-mega-menu-error.html:51:8 The reference point 'AMP-MEGA-MENU item-content' for 'AMP-MEGA-MENU NAV > UL/OL > LI' must be unique but a duplicate was encountered. +amp-mega-menu/0.1/test/validator-amp-mega-menu-error.html:36:8 The reference point 'AMP-MEGA-MENU item-content' for 'AMP-MEGA-MENU NAV > UL/OL > LI' must be unique but a duplicate was encountered. | <button></button> | <div role="dialog"></div> | <div role="dialog"></div> @@ -75,7 +60,7 @@ amp-mega-menu/0.1/test/validator-amp-mega-menu-error.html:51:8 The reference poi | <button></button> | <div role="menu"></div> >> ^~~~~~~~~ -amp-mega-menu/0.1/test/validator-amp-mega-menu-error.html:59:10 The tag 'div', a child tag of 'AMP-MEGA-MENU NAV > UL/OL > LI', does not satisfy one of the acceptable reference points: AMP-MEGA-MENU item-content, AMP-MEGA-MENU item-heading. +amp-mega-menu/0.1/test/validator-amp-mega-menu-error.html:44:10 The tag 'div', a child tag of 'AMP-MEGA-MENU NAV > UL/OL > LI', does not satisfy one of the acceptable reference points: AMP-MEGA-MENU item-content, AMP-MEGA-MENU item-heading. | </li> | </ul> | </nav> @@ -84,14 +69,14 @@ amp-mega-menu/0.1/test/validator-amp-mega-menu-error.html:59:10 The tag 'div', a | <amp-mega-menu layout="fixed-height" height="80"> | <div></div> >> ^~~~~~~~~ -amp-mega-menu/0.1/test/validator-amp-mega-menu-error.html:66:4 Tag 'div' is disallowed as child of tag 'amp-mega-menu'. Child tag must be one of ['nav', 'amp-list']. (see https://amp.dev/documentation/components/amp-mega-menu/) +amp-mega-menu/0.1/test/validator-amp-mega-menu-error.html:51:4 Tag 'div' is disallowed as child of tag 'amp-mega-menu'. Child tag must be one of ['nav', 'amp-list']. (see https://amp.dev/documentation/components/amp-mega-menu/) | </amp-mega-menu> | <!-- amp-list under amp-mega-menu must contain a template --> | <amp-mega-menu layout="fixed-height" height="80"> | <amp-list layout="fill" src="."> | <div></div> >> ^~~~~~~~~ -amp-mega-menu/0.1/test/validator-amp-mega-menu-error.html:71:6 Tag 'div' is disallowed as child of tag 'amp-mega-menu > amp-list'. Child tag must be one of ['template']. +amp-mega-menu/0.1/test/validator-amp-mega-menu-error.html:56:6 Tag 'div' is disallowed as child of tag 'amp-mega-menu > amp-list'. Child tag must be one of ['template']. | </amp-list> | </amp-mega-menu> | <!-- template must contain a nav element --> @@ -100,7 +85,7 @@ amp-mega-menu/0.1/test/validator-amp-mega-menu-error.html:71:6 Tag 'div' is disa | <template type="amp-mustache"> | <div></div> >> ^~~~~~~~~ -amp-mega-menu/0.1/test/validator-amp-mega-menu-error.html:78:8 Tag 'div' is disallowed as child of tag 'amp-mega-menu > amp-list > template'. Child tag must be one of ['nav']. +amp-mega-menu/0.1/test/validator-amp-mega-menu-error.html:63:8 Tag 'div' is disallowed as child of tag 'amp-mega-menu > amp-list > template'. Child tag must be one of ['nav']. | </template> | </amp-list> | </amp-mega-menu> diff --git a/extensions/amp-mega-menu/0.1/test/validator-amp-mega-menu.html b/extensions/amp-mega-menu/0.1/test/validator-amp-mega-menu.html index 2543ec456718..02ecd33b0ace 100644 --- a/extensions/amp-mega-menu/0.1/test/validator-amp-mega-menu.html +++ b/extensions/amp-mega-menu/0.1/test/validator-amp-mega-menu.html @@ -1,18 +1,3 @@ -<!-- - Copyright 2019 The AMP HTML Authors. All Rights Reserved. - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS-IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the license. ---> <!-- Test Description: Tests for the amp-mega-menu tag. diff --git a/extensions/amp-mega-menu/0.1/test/validator-amp-mega-menu.out b/extensions/amp-mega-menu/0.1/test/validator-amp-mega-menu.out index f59a023bde60..d8056854ca0b 100644 --- a/extensions/amp-mega-menu/0.1/test/validator-amp-mega-menu.out +++ b/extensions/amp-mega-menu/0.1/test/validator-amp-mega-menu.out @@ -1,20 +1,5 @@ PASS | <!-- -| Copyright 2019 The AMP HTML Authors. All Rights Reserved. -| -| Licensed under the Apache License, Version 2.0 (the "License"); -| you may not use this file except in compliance with the License. -| You may obtain a copy of the License at -| -| http://www.apache.org/licenses/LICENSE-2.0 -| -| Unless required by applicable law or agreed to in writing, software -| distributed under the License is distributed on an "AS-IS" BASIS, -| WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -| See the License for the specific language governing permissions and -| limitations under the license. -| --> -| <!-- | Test Description: | Tests for the amp-mega-menu tag. | --> diff --git a/extensions/amp-megaphone/0.1/test/validator-amp-megaphone.html b/extensions/amp-megaphone/0.1/test/validator-amp-megaphone.html index 20e624daf834..e209ed1fa5bd 100644 --- a/extensions/amp-megaphone/0.1/test/validator-amp-megaphone.html +++ b/extensions/amp-megaphone/0.1/test/validator-amp-megaphone.html @@ -1,18 +1,3 @@ -<!-- - Copyright 2019 The AMP HTML Authors. All Rights Reserved. - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS-IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the license. ---> <!-- Test Description: This tests validation for the amp-megaphone tag. diff --git a/extensions/amp-megaphone/0.1/test/validator-amp-megaphone.out b/extensions/amp-megaphone/0.1/test/validator-amp-megaphone.out index 6a0738194332..0cb097398afe 100644 --- a/extensions/amp-megaphone/0.1/test/validator-amp-megaphone.out +++ b/extensions/amp-megaphone/0.1/test/validator-amp-megaphone.out @@ -1,20 +1,5 @@ FAIL | <!-- -| Copyright 2019 The AMP HTML Authors. All Rights Reserved. -| -| Licensed under the Apache License, Version 2.0 (the "License"); -| you may not use this file except in compliance with the License. -| You may obtain a copy of the License at -| -| http://www.apache.org/licenses/LICENSE-2.0 -| -| Unless required by applicable law or agreed to in writing, software -| distributed under the License is distributed on an "AS-IS" BASIS, -| WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -| See the License for the specific language governing permissions and -| limitations under the license. -| --> -| <!-- | Test Description: | This tests validation for the amp-megaphone tag. | --> @@ -47,22 +32,22 @@ FAIL | <!-- invalid: bad start time --> | <amp-megaphone height=166 data-episode="OSC7749686951" data-start="300s" >> ^~~~~~~~~ -amp-megaphone/0.1/test/validator-amp-megaphone.html:47:2 The attribute 'data-start' in tag 'amp-megaphone' is set to the invalid value '300s'. (see https://amp.dev/documentation/components/amp-megaphone) +amp-megaphone/0.1/test/validator-amp-megaphone.html:32:2 The attribute 'data-start' in tag 'amp-megaphone' is set to the invalid value '300s'. (see https://amp.dev/documentation/components/amp-megaphone) | layout="fixed-height"></amp-megaphone> | <!-- invalid: bad episode id--> | <amp-megaphone height=166 data-episode="mahler_number_6.ogg" >> ^~~~~~~~~ -amp-megaphone/0.1/test/validator-amp-megaphone.html:50:2 The attribute 'data-episode' in tag 'amp-megaphone' is set to the invalid value 'mahler_number_6.ogg'. (see https://amp.dev/documentation/components/amp-megaphone) +amp-megaphone/0.1/test/validator-amp-megaphone.html:35:2 The attribute 'data-episode' in tag 'amp-megaphone' is set to the invalid value 'mahler_number_6.ogg'. (see https://amp.dev/documentation/components/amp-megaphone) | layout="fixed-height"></amp-megaphone> | <!-- invalid: responsive layout --> | <amp-megaphone height=166 width=42 data-episode="OSC7749686951" >> ^~~~~~~~~ -amp-megaphone/0.1/test/validator-amp-megaphone.html:53:2 The specified layout 'RESPONSIVE' is not supported by tag 'amp-megaphone'. (see https://amp.dev/documentation/components/amp-megaphone) +amp-megaphone/0.1/test/validator-amp-megaphone.html:38:2 The specified layout 'RESPONSIVE' is not supported by tag 'amp-megaphone'. (see https://amp.dev/documentation/components/amp-megaphone) | layout="responsive"></amp-megaphone> | <!-- invalid: intrinsic layout --> | <amp-megaphone height=166 width=42 data-episode="OSC7749686951" >> ^~~~~~~~~ -amp-megaphone/0.1/test/validator-amp-megaphone.html:56:2 The specified layout 'INTRINSIC' is not supported by tag 'amp-megaphone'. (see https://amp.dev/documentation/components/amp-megaphone) +amp-megaphone/0.1/test/validator-amp-megaphone.html:41:2 The specified layout 'INTRINSIC' is not supported by tag 'amp-megaphone'. (see https://amp.dev/documentation/components/amp-megaphone) | layout="intrinsic"></amp-megaphone> | <!-- valid: fixed layout --> | <amp-megaphone height=166 width=42 data-episode="OSC7749686951" diff --git a/extensions/amp-minute-media-player/0.1/test/validator-amp-minute-media-player.html b/extensions/amp-minute-media-player/0.1/test/validator-amp-minute-media-player.html index f215f4d8d4b0..4a094eaceb04 100644 --- a/extensions/amp-minute-media-player/0.1/test/validator-amp-minute-media-player.html +++ b/extensions/amp-minute-media-player/0.1/test/validator-amp-minute-media-player.html @@ -1,18 +1,3 @@ -<!-- -* Copyright 2019 The AMP HTML Authors. All Rights Reserved. -* -* Licensed under the Apache License, Version 2.0 (the "License"); -* you may not use this file except in compliance with the License. -* You may obtain a copy of the License at -* -* http://www.apache.org/licenses/LICENSE-2.0 -* -* Unless required by applicable law or agreed to in writing, software -* distributed under the License is distributed on an "AS-IS" BASIS, -* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -* See the License for the specific language governing permissions and -* limitations under the License. ---> <!-- Test Description: Tests for the amp-minute-media-player tag diff --git a/extensions/amp-minute-media-player/0.1/test/validator-amp-minute-media-player.out b/extensions/amp-minute-media-player/0.1/test/validator-amp-minute-media-player.out index 0c4f19f32b96..aa39fa8604aa 100644 --- a/extensions/amp-minute-media-player/0.1/test/validator-amp-minute-media-player.out +++ b/extensions/amp-minute-media-player/0.1/test/validator-amp-minute-media-player.out @@ -1,20 +1,5 @@ FAIL | <!-- -| * Copyright 2019 The AMP HTML Authors. All Rights Reserved. -| * -| * Licensed under the Apache License, Version 2.0 (the "License"); -| * you may not use this file except in compliance with the License. -| * You may obtain a copy of the License at -| * -| * http://www.apache.org/licenses/LICENSE-2.0 -| * -| * Unless required by applicable law or agreed to in writing, software -| * distributed under the License is distributed on an "AS-IS" BASIS, -| * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -| * See the License for the specific language governing permissions and -| * limitations under the License. -| --> -| <!-- | Test Description: | Tests for the amp-minute-media-player tag | --> @@ -58,7 +43,7 @@ FAIL | <!-- Invalid: data-content-type is mandatory! --> | <amp-minute-media-player >> ^~~~~~~~~ -amp-minute-media-player/0.1/test/validator-amp-minute-media-player.html:58:2 The mandatory attribute 'data-content-type' is missing in tag 'amp-minute-media-player'. (see https://amp.dev/documentation/components/amp-minute-media-player/) +amp-minute-media-player/0.1/test/validator-amp-minute-media-player.html:43:2 The mandatory attribute 'data-content-type' is missing in tag 'amp-minute-media-player'. (see https://amp.dev/documentation/components/amp-minute-media-player/) | data-content-id="fSkmeWKF" | layout="responsive" width="160" height="96"> | </amp-minute-media-player> @@ -66,7 +51,7 @@ amp-minute-media-player/0.1/test/validator-amp-minute-media-player.html:58:2 The | <!-- Invalid: data-content-type value must be one of the following: 'semantic', 'curated' or 'specific' --> | <amp-minute-media-player >> ^~~~~~~~~ -amp-minute-media-player/0.1/test/validator-amp-minute-media-player.html:64:2 The attribute 'data-content-type' in tag 'amp-minute-media-player' is set to the invalid value 'none'. (see https://amp.dev/documentation/components/amp-minute-media-player/) +amp-minute-media-player/0.1/test/validator-amp-minute-media-player.html:49:2 The attribute 'data-content-type' in tag 'amp-minute-media-player' is set to the invalid value 'none'. (see https://amp.dev/documentation/components/amp-minute-media-player/) | data-content-type="none" | data-content-id="fSkmeWKF" | layout="responsive" @@ -76,7 +61,7 @@ amp-minute-media-player/0.1/test/validator-amp-minute-media-player.html:64:2 The | <!-- Invalid: 'dock' attribute without `amp-video-docking` extension --> | <amp-minute-media-player >> ^~~~~~~~~ -amp-minute-media-player/0.1/test/validator-amp-minute-media-player.html:72:2 The attribute 'dock' requires including the 'amp-video-docking' extension JavaScript. +amp-minute-media-player/0.1/test/validator-amp-minute-media-player.html:57:2 The attribute 'dock' requires including the 'amp-video-docking' extension JavaScript. | dock | data-content-type="semantic" | data-minimum-date-factor="10" diff --git a/extensions/amp-mowplayer/0.1/test/validator-amp-mowplayer.html b/extensions/amp-mowplayer/0.1/test/validator-amp-mowplayer.html index 204d3948a7c2..668b36c7b781 100644 --- a/extensions/amp-mowplayer/0.1/test/validator-amp-mowplayer.html +++ b/extensions/amp-mowplayer/0.1/test/validator-amp-mowplayer.html @@ -1,18 +1,3 @@ -<!-- - Copyright 2018 The AMP HTML Authors. All Rights Reserved. - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS-IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the license. ---> <!-- Test Description: Tests support for the amp-mowplayer tag. diff --git a/extensions/amp-mowplayer/0.1/test/validator-amp-mowplayer.out b/extensions/amp-mowplayer/0.1/test/validator-amp-mowplayer.out index bdf2f5101269..ff640ddf5e1a 100644 --- a/extensions/amp-mowplayer/0.1/test/validator-amp-mowplayer.out +++ b/extensions/amp-mowplayer/0.1/test/validator-amp-mowplayer.out @@ -1,20 +1,5 @@ FAIL | <!-- -| Copyright 2018 The AMP HTML Authors. All Rights Reserved. -| -| Licensed under the Apache License, Version 2.0 (the "License"); -| you may not use this file except in compliance with the License. -| You may obtain a copy of the License at -| -| http://www.apache.org/licenses/LICENSE-2.0 -| -| Unless required by applicable law or agreed to in writing, software -| distributed under the License is distributed on an "AS-IS" BASIS, -| WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -| See the License for the specific language governing permissions and -| limitations under the license. -| --> -| <!-- | Test Description: | Tests support for the amp-mowplayer tag. | --> @@ -46,7 +31,7 @@ FAIL | <!-- Invalid example missing a media id. --> | <amp-mowplayer >> ^~~~~~~~~ -amp-mowplayer/0.1/test/validator-amp-mowplayer.html:46:1 The mandatory attribute 'data-mediaid' is missing in tag 'amp-mowplayer'. (see https://amp.dev/documentation/components/amp-mowplayer) +amp-mowplayer/0.1/test/validator-amp-mowplayer.html:31:1 The mandatory attribute 'data-mediaid' is missing in tag 'amp-mowplayer'. (see https://amp.dev/documentation/components/amp-mowplayer) | data-mediasid="v-myfwarfx4tb" | layout="responsive" | width="16" diff --git a/extensions/amp-mraid/0.1/test/validator-amp-mraid.html b/extensions/amp-mraid/0.1/test/validator-amp-mraid.html index 6a4131f90c71..d8cdd4e9c2e0 100644 --- a/extensions/amp-mraid/0.1/test/validator-amp-mraid.html +++ b/extensions/amp-mraid/0.1/test/validator-amp-mraid.html @@ -1,15 +1,3 @@ -<!-- - Copyright 2019 The AMP HTML Authors. All Rights Reserved. - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - http://www.apache.org/licenses/LICENSE-2.0 - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS-IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the license. ---> <!-- Test Description: Tests the presence of the the amp-mraid script tag is disallowed in AMP. diff --git a/extensions/amp-mraid/0.1/test/validator-amp-mraid.out b/extensions/amp-mraid/0.1/test/validator-amp-mraid.out index aceb606b049e..8a93556a7c95 100644 --- a/extensions/amp-mraid/0.1/test/validator-amp-mraid.out +++ b/extensions/amp-mraid/0.1/test/validator-amp-mraid.out @@ -1,17 +1,5 @@ FAIL | <!-- -| Copyright 2019 The AMP HTML Authors. All Rights Reserved. -| Licensed under the Apache License, Version 2.0 (the "License"); -| you may not use this file except in compliance with the License. -| You may obtain a copy of the License at -| http://www.apache.org/licenses/LICENSE-2.0 -| Unless required by applicable law or agreed to in writing, software -| distributed under the License is distributed on an "AS-IS" BASIS, -| WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -| See the License for the specific language governing permissions and -| limitations under the license. -| --> -| <!-- | Test Description: | Tests the presence of the the amp-mraid script tag is disallowed in AMP. | --> @@ -26,7 +14,7 @@ FAIL | <!-- Invalid: amp-mraid not allowed in AMP; only allowed in AMP ADS --> | <script async host-service="amp-mraid" src="https://cdn.ampproject.org/v0/amp-mraid-0.1.js"></script> >> ^~~~~~~~~ -amp-mraid/0.1/test/validator-amp-mraid.html:26:2 Custom JavaScript is not allowed. (see https://amp.dev/documentation/guides-and-tutorials/learn/validation-workflow/validation_errors/#custom-javascript-is-not-allowed) +amp-mraid/0.1/test/validator-amp-mraid.html:14:2 Custom JavaScript is not allowed. (see https://amp.dev/documentation/guides-and-tutorials/learn/validation-workflow/validation_errors/#custom-javascript-is-not-allowed) | <script async src="https://cdn.ampproject.org/v0.js"></script> | </head> | <body> diff --git a/extensions/amp-mraid/0.1/test/validator-amp4ads-amp-mraid-no-fallback-typo.html b/extensions/amp-mraid/0.1/test/validator-amp4ads-amp-mraid-no-fallback-typo.html index 37123d1185d1..7e95ece2dae1 100644 --- a/extensions/amp-mraid/0.1/test/validator-amp4ads-amp-mraid-no-fallback-typo.html +++ b/extensions/amp-mraid/0.1/test/validator-amp4ads-amp-mraid-no-fallback-typo.html @@ -1,15 +1,3 @@ -<!-- - Copyright 2019 The AMP HTML Authors. All Rights Reserved. - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - http://www.apache.org/licenses/LICENSE-2.0 - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS-IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the license. ---> <!-- Test Description: Tests the presence of the amp-mraid script tag with no-fallback misspelled. diff --git a/extensions/amp-mraid/0.1/test/validator-amp4ads-amp-mraid-no-fallback-typo.out b/extensions/amp-mraid/0.1/test/validator-amp4ads-amp-mraid-no-fallback-typo.out index 8a3b8dac91d3..c5eca8626518 100644 --- a/extensions/amp-mraid/0.1/test/validator-amp4ads-amp-mraid-no-fallback-typo.out +++ b/extensions/amp-mraid/0.1/test/validator-amp4ads-amp-mraid-no-fallback-typo.out @@ -1,17 +1,5 @@ FAIL | <!-- -| Copyright 2019 The AMP HTML Authors. All Rights Reserved. -| Licensed under the Apache License, Version 2.0 (the "License"); -| you may not use this file except in compliance with the License. -| You may obtain a copy of the License at -| http://www.apache.org/licenses/LICENSE-2.0 -| Unless required by applicable law or agreed to in writing, software -| distributed under the License is distributed on an "AS-IS" BASIS, -| WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -| See the License for the specific language governing permissions and -| limitations under the license. -| --> -| <!-- | Test Description: | Tests the presence of the amp-mraid script tag with no-fallback misspelled. | --> @@ -25,7 +13,7 @@ FAIL | <!-- Invalid: no-falback is a typo for no-fallback. --> | <script async host-service="amp-mraid" src="https://cdn.ampproject.org/v0/amp-mraid-0.1.js" no-falback></script> >> ^~~~~~~~~ -amp-mraid/0.1/test/validator-amp4ads-amp-mraid-no-fallback-typo.html:25:2 The attribute 'no-falback' may not appear in tag 'amp-mraid extension script'. (see https://amp.dev/documentation/components/amp-mraid) +amp-mraid/0.1/test/validator-amp4ads-amp-mraid-no-fallback-typo.html:13:2 The attribute 'no-falback' may not appear in tag 'amp-mraid extension script'. (see https://amp.dev/documentation/components/amp-mraid) | <script async src="https://cdn.ampproject.org/amp4ads-v0.js"></script> | </head> | <body> diff --git a/extensions/amp-mraid/0.1/test/validator-amp4ads-amp-mraid-no-fallback.html b/extensions/amp-mraid/0.1/test/validator-amp4ads-amp-mraid-no-fallback.html index d59ba8c6a509..76a0637e961f 100644 --- a/extensions/amp-mraid/0.1/test/validator-amp4ads-amp-mraid-no-fallback.html +++ b/extensions/amp-mraid/0.1/test/validator-amp4ads-amp-mraid-no-fallback.html @@ -1,15 +1,3 @@ -<!-- - Copyright 2019 The AMP HTML Authors. All Rights Reserved. - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - http://www.apache.org/licenses/LICENSE-2.0 - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS-IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the license. ---> <!-- Test Description: Tests the presence of the amp-mraid script tag with no-fallback attribute. diff --git a/extensions/amp-mraid/0.1/test/validator-amp4ads-amp-mraid-no-fallback.out b/extensions/amp-mraid/0.1/test/validator-amp4ads-amp-mraid-no-fallback.out index 9c68ef187a7d..556186c012ac 100644 --- a/extensions/amp-mraid/0.1/test/validator-amp4ads-amp-mraid-no-fallback.out +++ b/extensions/amp-mraid/0.1/test/validator-amp4ads-amp-mraid-no-fallback.out @@ -1,17 +1,5 @@ PASS | <!-- -| Copyright 2019 The AMP HTML Authors. All Rights Reserved. -| Licensed under the Apache License, Version 2.0 (the "License"); -| you may not use this file except in compliance with the License. -| You may obtain a copy of the License at -| http://www.apache.org/licenses/LICENSE-2.0 -| Unless required by applicable law or agreed to in writing, software -| distributed under the License is distributed on an "AS-IS" BASIS, -| WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -| See the License for the specific language governing permissions and -| limitations under the license. -| --> -| <!-- | Test Description: | Tests the presence of the amp-mraid script tag with no-fallback attribute. | --> diff --git a/extensions/amp-mraid/0.1/test/validator-amp4ads-amp-mraid.html b/extensions/amp-mraid/0.1/test/validator-amp4ads-amp-mraid.html index fa5ca2ee2a03..83a8d5ee72a7 100644 --- a/extensions/amp-mraid/0.1/test/validator-amp4ads-amp-mraid.html +++ b/extensions/amp-mraid/0.1/test/validator-amp4ads-amp-mraid.html @@ -1,15 +1,3 @@ -<!-- - Copyright 2019 The AMP HTML Authors. All Rights Reserved. - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - http://www.apache.org/licenses/LICENSE-2.0 - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS-IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the license. ---> <!-- Test Description: Tests the presence of the amp-mraid script tag. diff --git a/extensions/amp-mraid/0.1/test/validator-amp4ads-amp-mraid.out b/extensions/amp-mraid/0.1/test/validator-amp4ads-amp-mraid.out index b1a4dac8c99a..ef325432aaf5 100644 --- a/extensions/amp-mraid/0.1/test/validator-amp4ads-amp-mraid.out +++ b/extensions/amp-mraid/0.1/test/validator-amp4ads-amp-mraid.out @@ -1,17 +1,5 @@ PASS | <!-- -| Copyright 2019 The AMP HTML Authors. All Rights Reserved. -| Licensed under the Apache License, Version 2.0 (the "License"); -| you may not use this file except in compliance with the License. -| You may obtain a copy of the License at -| http://www.apache.org/licenses/LICENSE-2.0 -| Unless required by applicable law or agreed to in writing, software -| distributed under the License is distributed on an "AS-IS" BASIS, -| WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -| See the License for the specific language governing permissions and -| limitations under the license. -| --> -| <!-- | Test Description: | Tests the presence of the amp-mraid script tag. | --> diff --git a/extensions/amp-mustache/0.1/test/validator-amp-mustache-version.html b/extensions/amp-mustache/0.1/test/validator-amp-mustache-version.html index b8142cd6f8cb..d2afbcb8d4e3 100644 --- a/extensions/amp-mustache/0.1/test/validator-amp-mustache-version.html +++ b/extensions/amp-mustache/0.1/test/validator-amp-mustache-version.html @@ -1,18 +1,3 @@ -<!-- - Copyright 2015 The AMP HTML Authors. All Rights Reserved. - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS-IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the license. ---> <!-- Test Description: This tests the logic for <template> tags and mustache variable replacements. diff --git a/extensions/amp-mustache/0.1/test/validator-amp-mustache-version.out b/extensions/amp-mustache/0.1/test/validator-amp-mustache-version.out index 12ec824ea132..c2f6d777dc2b 100644 --- a/extensions/amp-mustache/0.1/test/validator-amp-mustache-version.out +++ b/extensions/amp-mustache/0.1/test/validator-amp-mustache-version.out @@ -1,20 +1,5 @@ PASS | <!-- -| Copyright 2015 The AMP HTML Authors. All Rights Reserved. -| -| Licensed under the Apache License, Version 2.0 (the "License"); -| you may not use this file except in compliance with the License. -| You may obtain a copy of the License at -| -| http://www.apache.org/licenses/LICENSE-2.0 -| -| Unless required by applicable law or agreed to in writing, software -| distributed under the License is distributed on an "AS-IS" BASIS, -| WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -| See the License for the specific language governing permissions and -| limitations under the license. -| --> -| <!-- | Test Description: | This tests the logic for <template> tags and mustache variable replacements. | --> @@ -28,10 +13,10 @@ PASS | <script async src="https://cdn.ampproject.org/v0.js"></script> | <script async custom-template="amp-mustache" src="https://cdn.ampproject.org/v0/amp-mustache-0.1.js"></script> >> ^~~~~~~~~ -amp-mustache/0.1/test/validator-amp-mustache-version.html:28:2 The extension 'amp-mustache' is referenced at version '0.1' which is a deprecated version. Please use a more recent version of this extension. This may become an error in the future. (see https://amp.dev/documentation/components/amp-mustache) +amp-mustache/0.1/test/validator-amp-mustache-version.html:13:2 The extension 'amp-mustache' is referenced at version '0.1' which is a deprecated version. Please use a more recent version of this extension. This may become an error in the future. (see https://amp.dev/documentation/components/amp-mustache) | <script async custom-template="amp-mustache" src="https://cdn.ampproject.org/v0/amp-mustache-latest.js"></script> >> ^~~~~~~~~ -amp-mustache/0.1/test/validator-amp-mustache-version.html:29:2 The tag 'amp-mustache extension script' appears more than once in the document. This will soon be an error. (see https://amp.dev/documentation/components/amp-mustache) +amp-mustache/0.1/test/validator-amp-mustache-version.html:14:2 The tag 'amp-mustache extension script' appears more than once in the document. This will soon be an error. (see https://amp.dev/documentation/components/amp-mustache) | </head> | <body> | </body> diff --git a/extensions/amp-mustache/0.1/test/validator-amp-mustache.html b/extensions/amp-mustache/0.1/test/validator-amp-mustache.html index d96bebf0c329..2116720b1448 100644 --- a/extensions/amp-mustache/0.1/test/validator-amp-mustache.html +++ b/extensions/amp-mustache/0.1/test/validator-amp-mustache.html @@ -1,18 +1,3 @@ -<!-- - Copyright 2015 The AMP HTML Authors. All Rights Reserved. - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS-IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the license. ---> <!-- Test Description: This tests the logic for <template> and <script> tags and mustache variable replacements. diff --git a/extensions/amp-mustache/0.1/test/validator-amp-mustache.out b/extensions/amp-mustache/0.1/test/validator-amp-mustache.out index 70d80fdf80e9..d4906a02795b 100644 --- a/extensions/amp-mustache/0.1/test/validator-amp-mustache.out +++ b/extensions/amp-mustache/0.1/test/validator-amp-mustache.out @@ -1,20 +1,5 @@ FAIL | <!-- -| Copyright 2015 The AMP HTML Authors. All Rights Reserved. -| -| Licensed under the Apache License, Version 2.0 (the "License"); -| you may not use this file except in compliance with the License. -| You may obtain a copy of the License at -| -| http://www.apache.org/licenses/LICENSE-2.0 -| -| Unless required by applicable law or agreed to in writing, software -| distributed under the License is distributed on an "AS-IS" BASIS, -| WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -| See the License for the specific language governing permissions and -| limitations under the license. -| --> -| <!-- | Test Description: | This tests the logic for <template> and <script> tags and mustache variable replacements. | --> @@ -31,175 +16,175 @@ FAIL | <!-- Template --> | <template type="amp-mustache"> >> ^~~~~~~~~ -amp-mustache/0.1/test/validator-amp-mustache.html:31:0 The tag 'template' requires including the 'amp-mustache' extension JavaScript. (see https://amp.dev/documentation/components/amp-mustache) +amp-mustache/0.1/test/validator-amp-mustache.html:16:0 The tag 'template' requires including the 'amp-mustache' extension JavaScript. (see https://amp.dev/documentation/components/amp-mustache) | <{{not-actually-parsed-as-an-html-tag-so-allowed}}> | <p title="{{allowed}}">{{allowed}}</p> | <p {{notallowed}}></p> >> ^~~~~~~~~ -amp-mustache/0.1/test/validator-amp-mustache.html:34:2 Mustache template syntax in attribute name '{{notallowed}}' in tag 'p'. (see https://amp.dev/documentation/components/amp-mustache) +amp-mustache/0.1/test/validator-amp-mustache.html:19:2 Mustache template syntax in attribute name '{{notallowed}}' in tag 'p'. (see https://amp.dev/documentation/components/amp-mustache) | <p {{notallowed}}=0></p> >> ^~~~~~~~~ -amp-mustache/0.1/test/validator-amp-mustache.html:35:2 Mustache template syntax in attribute name '{{notallowed}}' in tag 'p'. (see https://amp.dev/documentation/components/amp-mustache) +amp-mustache/0.1/test/validator-amp-mustache.html:20:2 Mustache template syntax in attribute name '{{notallowed}}' in tag 'p'. (see https://amp.dev/documentation/components/amp-mustache) | <p [{{notallowed}}]=0></p> >> ^~~~~~~~~ -amp-mustache/0.1/test/validator-amp-mustache.html:36:2 Mustache template syntax in attribute name '[{{notallowed}}]' in tag 'p'. (see https://amp.dev/documentation/components/amp-mustache) +amp-mustache/0.1/test/validator-amp-mustache.html:21:2 Mustache template syntax in attribute name '[{{notallowed}}]' in tag 'p'. (see https://amp.dev/documentation/components/amp-mustache) | <p data-{notallowed}=0></p> >> ^~~~~~~~~ -amp-mustache/0.1/test/validator-amp-mustache.html:37:2 The attribute 'data-{notallowed}' may not appear in tag 'p'. +amp-mustache/0.1/test/validator-amp-mustache.html:22:2 The attribute 'data-{notallowed}' may not appear in tag 'p'. | <p data-{{notallowed}}=0></p> >> ^~~~~~~~~ -amp-mustache/0.1/test/validator-amp-mustache.html:38:2 Mustache template syntax in attribute name 'data-{{notallowed}}' in tag 'p'. (see https://amp.dev/documentation/components/amp-mustache) +amp-mustache/0.1/test/validator-amp-mustache.html:23:2 Mustache template syntax in attribute name 'data-{{notallowed}}' in tag 'p'. (see https://amp.dev/documentation/components/amp-mustache) | <p data-[{{notallowed}}]=0></p> >> ^~~~~~~~~ -amp-mustache/0.1/test/validator-amp-mustache.html:39:2 Mustache template syntax in attribute name 'data-[{{notallowed}}]' in tag 'p'. (see https://amp.dev/documentation/components/amp-mustache) +amp-mustache/0.1/test/validator-amp-mustache.html:24:2 Mustache template syntax in attribute name 'data-[{{notallowed}}]' in tag 'p'. (see https://amp.dev/documentation/components/amp-mustache) | <p data-{{{notallowed}}}=0></p> >> ^~~~~~~~~ -amp-mustache/0.1/test/validator-amp-mustache.html:40:2 Mustache template syntax in attribute name 'data-{{{notallowed}}}' in tag 'p'. (see https://amp.dev/documentation/components/amp-mustache) +amp-mustache/0.1/test/validator-amp-mustache.html:25:2 Mustache template syntax in attribute name 'data-{{{notallowed}}}' in tag 'p'. (see https://amp.dev/documentation/components/amp-mustache) | <p data-{{¬allowed}}=0></p> >> ^~~~~~~~~ -amp-mustache/0.1/test/validator-amp-mustache.html:41:2 Mustache template syntax in attribute name 'data-{{¬allowed}}' in tag 'p'. (see https://amp.dev/documentation/components/amp-mustache) +amp-mustache/0.1/test/validator-amp-mustache.html:26:2 Mustache template syntax in attribute name 'data-{{¬allowed}}' in tag 'p'. (see https://amp.dev/documentation/components/amp-mustache) | <p data-{{#notallowed}}=0></p> >> ^~~~~~~~~ -amp-mustache/0.1/test/validator-amp-mustache.html:42:2 Mustache template syntax in attribute name 'data-{{#notallowed}}' in tag 'p'. (see https://amp.dev/documentation/components/amp-mustache) +amp-mustache/0.1/test/validator-amp-mustache.html:27:2 Mustache template syntax in attribute name 'data-{{#notallowed}}' in tag 'p'. (see https://amp.dev/documentation/components/amp-mustache) | <p data-{{/notallowed}}=0></p> >> ^~~~~~~~~ -amp-mustache/0.1/test/validator-amp-mustache.html:43:2 Mustache template syntax in attribute name 'data-{{/notallowed}}' in tag 'p'. (see https://amp.dev/documentation/components/amp-mustache) +amp-mustache/0.1/test/validator-amp-mustache.html:28:2 Mustache template syntax in attribute name 'data-{{/notallowed}}' in tag 'p'. (see https://amp.dev/documentation/components/amp-mustache) | <p data-{{^notallowed}}=0></p> >> ^~~~~~~~~ -amp-mustache/0.1/test/validator-amp-mustache.html:44:2 Mustache template syntax in attribute name 'data-{{^notallowed}}' in tag 'p'. (see https://amp.dev/documentation/components/amp-mustache) +amp-mustache/0.1/test/validator-amp-mustache.html:29:2 Mustache template syntax in attribute name 'data-{{^notallowed}}' in tag 'p'. (see https://amp.dev/documentation/components/amp-mustache) | <p data-{{>notallowed}}=0></p> >> ^~~~~~~~~ -amp-mustache/0.1/test/validator-amp-mustache.html:45:2 Mustache template syntax in attribute name 'data-{{' in tag 'p'. (see https://amp.dev/documentation/components/amp-mustache) +amp-mustache/0.1/test/validator-amp-mustache.html:30:2 Mustache template syntax in attribute name 'data-{{' in tag 'p'. (see https://amp.dev/documentation/components/amp-mustache) | <p {{#notallowed}}class=foo{{/notallowed}}> >> ^~~~~~~~~ -amp-mustache/0.1/test/validator-amp-mustache.html:46:2 Mustache template syntax in attribute name '{{#notallowed}}class' in tag 'p'. (see https://amp.dev/documentation/components/amp-mustache) +amp-mustache/0.1/test/validator-amp-mustache.html:31:2 Mustache template syntax in attribute name '{{#notallowed}}class' in tag 'p'. (see https://amp.dev/documentation/components/amp-mustache) | <p {{#notallowed}}class{{/notallowed}}> >> ^~~~~~~~~ -amp-mustache/0.1/test/validator-amp-mustache.html:47:2 Mustache template syntax in attribute name '{{#notallowed}}class{{/notallowed}}' in tag 'p'. (see https://amp.dev/documentation/components/amp-mustache) +amp-mustache/0.1/test/validator-amp-mustache.html:32:2 Mustache template syntax in attribute name '{{#notallowed}}class{{/notallowed}}' in tag 'p'. (see https://amp.dev/documentation/components/amp-mustache) | <p title="{{{notallowed}}}"></p> >> ^~~~~~~~~ -amp-mustache/0.1/test/validator-amp-mustache.html:48:2 The attribute 'title' in tag 'p' is set to '{{{notallowed}}}', which contains unescaped Mustache template syntax. (see https://amp.dev/documentation/components/amp-mustache) +amp-mustache/0.1/test/validator-amp-mustache.html:33:2 The attribute 'title' in tag 'p' is set to '{{{notallowed}}}', which contains unescaped Mustache template syntax. (see https://amp.dev/documentation/components/amp-mustache) | <p title="{{¬allowed}}"></p> >> ^~~~~~~~~ -amp-mustache/0.1/test/validator-amp-mustache.html:49:2 The attribute 'title' in tag 'p' is set to '{{¬allowed}}', which contains unescaped Mustache template syntax. (see https://amp.dev/documentation/components/amp-mustache) +amp-mustache/0.1/test/validator-amp-mustache.html:34:2 The attribute 'title' in tag 'p' is set to '{{¬allowed}}', which contains unescaped Mustache template syntax. (see https://amp.dev/documentation/components/amp-mustache) | <p title="{{>notallowed}}"></p> >> ^~~~~~~~~ -amp-mustache/0.1/test/validator-amp-mustache.html:50:2 The attribute 'title' in tag 'p' is set to '{{>notallowed}}', which contains a Mustache template partial. (see https://amp.dev/documentation/components/amp-mustache) +amp-mustache/0.1/test/validator-amp-mustache.html:35:2 The attribute 'title' in tag 'p' is set to '{{>notallowed}}', which contains a Mustache template partial. (see https://amp.dev/documentation/components/amp-mustache) | <p data-title="{{{notallowed}}}"></p> >> ^~~~~~~~~ -amp-mustache/0.1/test/validator-amp-mustache.html:51:2 The attribute 'data-title' in tag 'p' is set to '{{{notallowed}}}', which contains unescaped Mustache template syntax. (see https://amp.dev/documentation/components/amp-mustache) +amp-mustache/0.1/test/validator-amp-mustache.html:36:2 The attribute 'data-title' in tag 'p' is set to '{{{notallowed}}}', which contains unescaped Mustache template syntax. (see https://amp.dev/documentation/components/amp-mustache) | <p data-title="{{¬allowed}}"></p> >> ^~~~~~~~~ -amp-mustache/0.1/test/validator-amp-mustache.html:52:2 The attribute 'data-title' in tag 'p' is set to '{{¬allowed}}', which contains unescaped Mustache template syntax. (see https://amp.dev/documentation/components/amp-mustache) +amp-mustache/0.1/test/validator-amp-mustache.html:37:2 The attribute 'data-title' in tag 'p' is set to '{{¬allowed}}', which contains unescaped Mustache template syntax. (see https://amp.dev/documentation/components/amp-mustache) | <p data-title="{{>notallowed}}"></p> >> ^~~~~~~~~ -amp-mustache/0.1/test/validator-amp-mustache.html:53:2 The attribute 'data-title' in tag 'p' is set to '{{>notallowed}}', which contains a Mustache template partial. (see https://amp.dev/documentation/components/amp-mustache) +amp-mustache/0.1/test/validator-amp-mustache.html:38:2 The attribute 'data-title' in tag 'p' is set to '{{>notallowed}}', which contains a Mustache template partial. (see https://amp.dev/documentation/components/amp-mustache) | | <!-- now with some whitespace inside the mustache tags --> | <{{ not-actually-parsed-as-an-html-tag-so-allowed }}> | <p title="{{ allowed }}">{{ allowed }}</p> | <p {{ notallowed }}></p> >> ^~~~~~~~~ -amp-mustache/0.1/test/validator-amp-mustache.html:58:2 The attribute 'notallowed' may not appear in tag 'p'. +amp-mustache/0.1/test/validator-amp-mustache.html:43:2 The attribute 'notallowed' may not appear in tag 'p'. >> ^~~~~~~~~ -amp-mustache/0.1/test/validator-amp-mustache.html:58:2 Mustache template syntax in attribute name '{{' in tag 'p'. (see https://amp.dev/documentation/components/amp-mustache) +amp-mustache/0.1/test/validator-amp-mustache.html:43:2 Mustache template syntax in attribute name '{{' in tag 'p'. (see https://amp.dev/documentation/components/amp-mustache) >> ^~~~~~~~~ -amp-mustache/0.1/test/validator-amp-mustache.html:58:2 The attribute '}}' may not appear in tag 'p'. +amp-mustache/0.1/test/validator-amp-mustache.html:43:2 The attribute '}}' may not appear in tag 'p'. | <p {{ notallowed }}=0></p> >> ^~~~~~~~~ -amp-mustache/0.1/test/validator-amp-mustache.html:59:2 The attribute 'notallowed' may not appear in tag 'p'. +amp-mustache/0.1/test/validator-amp-mustache.html:44:2 The attribute 'notallowed' may not appear in tag 'p'. >> ^~~~~~~~~ -amp-mustache/0.1/test/validator-amp-mustache.html:59:2 Mustache template syntax in attribute name '{{' in tag 'p'. (see https://amp.dev/documentation/components/amp-mustache) +amp-mustache/0.1/test/validator-amp-mustache.html:44:2 Mustache template syntax in attribute name '{{' in tag 'p'. (see https://amp.dev/documentation/components/amp-mustache) >> ^~~~~~~~~ -amp-mustache/0.1/test/validator-amp-mustache.html:59:2 The attribute '}}' may not appear in tag 'p'. +amp-mustache/0.1/test/validator-amp-mustache.html:44:2 The attribute '}}' may not appear in tag 'p'. | <p data-{{ notallowed }}=0></p> >> ^~~~~~~~~ -amp-mustache/0.1/test/validator-amp-mustache.html:60:2 Mustache template syntax in attribute name 'data-{{' in tag 'p'. (see https://amp.dev/documentation/components/amp-mustache) +amp-mustache/0.1/test/validator-amp-mustache.html:45:2 Mustache template syntax in attribute name 'data-{{' in tag 'p'. (see https://amp.dev/documentation/components/amp-mustache) >> ^~~~~~~~~ -amp-mustache/0.1/test/validator-amp-mustache.html:60:2 The attribute 'notallowed' may not appear in tag 'p'. +amp-mustache/0.1/test/validator-amp-mustache.html:45:2 The attribute 'notallowed' may not appear in tag 'p'. >> ^~~~~~~~~ -amp-mustache/0.1/test/validator-amp-mustache.html:60:2 The attribute '}}' may not appear in tag 'p'. +amp-mustache/0.1/test/validator-amp-mustache.html:45:2 The attribute '}}' may not appear in tag 'p'. | <p data-{{{ notallowed }}}=0></p> >> ^~~~~~~~~ -amp-mustache/0.1/test/validator-amp-mustache.html:61:2 Mustache template syntax in attribute name 'data-{{{' in tag 'p'. (see https://amp.dev/documentation/components/amp-mustache) +amp-mustache/0.1/test/validator-amp-mustache.html:46:2 Mustache template syntax in attribute name 'data-{{{' in tag 'p'. (see https://amp.dev/documentation/components/amp-mustache) >> ^~~~~~~~~ -amp-mustache/0.1/test/validator-amp-mustache.html:61:2 The attribute 'notallowed' may not appear in tag 'p'. +amp-mustache/0.1/test/validator-amp-mustache.html:46:2 The attribute 'notallowed' may not appear in tag 'p'. >> ^~~~~~~~~ -amp-mustache/0.1/test/validator-amp-mustache.html:61:2 The attribute '}}}' may not appear in tag 'p'. +amp-mustache/0.1/test/validator-amp-mustache.html:46:2 The attribute '}}}' may not appear in tag 'p'. | <p data-{{ ¬allowed }}=0></p> >> ^~~~~~~~~ -amp-mustache/0.1/test/validator-amp-mustache.html:62:2 The attribute '¬allowed' may not appear in tag 'p'. +amp-mustache/0.1/test/validator-amp-mustache.html:47:2 The attribute '¬allowed' may not appear in tag 'p'. >> ^~~~~~~~~ -amp-mustache/0.1/test/validator-amp-mustache.html:62:2 Mustache template syntax in attribute name 'data-{{' in tag 'p'. (see https://amp.dev/documentation/components/amp-mustache) +amp-mustache/0.1/test/validator-amp-mustache.html:47:2 Mustache template syntax in attribute name 'data-{{' in tag 'p'. (see https://amp.dev/documentation/components/amp-mustache) >> ^~~~~~~~~ -amp-mustache/0.1/test/validator-amp-mustache.html:62:2 The attribute '}}' may not appear in tag 'p'. +amp-mustache/0.1/test/validator-amp-mustache.html:47:2 The attribute '}}' may not appear in tag 'p'. | <p data-{{ #notallowed }}=0></p> >> ^~~~~~~~~ -amp-mustache/0.1/test/validator-amp-mustache.html:63:2 The attribute '#notallowed' may not appear in tag 'p'. +amp-mustache/0.1/test/validator-amp-mustache.html:48:2 The attribute '#notallowed' may not appear in tag 'p'. >> ^~~~~~~~~ -amp-mustache/0.1/test/validator-amp-mustache.html:63:2 Mustache template syntax in attribute name 'data-{{' in tag 'p'. (see https://amp.dev/documentation/components/amp-mustache) +amp-mustache/0.1/test/validator-amp-mustache.html:48:2 Mustache template syntax in attribute name 'data-{{' in tag 'p'. (see https://amp.dev/documentation/components/amp-mustache) >> ^~~~~~~~~ -amp-mustache/0.1/test/validator-amp-mustache.html:63:2 The attribute '}}' may not appear in tag 'p'. +amp-mustache/0.1/test/validator-amp-mustache.html:48:2 The attribute '}}' may not appear in tag 'p'. | <p data-{{ /notallowed }}=0></p> >> ^~~~~~~~~ -amp-mustache/0.1/test/validator-amp-mustache.html:64:2 The attribute '/notallowed' may not appear in tag 'p'. +amp-mustache/0.1/test/validator-amp-mustache.html:49:2 The attribute '/notallowed' may not appear in tag 'p'. >> ^~~~~~~~~ -amp-mustache/0.1/test/validator-amp-mustache.html:64:2 Mustache template syntax in attribute name 'data-{{' in tag 'p'. (see https://amp.dev/documentation/components/amp-mustache) +amp-mustache/0.1/test/validator-amp-mustache.html:49:2 Mustache template syntax in attribute name 'data-{{' in tag 'p'. (see https://amp.dev/documentation/components/amp-mustache) >> ^~~~~~~~~ -amp-mustache/0.1/test/validator-amp-mustache.html:64:2 The attribute '}}' may not appear in tag 'p'. +amp-mustache/0.1/test/validator-amp-mustache.html:49:2 The attribute '}}' may not appear in tag 'p'. | <p data-{{ ^notallowed }}=0></p> >> ^~~~~~~~~ -amp-mustache/0.1/test/validator-amp-mustache.html:65:2 The attribute '^notallowed' may not appear in tag 'p'. +amp-mustache/0.1/test/validator-amp-mustache.html:50:2 The attribute '^notallowed' may not appear in tag 'p'. >> ^~~~~~~~~ -amp-mustache/0.1/test/validator-amp-mustache.html:65:2 Mustache template syntax in attribute name 'data-{{' in tag 'p'. (see https://amp.dev/documentation/components/amp-mustache) +amp-mustache/0.1/test/validator-amp-mustache.html:50:2 Mustache template syntax in attribute name 'data-{{' in tag 'p'. (see https://amp.dev/documentation/components/amp-mustache) >> ^~~~~~~~~ -amp-mustache/0.1/test/validator-amp-mustache.html:65:2 The attribute '}}' may not appear in tag 'p'. +amp-mustache/0.1/test/validator-amp-mustache.html:50:2 The attribute '}}' may not appear in tag 'p'. | <p data-{{ >notallowed }}=0></p> >> ^~~~~~~~~ -amp-mustache/0.1/test/validator-amp-mustache.html:66:2 Mustache template syntax in attribute name 'data-{{' in tag 'p'. (see https://amp.dev/documentation/components/amp-mustache) +amp-mustache/0.1/test/validator-amp-mustache.html:51:2 Mustache template syntax in attribute name 'data-{{' in tag 'p'. (see https://amp.dev/documentation/components/amp-mustache) | <p {{ #notallowed }}class=foo{{ /notallowed }}> >> ^~~~~~~~~ -amp-mustache/0.1/test/validator-amp-mustache.html:67:2 The attribute '#notallowed' may not appear in tag 'p'. +amp-mustache/0.1/test/validator-amp-mustache.html:52:2 The attribute '#notallowed' may not appear in tag 'p'. >> ^~~~~~~~~ -amp-mustache/0.1/test/validator-amp-mustache.html:67:2 The attribute '/notallowed' may not appear in tag 'p'. +amp-mustache/0.1/test/validator-amp-mustache.html:52:2 The attribute '/notallowed' may not appear in tag 'p'. >> ^~~~~~~~~ -amp-mustache/0.1/test/validator-amp-mustache.html:67:2 Mustache template syntax in attribute name '{{' in tag 'p'. (see https://amp.dev/documentation/components/amp-mustache) +amp-mustache/0.1/test/validator-amp-mustache.html:52:2 Mustache template syntax in attribute name '{{' in tag 'p'. (see https://amp.dev/documentation/components/amp-mustache) >> ^~~~~~~~~ -amp-mustache/0.1/test/validator-amp-mustache.html:67:2 The attribute '}}' may not appear in tag 'p'. +amp-mustache/0.1/test/validator-amp-mustache.html:52:2 The attribute '}}' may not appear in tag 'p'. >> ^~~~~~~~~ -amp-mustache/0.1/test/validator-amp-mustache.html:67:2 The attribute '}}class' may not appear in tag 'p'. +amp-mustache/0.1/test/validator-amp-mustache.html:52:2 The attribute '}}class' may not appear in tag 'p'. | <p {{ #notallowed }}class{{ /notallowed }}> >> ^~~~~~~~~ -amp-mustache/0.1/test/validator-amp-mustache.html:68:2 The attribute '#notallowed' may not appear in tag 'p'. +amp-mustache/0.1/test/validator-amp-mustache.html:53:2 The attribute '#notallowed' may not appear in tag 'p'. >> ^~~~~~~~~ -amp-mustache/0.1/test/validator-amp-mustache.html:68:2 The attribute '/notallowed' may not appear in tag 'p'. +amp-mustache/0.1/test/validator-amp-mustache.html:53:2 The attribute '/notallowed' may not appear in tag 'p'. >> ^~~~~~~~~ -amp-mustache/0.1/test/validator-amp-mustache.html:68:2 Mustache template syntax in attribute name '{{' in tag 'p'. (see https://amp.dev/documentation/components/amp-mustache) +amp-mustache/0.1/test/validator-amp-mustache.html:53:2 Mustache template syntax in attribute name '{{' in tag 'p'. (see https://amp.dev/documentation/components/amp-mustache) >> ^~~~~~~~~ -amp-mustache/0.1/test/validator-amp-mustache.html:68:2 The attribute '}}' may not appear in tag 'p'. +amp-mustache/0.1/test/validator-amp-mustache.html:53:2 The attribute '}}' may not appear in tag 'p'. >> ^~~~~~~~~ -amp-mustache/0.1/test/validator-amp-mustache.html:68:2 Mustache template syntax in attribute name '}}class{{' in tag 'p'. (see https://amp.dev/documentation/components/amp-mustache) +amp-mustache/0.1/test/validator-amp-mustache.html:53:2 Mustache template syntax in attribute name '}}class{{' in tag 'p'. (see https://amp.dev/documentation/components/amp-mustache) | <p title="{{{ notallowed }}}"></p> >> ^~~~~~~~~ -amp-mustache/0.1/test/validator-amp-mustache.html:69:2 The attribute 'title' in tag 'p' is set to '{{{ notallowed }}}', which contains unescaped Mustache template syntax. (see https://amp.dev/documentation/components/amp-mustache) +amp-mustache/0.1/test/validator-amp-mustache.html:54:2 The attribute 'title' in tag 'p' is set to '{{{ notallowed }}}', which contains unescaped Mustache template syntax. (see https://amp.dev/documentation/components/amp-mustache) | <p title="{{ ¬allowed }}"></p> >> ^~~~~~~~~ -amp-mustache/0.1/test/validator-amp-mustache.html:70:2 The attribute 'title' in tag 'p' is set to '{{ ¬allowed }}', which contains unescaped Mustache template syntax. (see https://amp.dev/documentation/components/amp-mustache) +amp-mustache/0.1/test/validator-amp-mustache.html:55:2 The attribute 'title' in tag 'p' is set to '{{ ¬allowed }}', which contains unescaped Mustache template syntax. (see https://amp.dev/documentation/components/amp-mustache) | <p title="{{ >notallowed }}"></p> >> ^~~~~~~~~ -amp-mustache/0.1/test/validator-amp-mustache.html:71:2 The attribute 'title' in tag 'p' is set to '{{ >notallowed }}', which contains a Mustache template partial. (see https://amp.dev/documentation/components/amp-mustache) +amp-mustache/0.1/test/validator-amp-mustache.html:56:2 The attribute 'title' in tag 'p' is set to '{{ >notallowed }}', which contains a Mustache template partial. (see https://amp.dev/documentation/components/amp-mustache) | <p title="{{& notallowed }}"></p> >> ^~~~~~~~~ -amp-mustache/0.1/test/validator-amp-mustache.html:72:2 The attribute 'title' in tag 'p' is set to '{{& notallowed }}', which contains unescaped Mustache template syntax. (see https://amp.dev/documentation/components/amp-mustache) +amp-mustache/0.1/test/validator-amp-mustache.html:57:2 The attribute 'title' in tag 'p' is set to '{{& notallowed }}', which contains unescaped Mustache template syntax. (see https://amp.dev/documentation/components/amp-mustache) | <p title="{{> notallowed }}"></p> >> ^~~~~~~~~ -amp-mustache/0.1/test/validator-amp-mustache.html:73:2 The attribute 'title' in tag 'p' is set to '{{> notallowed }}', which contains a Mustache template partial. (see https://amp.dev/documentation/components/amp-mustache) +amp-mustache/0.1/test/validator-amp-mustache.html:58:2 The attribute 'title' in tag 'p' is set to '{{> notallowed }}', which contains a Mustache template partial. (see https://amp.dev/documentation/components/amp-mustache) | <p title="{{ & notallowed }}"></p> >> ^~~~~~~~~ -amp-mustache/0.1/test/validator-amp-mustache.html:74:2 The attribute 'title' in tag 'p' is set to '{{ & notallowed }}', which contains unescaped Mustache template syntax. (see https://amp.dev/documentation/components/amp-mustache) +amp-mustache/0.1/test/validator-amp-mustache.html:59:2 The attribute 'title' in tag 'p' is set to '{{ & notallowed }}', which contains unescaped Mustache template syntax. (see https://amp.dev/documentation/components/amp-mustache) | <p title="{{ > notallowed }}"></p> >> ^~~~~~~~~ -amp-mustache/0.1/test/validator-amp-mustache.html:75:2 The attribute 'title' in tag 'p' is set to '{{ > notallowed }}', which contains a Mustache template partial. (see https://amp.dev/documentation/components/amp-mustache) +amp-mustache/0.1/test/validator-amp-mustache.html:60:2 The attribute 'title' in tag 'p' is set to '{{ > notallowed }}', which contains a Mustache template partial. (see https://amp.dev/documentation/components/amp-mustache) | | <!-- Note, this is allowed by the validator, but it is critical that it | be sanitized by the runtime. If the runtime allowed this, then after @@ -225,26 +210,26 @@ amp-mustache/0.1/test/validator-amp-mustache.html:75:2 The attribute 'title' in | <!-- Templates may have ids. --> | <template type="amp-mustache" id="foobar"> >> ^~~~~~~~~ -amp-mustache/0.1/test/validator-amp-mustache.html:99:0 The tag 'template' requires including the 'amp-mustache' extension JavaScript. (see https://amp.dev/documentation/components/amp-mustache) +amp-mustache/0.1/test/validator-amp-mustache.html:84:0 The tag 'template' requires including the 'amp-mustache' extension JavaScript. (see https://amp.dev/documentation/components/amp-mustache) | </template> | | <!-- The template ids may not have certain values. --> | <template type="amp-mustache" id="__defineGetter__"> >> ^~~~~~~~~ -amp-mustache/0.1/test/validator-amp-mustache.html:103:0 The attribute 'id' in tag 'template' is set to the invalid value '__defineGetter__'. (see https://amp.dev/documentation/components/amp-mustache) +amp-mustache/0.1/test/validator-amp-mustache.html:88:0 The attribute 'id' in tag 'template' is set to the invalid value '__defineGetter__'. (see https://amp.dev/documentation/components/amp-mustache) >> ^~~~~~~~~ -amp-mustache/0.1/test/validator-amp-mustache.html:103:0 The tag 'template' requires including the 'amp-mustache' extension JavaScript. (see https://amp.dev/documentation/components/amp-mustache) +amp-mustache/0.1/test/validator-amp-mustache.html:88:0 The tag 'template' requires including the 'amp-mustache' extension JavaScript. (see https://amp.dev/documentation/components/amp-mustache) | </template> | | <template type="amp-mustache"> >> ^~~~~~~~~ -amp-mustache/0.1/test/validator-amp-mustache.html:106:0 The tag 'template' requires including the 'amp-mustache' extension JavaScript. (see https://amp.dev/documentation/components/amp-mustache) +amp-mustache/0.1/test/validator-amp-mustache.html:91:0 The tag 'template' requires including the 'amp-mustache' extension JavaScript. (see https://amp.dev/documentation/components/amp-mustache) | <div> | <template type="amp-mustache"> >> ^~~~~~~~~ -amp-mustache/0.1/test/validator-amp-mustache.html:108:4 The tag 'template' may not appear as a descendant of tag 'template'. (see https://amp.dev/documentation/components/amp-mustache) +amp-mustache/0.1/test/validator-amp-mustache.html:93:4 The tag 'template' may not appear as a descendant of tag 'template'. (see https://amp.dev/documentation/components/amp-mustache) >> ^~~~~~~~~ -amp-mustache/0.1/test/validator-amp-mustache.html:108:4 The tag 'template' requires including the 'amp-mustache' extension JavaScript. (see https://amp.dev/documentation/components/amp-mustache) +amp-mustache/0.1/test/validator-amp-mustache.html:93:4 The tag 'template' requires including the 'amp-mustache' extension JavaScript. (see https://amp.dev/documentation/components/amp-mustache) | Nested Template tags are not allowed. | </template> | </div> @@ -252,13 +237,13 @@ amp-mustache/0.1/test/validator-amp-mustache.html:108:4 The tag 'template' requi | | <template type="amp-mustache"> >> ^~~~~~~~~ -amp-mustache/0.1/test/validator-amp-mustache.html:114:0 The tag 'template' requires including the 'amp-mustache' extension JavaScript. (see https://amp.dev/documentation/components/amp-mustache) +amp-mustache/0.1/test/validator-amp-mustache.html:99:0 The tag 'template' requires including the 'amp-mustache' extension JavaScript. (see https://amp.dev/documentation/components/amp-mustache) | <div> | <script type="text/plain" template="amp-mustache"> >> ^~~~~~~~~ -amp-mustache/0.1/test/validator-amp-mustache.html:116:4 The tag 'script' may not appear as a descendant of tag 'template'. (see https://amp.dev/documentation/components/amp-mustache) +amp-mustache/0.1/test/validator-amp-mustache.html:101:4 The tag 'script' may not appear as a descendant of tag 'template'. (see https://amp.dev/documentation/components/amp-mustache) >> ^~~~~~~~~ -amp-mustache/0.1/test/validator-amp-mustache.html:116:4 The tag 'script' requires including the 'amp-mustache' extension JavaScript. (see https://amp.dev/documentation/components/amp-mustache) +amp-mustache/0.1/test/validator-amp-mustache.html:101:4 The tag 'script' requires including the 'amp-mustache' extension JavaScript. (see https://amp.dev/documentation/components/amp-mustache) | Nested Template script tags are not allowed. | </script> | </div> @@ -267,15 +252,15 @@ amp-mustache/0.1/test/validator-amp-mustache.html:116:4 The tag 'script' require | <!-- Inside a template, attribute value restrictions are relaxed. --> | <amp-audio src="https://example.com/audio" layout="fixed" autoplay="{{invalid}}"> >> ^~~~~~~~~ -amp-mustache/0.1/test/validator-amp-mustache.html:123:0 The attribute 'autoplay' in tag 'amp-audio' is set to the invalid value '{{invalid}}'. (see https://amp.dev/documentation/components/amp-audio/) +amp-mustache/0.1/test/validator-amp-mustache.html:108:0 The attribute 'autoplay' in tag 'amp-audio' is set to the invalid value '{{invalid}}'. (see https://amp.dev/documentation/components/amp-audio/) >> ^~~~~~~~~ -amp-mustache/0.1/test/validator-amp-mustache.html:123:0 The tag 'amp-audio' requires including the 'amp-audio' extension JavaScript. (see https://amp.dev/documentation/components/amp-audio/) +amp-mustache/0.1/test/validator-amp-mustache.html:108:0 The tag 'amp-audio' requires including the 'amp-audio' extension JavaScript. (see https://amp.dev/documentation/components/amp-audio/) | <template type="amp-mustache"> >> ^~~~~~~~~ -amp-mustache/0.1/test/validator-amp-mustache.html:124:0 The tag 'template' requires including the 'amp-mustache' extension JavaScript. (see https://amp.dev/documentation/components/amp-mustache) +amp-mustache/0.1/test/validator-amp-mustache.html:109:0 The tag 'template' requires including the 'amp-mustache' extension JavaScript. (see https://amp.dev/documentation/components/amp-mustache) | <amp-audio src="https://example.com/audio" layout="fixed" autoplay="{{valid}}"> >> ^~~~~~~~~ -amp-mustache/0.1/test/validator-amp-mustache.html:125:0 The tag 'amp-audio' requires including the 'amp-audio' extension JavaScript. (see https://amp.dev/documentation/components/amp-audio/) +amp-mustache/0.1/test/validator-amp-mustache.html:110:0 The tag 'amp-audio' requires including the 'amp-audio' extension JavaScript. (see https://amp.dev/documentation/components/amp-audio/) | </template> | | <!-- Since layout calculations follow a different code path, test that layouts @@ -283,7 +268,7 @@ amp-mustache/0.1/test/validator-amp-mustache.html:125:0 The tag 'amp-audio' requ | <!-- See https://github.com/ampproject/amphtml/issues/2670 --> | <template type="amp-mustache"> >> ^~~~~~~~~ -amp-mustache/0.1/test/validator-amp-mustache.html:131:0 The tag 'template' requires including the 'amp-mustache' extension JavaScript. (see https://amp.dev/documentation/components/amp-mustache) +amp-mustache/0.1/test/validator-amp-mustache.html:116:0 The tag 'template' requires including the 'amp-mustache' extension JavaScript. (see https://amp.dev/documentation/components/amp-mustache) | <amp-img src="{{image.url}}" width={{image.width}} height={{image.height}}></amp-img> | </template> | @@ -294,7 +279,7 @@ amp-mustache/0.1/test/validator-amp-mustache.html:131:0 The tag 'template' requi | --> | <script type="text/plain" template="amp-mustache"> >> ^~~~~~~~~ -amp-mustache/0.1/test/validator-amp-mustache.html:140:0 The tag 'script' requires including the 'amp-mustache' extension JavaScript. (see https://amp.dev/documentation/components/amp-mustache) +amp-mustache/0.1/test/validator-amp-mustache.html:125:0 The tag 'script' requires including the 'amp-mustache' extension JavaScript. (see https://amp.dev/documentation/components/amp-mustache) | <{{not-actually-parsed-as-an-html-tag-so-allowed}}> | <p title="{{allowed}}">{{allowed}}</p> | <p {{notallowed}}></p> @@ -364,12 +349,12 @@ amp-mustache/0.1/test/validator-amp-mustache.html:140:0 The tag 'script' require | <!-- Inside a script template, attribute value restrictions are relaxed. --> | <amp-audio src="https://example.com/audio" layout="fixed" autoplay="{{invalid}}"> >> ^~~~~~~~~ -amp-mustache/0.1/test/validator-amp-mustache.html:208:0 The attribute 'autoplay' in tag 'amp-audio' is set to the invalid value '{{invalid}}'. (see https://amp.dev/documentation/components/amp-audio/) +amp-mustache/0.1/test/validator-amp-mustache.html:193:0 The attribute 'autoplay' in tag 'amp-audio' is set to the invalid value '{{invalid}}'. (see https://amp.dev/documentation/components/amp-audio/) >> ^~~~~~~~~ -amp-mustache/0.1/test/validator-amp-mustache.html:208:0 The tag 'amp-audio' requires including the 'amp-audio' extension JavaScript. (see https://amp.dev/documentation/components/amp-audio/) +amp-mustache/0.1/test/validator-amp-mustache.html:193:0 The tag 'amp-audio' requires including the 'amp-audio' extension JavaScript. (see https://amp.dev/documentation/components/amp-audio/) | <script type="text/plain" template="amp-mustache"> >> ^~~~~~~~~ -amp-mustache/0.1/test/validator-amp-mustache.html:209:0 The tag 'script' requires including the 'amp-mustache' extension JavaScript. (see https://amp.dev/documentation/components/amp-mustache) +amp-mustache/0.1/test/validator-amp-mustache.html:194:0 The tag 'script' requires including the 'amp-mustache' extension JavaScript. (see https://amp.dev/documentation/components/amp-mustache) | <amp-audio src="https://example.com/audio" layout="fixed" autoplay="{{valid}}"> | </script> | @@ -378,7 +363,7 @@ amp-mustache/0.1/test/validator-amp-mustache.html:209:0 The tag 'script' require | <!-- See https://github.com/ampproject/amphtml/issues/2670 --> | <script type="text/plain" template="amp-mustache"> >> ^~~~~~~~~ -amp-mustache/0.1/test/validator-amp-mustache.html:216:0 The tag 'script' requires including the 'amp-mustache' extension JavaScript. (see https://amp.dev/documentation/components/amp-mustache) +amp-mustache/0.1/test/validator-amp-mustache.html:201:0 The tag 'script' requires including the 'amp-mustache' extension JavaScript. (see https://amp.dev/documentation/components/amp-mustache) | <amp-img src="{{image.url}}" width={{image.width}} height={{image.height}}></amp-img> | </script> | diff --git a/extensions/amp-mustache/0.1/test/validator-amp-mustache.out.cpponly b/extensions/amp-mustache/0.1/test/validator-amp-mustache.out.cpponly index 9de1822ef31c..0e4efafc4735 100644 --- a/extensions/amp-mustache/0.1/test/validator-amp-mustache.out.cpponly +++ b/extensions/amp-mustache/0.1/test/validator-amp-mustache.out.cpponly @@ -1,20 +1,5 @@ FAIL | <!-- -| Copyright 2015 The AMP HTML Authors. All Rights Reserved. -| -| Licensed under the Apache License, Version 2.0 (the "License"); -| you may not use this file except in compliance with the License. -| You may obtain a copy of the License at -| -| http://www.apache.org/licenses/LICENSE-2.0 -| -| Unless required by applicable law or agreed to in writing, software -| distributed under the License is distributed on an "AS-IS" BASIS, -| WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -| See the License for the specific language governing permissions and -| limitations under the license. -| --> -| <!-- | Test Description: | This tests the logic for <template> and <script> tags and mustache variable replacements. | --> @@ -31,177 +16,177 @@ FAIL | <!-- Template --> | <template type="amp-mustache"> >> ^~~~~~~~~ -amp-mustache/0.1/test/validator-amp-mustache.html:31:0 The tag 'template' requires including the 'amp-mustache' extension JavaScript. (see https://amp.dev/documentation/components/amp-mustache) +amp-mustache/0.1/test/validator-amp-mustache.html:16:0 The tag 'template' requires including the 'amp-mustache' extension JavaScript. (see https://amp.dev/documentation/components/amp-mustache) | <{{not-actually-parsed-as-an-html-tag-so-allowed}}> | <p title="{{allowed}}">{{allowed}}</p> | <p {{notallowed}}></p> >> ^~~~~~~~~ -amp-mustache/0.1/test/validator-amp-mustache.html:34:2 Mustache template syntax in attribute name '{{notallowed}}' in tag 'p'. (see https://amp.dev/documentation/components/amp-mustache) +amp-mustache/0.1/test/validator-amp-mustache.html:19:2 Mustache template syntax in attribute name '{{notallowed}}' in tag 'p'. (see https://amp.dev/documentation/components/amp-mustache) | <p {{notallowed}}=0></p> >> ^~~~~~~~~ -amp-mustache/0.1/test/validator-amp-mustache.html:35:2 Mustache template syntax in attribute name '{{notallowed}}' in tag 'p'. (see https://amp.dev/documentation/components/amp-mustache) +amp-mustache/0.1/test/validator-amp-mustache.html:20:2 Mustache template syntax in attribute name '{{notallowed}}' in tag 'p'. (see https://amp.dev/documentation/components/amp-mustache) | <p [{{notallowed}}]=0></p> >> ^~~~~~~~~ -amp-mustache/0.1/test/validator-amp-mustache.html:36:2 Mustache template syntax in attribute name '[{{notallowed}}]' in tag 'p'. (see https://amp.dev/documentation/components/amp-mustache) +amp-mustache/0.1/test/validator-amp-mustache.html:21:2 Mustache template syntax in attribute name '[{{notallowed}}]' in tag 'p'. (see https://amp.dev/documentation/components/amp-mustache) | <p data-{notallowed}=0></p> >> ^~~~~~~~~ -amp-mustache/0.1/test/validator-amp-mustache.html:37:2 The attribute 'data-{notallowed}' may not appear in tag 'p'. +amp-mustache/0.1/test/validator-amp-mustache.html:22:2 The attribute 'data-{notallowed}' may not appear in tag 'p'. | <p data-{{notallowed}}=0></p> >> ^~~~~~~~~ -amp-mustache/0.1/test/validator-amp-mustache.html:38:2 Mustache template syntax in attribute name 'data-{{notallowed}}' in tag 'p'. (see https://amp.dev/documentation/components/amp-mustache) +amp-mustache/0.1/test/validator-amp-mustache.html:23:2 Mustache template syntax in attribute name 'data-{{notallowed}}' in tag 'p'. (see https://amp.dev/documentation/components/amp-mustache) | <p data-[{{notallowed}}]=0></p> >> ^~~~~~~~~ -amp-mustache/0.1/test/validator-amp-mustache.html:39:2 Mustache template syntax in attribute name 'data-[{{notallowed}}]' in tag 'p'. (see https://amp.dev/documentation/components/amp-mustache) +amp-mustache/0.1/test/validator-amp-mustache.html:24:2 Mustache template syntax in attribute name 'data-[{{notallowed}}]' in tag 'p'. (see https://amp.dev/documentation/components/amp-mustache) | <p data-{{{notallowed}}}=0></p> >> ^~~~~~~~~ -amp-mustache/0.1/test/validator-amp-mustache.html:40:2 Mustache template syntax in attribute name 'data-{{{notallowed}}}' in tag 'p'. (see https://amp.dev/documentation/components/amp-mustache) +amp-mustache/0.1/test/validator-amp-mustache.html:25:2 Mustache template syntax in attribute name 'data-{{{notallowed}}}' in tag 'p'. (see https://amp.dev/documentation/components/amp-mustache) | <p data-{{¬allowed}}=0></p> >> ^~~~~~~~~ -amp-mustache/0.1/test/validator-amp-mustache.html:41:2 Mustache template syntax in attribute name 'data-{{¬allowed}}' in tag 'p'. (see https://amp.dev/documentation/components/amp-mustache) +amp-mustache/0.1/test/validator-amp-mustache.html:26:2 Mustache template syntax in attribute name 'data-{{¬allowed}}' in tag 'p'. (see https://amp.dev/documentation/components/amp-mustache) | <p data-{{#notallowed}}=0></p> >> ^~~~~~~~~ -amp-mustache/0.1/test/validator-amp-mustache.html:42:2 Mustache template syntax in attribute name 'data-{{#notallowed}}' in tag 'p'. (see https://amp.dev/documentation/components/amp-mustache) +amp-mustache/0.1/test/validator-amp-mustache.html:27:2 Mustache template syntax in attribute name 'data-{{#notallowed}}' in tag 'p'. (see https://amp.dev/documentation/components/amp-mustache) | <p data-{{/notallowed}}=0></p> >> ^~~~~~~~~ -amp-mustache/0.1/test/validator-amp-mustache.html:43:2 Mustache template syntax in attribute name 'data-{{' in tag 'p'. (see https://amp.dev/documentation/components/amp-mustache) +amp-mustache/0.1/test/validator-amp-mustache.html:28:2 Mustache template syntax in attribute name 'data-{{' in tag 'p'. (see https://amp.dev/documentation/components/amp-mustache) >> ^~~~~~~~~ -amp-mustache/0.1/test/validator-amp-mustache.html:43:2 The attribute 'notallowed}}' may not appear in tag 'p'. +amp-mustache/0.1/test/validator-amp-mustache.html:28:2 The attribute 'notallowed}}' may not appear in tag 'p'. | <p data-{{^notallowed}}=0></p> >> ^~~~~~~~~ -amp-mustache/0.1/test/validator-amp-mustache.html:44:2 Mustache template syntax in attribute name 'data-{{^notallowed}}' in tag 'p'. (see https://amp.dev/documentation/components/amp-mustache) +amp-mustache/0.1/test/validator-amp-mustache.html:29:2 Mustache template syntax in attribute name 'data-{{^notallowed}}' in tag 'p'. (see https://amp.dev/documentation/components/amp-mustache) | <p data-{{>notallowed}}=0></p> >> ^~~~~~~~~ -amp-mustache/0.1/test/validator-amp-mustache.html:45:2 Mustache template syntax in attribute name 'data-{{' in tag 'p'. (see https://amp.dev/documentation/components/amp-mustache) +amp-mustache/0.1/test/validator-amp-mustache.html:30:2 Mustache template syntax in attribute name 'data-{{' in tag 'p'. (see https://amp.dev/documentation/components/amp-mustache) | <p {{#notallowed}}class=foo{{/notallowed}}> >> ^~~~~~~~~ -amp-mustache/0.1/test/validator-amp-mustache.html:46:2 Mustache template syntax in attribute name '{{#notallowed}}class' in tag 'p'. (see https://amp.dev/documentation/components/amp-mustache) +amp-mustache/0.1/test/validator-amp-mustache.html:31:2 Mustache template syntax in attribute name '{{#notallowed}}class' in tag 'p'. (see https://amp.dev/documentation/components/amp-mustache) | <p {{#notallowed}}class{{/notallowed}}> >> ^~~~~~~~~ -amp-mustache/0.1/test/validator-amp-mustache.html:47:2 Mustache template syntax in attribute name '{{#notallowed}}class{{/notallowed}}' in tag 'p'. (see https://amp.dev/documentation/components/amp-mustache) +amp-mustache/0.1/test/validator-amp-mustache.html:32:2 Mustache template syntax in attribute name '{{#notallowed}}class{{/notallowed}}' in tag 'p'. (see https://amp.dev/documentation/components/amp-mustache) | <p title="{{{notallowed}}}"></p> >> ^~~~~~~~~ -amp-mustache/0.1/test/validator-amp-mustache.html:48:2 The attribute 'title' in tag 'p' is set to '{{{notallowed}}}', which contains unescaped Mustache template syntax. (see https://amp.dev/documentation/components/amp-mustache) +amp-mustache/0.1/test/validator-amp-mustache.html:33:2 The attribute 'title' in tag 'p' is set to '{{{notallowed}}}', which contains unescaped Mustache template syntax. (see https://amp.dev/documentation/components/amp-mustache) | <p title="{{¬allowed}}"></p> >> ^~~~~~~~~ -amp-mustache/0.1/test/validator-amp-mustache.html:49:2 The attribute 'title' in tag 'p' is set to '{{¬allowed}}', which contains unescaped Mustache template syntax. (see https://amp.dev/documentation/components/amp-mustache) +amp-mustache/0.1/test/validator-amp-mustache.html:34:2 The attribute 'title' in tag 'p' is set to '{{¬allowed}}', which contains unescaped Mustache template syntax. (see https://amp.dev/documentation/components/amp-mustache) | <p title="{{>notallowed}}"></p> >> ^~~~~~~~~ -amp-mustache/0.1/test/validator-amp-mustache.html:50:2 The attribute 'title' in tag 'p' is set to '{{>notallowed}}', which contains a Mustache template partial. (see https://amp.dev/documentation/components/amp-mustache) +amp-mustache/0.1/test/validator-amp-mustache.html:35:2 The attribute 'title' in tag 'p' is set to '{{>notallowed}}', which contains a Mustache template partial. (see https://amp.dev/documentation/components/amp-mustache) | <p data-title="{{{notallowed}}}"></p> >> ^~~~~~~~~ -amp-mustache/0.1/test/validator-amp-mustache.html:51:2 The attribute 'data-title' in tag 'p' is set to '{{{notallowed}}}', which contains unescaped Mustache template syntax. (see https://amp.dev/documentation/components/amp-mustache) +amp-mustache/0.1/test/validator-amp-mustache.html:36:2 The attribute 'data-title' in tag 'p' is set to '{{{notallowed}}}', which contains unescaped Mustache template syntax. (see https://amp.dev/documentation/components/amp-mustache) | <p data-title="{{¬allowed}}"></p> >> ^~~~~~~~~ -amp-mustache/0.1/test/validator-amp-mustache.html:52:2 The attribute 'data-title' in tag 'p' is set to '{{¬allowed}}', which contains unescaped Mustache template syntax. (see https://amp.dev/documentation/components/amp-mustache) +amp-mustache/0.1/test/validator-amp-mustache.html:37:2 The attribute 'data-title' in tag 'p' is set to '{{¬allowed}}', which contains unescaped Mustache template syntax. (see https://amp.dev/documentation/components/amp-mustache) | <p data-title="{{>notallowed}}"></p> >> ^~~~~~~~~ -amp-mustache/0.1/test/validator-amp-mustache.html:53:2 The attribute 'data-title' in tag 'p' is set to '{{>notallowed}}', which contains a Mustache template partial. (see https://amp.dev/documentation/components/amp-mustache) +amp-mustache/0.1/test/validator-amp-mustache.html:38:2 The attribute 'data-title' in tag 'p' is set to '{{>notallowed}}', which contains a Mustache template partial. (see https://amp.dev/documentation/components/amp-mustache) | | <!-- now with some whitespace inside the mustache tags --> | <{{ not-actually-parsed-as-an-html-tag-so-allowed }}> | <p title="{{ allowed }}">{{ allowed }}</p> | <p {{ notallowed }}></p> >> ^~~~~~~~~ -amp-mustache/0.1/test/validator-amp-mustache.html:58:2 The attribute 'notallowed' may not appear in tag 'p'. +amp-mustache/0.1/test/validator-amp-mustache.html:43:2 The attribute 'notallowed' may not appear in tag 'p'. >> ^~~~~~~~~ -amp-mustache/0.1/test/validator-amp-mustache.html:58:2 Mustache template syntax in attribute name '{{' in tag 'p'. (see https://amp.dev/documentation/components/amp-mustache) +amp-mustache/0.1/test/validator-amp-mustache.html:43:2 Mustache template syntax in attribute name '{{' in tag 'p'. (see https://amp.dev/documentation/components/amp-mustache) >> ^~~~~~~~~ -amp-mustache/0.1/test/validator-amp-mustache.html:58:2 The attribute '}}' may not appear in tag 'p'. +amp-mustache/0.1/test/validator-amp-mustache.html:43:2 The attribute '}}' may not appear in tag 'p'. | <p {{ notallowed }}=0></p> >> ^~~~~~~~~ -amp-mustache/0.1/test/validator-amp-mustache.html:59:2 The attribute 'notallowed' may not appear in tag 'p'. +amp-mustache/0.1/test/validator-amp-mustache.html:44:2 The attribute 'notallowed' may not appear in tag 'p'. >> ^~~~~~~~~ -amp-mustache/0.1/test/validator-amp-mustache.html:59:2 Mustache template syntax in attribute name '{{' in tag 'p'. (see https://amp.dev/documentation/components/amp-mustache) +amp-mustache/0.1/test/validator-amp-mustache.html:44:2 Mustache template syntax in attribute name '{{' in tag 'p'. (see https://amp.dev/documentation/components/amp-mustache) >> ^~~~~~~~~ -amp-mustache/0.1/test/validator-amp-mustache.html:59:2 The attribute '}}' may not appear in tag 'p'. +amp-mustache/0.1/test/validator-amp-mustache.html:44:2 The attribute '}}' may not appear in tag 'p'. | <p data-{{ notallowed }}=0></p> >> ^~~~~~~~~ -amp-mustache/0.1/test/validator-amp-mustache.html:60:2 Mustache template syntax in attribute name 'data-{{' in tag 'p'. (see https://amp.dev/documentation/components/amp-mustache) +amp-mustache/0.1/test/validator-amp-mustache.html:45:2 Mustache template syntax in attribute name 'data-{{' in tag 'p'. (see https://amp.dev/documentation/components/amp-mustache) >> ^~~~~~~~~ -amp-mustache/0.1/test/validator-amp-mustache.html:60:2 The attribute 'notallowed' may not appear in tag 'p'. +amp-mustache/0.1/test/validator-amp-mustache.html:45:2 The attribute 'notallowed' may not appear in tag 'p'. >> ^~~~~~~~~ -amp-mustache/0.1/test/validator-amp-mustache.html:60:2 The attribute '}}' may not appear in tag 'p'. +amp-mustache/0.1/test/validator-amp-mustache.html:45:2 The attribute '}}' may not appear in tag 'p'. | <p data-{{{ notallowed }}}=0></p> >> ^~~~~~~~~ -amp-mustache/0.1/test/validator-amp-mustache.html:61:2 Mustache template syntax in attribute name 'data-{{{' in tag 'p'. (see https://amp.dev/documentation/components/amp-mustache) +amp-mustache/0.1/test/validator-amp-mustache.html:46:2 Mustache template syntax in attribute name 'data-{{{' in tag 'p'. (see https://amp.dev/documentation/components/amp-mustache) >> ^~~~~~~~~ -amp-mustache/0.1/test/validator-amp-mustache.html:61:2 The attribute 'notallowed' may not appear in tag 'p'. +amp-mustache/0.1/test/validator-amp-mustache.html:46:2 The attribute 'notallowed' may not appear in tag 'p'. >> ^~~~~~~~~ -amp-mustache/0.1/test/validator-amp-mustache.html:61:2 The attribute '}}}' may not appear in tag 'p'. +amp-mustache/0.1/test/validator-amp-mustache.html:46:2 The attribute '}}}' may not appear in tag 'p'. | <p data-{{ ¬allowed }}=0></p> >> ^~~~~~~~~ -amp-mustache/0.1/test/validator-amp-mustache.html:62:2 The attribute '¬allowed' may not appear in tag 'p'. +amp-mustache/0.1/test/validator-amp-mustache.html:47:2 The attribute '¬allowed' may not appear in tag 'p'. >> ^~~~~~~~~ -amp-mustache/0.1/test/validator-amp-mustache.html:62:2 Mustache template syntax in attribute name 'data-{{' in tag 'p'. (see https://amp.dev/documentation/components/amp-mustache) +amp-mustache/0.1/test/validator-amp-mustache.html:47:2 Mustache template syntax in attribute name 'data-{{' in tag 'p'. (see https://amp.dev/documentation/components/amp-mustache) >> ^~~~~~~~~ -amp-mustache/0.1/test/validator-amp-mustache.html:62:2 The attribute '}}' may not appear in tag 'p'. +amp-mustache/0.1/test/validator-amp-mustache.html:47:2 The attribute '}}' may not appear in tag 'p'. | <p data-{{ #notallowed }}=0></p> >> ^~~~~~~~~ -amp-mustache/0.1/test/validator-amp-mustache.html:63:2 The attribute '#notallowed' may not appear in tag 'p'. +amp-mustache/0.1/test/validator-amp-mustache.html:48:2 The attribute '#notallowed' may not appear in tag 'p'. >> ^~~~~~~~~ -amp-mustache/0.1/test/validator-amp-mustache.html:63:2 Mustache template syntax in attribute name 'data-{{' in tag 'p'. (see https://amp.dev/documentation/components/amp-mustache) +amp-mustache/0.1/test/validator-amp-mustache.html:48:2 Mustache template syntax in attribute name 'data-{{' in tag 'p'. (see https://amp.dev/documentation/components/amp-mustache) >> ^~~~~~~~~ -amp-mustache/0.1/test/validator-amp-mustache.html:63:2 The attribute '}}' may not appear in tag 'p'. +amp-mustache/0.1/test/validator-amp-mustache.html:48:2 The attribute '}}' may not appear in tag 'p'. | <p data-{{ /notallowed }}=0></p> >> ^~~~~~~~~ -amp-mustache/0.1/test/validator-amp-mustache.html:64:2 Mustache template syntax in attribute name 'data-{{' in tag 'p'. (see https://amp.dev/documentation/components/amp-mustache) +amp-mustache/0.1/test/validator-amp-mustache.html:49:2 Mustache template syntax in attribute name 'data-{{' in tag 'p'. (see https://amp.dev/documentation/components/amp-mustache) >> ^~~~~~~~~ -amp-mustache/0.1/test/validator-amp-mustache.html:64:2 The attribute 'notallowed' may not appear in tag 'p'. +amp-mustache/0.1/test/validator-amp-mustache.html:49:2 The attribute 'notallowed' may not appear in tag 'p'. >> ^~~~~~~~~ -amp-mustache/0.1/test/validator-amp-mustache.html:64:2 The attribute '}}' may not appear in tag 'p'. +amp-mustache/0.1/test/validator-amp-mustache.html:49:2 The attribute '}}' may not appear in tag 'p'. | <p data-{{ ^notallowed }}=0></p> >> ^~~~~~~~~ -amp-mustache/0.1/test/validator-amp-mustache.html:65:2 The attribute '^notallowed' may not appear in tag 'p'. +amp-mustache/0.1/test/validator-amp-mustache.html:50:2 The attribute '^notallowed' may not appear in tag 'p'. >> ^~~~~~~~~ -amp-mustache/0.1/test/validator-amp-mustache.html:65:2 Mustache template syntax in attribute name 'data-{{' in tag 'p'. (see https://amp.dev/documentation/components/amp-mustache) +amp-mustache/0.1/test/validator-amp-mustache.html:50:2 Mustache template syntax in attribute name 'data-{{' in tag 'p'. (see https://amp.dev/documentation/components/amp-mustache) >> ^~~~~~~~~ -amp-mustache/0.1/test/validator-amp-mustache.html:65:2 The attribute '}}' may not appear in tag 'p'. +amp-mustache/0.1/test/validator-amp-mustache.html:50:2 The attribute '}}' may not appear in tag 'p'. | <p data-{{ >notallowed }}=0></p> >> ^~~~~~~~~ -amp-mustache/0.1/test/validator-amp-mustache.html:66:2 Mustache template syntax in attribute name 'data-{{' in tag 'p'. (see https://amp.dev/documentation/components/amp-mustache) +amp-mustache/0.1/test/validator-amp-mustache.html:51:2 Mustache template syntax in attribute name 'data-{{' in tag 'p'. (see https://amp.dev/documentation/components/amp-mustache) | <p {{ #notallowed }}class=foo{{ /notallowed }}> >> ^~~~~~~~~ -amp-mustache/0.1/test/validator-amp-mustache.html:67:2 The attribute '#notallowed' may not appear in tag 'p'. +amp-mustache/0.1/test/validator-amp-mustache.html:52:2 The attribute '#notallowed' may not appear in tag 'p'. >> ^~~~~~~~~ -amp-mustache/0.1/test/validator-amp-mustache.html:67:2 The attribute 'notallowed' may not appear in tag 'p'. +amp-mustache/0.1/test/validator-amp-mustache.html:52:2 The attribute 'notallowed' may not appear in tag 'p'. >> ^~~~~~~~~ -amp-mustache/0.1/test/validator-amp-mustache.html:67:2 Mustache template syntax in attribute name '{{' in tag 'p'. (see https://amp.dev/documentation/components/amp-mustache) +amp-mustache/0.1/test/validator-amp-mustache.html:52:2 Mustache template syntax in attribute name '{{' in tag 'p'. (see https://amp.dev/documentation/components/amp-mustache) >> ^~~~~~~~~ -amp-mustache/0.1/test/validator-amp-mustache.html:67:2 The attribute '}}' may not appear in tag 'p'. +amp-mustache/0.1/test/validator-amp-mustache.html:52:2 The attribute '}}' may not appear in tag 'p'. >> ^~~~~~~~~ -amp-mustache/0.1/test/validator-amp-mustache.html:67:2 The attribute '}}class' may not appear in tag 'p'. +amp-mustache/0.1/test/validator-amp-mustache.html:52:2 The attribute '}}class' may not appear in tag 'p'. | <p {{ #notallowed }}class{{ /notallowed }}> >> ^~~~~~~~~ -amp-mustache/0.1/test/validator-amp-mustache.html:68:2 The attribute '#notallowed' may not appear in tag 'p'. +amp-mustache/0.1/test/validator-amp-mustache.html:53:2 The attribute '#notallowed' may not appear in tag 'p'. >> ^~~~~~~~~ -amp-mustache/0.1/test/validator-amp-mustache.html:68:2 The attribute 'notallowed' may not appear in tag 'p'. +amp-mustache/0.1/test/validator-amp-mustache.html:53:2 The attribute 'notallowed' may not appear in tag 'p'. >> ^~~~~~~~~ -amp-mustache/0.1/test/validator-amp-mustache.html:68:2 Mustache template syntax in attribute name '{{' in tag 'p'. (see https://amp.dev/documentation/components/amp-mustache) +amp-mustache/0.1/test/validator-amp-mustache.html:53:2 Mustache template syntax in attribute name '{{' in tag 'p'. (see https://amp.dev/documentation/components/amp-mustache) >> ^~~~~~~~~ -amp-mustache/0.1/test/validator-amp-mustache.html:68:2 The attribute '}}' may not appear in tag 'p'. +amp-mustache/0.1/test/validator-amp-mustache.html:53:2 The attribute '}}' may not appear in tag 'p'. >> ^~~~~~~~~ -amp-mustache/0.1/test/validator-amp-mustache.html:68:2 Mustache template syntax in attribute name '}}class{{' in tag 'p'. (see https://amp.dev/documentation/components/amp-mustache) +amp-mustache/0.1/test/validator-amp-mustache.html:53:2 Mustache template syntax in attribute name '}}class{{' in tag 'p'. (see https://amp.dev/documentation/components/amp-mustache) | <p title="{{{ notallowed }}}"></p> >> ^~~~~~~~~ -amp-mustache/0.1/test/validator-amp-mustache.html:69:2 The attribute 'title' in tag 'p' is set to '{{{ notallowed }}}', which contains unescaped Mustache template syntax. (see https://amp.dev/documentation/components/amp-mustache) +amp-mustache/0.1/test/validator-amp-mustache.html:54:2 The attribute 'title' in tag 'p' is set to '{{{ notallowed }}}', which contains unescaped Mustache template syntax. (see https://amp.dev/documentation/components/amp-mustache) | <p title="{{ ¬allowed }}"></p> >> ^~~~~~~~~ -amp-mustache/0.1/test/validator-amp-mustache.html:70:2 The attribute 'title' in tag 'p' is set to '{{ ¬allowed }}', which contains unescaped Mustache template syntax. (see https://amp.dev/documentation/components/amp-mustache) +amp-mustache/0.1/test/validator-amp-mustache.html:55:2 The attribute 'title' in tag 'p' is set to '{{ ¬allowed }}', which contains unescaped Mustache template syntax. (see https://amp.dev/documentation/components/amp-mustache) | <p title="{{ >notallowed }}"></p> >> ^~~~~~~~~ -amp-mustache/0.1/test/validator-amp-mustache.html:71:2 The attribute 'title' in tag 'p' is set to '{{ >notallowed }}', which contains a Mustache template partial. (see https://amp.dev/documentation/components/amp-mustache) +amp-mustache/0.1/test/validator-amp-mustache.html:56:2 The attribute 'title' in tag 'p' is set to '{{ >notallowed }}', which contains a Mustache template partial. (see https://amp.dev/documentation/components/amp-mustache) | <p title="{{& notallowed }}"></p> >> ^~~~~~~~~ -amp-mustache/0.1/test/validator-amp-mustache.html:72:2 The attribute 'title' in tag 'p' is set to '{{& notallowed }}', which contains unescaped Mustache template syntax. (see https://amp.dev/documentation/components/amp-mustache) +amp-mustache/0.1/test/validator-amp-mustache.html:57:2 The attribute 'title' in tag 'p' is set to '{{& notallowed }}', which contains unescaped Mustache template syntax. (see https://amp.dev/documentation/components/amp-mustache) | <p title="{{> notallowed }}"></p> >> ^~~~~~~~~ -amp-mustache/0.1/test/validator-amp-mustache.html:73:2 The attribute 'title' in tag 'p' is set to '{{> notallowed }}', which contains a Mustache template partial. (see https://amp.dev/documentation/components/amp-mustache) +amp-mustache/0.1/test/validator-amp-mustache.html:58:2 The attribute 'title' in tag 'p' is set to '{{> notallowed }}', which contains a Mustache template partial. (see https://amp.dev/documentation/components/amp-mustache) | <p title="{{ & notallowed }}"></p> >> ^~~~~~~~~ -amp-mustache/0.1/test/validator-amp-mustache.html:74:2 The attribute 'title' in tag 'p' is set to '{{ & notallowed }}', which contains unescaped Mustache template syntax. (see https://amp.dev/documentation/components/amp-mustache) +amp-mustache/0.1/test/validator-amp-mustache.html:59:2 The attribute 'title' in tag 'p' is set to '{{ & notallowed }}', which contains unescaped Mustache template syntax. (see https://amp.dev/documentation/components/amp-mustache) | <p title="{{ > notallowed }}"></p> >> ^~~~~~~~~ -amp-mustache/0.1/test/validator-amp-mustache.html:75:2 The attribute 'title' in tag 'p' is set to '{{ > notallowed }}', which contains a Mustache template partial. (see https://amp.dev/documentation/components/amp-mustache) +amp-mustache/0.1/test/validator-amp-mustache.html:60:2 The attribute 'title' in tag 'p' is set to '{{ > notallowed }}', which contains a Mustache template partial. (see https://amp.dev/documentation/components/amp-mustache) | | <!-- Note, this is allowed by the validator, but it is critical that it | be sanitized by the runtime. If the runtime allowed this, then after @@ -227,26 +212,26 @@ amp-mustache/0.1/test/validator-amp-mustache.html:75:2 The attribute 'title' in | <!-- Templates may have ids. --> | <template type="amp-mustache" id="foobar"> >> ^~~~~~~~~ -amp-mustache/0.1/test/validator-amp-mustache.html:99:0 The tag 'template' requires including the 'amp-mustache' extension JavaScript. (see https://amp.dev/documentation/components/amp-mustache) +amp-mustache/0.1/test/validator-amp-mustache.html:84:0 The tag 'template' requires including the 'amp-mustache' extension JavaScript. (see https://amp.dev/documentation/components/amp-mustache) | </template> | | <!-- The template ids may not have certain values. --> | <template type="amp-mustache" id="__defineGetter__"> >> ^~~~~~~~~ -amp-mustache/0.1/test/validator-amp-mustache.html:103:0 The attribute 'id' in tag 'template' is set to the invalid value '__defineGetter__'. (see https://amp.dev/documentation/components/amp-mustache) +amp-mustache/0.1/test/validator-amp-mustache.html:88:0 The attribute 'id' in tag 'template' is set to the invalid value '__defineGetter__'. (see https://amp.dev/documentation/components/amp-mustache) >> ^~~~~~~~~ -amp-mustache/0.1/test/validator-amp-mustache.html:103:0 The tag 'template' requires including the 'amp-mustache' extension JavaScript. (see https://amp.dev/documentation/components/amp-mustache) +amp-mustache/0.1/test/validator-amp-mustache.html:88:0 The tag 'template' requires including the 'amp-mustache' extension JavaScript. (see https://amp.dev/documentation/components/amp-mustache) | </template> | | <template type="amp-mustache"> >> ^~~~~~~~~ -amp-mustache/0.1/test/validator-amp-mustache.html:106:0 The tag 'template' requires including the 'amp-mustache' extension JavaScript. (see https://amp.dev/documentation/components/amp-mustache) +amp-mustache/0.1/test/validator-amp-mustache.html:91:0 The tag 'template' requires including the 'amp-mustache' extension JavaScript. (see https://amp.dev/documentation/components/amp-mustache) | <div> | <template type="amp-mustache"> >> ^~~~~~~~~ -amp-mustache/0.1/test/validator-amp-mustache.html:108:4 The tag 'template' may not appear as a descendant of tag 'template'. (see https://amp.dev/documentation/components/amp-mustache) +amp-mustache/0.1/test/validator-amp-mustache.html:93:4 The tag 'template' may not appear as a descendant of tag 'template'. (see https://amp.dev/documentation/components/amp-mustache) >> ^~~~~~~~~ -amp-mustache/0.1/test/validator-amp-mustache.html:108:4 The tag 'template' requires including the 'amp-mustache' extension JavaScript. (see https://amp.dev/documentation/components/amp-mustache) +amp-mustache/0.1/test/validator-amp-mustache.html:93:4 The tag 'template' requires including the 'amp-mustache' extension JavaScript. (see https://amp.dev/documentation/components/amp-mustache) | Nested Template tags are not allowed. | </template> | </div> @@ -254,13 +239,13 @@ amp-mustache/0.1/test/validator-amp-mustache.html:108:4 The tag 'template' requi | | <template type="amp-mustache"> >> ^~~~~~~~~ -amp-mustache/0.1/test/validator-amp-mustache.html:114:0 The tag 'template' requires including the 'amp-mustache' extension JavaScript. (see https://amp.dev/documentation/components/amp-mustache) +amp-mustache/0.1/test/validator-amp-mustache.html:99:0 The tag 'template' requires including the 'amp-mustache' extension JavaScript. (see https://amp.dev/documentation/components/amp-mustache) | <div> | <script type="text/plain" template="amp-mustache"> >> ^~~~~~~~~ -amp-mustache/0.1/test/validator-amp-mustache.html:116:4 The tag 'script' may not appear as a descendant of tag 'template'. (see https://amp.dev/documentation/components/amp-mustache) +amp-mustache/0.1/test/validator-amp-mustache.html:101:4 The tag 'script' may not appear as a descendant of tag 'template'. (see https://amp.dev/documentation/components/amp-mustache) >> ^~~~~~~~~ -amp-mustache/0.1/test/validator-amp-mustache.html:116:4 The tag 'script' requires including the 'amp-mustache' extension JavaScript. (see https://amp.dev/documentation/components/amp-mustache) +amp-mustache/0.1/test/validator-amp-mustache.html:101:4 The tag 'script' requires including the 'amp-mustache' extension JavaScript. (see https://amp.dev/documentation/components/amp-mustache) | Nested Template script tags are not allowed. | </script> | </div> @@ -269,15 +254,15 @@ amp-mustache/0.1/test/validator-amp-mustache.html:116:4 The tag 'script' require | <!-- Inside a template, attribute value restrictions are relaxed. --> | <amp-audio src="https://example.com/audio" layout="fixed" autoplay="{{invalid}}"> >> ^~~~~~~~~ -amp-mustache/0.1/test/validator-amp-mustache.html:123:0 The attribute 'autoplay' in tag 'amp-audio' is set to the invalid value '{{invalid}}'. (see https://amp.dev/documentation/components/amp-audio/) +amp-mustache/0.1/test/validator-amp-mustache.html:108:0 The attribute 'autoplay' in tag 'amp-audio' is set to the invalid value '{{invalid}}'. (see https://amp.dev/documentation/components/amp-audio/) >> ^~~~~~~~~ -amp-mustache/0.1/test/validator-amp-mustache.html:123:0 The tag 'amp-audio' requires including the 'amp-audio' extension JavaScript. (see https://amp.dev/documentation/components/amp-audio/) +amp-mustache/0.1/test/validator-amp-mustache.html:108:0 The tag 'amp-audio' requires including the 'amp-audio' extension JavaScript. (see https://amp.dev/documentation/components/amp-audio/) | <template type="amp-mustache"> >> ^~~~~~~~~ -amp-mustache/0.1/test/validator-amp-mustache.html:124:0 The tag 'template' requires including the 'amp-mustache' extension JavaScript. (see https://amp.dev/documentation/components/amp-mustache) +amp-mustache/0.1/test/validator-amp-mustache.html:109:0 The tag 'template' requires including the 'amp-mustache' extension JavaScript. (see https://amp.dev/documentation/components/amp-mustache) | <amp-audio src="https://example.com/audio" layout="fixed" autoplay="{{valid}}"> >> ^~~~~~~~~ -amp-mustache/0.1/test/validator-amp-mustache.html:125:0 The tag 'amp-audio' requires including the 'amp-audio' extension JavaScript. (see https://amp.dev/documentation/components/amp-audio/) +amp-mustache/0.1/test/validator-amp-mustache.html:110:0 The tag 'amp-audio' requires including the 'amp-audio' extension JavaScript. (see https://amp.dev/documentation/components/amp-audio/) | </template> | | <!-- Since layout calculations follow a different code path, test that layouts @@ -285,7 +270,7 @@ amp-mustache/0.1/test/validator-amp-mustache.html:125:0 The tag 'amp-audio' requ | <!-- See https://github.com/ampproject/amphtml/issues/2670 --> | <template type="amp-mustache"> >> ^~~~~~~~~ -amp-mustache/0.1/test/validator-amp-mustache.html:131:0 The tag 'template' requires including the 'amp-mustache' extension JavaScript. (see https://amp.dev/documentation/components/amp-mustache) +amp-mustache/0.1/test/validator-amp-mustache.html:116:0 The tag 'template' requires including the 'amp-mustache' extension JavaScript. (see https://amp.dev/documentation/components/amp-mustache) | <amp-img src="{{image.url}}" width={{image.width}} height={{image.height}}></amp-img> | </template> | @@ -296,7 +281,7 @@ amp-mustache/0.1/test/validator-amp-mustache.html:131:0 The tag 'template' requi | --> | <script type="text/plain" template="amp-mustache"> >> ^~~~~~~~~ -amp-mustache/0.1/test/validator-amp-mustache.html:140:0 The tag 'script' requires including the 'amp-mustache' extension JavaScript. (see https://amp.dev/documentation/components/amp-mustache) +amp-mustache/0.1/test/validator-amp-mustache.html:125:0 The tag 'script' requires including the 'amp-mustache' extension JavaScript. (see https://amp.dev/documentation/components/amp-mustache) | <{{not-actually-parsed-as-an-html-tag-so-allowed}}> | <p title="{{allowed}}">{{allowed}}</p> | <p {{notallowed}}></p> @@ -366,12 +351,12 @@ amp-mustache/0.1/test/validator-amp-mustache.html:140:0 The tag 'script' require | <!-- Inside a script template, attribute value restrictions are relaxed. --> | <amp-audio src="https://example.com/audio" layout="fixed" autoplay="{{invalid}}"> >> ^~~~~~~~~ -amp-mustache/0.1/test/validator-amp-mustache.html:208:0 The attribute 'autoplay' in tag 'amp-audio' is set to the invalid value '{{invalid}}'. (see https://amp.dev/documentation/components/amp-audio/) +amp-mustache/0.1/test/validator-amp-mustache.html:193:0 The attribute 'autoplay' in tag 'amp-audio' is set to the invalid value '{{invalid}}'. (see https://amp.dev/documentation/components/amp-audio/) >> ^~~~~~~~~ -amp-mustache/0.1/test/validator-amp-mustache.html:208:0 The tag 'amp-audio' requires including the 'amp-audio' extension JavaScript. (see https://amp.dev/documentation/components/amp-audio/) +amp-mustache/0.1/test/validator-amp-mustache.html:193:0 The tag 'amp-audio' requires including the 'amp-audio' extension JavaScript. (see https://amp.dev/documentation/components/amp-audio/) | <script type="text/plain" template="amp-mustache"> >> ^~~~~~~~~ -amp-mustache/0.1/test/validator-amp-mustache.html:209:0 The tag 'script' requires including the 'amp-mustache' extension JavaScript. (see https://amp.dev/documentation/components/amp-mustache) +amp-mustache/0.1/test/validator-amp-mustache.html:194:0 The tag 'script' requires including the 'amp-mustache' extension JavaScript. (see https://amp.dev/documentation/components/amp-mustache) | <amp-audio src="https://example.com/audio" layout="fixed" autoplay="{{valid}}"> | </script> | @@ -380,7 +365,7 @@ amp-mustache/0.1/test/validator-amp-mustache.html:209:0 The tag 'script' require | <!-- See https://github.com/ampproject/amphtml/issues/2670 --> | <script type="text/plain" template="amp-mustache"> >> ^~~~~~~~~ -amp-mustache/0.1/test/validator-amp-mustache.html:216:0 The tag 'script' requires including the 'amp-mustache' extension JavaScript. (see https://amp.dev/documentation/components/amp-mustache) +amp-mustache/0.1/test/validator-amp-mustache.html:201:0 The tag 'script' requires including the 'amp-mustache' extension JavaScript. (see https://amp.dev/documentation/components/amp-mustache) | <amp-img src="{{image.url}}" width={{image.width}} height={{image.height}}></amp-img> | </script> | diff --git a/extensions/amp-mustache/0.2/test/validator-amp-mustache-json.html b/extensions/amp-mustache/0.2/test/validator-amp-mustache-json.html index d502865c79b3..5efe8dcb96d9 100644 --- a/extensions/amp-mustache/0.2/test/validator-amp-mustache-json.html +++ b/extensions/amp-mustache/0.2/test/validator-amp-mustache-json.html @@ -1,15 +1,3 @@ -<!-- - Copyright 2018 The AMP HTML Authors. All Rights Reserved. - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - http://www.apache.org/licenses/LICENSE-2.0 - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS-IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the license. ---> <!-- Test Description: Tests json content inside mustache templates is not parsed by validator. diff --git a/extensions/amp-mustache/0.2/test/validator-amp-mustache-json.out b/extensions/amp-mustache/0.2/test/validator-amp-mustache-json.out index 6033c2c3e927..0e261a783f0f 100644 --- a/extensions/amp-mustache/0.2/test/validator-amp-mustache-json.out +++ b/extensions/amp-mustache/0.2/test/validator-amp-mustache-json.out @@ -1,17 +1,5 @@ PASS | <!-- -| Copyright 2018 The AMP HTML Authors. All Rights Reserved. -| Licensed under the Apache License, Version 2.0 (the "License"); -| you may not use this file except in compliance with the License. -| You may obtain a copy of the License at -| http://www.apache.org/licenses/LICENSE-2.0 -| Unless required by applicable law or agreed to in writing, software -| distributed under the License is distributed on an "AS-IS" BASIS, -| WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -| See the License for the specific language governing permissions and -| limitations under the license. -| --> -| <!-- | Test Description: | Tests json content inside mustache templates is not parsed by validator. | --> diff --git a/extensions/amp-mustache/0.2/test/validator-amp-mustache-version.html b/extensions/amp-mustache/0.2/test/validator-amp-mustache-version.html index 87e2982542de..e736eb78ba4d 100644 --- a/extensions/amp-mustache/0.2/test/validator-amp-mustache-version.html +++ b/extensions/amp-mustache/0.2/test/validator-amp-mustache-version.html @@ -1,18 +1,3 @@ -<!-- - Copyright 2015 The AMP HTML Authors. All Rights Reserved. - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS-IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the license. ---> <!-- Test Description: This tests the logic for <template> tags and mustache variable replacements. diff --git a/extensions/amp-mustache/0.2/test/validator-amp-mustache-version.out b/extensions/amp-mustache/0.2/test/validator-amp-mustache-version.out index ec1db6d4be45..4d61d7388223 100644 --- a/extensions/amp-mustache/0.2/test/validator-amp-mustache-version.out +++ b/extensions/amp-mustache/0.2/test/validator-amp-mustache-version.out @@ -1,20 +1,5 @@ PASS | <!-- -| Copyright 2015 The AMP HTML Authors. All Rights Reserved. -| -| Licensed under the Apache License, Version 2.0 (the "License"); -| you may not use this file except in compliance with the License. -| You may obtain a copy of the License at -| -| http://www.apache.org/licenses/LICENSE-2.0 -| -| Unless required by applicable law or agreed to in writing, software -| distributed under the License is distributed on an "AS-IS" BASIS, -| WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -| See the License for the specific language governing permissions and -| limitations under the license. -| --> -| <!-- | Test Description: | This tests the logic for <template> tags and mustache variable replacements. | --> @@ -29,7 +14,7 @@ PASS | <script async custom-template="amp-mustache" src="https://cdn.ampproject.org/v0/amp-mustache-0.2.js"></script> | <script async custom-template="amp-mustache" src="https://cdn.ampproject.org/v0/amp-mustache-latest.js"></script> >> ^~~~~~~~~ -amp-mustache/0.2/test/validator-amp-mustache-version.html:29:2 The tag 'amp-mustache extension script' appears more than once in the document. This will soon be an error. (see https://amp.dev/documentation/components/amp-mustache) +amp-mustache/0.2/test/validator-amp-mustache-version.html:14:2 The tag 'amp-mustache extension script' appears more than once in the document. This will soon be an error. (see https://amp.dev/documentation/components/amp-mustache) | </head> | <body> | </body> diff --git a/extensions/amp-mustache/0.2/test/validator-amp-mustache.html b/extensions/amp-mustache/0.2/test/validator-amp-mustache.html index 0ba797115268..06fd7984b83d 100644 --- a/extensions/amp-mustache/0.2/test/validator-amp-mustache.html +++ b/extensions/amp-mustache/0.2/test/validator-amp-mustache.html @@ -1,18 +1,3 @@ -<!-- - Copyright 2015 The AMP HTML Authors. All Rights Reserved. - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS-IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the license. ---> <!-- Test Description: This tests the logic for <template> tags and mustache variable replacements. diff --git a/extensions/amp-mustache/0.2/test/validator-amp-mustache.out b/extensions/amp-mustache/0.2/test/validator-amp-mustache.out index e5ac0cf75016..0888618b549b 100644 --- a/extensions/amp-mustache/0.2/test/validator-amp-mustache.out +++ b/extensions/amp-mustache/0.2/test/validator-amp-mustache.out @@ -1,20 +1,5 @@ FAIL | <!-- -| Copyright 2015 The AMP HTML Authors. All Rights Reserved. -| -| Licensed under the Apache License, Version 2.0 (the "License"); -| you may not use this file except in compliance with the License. -| You may obtain a copy of the License at -| -| http://www.apache.org/licenses/LICENSE-2.0 -| -| Unless required by applicable law or agreed to in writing, software -| distributed under the License is distributed on an "AS-IS" BASIS, -| WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -| See the License for the specific language governing permissions and -| limitations under the license. -| --> -| <!-- | Test Description: | This tests the logic for <template> tags and mustache variable replacements. | --> @@ -31,175 +16,175 @@ FAIL | | <template type="amp-mustache"> >> ^~~~~~~~~ -amp-mustache/0.2/test/validator-amp-mustache.html:31:0 The tag 'template' requires including the 'amp-mustache' extension JavaScript. (see https://amp.dev/documentation/components/amp-mustache) +amp-mustache/0.2/test/validator-amp-mustache.html:16:0 The tag 'template' requires including the 'amp-mustache' extension JavaScript. (see https://amp.dev/documentation/components/amp-mustache) | <{{not-actually-parsed-as-an-html-tag-so-allowed}}> | <p title="{{allowed}}">{{allowed}}</p> | <p {{notallowed}}></p> >> ^~~~~~~~~ -amp-mustache/0.2/test/validator-amp-mustache.html:34:2 Mustache template syntax in attribute name '{{notallowed}}' in tag 'p'. (see https://amp.dev/documentation/components/amp-mustache) +amp-mustache/0.2/test/validator-amp-mustache.html:19:2 Mustache template syntax in attribute name '{{notallowed}}' in tag 'p'. (see https://amp.dev/documentation/components/amp-mustache) | <p {{notallowed}}=0></p> >> ^~~~~~~~~ -amp-mustache/0.2/test/validator-amp-mustache.html:35:2 Mustache template syntax in attribute name '{{notallowed}}' in tag 'p'. (see https://amp.dev/documentation/components/amp-mustache) +amp-mustache/0.2/test/validator-amp-mustache.html:20:2 Mustache template syntax in attribute name '{{notallowed}}' in tag 'p'. (see https://amp.dev/documentation/components/amp-mustache) | <p [{{notallowed}}]=0></p> >> ^~~~~~~~~ -amp-mustache/0.2/test/validator-amp-mustache.html:36:2 Mustache template syntax in attribute name '[{{notallowed}}]' in tag 'p'. (see https://amp.dev/documentation/components/amp-mustache) +amp-mustache/0.2/test/validator-amp-mustache.html:21:2 Mustache template syntax in attribute name '[{{notallowed}}]' in tag 'p'. (see https://amp.dev/documentation/components/amp-mustache) | <p data-{notallowed}=0></p> >> ^~~~~~~~~ -amp-mustache/0.2/test/validator-amp-mustache.html:37:2 The attribute 'data-{notallowed}' may not appear in tag 'p'. +amp-mustache/0.2/test/validator-amp-mustache.html:22:2 The attribute 'data-{notallowed}' may not appear in tag 'p'. | <p data-{{notallowed}}=0></p> >> ^~~~~~~~~ -amp-mustache/0.2/test/validator-amp-mustache.html:38:2 Mustache template syntax in attribute name 'data-{{notallowed}}' in tag 'p'. (see https://amp.dev/documentation/components/amp-mustache) +amp-mustache/0.2/test/validator-amp-mustache.html:23:2 Mustache template syntax in attribute name 'data-{{notallowed}}' in tag 'p'. (see https://amp.dev/documentation/components/amp-mustache) | <p data-[{{notallowed}}]=0></p> >> ^~~~~~~~~ -amp-mustache/0.2/test/validator-amp-mustache.html:39:2 Mustache template syntax in attribute name 'data-[{{notallowed}}]' in tag 'p'. (see https://amp.dev/documentation/components/amp-mustache) +amp-mustache/0.2/test/validator-amp-mustache.html:24:2 Mustache template syntax in attribute name 'data-[{{notallowed}}]' in tag 'p'. (see https://amp.dev/documentation/components/amp-mustache) | <p data-{{{notallowed}}}=0></p> >> ^~~~~~~~~ -amp-mustache/0.2/test/validator-amp-mustache.html:40:2 Mustache template syntax in attribute name 'data-{{{notallowed}}}' in tag 'p'. (see https://amp.dev/documentation/components/amp-mustache) +amp-mustache/0.2/test/validator-amp-mustache.html:25:2 Mustache template syntax in attribute name 'data-{{{notallowed}}}' in tag 'p'. (see https://amp.dev/documentation/components/amp-mustache) | <p data-{{¬allowed}}=0></p> >> ^~~~~~~~~ -amp-mustache/0.2/test/validator-amp-mustache.html:41:2 Mustache template syntax in attribute name 'data-{{¬allowed}}' in tag 'p'. (see https://amp.dev/documentation/components/amp-mustache) +amp-mustache/0.2/test/validator-amp-mustache.html:26:2 Mustache template syntax in attribute name 'data-{{¬allowed}}' in tag 'p'. (see https://amp.dev/documentation/components/amp-mustache) | <p data-{{#notallowed}}=0></p> >> ^~~~~~~~~ -amp-mustache/0.2/test/validator-amp-mustache.html:42:2 Mustache template syntax in attribute name 'data-{{#notallowed}}' in tag 'p'. (see https://amp.dev/documentation/components/amp-mustache) +amp-mustache/0.2/test/validator-amp-mustache.html:27:2 Mustache template syntax in attribute name 'data-{{#notallowed}}' in tag 'p'. (see https://amp.dev/documentation/components/amp-mustache) | <p data-{{/notallowed}}=0></p> >> ^~~~~~~~~ -amp-mustache/0.2/test/validator-amp-mustache.html:43:2 Mustache template syntax in attribute name 'data-{{/notallowed}}' in tag 'p'. (see https://amp.dev/documentation/components/amp-mustache) +amp-mustache/0.2/test/validator-amp-mustache.html:28:2 Mustache template syntax in attribute name 'data-{{/notallowed}}' in tag 'p'. (see https://amp.dev/documentation/components/amp-mustache) | <p data-{{^notallowed}}=0></p> >> ^~~~~~~~~ -amp-mustache/0.2/test/validator-amp-mustache.html:44:2 Mustache template syntax in attribute name 'data-{{^notallowed}}' in tag 'p'. (see https://amp.dev/documentation/components/amp-mustache) +amp-mustache/0.2/test/validator-amp-mustache.html:29:2 Mustache template syntax in attribute name 'data-{{^notallowed}}' in tag 'p'. (see https://amp.dev/documentation/components/amp-mustache) | <p data-{{>notallowed}}=0></p> >> ^~~~~~~~~ -amp-mustache/0.2/test/validator-amp-mustache.html:45:2 Mustache template syntax in attribute name 'data-{{' in tag 'p'. (see https://amp.dev/documentation/components/amp-mustache) +amp-mustache/0.2/test/validator-amp-mustache.html:30:2 Mustache template syntax in attribute name 'data-{{' in tag 'p'. (see https://amp.dev/documentation/components/amp-mustache) | <p {{#notallowed}}class=foo{{/notallowed}}> >> ^~~~~~~~~ -amp-mustache/0.2/test/validator-amp-mustache.html:46:2 Mustache template syntax in attribute name '{{#notallowed}}class' in tag 'p'. (see https://amp.dev/documentation/components/amp-mustache) +amp-mustache/0.2/test/validator-amp-mustache.html:31:2 Mustache template syntax in attribute name '{{#notallowed}}class' in tag 'p'. (see https://amp.dev/documentation/components/amp-mustache) | <p {{#notallowed}}class{{/notallowed}}> >> ^~~~~~~~~ -amp-mustache/0.2/test/validator-amp-mustache.html:47:2 Mustache template syntax in attribute name '{{#notallowed}}class{{/notallowed}}' in tag 'p'. (see https://amp.dev/documentation/components/amp-mustache) +amp-mustache/0.2/test/validator-amp-mustache.html:32:2 Mustache template syntax in attribute name '{{#notallowed}}class{{/notallowed}}' in tag 'p'. (see https://amp.dev/documentation/components/amp-mustache) | <p title="{{{notallowed}}}"></p> >> ^~~~~~~~~ -amp-mustache/0.2/test/validator-amp-mustache.html:48:2 The attribute 'title' in tag 'p' is set to '{{{notallowed}}}', which contains unescaped Mustache template syntax. (see https://amp.dev/documentation/components/amp-mustache) +amp-mustache/0.2/test/validator-amp-mustache.html:33:2 The attribute 'title' in tag 'p' is set to '{{{notallowed}}}', which contains unescaped Mustache template syntax. (see https://amp.dev/documentation/components/amp-mustache) | <p title="{{¬allowed}}"></p> >> ^~~~~~~~~ -amp-mustache/0.2/test/validator-amp-mustache.html:49:2 The attribute 'title' in tag 'p' is set to '{{¬allowed}}', which contains unescaped Mustache template syntax. (see https://amp.dev/documentation/components/amp-mustache) +amp-mustache/0.2/test/validator-amp-mustache.html:34:2 The attribute 'title' in tag 'p' is set to '{{¬allowed}}', which contains unescaped Mustache template syntax. (see https://amp.dev/documentation/components/amp-mustache) | <p title="{{>notallowed}}"></p> >> ^~~~~~~~~ -amp-mustache/0.2/test/validator-amp-mustache.html:50:2 The attribute 'title' in tag 'p' is set to '{{>notallowed}}', which contains a Mustache template partial. (see https://amp.dev/documentation/components/amp-mustache) +amp-mustache/0.2/test/validator-amp-mustache.html:35:2 The attribute 'title' in tag 'p' is set to '{{>notallowed}}', which contains a Mustache template partial. (see https://amp.dev/documentation/components/amp-mustache) | <p data-title="{{{notallowed}}}"></p> >> ^~~~~~~~~ -amp-mustache/0.2/test/validator-amp-mustache.html:51:2 The attribute 'data-title' in tag 'p' is set to '{{{notallowed}}}', which contains unescaped Mustache template syntax. (see https://amp.dev/documentation/components/amp-mustache) +amp-mustache/0.2/test/validator-amp-mustache.html:36:2 The attribute 'data-title' in tag 'p' is set to '{{{notallowed}}}', which contains unescaped Mustache template syntax. (see https://amp.dev/documentation/components/amp-mustache) | <p data-title="{{¬allowed}}"></p> >> ^~~~~~~~~ -amp-mustache/0.2/test/validator-amp-mustache.html:52:2 The attribute 'data-title' in tag 'p' is set to '{{¬allowed}}', which contains unescaped Mustache template syntax. (see https://amp.dev/documentation/components/amp-mustache) +amp-mustache/0.2/test/validator-amp-mustache.html:37:2 The attribute 'data-title' in tag 'p' is set to '{{¬allowed}}', which contains unescaped Mustache template syntax. (see https://amp.dev/documentation/components/amp-mustache) | <p data-title="{{>notallowed}}"></p> >> ^~~~~~~~~ -amp-mustache/0.2/test/validator-amp-mustache.html:53:2 The attribute 'data-title' in tag 'p' is set to '{{>notallowed}}', which contains a Mustache template partial. (see https://amp.dev/documentation/components/amp-mustache) +amp-mustache/0.2/test/validator-amp-mustache.html:38:2 The attribute 'data-title' in tag 'p' is set to '{{>notallowed}}', which contains a Mustache template partial. (see https://amp.dev/documentation/components/amp-mustache) | | <!-- now with some whitespace inside the mustache tags --> | <{{ not-actually-parsed-as-an-html-tag-so-allowed }}> | <p title="{{ allowed }}">{{ allowed }}</p> | <p {{ notallowed }}></p> >> ^~~~~~~~~ -amp-mustache/0.2/test/validator-amp-mustache.html:58:2 The attribute 'notallowed' may not appear in tag 'p'. +amp-mustache/0.2/test/validator-amp-mustache.html:43:2 The attribute 'notallowed' may not appear in tag 'p'. >> ^~~~~~~~~ -amp-mustache/0.2/test/validator-amp-mustache.html:58:2 Mustache template syntax in attribute name '{{' in tag 'p'. (see https://amp.dev/documentation/components/amp-mustache) +amp-mustache/0.2/test/validator-amp-mustache.html:43:2 Mustache template syntax in attribute name '{{' in tag 'p'. (see https://amp.dev/documentation/components/amp-mustache) >> ^~~~~~~~~ -amp-mustache/0.2/test/validator-amp-mustache.html:58:2 The attribute '}}' may not appear in tag 'p'. +amp-mustache/0.2/test/validator-amp-mustache.html:43:2 The attribute '}}' may not appear in tag 'p'. | <p {{ notallowed }}=0></p> >> ^~~~~~~~~ -amp-mustache/0.2/test/validator-amp-mustache.html:59:2 The attribute 'notallowed' may not appear in tag 'p'. +amp-mustache/0.2/test/validator-amp-mustache.html:44:2 The attribute 'notallowed' may not appear in tag 'p'. >> ^~~~~~~~~ -amp-mustache/0.2/test/validator-amp-mustache.html:59:2 Mustache template syntax in attribute name '{{' in tag 'p'. (see https://amp.dev/documentation/components/amp-mustache) +amp-mustache/0.2/test/validator-amp-mustache.html:44:2 Mustache template syntax in attribute name '{{' in tag 'p'. (see https://amp.dev/documentation/components/amp-mustache) >> ^~~~~~~~~ -amp-mustache/0.2/test/validator-amp-mustache.html:59:2 The attribute '}}' may not appear in tag 'p'. +amp-mustache/0.2/test/validator-amp-mustache.html:44:2 The attribute '}}' may not appear in tag 'p'. | <p data-{{ notallowed }}=0></p> >> ^~~~~~~~~ -amp-mustache/0.2/test/validator-amp-mustache.html:60:2 Mustache template syntax in attribute name 'data-{{' in tag 'p'. (see https://amp.dev/documentation/components/amp-mustache) +amp-mustache/0.2/test/validator-amp-mustache.html:45:2 Mustache template syntax in attribute name 'data-{{' in tag 'p'. (see https://amp.dev/documentation/components/amp-mustache) >> ^~~~~~~~~ -amp-mustache/0.2/test/validator-amp-mustache.html:60:2 The attribute 'notallowed' may not appear in tag 'p'. +amp-mustache/0.2/test/validator-amp-mustache.html:45:2 The attribute 'notallowed' may not appear in tag 'p'. >> ^~~~~~~~~ -amp-mustache/0.2/test/validator-amp-mustache.html:60:2 The attribute '}}' may not appear in tag 'p'. +amp-mustache/0.2/test/validator-amp-mustache.html:45:2 The attribute '}}' may not appear in tag 'p'. | <p data-{{{ notallowed }}}=0></p> >> ^~~~~~~~~ -amp-mustache/0.2/test/validator-amp-mustache.html:61:2 Mustache template syntax in attribute name 'data-{{{' in tag 'p'. (see https://amp.dev/documentation/components/amp-mustache) +amp-mustache/0.2/test/validator-amp-mustache.html:46:2 Mustache template syntax in attribute name 'data-{{{' in tag 'p'. (see https://amp.dev/documentation/components/amp-mustache) >> ^~~~~~~~~ -amp-mustache/0.2/test/validator-amp-mustache.html:61:2 The attribute 'notallowed' may not appear in tag 'p'. +amp-mustache/0.2/test/validator-amp-mustache.html:46:2 The attribute 'notallowed' may not appear in tag 'p'. >> ^~~~~~~~~ -amp-mustache/0.2/test/validator-amp-mustache.html:61:2 The attribute '}}}' may not appear in tag 'p'. +amp-mustache/0.2/test/validator-amp-mustache.html:46:2 The attribute '}}}' may not appear in tag 'p'. | <p data-{{ ¬allowed }}=0></p> >> ^~~~~~~~~ -amp-mustache/0.2/test/validator-amp-mustache.html:62:2 The attribute '¬allowed' may not appear in tag 'p'. +amp-mustache/0.2/test/validator-amp-mustache.html:47:2 The attribute '¬allowed' may not appear in tag 'p'. >> ^~~~~~~~~ -amp-mustache/0.2/test/validator-amp-mustache.html:62:2 Mustache template syntax in attribute name 'data-{{' in tag 'p'. (see https://amp.dev/documentation/components/amp-mustache) +amp-mustache/0.2/test/validator-amp-mustache.html:47:2 Mustache template syntax in attribute name 'data-{{' in tag 'p'. (see https://amp.dev/documentation/components/amp-mustache) >> ^~~~~~~~~ -amp-mustache/0.2/test/validator-amp-mustache.html:62:2 The attribute '}}' may not appear in tag 'p'. +amp-mustache/0.2/test/validator-amp-mustache.html:47:2 The attribute '}}' may not appear in tag 'p'. | <p data-{{ #notallowed }}=0></p> >> ^~~~~~~~~ -amp-mustache/0.2/test/validator-amp-mustache.html:63:2 The attribute '#notallowed' may not appear in tag 'p'. +amp-mustache/0.2/test/validator-amp-mustache.html:48:2 The attribute '#notallowed' may not appear in tag 'p'. >> ^~~~~~~~~ -amp-mustache/0.2/test/validator-amp-mustache.html:63:2 Mustache template syntax in attribute name 'data-{{' in tag 'p'. (see https://amp.dev/documentation/components/amp-mustache) +amp-mustache/0.2/test/validator-amp-mustache.html:48:2 Mustache template syntax in attribute name 'data-{{' in tag 'p'. (see https://amp.dev/documentation/components/amp-mustache) >> ^~~~~~~~~ -amp-mustache/0.2/test/validator-amp-mustache.html:63:2 The attribute '}}' may not appear in tag 'p'. +amp-mustache/0.2/test/validator-amp-mustache.html:48:2 The attribute '}}' may not appear in tag 'p'. | <p data-{{ /notallowed }}=0></p> >> ^~~~~~~~~ -amp-mustache/0.2/test/validator-amp-mustache.html:64:2 The attribute '/notallowed' may not appear in tag 'p'. +amp-mustache/0.2/test/validator-amp-mustache.html:49:2 The attribute '/notallowed' may not appear in tag 'p'. >> ^~~~~~~~~ -amp-mustache/0.2/test/validator-amp-mustache.html:64:2 Mustache template syntax in attribute name 'data-{{' in tag 'p'. (see https://amp.dev/documentation/components/amp-mustache) +amp-mustache/0.2/test/validator-amp-mustache.html:49:2 Mustache template syntax in attribute name 'data-{{' in tag 'p'. (see https://amp.dev/documentation/components/amp-mustache) >> ^~~~~~~~~ -amp-mustache/0.2/test/validator-amp-mustache.html:64:2 The attribute '}}' may not appear in tag 'p'. +amp-mustache/0.2/test/validator-amp-mustache.html:49:2 The attribute '}}' may not appear in tag 'p'. | <p data-{{ ^notallowed }}=0></p> >> ^~~~~~~~~ -amp-mustache/0.2/test/validator-amp-mustache.html:65:2 The attribute '^notallowed' may not appear in tag 'p'. +amp-mustache/0.2/test/validator-amp-mustache.html:50:2 The attribute '^notallowed' may not appear in tag 'p'. >> ^~~~~~~~~ -amp-mustache/0.2/test/validator-amp-mustache.html:65:2 Mustache template syntax in attribute name 'data-{{' in tag 'p'. (see https://amp.dev/documentation/components/amp-mustache) +amp-mustache/0.2/test/validator-amp-mustache.html:50:2 Mustache template syntax in attribute name 'data-{{' in tag 'p'. (see https://amp.dev/documentation/components/amp-mustache) >> ^~~~~~~~~ -amp-mustache/0.2/test/validator-amp-mustache.html:65:2 The attribute '}}' may not appear in tag 'p'. +amp-mustache/0.2/test/validator-amp-mustache.html:50:2 The attribute '}}' may not appear in tag 'p'. | <p data-{{ >notallowed }}=0></p> >> ^~~~~~~~~ -amp-mustache/0.2/test/validator-amp-mustache.html:66:2 Mustache template syntax in attribute name 'data-{{' in tag 'p'. (see https://amp.dev/documentation/components/amp-mustache) +amp-mustache/0.2/test/validator-amp-mustache.html:51:2 Mustache template syntax in attribute name 'data-{{' in tag 'p'. (see https://amp.dev/documentation/components/amp-mustache) | <p {{ #notallowed }}class=foo{{ /notallowed }}> >> ^~~~~~~~~ -amp-mustache/0.2/test/validator-amp-mustache.html:67:2 The attribute '#notallowed' may not appear in tag 'p'. +amp-mustache/0.2/test/validator-amp-mustache.html:52:2 The attribute '#notallowed' may not appear in tag 'p'. >> ^~~~~~~~~ -amp-mustache/0.2/test/validator-amp-mustache.html:67:2 The attribute '/notallowed' may not appear in tag 'p'. +amp-mustache/0.2/test/validator-amp-mustache.html:52:2 The attribute '/notallowed' may not appear in tag 'p'. >> ^~~~~~~~~ -amp-mustache/0.2/test/validator-amp-mustache.html:67:2 Mustache template syntax in attribute name '{{' in tag 'p'. (see https://amp.dev/documentation/components/amp-mustache) +amp-mustache/0.2/test/validator-amp-mustache.html:52:2 Mustache template syntax in attribute name '{{' in tag 'p'. (see https://amp.dev/documentation/components/amp-mustache) >> ^~~~~~~~~ -amp-mustache/0.2/test/validator-amp-mustache.html:67:2 The attribute '}}' may not appear in tag 'p'. +amp-mustache/0.2/test/validator-amp-mustache.html:52:2 The attribute '}}' may not appear in tag 'p'. >> ^~~~~~~~~ -amp-mustache/0.2/test/validator-amp-mustache.html:67:2 The attribute '}}class' may not appear in tag 'p'. +amp-mustache/0.2/test/validator-amp-mustache.html:52:2 The attribute '}}class' may not appear in tag 'p'. | <p {{ #notallowed }}class{{ /notallowed }}> >> ^~~~~~~~~ -amp-mustache/0.2/test/validator-amp-mustache.html:68:2 The attribute '#notallowed' may not appear in tag 'p'. +amp-mustache/0.2/test/validator-amp-mustache.html:53:2 The attribute '#notallowed' may not appear in tag 'p'. >> ^~~~~~~~~ -amp-mustache/0.2/test/validator-amp-mustache.html:68:2 The attribute '/notallowed' may not appear in tag 'p'. +amp-mustache/0.2/test/validator-amp-mustache.html:53:2 The attribute '/notallowed' may not appear in tag 'p'. >> ^~~~~~~~~ -amp-mustache/0.2/test/validator-amp-mustache.html:68:2 Mustache template syntax in attribute name '{{' in tag 'p'. (see https://amp.dev/documentation/components/amp-mustache) +amp-mustache/0.2/test/validator-amp-mustache.html:53:2 Mustache template syntax in attribute name '{{' in tag 'p'. (see https://amp.dev/documentation/components/amp-mustache) >> ^~~~~~~~~ -amp-mustache/0.2/test/validator-amp-mustache.html:68:2 The attribute '}}' may not appear in tag 'p'. +amp-mustache/0.2/test/validator-amp-mustache.html:53:2 The attribute '}}' may not appear in tag 'p'. >> ^~~~~~~~~ -amp-mustache/0.2/test/validator-amp-mustache.html:68:2 Mustache template syntax in attribute name '}}class{{' in tag 'p'. (see https://amp.dev/documentation/components/amp-mustache) +amp-mustache/0.2/test/validator-amp-mustache.html:53:2 Mustache template syntax in attribute name '}}class{{' in tag 'p'. (see https://amp.dev/documentation/components/amp-mustache) | <p title="{{{ notallowed }}}"></p> >> ^~~~~~~~~ -amp-mustache/0.2/test/validator-amp-mustache.html:69:2 The attribute 'title' in tag 'p' is set to '{{{ notallowed }}}', which contains unescaped Mustache template syntax. (see https://amp.dev/documentation/components/amp-mustache) +amp-mustache/0.2/test/validator-amp-mustache.html:54:2 The attribute 'title' in tag 'p' is set to '{{{ notallowed }}}', which contains unescaped Mustache template syntax. (see https://amp.dev/documentation/components/amp-mustache) | <p title="{{ ¬allowed }}"></p> >> ^~~~~~~~~ -amp-mustache/0.2/test/validator-amp-mustache.html:70:2 The attribute 'title' in tag 'p' is set to '{{ ¬allowed }}', which contains unescaped Mustache template syntax. (see https://amp.dev/documentation/components/amp-mustache) +amp-mustache/0.2/test/validator-amp-mustache.html:55:2 The attribute 'title' in tag 'p' is set to '{{ ¬allowed }}', which contains unescaped Mustache template syntax. (see https://amp.dev/documentation/components/amp-mustache) | <p title="{{ >notallowed }}"></p> >> ^~~~~~~~~ -amp-mustache/0.2/test/validator-amp-mustache.html:71:2 The attribute 'title' in tag 'p' is set to '{{ >notallowed }}', which contains a Mustache template partial. (see https://amp.dev/documentation/components/amp-mustache) +amp-mustache/0.2/test/validator-amp-mustache.html:56:2 The attribute 'title' in tag 'p' is set to '{{ >notallowed }}', which contains a Mustache template partial. (see https://amp.dev/documentation/components/amp-mustache) | <p title="{{& notallowed }}"></p> >> ^~~~~~~~~ -amp-mustache/0.2/test/validator-amp-mustache.html:72:2 The attribute 'title' in tag 'p' is set to '{{& notallowed }}', which contains unescaped Mustache template syntax. (see https://amp.dev/documentation/components/amp-mustache) +amp-mustache/0.2/test/validator-amp-mustache.html:57:2 The attribute 'title' in tag 'p' is set to '{{& notallowed }}', which contains unescaped Mustache template syntax. (see https://amp.dev/documentation/components/amp-mustache) | <p title="{{> notallowed }}"></p> >> ^~~~~~~~~ -amp-mustache/0.2/test/validator-amp-mustache.html:73:2 The attribute 'title' in tag 'p' is set to '{{> notallowed }}', which contains a Mustache template partial. (see https://amp.dev/documentation/components/amp-mustache) +amp-mustache/0.2/test/validator-amp-mustache.html:58:2 The attribute 'title' in tag 'p' is set to '{{> notallowed }}', which contains a Mustache template partial. (see https://amp.dev/documentation/components/amp-mustache) | <p title="{{ & notallowed }}"></p> >> ^~~~~~~~~ -amp-mustache/0.2/test/validator-amp-mustache.html:74:2 The attribute 'title' in tag 'p' is set to '{{ & notallowed }}', which contains unescaped Mustache template syntax. (see https://amp.dev/documentation/components/amp-mustache) +amp-mustache/0.2/test/validator-amp-mustache.html:59:2 The attribute 'title' in tag 'p' is set to '{{ & notallowed }}', which contains unescaped Mustache template syntax. (see https://amp.dev/documentation/components/amp-mustache) | <p title="{{ > notallowed }}"></p> >> ^~~~~~~~~ -amp-mustache/0.2/test/validator-amp-mustache.html:75:2 The attribute 'title' in tag 'p' is set to '{{ > notallowed }}', which contains a Mustache template partial. (see https://amp.dev/documentation/components/amp-mustache) +amp-mustache/0.2/test/validator-amp-mustache.html:60:2 The attribute 'title' in tag 'p' is set to '{{ > notallowed }}', which contains a Mustache template partial. (see https://amp.dev/documentation/components/amp-mustache) | | <!-- Note, this is allowed by the validator, but it is critical that it | be sanitized by the runtime. If the runtime allowed this, then after @@ -225,26 +210,26 @@ amp-mustache/0.2/test/validator-amp-mustache.html:75:2 The attribute 'title' in | <!-- Templates may have ids. --> | <template type="amp-mustache" id="foobar"> >> ^~~~~~~~~ -amp-mustache/0.2/test/validator-amp-mustache.html:99:0 The tag 'template' requires including the 'amp-mustache' extension JavaScript. (see https://amp.dev/documentation/components/amp-mustache) +amp-mustache/0.2/test/validator-amp-mustache.html:84:0 The tag 'template' requires including the 'amp-mustache' extension JavaScript. (see https://amp.dev/documentation/components/amp-mustache) | </template> | | <!-- The template ids may not have certain values. --> | <template type="amp-mustache" id="__defineGetter__"> >> ^~~~~~~~~ -amp-mustache/0.2/test/validator-amp-mustache.html:103:0 The attribute 'id' in tag 'template' is set to the invalid value '__defineGetter__'. (see https://amp.dev/documentation/components/amp-mustache) +amp-mustache/0.2/test/validator-amp-mustache.html:88:0 The attribute 'id' in tag 'template' is set to the invalid value '__defineGetter__'. (see https://amp.dev/documentation/components/amp-mustache) >> ^~~~~~~~~ -amp-mustache/0.2/test/validator-amp-mustache.html:103:0 The tag 'template' requires including the 'amp-mustache' extension JavaScript. (see https://amp.dev/documentation/components/amp-mustache) +amp-mustache/0.2/test/validator-amp-mustache.html:88:0 The tag 'template' requires including the 'amp-mustache' extension JavaScript. (see https://amp.dev/documentation/components/amp-mustache) | </template> | | <template type="amp-mustache"> >> ^~~~~~~~~ -amp-mustache/0.2/test/validator-amp-mustache.html:106:0 The tag 'template' requires including the 'amp-mustache' extension JavaScript. (see https://amp.dev/documentation/components/amp-mustache) +amp-mustache/0.2/test/validator-amp-mustache.html:91:0 The tag 'template' requires including the 'amp-mustache' extension JavaScript. (see https://amp.dev/documentation/components/amp-mustache) | <div> | <template type="amp-mustache"> >> ^~~~~~~~~ -amp-mustache/0.2/test/validator-amp-mustache.html:108:4 The tag 'template' may not appear as a descendant of tag 'template'. (see https://amp.dev/documentation/components/amp-mustache) +amp-mustache/0.2/test/validator-amp-mustache.html:93:4 The tag 'template' may not appear as a descendant of tag 'template'. (see https://amp.dev/documentation/components/amp-mustache) >> ^~~~~~~~~ -amp-mustache/0.2/test/validator-amp-mustache.html:108:4 The tag 'template' requires including the 'amp-mustache' extension JavaScript. (see https://amp.dev/documentation/components/amp-mustache) +amp-mustache/0.2/test/validator-amp-mustache.html:93:4 The tag 'template' requires including the 'amp-mustache' extension JavaScript. (see https://amp.dev/documentation/components/amp-mustache) | Nested Template tags are not allowed. | </template> | </div> @@ -252,13 +237,13 @@ amp-mustache/0.2/test/validator-amp-mustache.html:108:4 The tag 'template' requi | | <template type="amp-mustache"> >> ^~~~~~~~~ -amp-mustache/0.2/test/validator-amp-mustache.html:114:0 The tag 'template' requires including the 'amp-mustache' extension JavaScript. (see https://amp.dev/documentation/components/amp-mustache) +amp-mustache/0.2/test/validator-amp-mustache.html:99:0 The tag 'template' requires including the 'amp-mustache' extension JavaScript. (see https://amp.dev/documentation/components/amp-mustache) | <div> | <script type="text/plain" template="amp-mustache"> >> ^~~~~~~~~ -amp-mustache/0.2/test/validator-amp-mustache.html:116:4 The tag 'script' may not appear as a descendant of tag 'template'. (see https://amp.dev/documentation/components/amp-mustache) +amp-mustache/0.2/test/validator-amp-mustache.html:101:4 The tag 'script' may not appear as a descendant of tag 'template'. (see https://amp.dev/documentation/components/amp-mustache) >> ^~~~~~~~~ -amp-mustache/0.2/test/validator-amp-mustache.html:116:4 The tag 'script' requires including the 'amp-mustache' extension JavaScript. (see https://amp.dev/documentation/components/amp-mustache) +amp-mustache/0.2/test/validator-amp-mustache.html:101:4 The tag 'script' requires including the 'amp-mustache' extension JavaScript. (see https://amp.dev/documentation/components/amp-mustache) | Nested Template script tags are not allowed. | </script> | </div> @@ -267,15 +252,15 @@ amp-mustache/0.2/test/validator-amp-mustache.html:116:4 The tag 'script' require | <!-- Inside a template, attribute value restrictions are relaxed. --> | <amp-audio src="https://example.com/audio" layout="fixed" autoplay="{{invalid}}"> >> ^~~~~~~~~ -amp-mustache/0.2/test/validator-amp-mustache.html:123:0 The attribute 'autoplay' in tag 'amp-audio' is set to the invalid value '{{invalid}}'. (see https://amp.dev/documentation/components/amp-audio/) +amp-mustache/0.2/test/validator-amp-mustache.html:108:0 The attribute 'autoplay' in tag 'amp-audio' is set to the invalid value '{{invalid}}'. (see https://amp.dev/documentation/components/amp-audio/) >> ^~~~~~~~~ -amp-mustache/0.2/test/validator-amp-mustache.html:123:0 The tag 'amp-audio' requires including the 'amp-audio' extension JavaScript. (see https://amp.dev/documentation/components/amp-audio/) +amp-mustache/0.2/test/validator-amp-mustache.html:108:0 The tag 'amp-audio' requires including the 'amp-audio' extension JavaScript. (see https://amp.dev/documentation/components/amp-audio/) | <template type="amp-mustache"> >> ^~~~~~~~~ -amp-mustache/0.2/test/validator-amp-mustache.html:124:0 The tag 'template' requires including the 'amp-mustache' extension JavaScript. (see https://amp.dev/documentation/components/amp-mustache) +amp-mustache/0.2/test/validator-amp-mustache.html:109:0 The tag 'template' requires including the 'amp-mustache' extension JavaScript. (see https://amp.dev/documentation/components/amp-mustache) | <amp-audio src="https://example.com/audio" layout="fixed" autoplay="{{valid}}"> >> ^~~~~~~~~ -amp-mustache/0.2/test/validator-amp-mustache.html:125:0 The tag 'amp-audio' requires including the 'amp-audio' extension JavaScript. (see https://amp.dev/documentation/components/amp-audio/) +amp-mustache/0.2/test/validator-amp-mustache.html:110:0 The tag 'amp-audio' requires including the 'amp-audio' extension JavaScript. (see https://amp.dev/documentation/components/amp-audio/) | </template> | | <!-- Since layout calculations follow a different code path, test that layouts @@ -283,7 +268,7 @@ amp-mustache/0.2/test/validator-amp-mustache.html:125:0 The tag 'amp-audio' requ | <!-- See https://github.com/ampproject/amphtml/issues/2670 --> | <template type="amp-mustache"> >> ^~~~~~~~~ -amp-mustache/0.2/test/validator-amp-mustache.html:131:0 The tag 'template' requires including the 'amp-mustache' extension JavaScript. (see https://amp.dev/documentation/components/amp-mustache) +amp-mustache/0.2/test/validator-amp-mustache.html:116:0 The tag 'template' requires including the 'amp-mustache' extension JavaScript. (see https://amp.dev/documentation/components/amp-mustache) | <amp-img src="{{image.url}}" width={{image.width}} height={{image.height}}></amp-img> | </template> | @@ -294,7 +279,7 @@ amp-mustache/0.2/test/validator-amp-mustache.html:131:0 The tag 'template' requi | --> | <script type="text/plain" template="amp-mustache"> >> ^~~~~~~~~ -amp-mustache/0.2/test/validator-amp-mustache.html:140:0 The tag 'script' requires including the 'amp-mustache' extension JavaScript. (see https://amp.dev/documentation/components/amp-mustache) +amp-mustache/0.2/test/validator-amp-mustache.html:125:0 The tag 'script' requires including the 'amp-mustache' extension JavaScript. (see https://amp.dev/documentation/components/amp-mustache) | <{{not-actually-parsed-as-an-html-tag-so-allowed}}> | <p title="{{allowed}}">{{allowed}}</p> | <p {{notallowed}}></p> @@ -364,12 +349,12 @@ amp-mustache/0.2/test/validator-amp-mustache.html:140:0 The tag 'script' require | <!-- Inside a script template, attribute value restrictions are relaxed. --> | <amp-audio src="https://example.com/audio" layout="fixed" autoplay="{{invalid}}"> >> ^~~~~~~~~ -amp-mustache/0.2/test/validator-amp-mustache.html:208:0 The attribute 'autoplay' in tag 'amp-audio' is set to the invalid value '{{invalid}}'. (see https://amp.dev/documentation/components/amp-audio/) +amp-mustache/0.2/test/validator-amp-mustache.html:193:0 The attribute 'autoplay' in tag 'amp-audio' is set to the invalid value '{{invalid}}'. (see https://amp.dev/documentation/components/amp-audio/) >> ^~~~~~~~~ -amp-mustache/0.2/test/validator-amp-mustache.html:208:0 The tag 'amp-audio' requires including the 'amp-audio' extension JavaScript. (see https://amp.dev/documentation/components/amp-audio/) +amp-mustache/0.2/test/validator-amp-mustache.html:193:0 The tag 'amp-audio' requires including the 'amp-audio' extension JavaScript. (see https://amp.dev/documentation/components/amp-audio/) | <script type="text/plain" template="amp-mustache"> >> ^~~~~~~~~ -amp-mustache/0.2/test/validator-amp-mustache.html:209:0 The tag 'script' requires including the 'amp-mustache' extension JavaScript. (see https://amp.dev/documentation/components/amp-mustache) +amp-mustache/0.2/test/validator-amp-mustache.html:194:0 The tag 'script' requires including the 'amp-mustache' extension JavaScript. (see https://amp.dev/documentation/components/amp-mustache) | <amp-audio src="https://example.com/audio" layout="fixed" autoplay="{{valid}}"> | </script> | @@ -378,7 +363,7 @@ amp-mustache/0.2/test/validator-amp-mustache.html:209:0 The tag 'script' require | <!-- See https://github.com/ampproject/amphtml/issues/2670 --> | <script type="text/plain" template="amp-mustache"> >> ^~~~~~~~~ -amp-mustache/0.2/test/validator-amp-mustache.html:216:0 The tag 'script' requires including the 'amp-mustache' extension JavaScript. (see https://amp.dev/documentation/components/amp-mustache) +amp-mustache/0.2/test/validator-amp-mustache.html:201:0 The tag 'script' requires including the 'amp-mustache' extension JavaScript. (see https://amp.dev/documentation/components/amp-mustache) | <amp-img src="{{image.url}}" width={{image.width}} height={{image.height}}></amp-img> | </script> | diff --git a/extensions/amp-mustache/0.2/test/validator-amp-mustache.out.cpponly b/extensions/amp-mustache/0.2/test/validator-amp-mustache.out.cpponly index 32daf9910b6f..835526a0949c 100644 --- a/extensions/amp-mustache/0.2/test/validator-amp-mustache.out.cpponly +++ b/extensions/amp-mustache/0.2/test/validator-amp-mustache.out.cpponly @@ -1,20 +1,5 @@ FAIL | <!-- -| Copyright 2015 The AMP HTML Authors. All Rights Reserved. -| -| Licensed under the Apache License, Version 2.0 (the "License"); -| you may not use this file except in compliance with the License. -| You may obtain a copy of the License at -| -| http://www.apache.org/licenses/LICENSE-2.0 -| -| Unless required by applicable law or agreed to in writing, software -| distributed under the License is distributed on an "AS-IS" BASIS, -| WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -| See the License for the specific language governing permissions and -| limitations under the license. -| --> -| <!-- | Test Description: | This tests the logic for <template> tags and mustache variable replacements. | --> @@ -31,177 +16,177 @@ FAIL | | <template type="amp-mustache"> >> ^~~~~~~~~ -amp-mustache/0.2/test/validator-amp-mustache.html:31:0 The tag 'template' requires including the 'amp-mustache' extension JavaScript. (see https://amp.dev/documentation/components/amp-mustache) +amp-mustache/0.2/test/validator-amp-mustache.html:16:0 The tag 'template' requires including the 'amp-mustache' extension JavaScript. (see https://amp.dev/documentation/components/amp-mustache) | <{{not-actually-parsed-as-an-html-tag-so-allowed}}> | <p title="{{allowed}}">{{allowed}}</p> | <p {{notallowed}}></p> >> ^~~~~~~~~ -amp-mustache/0.2/test/validator-amp-mustache.html:34:2 Mustache template syntax in attribute name '{{notallowed}}' in tag 'p'. (see https://amp.dev/documentation/components/amp-mustache) +amp-mustache/0.2/test/validator-amp-mustache.html:19:2 Mustache template syntax in attribute name '{{notallowed}}' in tag 'p'. (see https://amp.dev/documentation/components/amp-mustache) | <p {{notallowed}}=0></p> >> ^~~~~~~~~ -amp-mustache/0.2/test/validator-amp-mustache.html:35:2 Mustache template syntax in attribute name '{{notallowed}}' in tag 'p'. (see https://amp.dev/documentation/components/amp-mustache) +amp-mustache/0.2/test/validator-amp-mustache.html:20:2 Mustache template syntax in attribute name '{{notallowed}}' in tag 'p'. (see https://amp.dev/documentation/components/amp-mustache) | <p [{{notallowed}}]=0></p> >> ^~~~~~~~~ -amp-mustache/0.2/test/validator-amp-mustache.html:36:2 Mustache template syntax in attribute name '[{{notallowed}}]' in tag 'p'. (see https://amp.dev/documentation/components/amp-mustache) +amp-mustache/0.2/test/validator-amp-mustache.html:21:2 Mustache template syntax in attribute name '[{{notallowed}}]' in tag 'p'. (see https://amp.dev/documentation/components/amp-mustache) | <p data-{notallowed}=0></p> >> ^~~~~~~~~ -amp-mustache/0.2/test/validator-amp-mustache.html:37:2 The attribute 'data-{notallowed}' may not appear in tag 'p'. +amp-mustache/0.2/test/validator-amp-mustache.html:22:2 The attribute 'data-{notallowed}' may not appear in tag 'p'. | <p data-{{notallowed}}=0></p> >> ^~~~~~~~~ -amp-mustache/0.2/test/validator-amp-mustache.html:38:2 Mustache template syntax in attribute name 'data-{{notallowed}}' in tag 'p'. (see https://amp.dev/documentation/components/amp-mustache) +amp-mustache/0.2/test/validator-amp-mustache.html:23:2 Mustache template syntax in attribute name 'data-{{notallowed}}' in tag 'p'. (see https://amp.dev/documentation/components/amp-mustache) | <p data-[{{notallowed}}]=0></p> >> ^~~~~~~~~ -amp-mustache/0.2/test/validator-amp-mustache.html:39:2 Mustache template syntax in attribute name 'data-[{{notallowed}}]' in tag 'p'. (see https://amp.dev/documentation/components/amp-mustache) +amp-mustache/0.2/test/validator-amp-mustache.html:24:2 Mustache template syntax in attribute name 'data-[{{notallowed}}]' in tag 'p'. (see https://amp.dev/documentation/components/amp-mustache) | <p data-{{{notallowed}}}=0></p> >> ^~~~~~~~~ -amp-mustache/0.2/test/validator-amp-mustache.html:40:2 Mustache template syntax in attribute name 'data-{{{notallowed}}}' in tag 'p'. (see https://amp.dev/documentation/components/amp-mustache) +amp-mustache/0.2/test/validator-amp-mustache.html:25:2 Mustache template syntax in attribute name 'data-{{{notallowed}}}' in tag 'p'. (see https://amp.dev/documentation/components/amp-mustache) | <p data-{{¬allowed}}=0></p> >> ^~~~~~~~~ -amp-mustache/0.2/test/validator-amp-mustache.html:41:2 Mustache template syntax in attribute name 'data-{{¬allowed}}' in tag 'p'. (see https://amp.dev/documentation/components/amp-mustache) +amp-mustache/0.2/test/validator-amp-mustache.html:26:2 Mustache template syntax in attribute name 'data-{{¬allowed}}' in tag 'p'. (see https://amp.dev/documentation/components/amp-mustache) | <p data-{{#notallowed}}=0></p> >> ^~~~~~~~~ -amp-mustache/0.2/test/validator-amp-mustache.html:42:2 Mustache template syntax in attribute name 'data-{{#notallowed}}' in tag 'p'. (see https://amp.dev/documentation/components/amp-mustache) +amp-mustache/0.2/test/validator-amp-mustache.html:27:2 Mustache template syntax in attribute name 'data-{{#notallowed}}' in tag 'p'. (see https://amp.dev/documentation/components/amp-mustache) | <p data-{{/notallowed}}=0></p> >> ^~~~~~~~~ -amp-mustache/0.2/test/validator-amp-mustache.html:43:2 Mustache template syntax in attribute name 'data-{{' in tag 'p'. (see https://amp.dev/documentation/components/amp-mustache) +amp-mustache/0.2/test/validator-amp-mustache.html:28:2 Mustache template syntax in attribute name 'data-{{' in tag 'p'. (see https://amp.dev/documentation/components/amp-mustache) >> ^~~~~~~~~ -amp-mustache/0.2/test/validator-amp-mustache.html:43:2 The attribute 'notallowed}}' may not appear in tag 'p'. +amp-mustache/0.2/test/validator-amp-mustache.html:28:2 The attribute 'notallowed}}' may not appear in tag 'p'. | <p data-{{^notallowed}}=0></p> >> ^~~~~~~~~ -amp-mustache/0.2/test/validator-amp-mustache.html:44:2 Mustache template syntax in attribute name 'data-{{^notallowed}}' in tag 'p'. (see https://amp.dev/documentation/components/amp-mustache) +amp-mustache/0.2/test/validator-amp-mustache.html:29:2 Mustache template syntax in attribute name 'data-{{^notallowed}}' in tag 'p'. (see https://amp.dev/documentation/components/amp-mustache) | <p data-{{>notallowed}}=0></p> >> ^~~~~~~~~ -amp-mustache/0.2/test/validator-amp-mustache.html:45:2 Mustache template syntax in attribute name 'data-{{' in tag 'p'. (see https://amp.dev/documentation/components/amp-mustache) +amp-mustache/0.2/test/validator-amp-mustache.html:30:2 Mustache template syntax in attribute name 'data-{{' in tag 'p'. (see https://amp.dev/documentation/components/amp-mustache) | <p {{#notallowed}}class=foo{{/notallowed}}> >> ^~~~~~~~~ -amp-mustache/0.2/test/validator-amp-mustache.html:46:2 Mustache template syntax in attribute name '{{#notallowed}}class' in tag 'p'. (see https://amp.dev/documentation/components/amp-mustache) +amp-mustache/0.2/test/validator-amp-mustache.html:31:2 Mustache template syntax in attribute name '{{#notallowed}}class' in tag 'p'. (see https://amp.dev/documentation/components/amp-mustache) | <p {{#notallowed}}class{{/notallowed}}> >> ^~~~~~~~~ -amp-mustache/0.2/test/validator-amp-mustache.html:47:2 Mustache template syntax in attribute name '{{#notallowed}}class{{/notallowed}}' in tag 'p'. (see https://amp.dev/documentation/components/amp-mustache) +amp-mustache/0.2/test/validator-amp-mustache.html:32:2 Mustache template syntax in attribute name '{{#notallowed}}class{{/notallowed}}' in tag 'p'. (see https://amp.dev/documentation/components/amp-mustache) | <p title="{{{notallowed}}}"></p> >> ^~~~~~~~~ -amp-mustache/0.2/test/validator-amp-mustache.html:48:2 The attribute 'title' in tag 'p' is set to '{{{notallowed}}}', which contains unescaped Mustache template syntax. (see https://amp.dev/documentation/components/amp-mustache) +amp-mustache/0.2/test/validator-amp-mustache.html:33:2 The attribute 'title' in tag 'p' is set to '{{{notallowed}}}', which contains unescaped Mustache template syntax. (see https://amp.dev/documentation/components/amp-mustache) | <p title="{{¬allowed}}"></p> >> ^~~~~~~~~ -amp-mustache/0.2/test/validator-amp-mustache.html:49:2 The attribute 'title' in tag 'p' is set to '{{¬allowed}}', which contains unescaped Mustache template syntax. (see https://amp.dev/documentation/components/amp-mustache) +amp-mustache/0.2/test/validator-amp-mustache.html:34:2 The attribute 'title' in tag 'p' is set to '{{¬allowed}}', which contains unescaped Mustache template syntax. (see https://amp.dev/documentation/components/amp-mustache) | <p title="{{>notallowed}}"></p> >> ^~~~~~~~~ -amp-mustache/0.2/test/validator-amp-mustache.html:50:2 The attribute 'title' in tag 'p' is set to '{{>notallowed}}', which contains a Mustache template partial. (see https://amp.dev/documentation/components/amp-mustache) +amp-mustache/0.2/test/validator-amp-mustache.html:35:2 The attribute 'title' in tag 'p' is set to '{{>notallowed}}', which contains a Mustache template partial. (see https://amp.dev/documentation/components/amp-mustache) | <p data-title="{{{notallowed}}}"></p> >> ^~~~~~~~~ -amp-mustache/0.2/test/validator-amp-mustache.html:51:2 The attribute 'data-title' in tag 'p' is set to '{{{notallowed}}}', which contains unescaped Mustache template syntax. (see https://amp.dev/documentation/components/amp-mustache) +amp-mustache/0.2/test/validator-amp-mustache.html:36:2 The attribute 'data-title' in tag 'p' is set to '{{{notallowed}}}', which contains unescaped Mustache template syntax. (see https://amp.dev/documentation/components/amp-mustache) | <p data-title="{{¬allowed}}"></p> >> ^~~~~~~~~ -amp-mustache/0.2/test/validator-amp-mustache.html:52:2 The attribute 'data-title' in tag 'p' is set to '{{¬allowed}}', which contains unescaped Mustache template syntax. (see https://amp.dev/documentation/components/amp-mustache) +amp-mustache/0.2/test/validator-amp-mustache.html:37:2 The attribute 'data-title' in tag 'p' is set to '{{¬allowed}}', which contains unescaped Mustache template syntax. (see https://amp.dev/documentation/components/amp-mustache) | <p data-title="{{>notallowed}}"></p> >> ^~~~~~~~~ -amp-mustache/0.2/test/validator-amp-mustache.html:53:2 The attribute 'data-title' in tag 'p' is set to '{{>notallowed}}', which contains a Mustache template partial. (see https://amp.dev/documentation/components/amp-mustache) +amp-mustache/0.2/test/validator-amp-mustache.html:38:2 The attribute 'data-title' in tag 'p' is set to '{{>notallowed}}', which contains a Mustache template partial. (see https://amp.dev/documentation/components/amp-mustache) | | <!-- now with some whitespace inside the mustache tags --> | <{{ not-actually-parsed-as-an-html-tag-so-allowed }}> | <p title="{{ allowed }}">{{ allowed }}</p> | <p {{ notallowed }}></p> >> ^~~~~~~~~ -amp-mustache/0.2/test/validator-amp-mustache.html:58:2 The attribute 'notallowed' may not appear in tag 'p'. +amp-mustache/0.2/test/validator-amp-mustache.html:43:2 The attribute 'notallowed' may not appear in tag 'p'. >> ^~~~~~~~~ -amp-mustache/0.2/test/validator-amp-mustache.html:58:2 Mustache template syntax in attribute name '{{' in tag 'p'. (see https://amp.dev/documentation/components/amp-mustache) +amp-mustache/0.2/test/validator-amp-mustache.html:43:2 Mustache template syntax in attribute name '{{' in tag 'p'. (see https://amp.dev/documentation/components/amp-mustache) >> ^~~~~~~~~ -amp-mustache/0.2/test/validator-amp-mustache.html:58:2 The attribute '}}' may not appear in tag 'p'. +amp-mustache/0.2/test/validator-amp-mustache.html:43:2 The attribute '}}' may not appear in tag 'p'. | <p {{ notallowed }}=0></p> >> ^~~~~~~~~ -amp-mustache/0.2/test/validator-amp-mustache.html:59:2 The attribute 'notallowed' may not appear in tag 'p'. +amp-mustache/0.2/test/validator-amp-mustache.html:44:2 The attribute 'notallowed' may not appear in tag 'p'. >> ^~~~~~~~~ -amp-mustache/0.2/test/validator-amp-mustache.html:59:2 Mustache template syntax in attribute name '{{' in tag 'p'. (see https://amp.dev/documentation/components/amp-mustache) +amp-mustache/0.2/test/validator-amp-mustache.html:44:2 Mustache template syntax in attribute name '{{' in tag 'p'. (see https://amp.dev/documentation/components/amp-mustache) >> ^~~~~~~~~ -amp-mustache/0.2/test/validator-amp-mustache.html:59:2 The attribute '}}' may not appear in tag 'p'. +amp-mustache/0.2/test/validator-amp-mustache.html:44:2 The attribute '}}' may not appear in tag 'p'. | <p data-{{ notallowed }}=0></p> >> ^~~~~~~~~ -amp-mustache/0.2/test/validator-amp-mustache.html:60:2 Mustache template syntax in attribute name 'data-{{' in tag 'p'. (see https://amp.dev/documentation/components/amp-mustache) +amp-mustache/0.2/test/validator-amp-mustache.html:45:2 Mustache template syntax in attribute name 'data-{{' in tag 'p'. (see https://amp.dev/documentation/components/amp-mustache) >> ^~~~~~~~~ -amp-mustache/0.2/test/validator-amp-mustache.html:60:2 The attribute 'notallowed' may not appear in tag 'p'. +amp-mustache/0.2/test/validator-amp-mustache.html:45:2 The attribute 'notallowed' may not appear in tag 'p'. >> ^~~~~~~~~ -amp-mustache/0.2/test/validator-amp-mustache.html:60:2 The attribute '}}' may not appear in tag 'p'. +amp-mustache/0.2/test/validator-amp-mustache.html:45:2 The attribute '}}' may not appear in tag 'p'. | <p data-{{{ notallowed }}}=0></p> >> ^~~~~~~~~ -amp-mustache/0.2/test/validator-amp-mustache.html:61:2 Mustache template syntax in attribute name 'data-{{{' in tag 'p'. (see https://amp.dev/documentation/components/amp-mustache) +amp-mustache/0.2/test/validator-amp-mustache.html:46:2 Mustache template syntax in attribute name 'data-{{{' in tag 'p'. (see https://amp.dev/documentation/components/amp-mustache) >> ^~~~~~~~~ -amp-mustache/0.2/test/validator-amp-mustache.html:61:2 The attribute 'notallowed' may not appear in tag 'p'. +amp-mustache/0.2/test/validator-amp-mustache.html:46:2 The attribute 'notallowed' may not appear in tag 'p'. >> ^~~~~~~~~ -amp-mustache/0.2/test/validator-amp-mustache.html:61:2 The attribute '}}}' may not appear in tag 'p'. +amp-mustache/0.2/test/validator-amp-mustache.html:46:2 The attribute '}}}' may not appear in tag 'p'. | <p data-{{ ¬allowed }}=0></p> >> ^~~~~~~~~ -amp-mustache/0.2/test/validator-amp-mustache.html:62:2 The attribute '¬allowed' may not appear in tag 'p'. +amp-mustache/0.2/test/validator-amp-mustache.html:47:2 The attribute '¬allowed' may not appear in tag 'p'. >> ^~~~~~~~~ -amp-mustache/0.2/test/validator-amp-mustache.html:62:2 Mustache template syntax in attribute name 'data-{{' in tag 'p'. (see https://amp.dev/documentation/components/amp-mustache) +amp-mustache/0.2/test/validator-amp-mustache.html:47:2 Mustache template syntax in attribute name 'data-{{' in tag 'p'. (see https://amp.dev/documentation/components/amp-mustache) >> ^~~~~~~~~ -amp-mustache/0.2/test/validator-amp-mustache.html:62:2 The attribute '}}' may not appear in tag 'p'. +amp-mustache/0.2/test/validator-amp-mustache.html:47:2 The attribute '}}' may not appear in tag 'p'. | <p data-{{ #notallowed }}=0></p> >> ^~~~~~~~~ -amp-mustache/0.2/test/validator-amp-mustache.html:63:2 The attribute '#notallowed' may not appear in tag 'p'. +amp-mustache/0.2/test/validator-amp-mustache.html:48:2 The attribute '#notallowed' may not appear in tag 'p'. >> ^~~~~~~~~ -amp-mustache/0.2/test/validator-amp-mustache.html:63:2 Mustache template syntax in attribute name 'data-{{' in tag 'p'. (see https://amp.dev/documentation/components/amp-mustache) +amp-mustache/0.2/test/validator-amp-mustache.html:48:2 Mustache template syntax in attribute name 'data-{{' in tag 'p'. (see https://amp.dev/documentation/components/amp-mustache) >> ^~~~~~~~~ -amp-mustache/0.2/test/validator-amp-mustache.html:63:2 The attribute '}}' may not appear in tag 'p'. +amp-mustache/0.2/test/validator-amp-mustache.html:48:2 The attribute '}}' may not appear in tag 'p'. | <p data-{{ /notallowed }}=0></p> >> ^~~~~~~~~ -amp-mustache/0.2/test/validator-amp-mustache.html:64:2 Mustache template syntax in attribute name 'data-{{' in tag 'p'. (see https://amp.dev/documentation/components/amp-mustache) +amp-mustache/0.2/test/validator-amp-mustache.html:49:2 Mustache template syntax in attribute name 'data-{{' in tag 'p'. (see https://amp.dev/documentation/components/amp-mustache) >> ^~~~~~~~~ -amp-mustache/0.2/test/validator-amp-mustache.html:64:2 The attribute 'notallowed' may not appear in tag 'p'. +amp-mustache/0.2/test/validator-amp-mustache.html:49:2 The attribute 'notallowed' may not appear in tag 'p'. >> ^~~~~~~~~ -amp-mustache/0.2/test/validator-amp-mustache.html:64:2 The attribute '}}' may not appear in tag 'p'. +amp-mustache/0.2/test/validator-amp-mustache.html:49:2 The attribute '}}' may not appear in tag 'p'. | <p data-{{ ^notallowed }}=0></p> >> ^~~~~~~~~ -amp-mustache/0.2/test/validator-amp-mustache.html:65:2 The attribute '^notallowed' may not appear in tag 'p'. +amp-mustache/0.2/test/validator-amp-mustache.html:50:2 The attribute '^notallowed' may not appear in tag 'p'. >> ^~~~~~~~~ -amp-mustache/0.2/test/validator-amp-mustache.html:65:2 Mustache template syntax in attribute name 'data-{{' in tag 'p'. (see https://amp.dev/documentation/components/amp-mustache) +amp-mustache/0.2/test/validator-amp-mustache.html:50:2 Mustache template syntax in attribute name 'data-{{' in tag 'p'. (see https://amp.dev/documentation/components/amp-mustache) >> ^~~~~~~~~ -amp-mustache/0.2/test/validator-amp-mustache.html:65:2 The attribute '}}' may not appear in tag 'p'. +amp-mustache/0.2/test/validator-amp-mustache.html:50:2 The attribute '}}' may not appear in tag 'p'. | <p data-{{ >notallowed }}=0></p> >> ^~~~~~~~~ -amp-mustache/0.2/test/validator-amp-mustache.html:66:2 Mustache template syntax in attribute name 'data-{{' in tag 'p'. (see https://amp.dev/documentation/components/amp-mustache) +amp-mustache/0.2/test/validator-amp-mustache.html:51:2 Mustache template syntax in attribute name 'data-{{' in tag 'p'. (see https://amp.dev/documentation/components/amp-mustache) | <p {{ #notallowed }}class=foo{{ /notallowed }}> >> ^~~~~~~~~ -amp-mustache/0.2/test/validator-amp-mustache.html:67:2 The attribute '#notallowed' may not appear in tag 'p'. +amp-mustache/0.2/test/validator-amp-mustache.html:52:2 The attribute '#notallowed' may not appear in tag 'p'. >> ^~~~~~~~~ -amp-mustache/0.2/test/validator-amp-mustache.html:67:2 The attribute 'notallowed' may not appear in tag 'p'. +amp-mustache/0.2/test/validator-amp-mustache.html:52:2 The attribute 'notallowed' may not appear in tag 'p'. >> ^~~~~~~~~ -amp-mustache/0.2/test/validator-amp-mustache.html:67:2 Mustache template syntax in attribute name '{{' in tag 'p'. (see https://amp.dev/documentation/components/amp-mustache) +amp-mustache/0.2/test/validator-amp-mustache.html:52:2 Mustache template syntax in attribute name '{{' in tag 'p'. (see https://amp.dev/documentation/components/amp-mustache) >> ^~~~~~~~~ -amp-mustache/0.2/test/validator-amp-mustache.html:67:2 The attribute '}}' may not appear in tag 'p'. +amp-mustache/0.2/test/validator-amp-mustache.html:52:2 The attribute '}}' may not appear in tag 'p'. >> ^~~~~~~~~ -amp-mustache/0.2/test/validator-amp-mustache.html:67:2 The attribute '}}class' may not appear in tag 'p'. +amp-mustache/0.2/test/validator-amp-mustache.html:52:2 The attribute '}}class' may not appear in tag 'p'. | <p {{ #notallowed }}class{{ /notallowed }}> >> ^~~~~~~~~ -amp-mustache/0.2/test/validator-amp-mustache.html:68:2 The attribute '#notallowed' may not appear in tag 'p'. +amp-mustache/0.2/test/validator-amp-mustache.html:53:2 The attribute '#notallowed' may not appear in tag 'p'. >> ^~~~~~~~~ -amp-mustache/0.2/test/validator-amp-mustache.html:68:2 The attribute 'notallowed' may not appear in tag 'p'. +amp-mustache/0.2/test/validator-amp-mustache.html:53:2 The attribute 'notallowed' may not appear in tag 'p'. >> ^~~~~~~~~ -amp-mustache/0.2/test/validator-amp-mustache.html:68:2 Mustache template syntax in attribute name '{{' in tag 'p'. (see https://amp.dev/documentation/components/amp-mustache) +amp-mustache/0.2/test/validator-amp-mustache.html:53:2 Mustache template syntax in attribute name '{{' in tag 'p'. (see https://amp.dev/documentation/components/amp-mustache) >> ^~~~~~~~~ -amp-mustache/0.2/test/validator-amp-mustache.html:68:2 The attribute '}}' may not appear in tag 'p'. +amp-mustache/0.2/test/validator-amp-mustache.html:53:2 The attribute '}}' may not appear in tag 'p'. >> ^~~~~~~~~ -amp-mustache/0.2/test/validator-amp-mustache.html:68:2 Mustache template syntax in attribute name '}}class{{' in tag 'p'. (see https://amp.dev/documentation/components/amp-mustache) +amp-mustache/0.2/test/validator-amp-mustache.html:53:2 Mustache template syntax in attribute name '}}class{{' in tag 'p'. (see https://amp.dev/documentation/components/amp-mustache) | <p title="{{{ notallowed }}}"></p> >> ^~~~~~~~~ -amp-mustache/0.2/test/validator-amp-mustache.html:69:2 The attribute 'title' in tag 'p' is set to '{{{ notallowed }}}', which contains unescaped Mustache template syntax. (see https://amp.dev/documentation/components/amp-mustache) +amp-mustache/0.2/test/validator-amp-mustache.html:54:2 The attribute 'title' in tag 'p' is set to '{{{ notallowed }}}', which contains unescaped Mustache template syntax. (see https://amp.dev/documentation/components/amp-mustache) | <p title="{{ ¬allowed }}"></p> >> ^~~~~~~~~ -amp-mustache/0.2/test/validator-amp-mustache.html:70:2 The attribute 'title' in tag 'p' is set to '{{ ¬allowed }}', which contains unescaped Mustache template syntax. (see https://amp.dev/documentation/components/amp-mustache) +amp-mustache/0.2/test/validator-amp-mustache.html:55:2 The attribute 'title' in tag 'p' is set to '{{ ¬allowed }}', which contains unescaped Mustache template syntax. (see https://amp.dev/documentation/components/amp-mustache) | <p title="{{ >notallowed }}"></p> >> ^~~~~~~~~ -amp-mustache/0.2/test/validator-amp-mustache.html:71:2 The attribute 'title' in tag 'p' is set to '{{ >notallowed }}', which contains a Mustache template partial. (see https://amp.dev/documentation/components/amp-mustache) +amp-mustache/0.2/test/validator-amp-mustache.html:56:2 The attribute 'title' in tag 'p' is set to '{{ >notallowed }}', which contains a Mustache template partial. (see https://amp.dev/documentation/components/amp-mustache) | <p title="{{& notallowed }}"></p> >> ^~~~~~~~~ -amp-mustache/0.2/test/validator-amp-mustache.html:72:2 The attribute 'title' in tag 'p' is set to '{{& notallowed }}', which contains unescaped Mustache template syntax. (see https://amp.dev/documentation/components/amp-mustache) +amp-mustache/0.2/test/validator-amp-mustache.html:57:2 The attribute 'title' in tag 'p' is set to '{{& notallowed }}', which contains unescaped Mustache template syntax. (see https://amp.dev/documentation/components/amp-mustache) | <p title="{{> notallowed }}"></p> >> ^~~~~~~~~ -amp-mustache/0.2/test/validator-amp-mustache.html:73:2 The attribute 'title' in tag 'p' is set to '{{> notallowed }}', which contains a Mustache template partial. (see https://amp.dev/documentation/components/amp-mustache) +amp-mustache/0.2/test/validator-amp-mustache.html:58:2 The attribute 'title' in tag 'p' is set to '{{> notallowed }}', which contains a Mustache template partial. (see https://amp.dev/documentation/components/amp-mustache) | <p title="{{ & notallowed }}"></p> >> ^~~~~~~~~ -amp-mustache/0.2/test/validator-amp-mustache.html:74:2 The attribute 'title' in tag 'p' is set to '{{ & notallowed }}', which contains unescaped Mustache template syntax. (see https://amp.dev/documentation/components/amp-mustache) +amp-mustache/0.2/test/validator-amp-mustache.html:59:2 The attribute 'title' in tag 'p' is set to '{{ & notallowed }}', which contains unescaped Mustache template syntax. (see https://amp.dev/documentation/components/amp-mustache) | <p title="{{ > notallowed }}"></p> >> ^~~~~~~~~ -amp-mustache/0.2/test/validator-amp-mustache.html:75:2 The attribute 'title' in tag 'p' is set to '{{ > notallowed }}', which contains a Mustache template partial. (see https://amp.dev/documentation/components/amp-mustache) +amp-mustache/0.2/test/validator-amp-mustache.html:60:2 The attribute 'title' in tag 'p' is set to '{{ > notallowed }}', which contains a Mustache template partial. (see https://amp.dev/documentation/components/amp-mustache) | | <!-- Note, this is allowed by the validator, but it is critical that it | be sanitized by the runtime. If the runtime allowed this, then after @@ -227,26 +212,26 @@ amp-mustache/0.2/test/validator-amp-mustache.html:75:2 The attribute 'title' in | <!-- Templates may have ids. --> | <template type="amp-mustache" id="foobar"> >> ^~~~~~~~~ -amp-mustache/0.2/test/validator-amp-mustache.html:99:0 The tag 'template' requires including the 'amp-mustache' extension JavaScript. (see https://amp.dev/documentation/components/amp-mustache) +amp-mustache/0.2/test/validator-amp-mustache.html:84:0 The tag 'template' requires including the 'amp-mustache' extension JavaScript. (see https://amp.dev/documentation/components/amp-mustache) | </template> | | <!-- The template ids may not have certain values. --> | <template type="amp-mustache" id="__defineGetter__"> >> ^~~~~~~~~ -amp-mustache/0.2/test/validator-amp-mustache.html:103:0 The attribute 'id' in tag 'template' is set to the invalid value '__defineGetter__'. (see https://amp.dev/documentation/components/amp-mustache) +amp-mustache/0.2/test/validator-amp-mustache.html:88:0 The attribute 'id' in tag 'template' is set to the invalid value '__defineGetter__'. (see https://amp.dev/documentation/components/amp-mustache) >> ^~~~~~~~~ -amp-mustache/0.2/test/validator-amp-mustache.html:103:0 The tag 'template' requires including the 'amp-mustache' extension JavaScript. (see https://amp.dev/documentation/components/amp-mustache) +amp-mustache/0.2/test/validator-amp-mustache.html:88:0 The tag 'template' requires including the 'amp-mustache' extension JavaScript. (see https://amp.dev/documentation/components/amp-mustache) | </template> | | <template type="amp-mustache"> >> ^~~~~~~~~ -amp-mustache/0.2/test/validator-amp-mustache.html:106:0 The tag 'template' requires including the 'amp-mustache' extension JavaScript. (see https://amp.dev/documentation/components/amp-mustache) +amp-mustache/0.2/test/validator-amp-mustache.html:91:0 The tag 'template' requires including the 'amp-mustache' extension JavaScript. (see https://amp.dev/documentation/components/amp-mustache) | <div> | <template type="amp-mustache"> >> ^~~~~~~~~ -amp-mustache/0.2/test/validator-amp-mustache.html:108:4 The tag 'template' may not appear as a descendant of tag 'template'. (see https://amp.dev/documentation/components/amp-mustache) +amp-mustache/0.2/test/validator-amp-mustache.html:93:4 The tag 'template' may not appear as a descendant of tag 'template'. (see https://amp.dev/documentation/components/amp-mustache) >> ^~~~~~~~~ -amp-mustache/0.2/test/validator-amp-mustache.html:108:4 The tag 'template' requires including the 'amp-mustache' extension JavaScript. (see https://amp.dev/documentation/components/amp-mustache) +amp-mustache/0.2/test/validator-amp-mustache.html:93:4 The tag 'template' requires including the 'amp-mustache' extension JavaScript. (see https://amp.dev/documentation/components/amp-mustache) | Nested Template tags are not allowed. | </template> | </div> @@ -254,13 +239,13 @@ amp-mustache/0.2/test/validator-amp-mustache.html:108:4 The tag 'template' requi | | <template type="amp-mustache"> >> ^~~~~~~~~ -amp-mustache/0.2/test/validator-amp-mustache.html:114:0 The tag 'template' requires including the 'amp-mustache' extension JavaScript. (see https://amp.dev/documentation/components/amp-mustache) +amp-mustache/0.2/test/validator-amp-mustache.html:99:0 The tag 'template' requires including the 'amp-mustache' extension JavaScript. (see https://amp.dev/documentation/components/amp-mustache) | <div> | <script type="text/plain" template="amp-mustache"> >> ^~~~~~~~~ -amp-mustache/0.2/test/validator-amp-mustache.html:116:4 The tag 'script' may not appear as a descendant of tag 'template'. (see https://amp.dev/documentation/components/amp-mustache) +amp-mustache/0.2/test/validator-amp-mustache.html:101:4 The tag 'script' may not appear as a descendant of tag 'template'. (see https://amp.dev/documentation/components/amp-mustache) >> ^~~~~~~~~ -amp-mustache/0.2/test/validator-amp-mustache.html:116:4 The tag 'script' requires including the 'amp-mustache' extension JavaScript. (see https://amp.dev/documentation/components/amp-mustache) +amp-mustache/0.2/test/validator-amp-mustache.html:101:4 The tag 'script' requires including the 'amp-mustache' extension JavaScript. (see https://amp.dev/documentation/components/amp-mustache) | Nested Template script tags are not allowed. | </script> | </div> @@ -269,15 +254,15 @@ amp-mustache/0.2/test/validator-amp-mustache.html:116:4 The tag 'script' require | <!-- Inside a template, attribute value restrictions are relaxed. --> | <amp-audio src="https://example.com/audio" layout="fixed" autoplay="{{invalid}}"> >> ^~~~~~~~~ -amp-mustache/0.2/test/validator-amp-mustache.html:123:0 The attribute 'autoplay' in tag 'amp-audio' is set to the invalid value '{{invalid}}'. (see https://amp.dev/documentation/components/amp-audio/) +amp-mustache/0.2/test/validator-amp-mustache.html:108:0 The attribute 'autoplay' in tag 'amp-audio' is set to the invalid value '{{invalid}}'. (see https://amp.dev/documentation/components/amp-audio/) >> ^~~~~~~~~ -amp-mustache/0.2/test/validator-amp-mustache.html:123:0 The tag 'amp-audio' requires including the 'amp-audio' extension JavaScript. (see https://amp.dev/documentation/components/amp-audio/) +amp-mustache/0.2/test/validator-amp-mustache.html:108:0 The tag 'amp-audio' requires including the 'amp-audio' extension JavaScript. (see https://amp.dev/documentation/components/amp-audio/) | <template type="amp-mustache"> >> ^~~~~~~~~ -amp-mustache/0.2/test/validator-amp-mustache.html:124:0 The tag 'template' requires including the 'amp-mustache' extension JavaScript. (see https://amp.dev/documentation/components/amp-mustache) +amp-mustache/0.2/test/validator-amp-mustache.html:109:0 The tag 'template' requires including the 'amp-mustache' extension JavaScript. (see https://amp.dev/documentation/components/amp-mustache) | <amp-audio src="https://example.com/audio" layout="fixed" autoplay="{{valid}}"> >> ^~~~~~~~~ -amp-mustache/0.2/test/validator-amp-mustache.html:125:0 The tag 'amp-audio' requires including the 'amp-audio' extension JavaScript. (see https://amp.dev/documentation/components/amp-audio/) +amp-mustache/0.2/test/validator-amp-mustache.html:110:0 The tag 'amp-audio' requires including the 'amp-audio' extension JavaScript. (see https://amp.dev/documentation/components/amp-audio/) | </template> | | <!-- Since layout calculations follow a different code path, test that layouts @@ -285,7 +270,7 @@ amp-mustache/0.2/test/validator-amp-mustache.html:125:0 The tag 'amp-audio' requ | <!-- See https://github.com/ampproject/amphtml/issues/2670 --> | <template type="amp-mustache"> >> ^~~~~~~~~ -amp-mustache/0.2/test/validator-amp-mustache.html:131:0 The tag 'template' requires including the 'amp-mustache' extension JavaScript. (see https://amp.dev/documentation/components/amp-mustache) +amp-mustache/0.2/test/validator-amp-mustache.html:116:0 The tag 'template' requires including the 'amp-mustache' extension JavaScript. (see https://amp.dev/documentation/components/amp-mustache) | <amp-img src="{{image.url}}" width={{image.width}} height={{image.height}}></amp-img> | </template> | @@ -296,7 +281,7 @@ amp-mustache/0.2/test/validator-amp-mustache.html:131:0 The tag 'template' requi | --> | <script type="text/plain" template="amp-mustache"> >> ^~~~~~~~~ -amp-mustache/0.2/test/validator-amp-mustache.html:140:0 The tag 'script' requires including the 'amp-mustache' extension JavaScript. (see https://amp.dev/documentation/components/amp-mustache) +amp-mustache/0.2/test/validator-amp-mustache.html:125:0 The tag 'script' requires including the 'amp-mustache' extension JavaScript. (see https://amp.dev/documentation/components/amp-mustache) | <{{not-actually-parsed-as-an-html-tag-so-allowed}}> | <p title="{{allowed}}">{{allowed}}</p> | <p {{notallowed}}></p> @@ -366,12 +351,12 @@ amp-mustache/0.2/test/validator-amp-mustache.html:140:0 The tag 'script' require | <!-- Inside a script template, attribute value restrictions are relaxed. --> | <amp-audio src="https://example.com/audio" layout="fixed" autoplay="{{invalid}}"> >> ^~~~~~~~~ -amp-mustache/0.2/test/validator-amp-mustache.html:208:0 The attribute 'autoplay' in tag 'amp-audio' is set to the invalid value '{{invalid}}'. (see https://amp.dev/documentation/components/amp-audio/) +amp-mustache/0.2/test/validator-amp-mustache.html:193:0 The attribute 'autoplay' in tag 'amp-audio' is set to the invalid value '{{invalid}}'. (see https://amp.dev/documentation/components/amp-audio/) >> ^~~~~~~~~ -amp-mustache/0.2/test/validator-amp-mustache.html:208:0 The tag 'amp-audio' requires including the 'amp-audio' extension JavaScript. (see https://amp.dev/documentation/components/amp-audio/) +amp-mustache/0.2/test/validator-amp-mustache.html:193:0 The tag 'amp-audio' requires including the 'amp-audio' extension JavaScript. (see https://amp.dev/documentation/components/amp-audio/) | <script type="text/plain" template="amp-mustache"> >> ^~~~~~~~~ -amp-mustache/0.2/test/validator-amp-mustache.html:209:0 The tag 'script' requires including the 'amp-mustache' extension JavaScript. (see https://amp.dev/documentation/components/amp-mustache) +amp-mustache/0.2/test/validator-amp-mustache.html:194:0 The tag 'script' requires including the 'amp-mustache' extension JavaScript. (see https://amp.dev/documentation/components/amp-mustache) | <amp-audio src="https://example.com/audio" layout="fixed" autoplay="{{valid}}"> | </script> | @@ -380,7 +365,7 @@ amp-mustache/0.2/test/validator-amp-mustache.html:209:0 The tag 'script' require | <!-- See https://github.com/ampproject/amphtml/issues/2670 --> | <script type="text/plain" template="amp-mustache"> >> ^~~~~~~~~ -amp-mustache/0.2/test/validator-amp-mustache.html:216:0 The tag 'script' requires including the 'amp-mustache' extension JavaScript. (see https://amp.dev/documentation/components/amp-mustache) +amp-mustache/0.2/test/validator-amp-mustache.html:201:0 The tag 'script' requires including the 'amp-mustache' extension JavaScript. (see https://amp.dev/documentation/components/amp-mustache) | <amp-img src="{{image.url}}" width={{image.width}} height={{image.height}}></amp-img> | </script> | diff --git a/extensions/amp-mustache/0.2/test/validator-json-not-in-template.html b/extensions/amp-mustache/0.2/test/validator-json-not-in-template.html index ebb65c03a8f7..eef13c9fa2ed 100644 --- a/extensions/amp-mustache/0.2/test/validator-json-not-in-template.html +++ b/extensions/amp-mustache/0.2/test/validator-json-not-in-template.html @@ -1,15 +1,3 @@ -<!-- - Copyright 2018 The AMP HTML Authors. All Rights Reserved. - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - http://www.apache.org/licenses/LICENSE-2.0 - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS-IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the license. ---> <!-- Test Description: Tests json content is parsed by validator and warnings issued if invalid json. diff --git a/extensions/amp-mustache/0.2/test/validator-json-not-in-template.out b/extensions/amp-mustache/0.2/test/validator-json-not-in-template.out index d7c63f6d5017..971f52da6d88 100644 --- a/extensions/amp-mustache/0.2/test/validator-json-not-in-template.out +++ b/extensions/amp-mustache/0.2/test/validator-json-not-in-template.out @@ -1,17 +1,5 @@ PASS | <!-- -| Copyright 2018 The AMP HTML Authors. All Rights Reserved. -| Licensed under the Apache License, Version 2.0 (the "License"); -| you may not use this file except in compliance with the License. -| You may obtain a copy of the License at -| http://www.apache.org/licenses/LICENSE-2.0 -| Unless required by applicable law or agreed to in writing, software -| distributed under the License is distributed on an "AS-IS" BASIS, -| WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -| See the License for the specific language governing permissions and -| limitations under the license. -| --> -| <!-- | Test Description: | Tests json content is parsed by validator and warnings issued if invalid json. | --> @@ -35,7 +23,7 @@ PASS | <amp-analytics> | <script type="application/json"> >> ^~~~~~~~~ -amp-mustache/0.2/test/validator-json-not-in-template.html:35:4 The script tag contains invalid JSON that cannot be parsed. +amp-mustache/0.2/test/validator-json-not-in-template.html:23:4 The script tag contains invalid JSON that cannot be parsed. | {{{ json_data }}} | </script> | <amp-analytics/> diff --git a/extensions/amp-mustache/0.2/test/validator-json-not-in-template.out.cpponly b/extensions/amp-mustache/0.2/test/validator-json-not-in-template.out.cpponly index cf84b988a5c5..263290151840 100644 --- a/extensions/amp-mustache/0.2/test/validator-json-not-in-template.out.cpponly +++ b/extensions/amp-mustache/0.2/test/validator-json-not-in-template.out.cpponly @@ -1,17 +1,5 @@ PASS | <!-- -| Copyright 2018 The AMP HTML Authors. All Rights Reserved. -| Licensed under the Apache License, Version 2.0 (the "License"); -| you may not use this file except in compliance with the License. -| You may obtain a copy of the License at -| http://www.apache.org/licenses/LICENSE-2.0 -| Unless required by applicable law or agreed to in writing, software -| distributed under the License is distributed on an "AS-IS" BASIS, -| WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -| See the License for the specific language governing permissions and -| limitations under the license. -| --> -| <!-- | Test Description: | Tests json content is parsed by validator and warnings issued if invalid json. | --> @@ -36,7 +24,7 @@ PASS | <script type="application/json"> | {{{ json_data }}} >> ^~~~~~~~~ -amp-mustache/0.2/test/validator-json-not-in-template.html:36:6 The script tag contains invalid JSON that cannot be parsed. +amp-mustache/0.2/test/validator-json-not-in-template.html:24:6 The script tag contains invalid JSON that cannot be parsed. | </script> | <amp-analytics/> | </amp-list> diff --git a/extensions/amp-nested-menu/0.1/test/validator-amp-nested-menu-error.html b/extensions/amp-nested-menu/0.1/test/validator-amp-nested-menu-error.html index 3cf6e903e562..40f9d4e310b0 100644 --- a/extensions/amp-nested-menu/0.1/test/validator-amp-nested-menu-error.html +++ b/extensions/amp-nested-menu/0.1/test/validator-amp-nested-menu-error.html @@ -1,18 +1,3 @@ -<!-- - Copyright 2019 The AMP HTML Authors. All Rights Reserved. - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS-IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the license. ---> <!-- Test Description: Tests support for the amp-nested-menu tag. diff --git a/extensions/amp-nested-menu/0.1/test/validator-amp-nested-menu-error.out b/extensions/amp-nested-menu/0.1/test/validator-amp-nested-menu-error.out index 2d74b745a0f5..f185de4a67d5 100644 --- a/extensions/amp-nested-menu/0.1/test/validator-amp-nested-menu-error.out +++ b/extensions/amp-nested-menu/0.1/test/validator-amp-nested-menu-error.out @@ -1,20 +1,5 @@ FAIL | <!-- -| Copyright 2019 The AMP HTML Authors. All Rights Reserved. -| -| Licensed under the Apache License, Version 2.0 (the "License"); -| you may not use this file except in compliance with the License. -| You may obtain a copy of the License at -| -| http://www.apache.org/licenses/LICENSE-2.0 -| -| Unless required by applicable law or agreed to in writing, software -| distributed under the License is distributed on an "AS-IS" BASIS, -| WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -| See the License for the specific language governing permissions and -| limitations under the license. -| --> -| <!-- | Test Description: | Tests support for the amp-nested-menu tag. | --> @@ -33,41 +18,41 @@ FAIL | <!-- Invalid: nested menu must be inside sidebar --> | <amp-nested-menu layout="fill"></amp-nested-menu> >> ^~~~~~~~~ -amp-nested-menu/0.1/test/validator-amp-nested-menu-error.html:33:2 The tag 'amp-nested-menu' may only appear as a descendant of tag 'amp-sidebar'. (see https://amp.dev/documentation/components/amp-nested-menu/) +amp-nested-menu/0.1/test/validator-amp-nested-menu-error.html:18:2 The tag 'amp-nested-menu' may only appear as a descendant of tag 'amp-sidebar'. (see https://amp.dev/documentation/components/amp-nested-menu/) | <amp-sidebar layout="nodisplay"> | <!-- Invalid: incorrect side value --> | <amp-nested-menu layout="fill" side="center"> >> ^~~~~~~~~ -amp-nested-menu/0.1/test/validator-amp-nested-menu-error.html:36:4 The attribute 'side' in tag 'amp-nested-menu' is set to the invalid value 'center'. (see https://amp.dev/documentation/components/amp-nested-menu/) +amp-nested-menu/0.1/test/validator-amp-nested-menu-error.html:21:4 The attribute 'side' in tag 'amp-nested-menu' is set to the invalid value 'center'. (see https://amp.dev/documentation/components/amp-nested-menu/) | <!-- Invalid: no element can include more than one submenu attributes --> | <div> | <h4 amp-nested-submenu-open amp-nested-submenu-close></h4> >> ^~~~~~~~~ -amp-nested-menu/0.1/test/validator-amp-nested-menu-error.html:39:8 Mutually exclusive attributes encountered in tag 'h4' - pick one of ['amp-nested-submenu-close', 'amp-nested-submenu-open']. +amp-nested-menu/0.1/test/validator-amp-nested-menu-error.html:24:8 Mutually exclusive attributes encountered in tag 'h4' - pick one of ['amp-nested-submenu-close', 'amp-nested-submenu-open']. | <div amp-nested-submenu amp-nested-submenu-close></div> >> ^~~~~~~~~ -amp-nested-menu/0.1/test/validator-amp-nested-menu-error.html:40:8 Mutually exclusive attributes encountered in tag 'div amp-nested-menu' - pick one of ['amp-nested-submenu', 'amp-nested-submenu-close', 'amp-nested-submenu-open']. +amp-nested-menu/0.1/test/validator-amp-nested-menu-error.html:25:8 Mutually exclusive attributes encountered in tag 'div amp-nested-menu' - pick one of ['amp-nested-submenu', 'amp-nested-submenu-close', 'amp-nested-submenu-open']. | <div amp-nested-submenu amp-nested-submenu-open></div> >> ^~~~~~~~~ -amp-nested-menu/0.1/test/validator-amp-nested-menu-error.html:41:8 Mutually exclusive attributes encountered in tag 'div amp-nested-menu' - pick one of ['amp-nested-submenu', 'amp-nested-submenu-close', 'amp-nested-submenu-open']. +amp-nested-menu/0.1/test/validator-amp-nested-menu-error.html:26:8 Mutually exclusive attributes encountered in tag 'div amp-nested-menu' - pick one of ['amp-nested-submenu', 'amp-nested-submenu-close', 'amp-nested-submenu-open']. | </div> | <!-- Invalid: only divs may include the amp-nested-submenu attribute --> | <div> | <span amp-nested-submenu></span> >> ^~~~~~~~~ -amp-nested-menu/0.1/test/validator-amp-nested-menu-error.html:45:8 The attribute 'amp-nested-submenu' may not appear in tag 'span'. +amp-nested-menu/0.1/test/validator-amp-nested-menu-error.html:30:8 The attribute 'amp-nested-submenu' may not appear in tag 'span'. | <button amp-nested-submenu></button> >> ^~~~~~~~~ -amp-nested-menu/0.1/test/validator-amp-nested-menu-error.html:46:8 The attribute 'amp-nested-submenu' may not appear in tag 'button'. +amp-nested-menu/0.1/test/validator-amp-nested-menu-error.html:31:8 The attribute 'amp-nested-submenu' may not appear in tag 'button'. | </div> | <!-- Invalid: only buttons, divs, spans and h2-h6 may have submenu open/close attribute --> | <div> | <a amp-nested-submenu-open></a> >> ^~~~~~~~~ -amp-nested-menu/0.1/test/validator-amp-nested-menu-error.html:50:8 The attribute 'amp-nested-submenu-open' may not appear in tag 'a'. (see https://amp.dev/documentation/guides-and-tutorials/learn/spec/amphtml/#links) +amp-nested-menu/0.1/test/validator-amp-nested-menu-error.html:35:8 The attribute 'amp-nested-submenu-open' may not appear in tag 'a'. (see https://amp.dev/documentation/guides-and-tutorials/learn/spec/amphtml/#links) | <h1 amp-nested-submenu-close></h1> >> ^~~~~~~~~ -amp-nested-menu/0.1/test/validator-amp-nested-menu-error.html:51:8 The attribute 'amp-nested-submenu-close' may not appear in tag 'h1'. +amp-nested-menu/0.1/test/validator-amp-nested-menu-error.html:36:8 The attribute 'amp-nested-submenu-close' may not appear in tag 'h1'. | </div> | <!-- Invalid: submenus cannot be inside an amp-accordion --> | <amp-accordion> @@ -77,7 +62,7 @@ amp-nested-menu/0.1/test/validator-amp-nested-menu-error.html:51:8 The attribute | <h4 amp-nested-submenu-open></h4> | <div amp-nested-submenu></div> >> ^~~~~~~~~ -amp-nested-menu/0.1/test/validator-amp-nested-menu-error.html:59:12 The tag 'div amp-nested-menu' may not appear as a descendant of tag 'amp-accordion'. +amp-nested-menu/0.1/test/validator-amp-nested-menu-error.html:44:12 The tag 'div amp-nested-menu' may not appear as a descendant of tag 'amp-accordion'. | </div> | </section> | </amp-accordion> diff --git a/extensions/amp-nested-menu/0.1/test/validator-amp-nested-menu.html b/extensions/amp-nested-menu/0.1/test/validator-amp-nested-menu.html index bbcaca70d2a3..900379e7ff1c 100644 --- a/extensions/amp-nested-menu/0.1/test/validator-amp-nested-menu.html +++ b/extensions/amp-nested-menu/0.1/test/validator-amp-nested-menu.html @@ -1,18 +1,3 @@ -<!-- - Copyright 2019 The AMP HTML Authors. All Rights Reserved. - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS-IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the license. ---> <!-- Test Description: Tests support for the amp-nested-menu tag. diff --git a/extensions/amp-nested-menu/0.1/test/validator-amp-nested-menu.out b/extensions/amp-nested-menu/0.1/test/validator-amp-nested-menu.out index b982937c262a..10cadd46aae0 100644 --- a/extensions/amp-nested-menu/0.1/test/validator-amp-nested-menu.out +++ b/extensions/amp-nested-menu/0.1/test/validator-amp-nested-menu.out @@ -1,20 +1,5 @@ PASS | <!-- -| Copyright 2019 The AMP HTML Authors. All Rights Reserved. -| -| Licensed under the Apache License, Version 2.0 (the "License"); -| you may not use this file except in compliance with the License. -| You may obtain a copy of the License at -| -| http://www.apache.org/licenses/LICENSE-2.0 -| -| Unless required by applicable law or agreed to in writing, software -| distributed under the License is distributed on an "AS-IS" BASIS, -| WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -| See the License for the specific language governing permissions and -| limitations under the license. -| --> -| <!-- | Test Description: | Tests support for the amp-nested-menu tag. | --> diff --git a/extensions/amp-nexxtv-player/0.1/test/validator-amp-nexxtv-player.html b/extensions/amp-nexxtv-player/0.1/test/validator-amp-nexxtv-player.html index 8695ea700644..de23449b06fb 100644 --- a/extensions/amp-nexxtv-player/0.1/test/validator-amp-nexxtv-player.html +++ b/extensions/amp-nexxtv-player/0.1/test/validator-amp-nexxtv-player.html @@ -1,18 +1,3 @@ -<!-- - Copyright 2017 The AMP HTML Authors. All Rights Reserved. - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS-IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the license. ---> <!-- Test Description: Tests for the amp-nexxtv-player tag. diff --git a/extensions/amp-nexxtv-player/0.1/test/validator-amp-nexxtv-player.out b/extensions/amp-nexxtv-player/0.1/test/validator-amp-nexxtv-player.out index 5525cb37fc72..6fae0d774140 100644 --- a/extensions/amp-nexxtv-player/0.1/test/validator-amp-nexxtv-player.out +++ b/extensions/amp-nexxtv-player/0.1/test/validator-amp-nexxtv-player.out @@ -1,20 +1,5 @@ FAIL | <!-- -| Copyright 2017 The AMP HTML Authors. All Rights Reserved. -| -| Licensed under the Apache License, Version 2.0 (the "License"); -| you may not use this file except in compliance with the License. -| You may obtain a copy of the License at -| -| http://www.apache.org/licenses/LICENSE-2.0 -| -| Unless required by applicable law or agreed to in writing, software -| distributed under the License is distributed on an "AS-IS" BASIS, -| WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -| See the License for the specific language governing permissions and -| limitations under the license. -| --> -| <!-- | Test Description: | Tests for the amp-nexxtv-player tag. | --> @@ -55,7 +40,7 @@ FAIL | <!-- invalid, needs data-mediaid --> | <amp-nexxtv-player >> ^~~~~~~~~ -amp-nexxtv-player/0.1/test/validator-amp-nexxtv-player.html:55:4 The mandatory attribute 'data-mediaid' is missing in tag 'amp-nexxtv-player'. (see https://amp.dev/documentation/components/amp-nexxtv-player) +amp-nexxtv-player/0.1/test/validator-amp-nexxtv-player.html:40:4 The mandatory attribute 'data-mediaid' is missing in tag 'amp-nexxtv-player'. (see https://amp.dev/documentation/components/amp-nexxtv-player) | data-client="761" | width="480" height="270" | ></amp-nexxtv-player> @@ -63,7 +48,7 @@ amp-nexxtv-player/0.1/test/validator-amp-nexxtv-player.html:55:4 The mandatory a | <!-- invalid, needs data-client --> | <amp-nexxtv-player >> ^~~~~~~~~ -amp-nexxtv-player/0.1/test/validator-amp-nexxtv-player.html:61:4 The mandatory attribute 'data-client' is missing in tag 'amp-nexxtv-player'. (see https://amp.dev/documentation/components/amp-nexxtv-player) +amp-nexxtv-player/0.1/test/validator-amp-nexxtv-player.html:46:4 The mandatory attribute 'data-client' is missing in tag 'amp-nexxtv-player'. (see https://amp.dev/documentation/components/amp-nexxtv-player) | data-mediaid="71QQG852413DU7J" | width="480" height="270" | ></amp-nexxtv-player> diff --git a/extensions/amp-o2-player/0.1/test/validator-amp-o2-player.html b/extensions/amp-o2-player/0.1/test/validator-amp-o2-player.html index d87938e9dbb8..5a7534253956 100644 --- a/extensions/amp-o2-player/0.1/test/validator-amp-o2-player.html +++ b/extensions/amp-o2-player/0.1/test/validator-amp-o2-player.html @@ -1,18 +1,3 @@ -<!-- - Copyright 2016 The AMP HTML Authors. All Rights Reserved. - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS-IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the license. ---> <!-- Test Description: Tests support for the amp-o2-player tag. diff --git a/extensions/amp-o2-player/0.1/test/validator-amp-o2-player.out b/extensions/amp-o2-player/0.1/test/validator-amp-o2-player.out index c1c87335e2b5..2ed87d93db1b 100644 --- a/extensions/amp-o2-player/0.1/test/validator-amp-o2-player.out +++ b/extensions/amp-o2-player/0.1/test/validator-amp-o2-player.out @@ -1,20 +1,5 @@ FAIL | <!-- -| Copyright 2016 The AMP HTML Authors. All Rights Reserved. -| -| Licensed under the Apache License, Version 2.0 (the "License"); -| you may not use this file except in compliance with the License. -| You may obtain a copy of the License at -| -| http://www.apache.org/licenses/LICENSE-2.0 -| -| Unless required by applicable law or agreed to in writing, software -| distributed under the License is distributed on an "AS-IS" BASIS, -| WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -| See the License for the specific language governing permissions and -| limitations under the license. -| --> -| <!-- | Test Description: | Tests support for the amp-o2-player tag. | --> @@ -49,7 +34,7 @@ FAIL | leaving it out results in an error. --> | <amp-o2-player >> ^~~~~~~~~ -amp-o2-player/0.1/test/validator-amp-o2-player.html:49:2 The mandatory attribute 'data-bcid' is missing in tag 'amp-o2-player'. (see https://amp.dev/documentation/components/amp-o2-player) +amp-o2-player/0.1/test/validator-amp-o2-player.html:34:2 The mandatory attribute 'data-bcid' is missing in tag 'amp-o2-player'. (see https://amp.dev/documentation/components/amp-o2-player) | data-pid="573d9bf1e4b02a3388f42c36" | layout="responsive" width="480" height="270"> | </amp-o2-player> @@ -58,7 +43,7 @@ amp-o2-player/0.1/test/validator-amp-o2-player.html:49:2 The mandatory attribute | leaving it out results in an error. --> | <amp-o2-player >> ^~~~~~~~~ -amp-o2-player/0.1/test/validator-amp-o2-player.html:56:2 The mandatory attribute 'data-pid' is missing in tag 'amp-o2-player'. (see https://amp.dev/documentation/components/amp-o2-player) +amp-o2-player/0.1/test/validator-amp-o2-player.html:41:2 The mandatory attribute 'data-pid' is missing in tag 'amp-o2-player'. (see https://amp.dev/documentation/components/amp-o2-player) | data-bcid="50d595ec0364e95588c77bd2" | layout="responsive" width="480" height="270"> | </amp-o2-player> diff --git a/extensions/amp-onetap-google/0.1/test/validator-amp-onetap-google.html b/extensions/amp-onetap-google/0.1/test/validator-amp-onetap-google.html index ef717a7e3b19..840846370f01 100644 --- a/extensions/amp-onetap-google/0.1/test/validator-amp-onetap-google.html +++ b/extensions/amp-onetap-google/0.1/test/validator-amp-onetap-google.html @@ -1,18 +1,3 @@ -<!-- - Copyright 2020 The AMP HTML Authors. All Rights Reserved. - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS-IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the license. ---> <!-- Test Description: Tests for the amp-onetap-google tag. See the inline comments. diff --git a/extensions/amp-onetap-google/0.1/test/validator-amp-onetap-google.out b/extensions/amp-onetap-google/0.1/test/validator-amp-onetap-google.out index 3e8f8e84f1d0..6ce5e9d89ce9 100644 --- a/extensions/amp-onetap-google/0.1/test/validator-amp-onetap-google.out +++ b/extensions/amp-onetap-google/0.1/test/validator-amp-onetap-google.out @@ -1,20 +1,5 @@ FAIL | <!-- -| Copyright 2020 The AMP HTML Authors. All Rights Reserved. -| -| Licensed under the Apache License, Version 2.0 (the "License"); -| you may not use this file except in compliance with the License. -| You may obtain a copy of the License at -| -| http://www.apache.org/licenses/LICENSE-2.0 -| -| Unless required by applicable law or agreed to in writing, software -| distributed under the License is distributed on an "AS-IS" BASIS, -| WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -| See the License for the specific language governing permissions and -| limitations under the license. -| --> -| <!-- | Test Description: | Tests for the amp-onetap-google tag. See the inline comments. | --> @@ -36,13 +21,13 @@ FAIL | <!-- Invalid: Not unique --> | <amp-onetap-google layout="nodisplay" data-src="https://example.com/one-tap-impl"> >> ^~~~~~~~~ -amp-onetap-google/0.1/test/validator-amp-onetap-google.html:36:2 The tag 'amp-onetap-google' appears more than once in the document. (see https://amp.dev/documentation/components/amp-onetap-google) +amp-onetap-google/0.1/test/validator-amp-onetap-google.html:21:2 The tag 'amp-onetap-google' appears more than once in the document. (see https://amp.dev/documentation/components/amp-onetap-google) | </amp-onetap-google> | | <!-- Invalid: No data-src --> | <amp-onetap-google layout="nodisplay"> >> ^~~~~~~~~ -amp-onetap-google/0.1/test/validator-amp-onetap-google.html:40:2 The mandatory attribute 'data-src' is missing in tag 'amp-onetap-google'. (see https://amp.dev/documentation/components/amp-onetap-google) +amp-onetap-google/0.1/test/validator-amp-onetap-google.html:25:2 The mandatory attribute 'data-src' is missing in tag 'amp-onetap-google'. (see https://amp.dev/documentation/components/amp-onetap-google) | </amp-onetap-google> | </body> | </html> diff --git a/extensions/amp-ooyala-player/0.1/test/validator-amp-ooyala.html b/extensions/amp-ooyala-player/0.1/test/validator-amp-ooyala.html index 0fd6085b385d..f88a1a057be7 100644 --- a/extensions/amp-ooyala-player/0.1/test/validator-amp-ooyala.html +++ b/extensions/amp-ooyala-player/0.1/test/validator-amp-ooyala.html @@ -1,18 +1,3 @@ -<!-- - Copyright 2016 The AMP HTML Authors. All Rights Reserved. - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS-IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the license. ---> <!-- Test Description: Tests for the amp-ooyala-player tag. See the inline comments. diff --git a/extensions/amp-ooyala-player/0.1/test/validator-amp-ooyala.out b/extensions/amp-ooyala-player/0.1/test/validator-amp-ooyala.out index 3ff84de7969b..27a5f210e067 100644 --- a/extensions/amp-ooyala-player/0.1/test/validator-amp-ooyala.out +++ b/extensions/amp-ooyala-player/0.1/test/validator-amp-ooyala.out @@ -1,20 +1,5 @@ FAIL | <!-- -| Copyright 2016 The AMP HTML Authors. All Rights Reserved. -| -| Licensed under the Apache License, Version 2.0 (the "License"); -| you may not use this file except in compliance with the License. -| You may obtain a copy of the License at -| -| http://www.apache.org/licenses/LICENSE-2.0 -| -| Unless required by applicable law or agreed to in writing, software -| distributed under the License is distributed on an "AS-IS" BASIS, -| WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -| See the License for the specific language governing permissions and -| limitations under the license. -| --> -| <!-- | Test Description: | Tests for the amp-ooyala-player tag. See the inline comments. | --> @@ -51,7 +36,7 @@ FAIL | <!-- invalid, needs data-pcode --> | <amp-ooyala-player >> ^~~~~~~~~ -amp-ooyala-player/0.1/test/validator-amp-ooyala.html:51:4 The mandatory attribute 'data-pcode' is missing in tag 'amp-ooyala-player'. (see https://amp.dev/documentation/components/amp-ooyala-player) +amp-ooyala-player/0.1/test/validator-amp-ooyala.html:36:4 The mandatory attribute 'data-pcode' is missing in tag 'amp-ooyala-player'. (see https://amp.dev/documentation/components/amp-ooyala-player) | height=400 | width=400 | data-embedcode="93eGs5MDE6dQ-pp527TpHmaFz4zuU9aX" @@ -61,7 +46,7 @@ amp-ooyala-player/0.1/test/validator-amp-ooyala.html:51:4 The mandatory attribut | <!-- invalid, needs data-embedcode --> | <amp-ooyala-player >> ^~~~~~~~~ -amp-ooyala-player/0.1/test/validator-amp-ooyala.html:59:4 The mandatory attribute 'data-embedcode' is missing in tag 'amp-ooyala-player'. (see https://amp.dev/documentation/components/amp-ooyala-player) +amp-ooyala-player/0.1/test/validator-amp-ooyala.html:44:4 The mandatory attribute 'data-embedcode' is missing in tag 'amp-ooyala-player'. (see https://amp.dev/documentation/components/amp-ooyala-player) | height=400 | width=400 | data-pcode="p0cW46sbRY1PxXueRVL2a_4BfdFz" @@ -71,7 +56,7 @@ amp-ooyala-player/0.1/test/validator-amp-ooyala.html:59:4 The mandatory attribut | <!-- invalid, needs data-playerid --> | <amp-ooyala-player >> ^~~~~~~~~ -amp-ooyala-player/0.1/test/validator-amp-ooyala.html:67:4 The mandatory attribute 'data-playerid' is missing in tag 'amp-ooyala-player'. (see https://amp.dev/documentation/components/amp-ooyala-player) +amp-ooyala-player/0.1/test/validator-amp-ooyala.html:52:4 The mandatory attribute 'data-playerid' is missing in tag 'amp-ooyala-player'. (see https://amp.dev/documentation/components/amp-ooyala-player) | height=400 | width=400 | data-embedcode="93eGs5MDE6dQ-pp527TpHmaFz4zuU9aX" diff --git a/extensions/amp-orientation-observer/0.1/test/validator-amp-orientation-observer.html b/extensions/amp-orientation-observer/0.1/test/validator-amp-orientation-observer.html index fec28d21247f..9ba8a3ba5042 100644 --- a/extensions/amp-orientation-observer/0.1/test/validator-amp-orientation-observer.html +++ b/extensions/amp-orientation-observer/0.1/test/validator-amp-orientation-observer.html @@ -1,18 +1,3 @@ -<!-- - Copyright 2017 The AMP HTML Authors. All Rights Reserved. - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS-IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the license. ---> <!-- Test Description: Tests amp-orientation-observer. diff --git a/extensions/amp-orientation-observer/0.1/test/validator-amp-orientation-observer.out b/extensions/amp-orientation-observer/0.1/test/validator-amp-orientation-observer.out index 11d07822b833..e73078e94473 100644 --- a/extensions/amp-orientation-observer/0.1/test/validator-amp-orientation-observer.out +++ b/extensions/amp-orientation-observer/0.1/test/validator-amp-orientation-observer.out @@ -1,20 +1,5 @@ FAIL | <!-- -| Copyright 2017 The AMP HTML Authors. All Rights Reserved. -| -| Licensed under the Apache License, Version 2.0 (the "License"); -| you may not use this file except in compliance with the License. -| You may obtain a copy of the License at -| -| http://www.apache.org/licenses/LICENSE-2.0 -| -| Unless required by applicable law or agreed to in writing, software -| distributed under the License is distributed on an "AS-IS" BASIS, -| WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -| See the License for the specific language governing permissions and -| limitations under the license. -| --> -| <!-- | Test Description: | Tests amp-orientation-observer. | --> @@ -49,87 +34,87 @@ FAIL | <!-- Invalid: missing required layout value --> | <amp-orientation-observer></amp-orientation-observer> >> ^~~~~~~~~ -amp-orientation-observer/0.1/test/validator-amp-orientation-observer.html:49:2 The implied layout 'CONTAINER' is not supported by tag 'amp-orientation-observer'. (see https://amp.dev/documentation/components/amp-orientation-observer) +amp-orientation-observer/0.1/test/validator-amp-orientation-observer.html:34:2 The implied layout 'CONTAINER' is not supported by tag 'amp-orientation-observer'. (see https://amp.dev/documentation/components/amp-orientation-observer) | | <!-- Invalid: alpha-range, beta-range & gamma-range not valid entries --> | <amp-orientation-observer alpha-range="" layout="nodisplay"></amp-orientation-observer> >> ^~~~~~~~~ -amp-orientation-observer/0.1/test/validator-amp-orientation-observer.html:52:2 The attribute 'alpha-range' in tag 'amp-orientation-observer' is set to the invalid value ''. (see https://amp.dev/documentation/components/amp-orientation-observer) +amp-orientation-observer/0.1/test/validator-amp-orientation-observer.html:37:2 The attribute 'alpha-range' in tag 'amp-orientation-observer' is set to the invalid value ''. (see https://amp.dev/documentation/components/amp-orientation-observer) | <amp-orientation-observer alpha-range="foo" layout="nodisplay"></amp-orientation-observer> >> ^~~~~~~~~ -amp-orientation-observer/0.1/test/validator-amp-orientation-observer.html:53:2 The attribute 'alpha-range' in tag 'amp-orientation-observer' is set to the invalid value 'foo'. (see https://amp.dev/documentation/components/amp-orientation-observer) +amp-orientation-observer/0.1/test/validator-amp-orientation-observer.html:38:2 The attribute 'alpha-range' in tag 'amp-orientation-observer' is set to the invalid value 'foo'. (see https://amp.dev/documentation/components/amp-orientation-observer) | <amp-orientation-observer alpha-range="100fx" layout="nodisplay"></amp-orientation-observer> >> ^~~~~~~~~ -amp-orientation-observer/0.1/test/validator-amp-orientation-observer.html:54:2 The attribute 'alpha-range' in tag 'amp-orientation-observer' is set to the invalid value '100fx'. (see https://amp.dev/documentation/components/amp-orientation-observer) +amp-orientation-observer/0.1/test/validator-amp-orientation-observer.html:39:2 The attribute 'alpha-range' in tag 'amp-orientation-observer' is set to the invalid value '100fx'. (see https://amp.dev/documentation/components/amp-orientation-observer) | <amp-orientation-observer alpha-range="100 a" layout="nodisplay"></amp-orientation-observer> >> ^~~~~~~~~ -amp-orientation-observer/0.1/test/validator-amp-orientation-observer.html:55:2 The attribute 'alpha-range' in tag 'amp-orientation-observer' is set to the invalid value '100 a'. (see https://amp.dev/documentation/components/amp-orientation-observer) +amp-orientation-observer/0.1/test/validator-amp-orientation-observer.html:40:2 The attribute 'alpha-range' in tag 'amp-orientation-observer' is set to the invalid value '100 a'. (see https://amp.dev/documentation/components/amp-orientation-observer) | <amp-orientation-observer alpha-range="100 100 100" layout="nodisplay"></amp-orientation-observer> >> ^~~~~~~~~ -amp-orientation-observer/0.1/test/validator-amp-orientation-observer.html:56:2 The attribute 'alpha-range' in tag 'amp-orientation-observer' is set to the invalid value '100 100 100'. (see https://amp.dev/documentation/components/amp-orientation-observer) +amp-orientation-observer/0.1/test/validator-amp-orientation-observer.html:41:2 The attribute 'alpha-range' in tag 'amp-orientation-observer' is set to the invalid value '100 100 100'. (see https://amp.dev/documentation/components/amp-orientation-observer) | <amp-orientation-observer alpha-range="a 100" layout="nodisplay"></amp-orientation-observer> >> ^~~~~~~~~ -amp-orientation-observer/0.1/test/validator-amp-orientation-observer.html:57:2 The attribute 'alpha-range' in tag 'amp-orientation-observer' is set to the invalid value 'a 100'. (see https://amp.dev/documentation/components/amp-orientation-observer) +amp-orientation-observer/0.1/test/validator-amp-orientation-observer.html:42:2 The attribute 'alpha-range' in tag 'amp-orientation-observer' is set to the invalid value 'a 100'. (see https://amp.dev/documentation/components/amp-orientation-observer) | <amp-orientation-observer alpha-range="a b" layout="nodisplay"></amp-orientation-observer> >> ^~~~~~~~~ -amp-orientation-observer/0.1/test/validator-amp-orientation-observer.html:58:2 The attribute 'alpha-range' in tag 'amp-orientation-observer' is set to the invalid value 'a b'. (see https://amp.dev/documentation/components/amp-orientation-observer) +amp-orientation-observer/0.1/test/validator-amp-orientation-observer.html:43:2 The attribute 'alpha-range' in tag 'amp-orientation-observer' is set to the invalid value 'a b'. (see https://amp.dev/documentation/components/amp-orientation-observer) | | <amp-orientation-observer beta-range="" layout="nodisplay"></amp-orientation-observer> >> ^~~~~~~~~ -amp-orientation-observer/0.1/test/validator-amp-orientation-observer.html:60:2 The attribute 'beta-range' in tag 'amp-orientation-observer' is set to the invalid value ''. (see https://amp.dev/documentation/components/amp-orientation-observer) +amp-orientation-observer/0.1/test/validator-amp-orientation-observer.html:45:2 The attribute 'beta-range' in tag 'amp-orientation-observer' is set to the invalid value ''. (see https://amp.dev/documentation/components/amp-orientation-observer) | <amp-orientation-observer beta-range="foo" layout="nodisplay"></amp-orientation-observer> >> ^~~~~~~~~ -amp-orientation-observer/0.1/test/validator-amp-orientation-observer.html:61:2 The attribute 'beta-range' in tag 'amp-orientation-observer' is set to the invalid value 'foo'. (see https://amp.dev/documentation/components/amp-orientation-observer) +amp-orientation-observer/0.1/test/validator-amp-orientation-observer.html:46:2 The attribute 'beta-range' in tag 'amp-orientation-observer' is set to the invalid value 'foo'. (see https://amp.dev/documentation/components/amp-orientation-observer) | <amp-orientation-observer beta-range="100fx" layout="nodisplay"></amp-orientation-observer> >> ^~~~~~~~~ -amp-orientation-observer/0.1/test/validator-amp-orientation-observer.html:62:2 The attribute 'beta-range' in tag 'amp-orientation-observer' is set to the invalid value '100fx'. (see https://amp.dev/documentation/components/amp-orientation-observer) +amp-orientation-observer/0.1/test/validator-amp-orientation-observer.html:47:2 The attribute 'beta-range' in tag 'amp-orientation-observer' is set to the invalid value '100fx'. (see https://amp.dev/documentation/components/amp-orientation-observer) | <amp-orientation-observer beta-range="100 a" layout="nodisplay"></amp-orientation-observer> >> ^~~~~~~~~ -amp-orientation-observer/0.1/test/validator-amp-orientation-observer.html:63:2 The attribute 'beta-range' in tag 'amp-orientation-observer' is set to the invalid value '100 a'. (see https://amp.dev/documentation/components/amp-orientation-observer) +amp-orientation-observer/0.1/test/validator-amp-orientation-observer.html:48:2 The attribute 'beta-range' in tag 'amp-orientation-observer' is set to the invalid value '100 a'. (see https://amp.dev/documentation/components/amp-orientation-observer) | <amp-orientation-observer beta-range="100 100 100" layout="nodisplay"></amp-orientation-observer> >> ^~~~~~~~~ -amp-orientation-observer/0.1/test/validator-amp-orientation-observer.html:64:2 The attribute 'beta-range' in tag 'amp-orientation-observer' is set to the invalid value '100 100 100'. (see https://amp.dev/documentation/components/amp-orientation-observer) +amp-orientation-observer/0.1/test/validator-amp-orientation-observer.html:49:2 The attribute 'beta-range' in tag 'amp-orientation-observer' is set to the invalid value '100 100 100'. (see https://amp.dev/documentation/components/amp-orientation-observer) | <amp-orientation-observer beta-range="a 100" layout="nodisplay"></amp-orientation-observer> >> ^~~~~~~~~ -amp-orientation-observer/0.1/test/validator-amp-orientation-observer.html:65:2 The attribute 'beta-range' in tag 'amp-orientation-observer' is set to the invalid value 'a 100'. (see https://amp.dev/documentation/components/amp-orientation-observer) +amp-orientation-observer/0.1/test/validator-amp-orientation-observer.html:50:2 The attribute 'beta-range' in tag 'amp-orientation-observer' is set to the invalid value 'a 100'. (see https://amp.dev/documentation/components/amp-orientation-observer) | <amp-orientation-observer beta-range="a b" layout="nodisplay"></amp-orientation-observer> >> ^~~~~~~~~ -amp-orientation-observer/0.1/test/validator-amp-orientation-observer.html:66:2 The attribute 'beta-range' in tag 'amp-orientation-observer' is set to the invalid value 'a b'. (see https://amp.dev/documentation/components/amp-orientation-observer) +amp-orientation-observer/0.1/test/validator-amp-orientation-observer.html:51:2 The attribute 'beta-range' in tag 'amp-orientation-observer' is set to the invalid value 'a b'. (see https://amp.dev/documentation/components/amp-orientation-observer) | | <amp-orientation-observer gamma-range="" layout="nodisplay"></amp-orientation-observer> >> ^~~~~~~~~ -amp-orientation-observer/0.1/test/validator-amp-orientation-observer.html:68:2 The attribute 'gamma-range' in tag 'amp-orientation-observer' is set to the invalid value ''. (see https://amp.dev/documentation/components/amp-orientation-observer) +amp-orientation-observer/0.1/test/validator-amp-orientation-observer.html:53:2 The attribute 'gamma-range' in tag 'amp-orientation-observer' is set to the invalid value ''. (see https://amp.dev/documentation/components/amp-orientation-observer) | <amp-orientation-observer gamma-range="foo" layout="nodisplay"></amp-orientation-observer> >> ^~~~~~~~~ -amp-orientation-observer/0.1/test/validator-amp-orientation-observer.html:69:2 The attribute 'gamma-range' in tag 'amp-orientation-observer' is set to the invalid value 'foo'. (see https://amp.dev/documentation/components/amp-orientation-observer) +amp-orientation-observer/0.1/test/validator-amp-orientation-observer.html:54:2 The attribute 'gamma-range' in tag 'amp-orientation-observer' is set to the invalid value 'foo'. (see https://amp.dev/documentation/components/amp-orientation-observer) | <amp-orientation-observer gamma-range="100fx" layout="nodisplay"></amp-orientation-observer> >> ^~~~~~~~~ -amp-orientation-observer/0.1/test/validator-amp-orientation-observer.html:70:2 The attribute 'gamma-range' in tag 'amp-orientation-observer' is set to the invalid value '100fx'. (see https://amp.dev/documentation/components/amp-orientation-observer) +amp-orientation-observer/0.1/test/validator-amp-orientation-observer.html:55:2 The attribute 'gamma-range' in tag 'amp-orientation-observer' is set to the invalid value '100fx'. (see https://amp.dev/documentation/components/amp-orientation-observer) | <amp-orientation-observer gamma-range="100 a" layout="nodisplay"></amp-orientation-observer> >> ^~~~~~~~~ -amp-orientation-observer/0.1/test/validator-amp-orientation-observer.html:71:2 The attribute 'gamma-range' in tag 'amp-orientation-observer' is set to the invalid value '100 a'. (see https://amp.dev/documentation/components/amp-orientation-observer) +amp-orientation-observer/0.1/test/validator-amp-orientation-observer.html:56:2 The attribute 'gamma-range' in tag 'amp-orientation-observer' is set to the invalid value '100 a'. (see https://amp.dev/documentation/components/amp-orientation-observer) | <amp-orientation-observer gamma-range="100 100 100" layout="nodisplay"></amp-orientation-observer> >> ^~~~~~~~~ -amp-orientation-observer/0.1/test/validator-amp-orientation-observer.html:72:2 The attribute 'gamma-range' in tag 'amp-orientation-observer' is set to the invalid value '100 100 100'. (see https://amp.dev/documentation/components/amp-orientation-observer) +amp-orientation-observer/0.1/test/validator-amp-orientation-observer.html:57:2 The attribute 'gamma-range' in tag 'amp-orientation-observer' is set to the invalid value '100 100 100'. (see https://amp.dev/documentation/components/amp-orientation-observer) | <amp-orientation-observer gamma-range="a 100" layout="nodisplay"></amp-orientation-observer> >> ^~~~~~~~~ -amp-orientation-observer/0.1/test/validator-amp-orientation-observer.html:73:2 The attribute 'gamma-range' in tag 'amp-orientation-observer' is set to the invalid value 'a 100'. (see https://amp.dev/documentation/components/amp-orientation-observer) +amp-orientation-observer/0.1/test/validator-amp-orientation-observer.html:58:2 The attribute 'gamma-range' in tag 'amp-orientation-observer' is set to the invalid value 'a 100'. (see https://amp.dev/documentation/components/amp-orientation-observer) | <amp-orientation-observer gamma-range="a b" layout="nodisplay"></amp-orientation-observer> >> ^~~~~~~~~ -amp-orientation-observer/0.1/test/validator-amp-orientation-observer.html:74:2 The attribute 'gamma-range' in tag 'amp-orientation-observer' is set to the invalid value 'a b'. (see https://amp.dev/documentation/components/amp-orientation-observer) +amp-orientation-observer/0.1/test/validator-amp-orientation-observer.html:59:2 The attribute 'gamma-range' in tag 'amp-orientation-observer' is set to the invalid value 'a b'. (see https://amp.dev/documentation/components/amp-orientation-observer) | | <!-- Invalid: smoothing value not valid --> | <amp-orientation-observer smoothing="b" layout="nodisplay"></amp-orientation-observer> >> ^~~~~~~~~ -amp-orientation-observer/0.1/test/validator-amp-orientation-observer.html:77:2 The attribute 'smoothing' in tag 'amp-orientation-observer' is set to the invalid value 'b'. (see https://amp.dev/documentation/components/amp-orientation-observer) +amp-orientation-observer/0.1/test/validator-amp-orientation-observer.html:62:2 The attribute 'smoothing' in tag 'amp-orientation-observer' is set to the invalid value 'b'. (see https://amp.dev/documentation/components/amp-orientation-observer) | <amp-orientation-observer smoothing="2.5" layout="nodisplay"></amp-orientation-observer> >> ^~~~~~~~~ -amp-orientation-observer/0.1/test/validator-amp-orientation-observer.html:78:2 The attribute 'smoothing' in tag 'amp-orientation-observer' is set to the invalid value '2.5'. (see https://amp.dev/documentation/components/amp-orientation-observer) +amp-orientation-observer/0.1/test/validator-amp-orientation-observer.html:63:2 The attribute 'smoothing' in tag 'amp-orientation-observer' is set to the invalid value '2.5'. (see https://amp.dev/documentation/components/amp-orientation-observer) | <amp-orientation-observer smoothing="0.5" layout="nodisplay"></amp-orientation-observer> >> ^~~~~~~~~ -amp-orientation-observer/0.1/test/validator-amp-orientation-observer.html:79:2 The attribute 'smoothing' in tag 'amp-orientation-observer' is set to the invalid value '0.5'. (see https://amp.dev/documentation/components/amp-orientation-observer) +amp-orientation-observer/0.1/test/validator-amp-orientation-observer.html:64:2 The attribute 'smoothing' in tag 'amp-orientation-observer' is set to the invalid value '0.5'. (see https://amp.dev/documentation/components/amp-orientation-observer) | <amp-orientation-observer smoothing="-5" layout="nodisplay"></amp-orientation-observer> >> ^~~~~~~~~ -amp-orientation-observer/0.1/test/validator-amp-orientation-observer.html:80:2 The attribute 'smoothing' in tag 'amp-orientation-observer' is set to the invalid value '-5'. (see https://amp.dev/documentation/components/amp-orientation-observer) +amp-orientation-observer/0.1/test/validator-amp-orientation-observer.html:65:2 The attribute 'smoothing' in tag 'amp-orientation-observer' is set to the invalid value '-5'. (see https://amp.dev/documentation/components/amp-orientation-observer) | </body> | </html> diff --git a/extensions/amp-pan-zoom/0.1/test/validator-amp-pan-zoom.html b/extensions/amp-pan-zoom/0.1/test/validator-amp-pan-zoom.html index 419bcdec8440..792dbc5a2598 100644 --- a/extensions/amp-pan-zoom/0.1/test/validator-amp-pan-zoom.html +++ b/extensions/amp-pan-zoom/0.1/test/validator-amp-pan-zoom.html @@ -1,18 +1,3 @@ -<!-- - Copyright 2018 The AMP HTML Authors. All Rights Reserved. - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS-IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the license. ---> <!-- Test Description: Tests support for the amp-pan-zoom tag. diff --git a/extensions/amp-pan-zoom/0.1/test/validator-amp-pan-zoom.out b/extensions/amp-pan-zoom/0.1/test/validator-amp-pan-zoom.out index 93738059714d..9f989ba586ff 100644 --- a/extensions/amp-pan-zoom/0.1/test/validator-amp-pan-zoom.out +++ b/extensions/amp-pan-zoom/0.1/test/validator-amp-pan-zoom.out @@ -1,20 +1,5 @@ FAIL | <!-- -| Copyright 2018 The AMP HTML Authors. All Rights Reserved. -| -| Licensed under the Apache License, Version 2.0 (the "License"); -| you may not use this file except in compliance with the License. -| You may obtain a copy of the License at -| -| http://www.apache.org/licenses/LICENSE-2.0 -| -| Unless required by applicable law or agreed to in writing, software -| distributed under the License is distributed on an "AS-IS" BASIS, -| WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -| See the License for the specific language governing permissions and -| limitations under the license. -| --> -| <!-- | Test Description: | Tests support for the amp-pan-zoom tag. | --> @@ -65,13 +50,13 @@ FAIL | <!-- Invalid configuration example --> | <amp-pan-zoom layout="responsive" >> ^~~~~~~~~ -amp-pan-zoom/0.1/test/validator-amp-pan-zoom.html:65:4 The attribute 'initial-scale' in tag 'amp-pan-zoom' is set to the invalid value ''. (see https://amp.dev/documentation/components/amp-pan-zoom) +amp-pan-zoom/0.1/test/validator-amp-pan-zoom.html:50:4 The attribute 'initial-scale' in tag 'amp-pan-zoom' is set to the invalid value ''. (see https://amp.dev/documentation/components/amp-pan-zoom) >> ^~~~~~~~~ -amp-pan-zoom/0.1/test/validator-amp-pan-zoom.html:65:4 The attribute 'initial-x' in tag 'amp-pan-zoom' is set to the invalid value 'abc'. (see https://amp.dev/documentation/components/amp-pan-zoom) +amp-pan-zoom/0.1/test/validator-amp-pan-zoom.html:50:4 The attribute 'initial-x' in tag 'amp-pan-zoom' is set to the invalid value 'abc'. (see https://amp.dev/documentation/components/amp-pan-zoom) >> ^~~~~~~~~ -amp-pan-zoom/0.1/test/validator-amp-pan-zoom.html:65:4 The attribute 'initial-y' in tag 'amp-pan-zoom' is set to the invalid value ''. (see https://amp.dev/documentation/components/amp-pan-zoom) +amp-pan-zoom/0.1/test/validator-amp-pan-zoom.html:50:4 The attribute 'initial-y' in tag 'amp-pan-zoom' is set to the invalid value ''. (see https://amp.dev/documentation/components/amp-pan-zoom) >> ^~~~~~~~~ -amp-pan-zoom/0.1/test/validator-amp-pan-zoom.html:65:4 The attribute 'max-scale' in tag 'amp-pan-zoom' is set to the invalid value '3ex3'. (see https://amp.dev/documentation/components/amp-pan-zoom) +amp-pan-zoom/0.1/test/validator-amp-pan-zoom.html:50:4 The attribute 'max-scale' in tag 'amp-pan-zoom' is set to the invalid value '3ex3'. (see https://amp.dev/documentation/components/amp-pan-zoom) | width="1" | height="1" | initial-x="abc" diff --git a/extensions/amp-pinterest/0.1/test/validator-amp-pinterest.html b/extensions/amp-pinterest/0.1/test/validator-amp-pinterest.html index c36631ce19ee..ae2f7a2d51c5 100644 --- a/extensions/amp-pinterest/0.1/test/validator-amp-pinterest.html +++ b/extensions/amp-pinterest/0.1/test/validator-amp-pinterest.html @@ -1,18 +1,3 @@ -<!-- - Copyright 2015 The AMP HTML Authors. All Rights Reserved. - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS-IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the license. ---> <!-- Test Description: Tests support for the amp-pinterest tag. diff --git a/extensions/amp-pinterest/0.1/test/validator-amp-pinterest.out b/extensions/amp-pinterest/0.1/test/validator-amp-pinterest.out index 290e4545ebf0..482e86e41548 100644 --- a/extensions/amp-pinterest/0.1/test/validator-amp-pinterest.out +++ b/extensions/amp-pinterest/0.1/test/validator-amp-pinterest.out @@ -1,20 +1,5 @@ PASS | <!-- -| Copyright 2015 The AMP HTML Authors. All Rights Reserved. -| -| Licensed under the Apache License, Version 2.0 (the "License"); -| you may not use this file except in compliance with the License. -| You may obtain a copy of the License at -| -| http://www.apache.org/licenses/LICENSE-2.0 -| -| Unless required by applicable law or agreed to in writing, software -| distributed under the License is distributed on an "AS-IS" BASIS, -| WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -| See the License for the specific language governing permissions and -| limitations under the license. -| --> -| <!-- | Test Description: | Tests support for the amp-pinterest tag. | --> diff --git a/extensions/amp-playbuzz/0.1/test/validator-amp-playbuzz.html b/extensions/amp-playbuzz/0.1/test/validator-amp-playbuzz.html index 5362534ddc4b..b620f5a0acb3 100644 --- a/extensions/amp-playbuzz/0.1/test/validator-amp-playbuzz.html +++ b/extensions/amp-playbuzz/0.1/test/validator-amp-playbuzz.html @@ -1,18 +1,3 @@ -<!-- - Copyright 2015 The AMP HTML Authors. All Rights Reserved. - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS-IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the license. ---> <!-- Test Description: Tests amp-playbuzz diff --git a/extensions/amp-playbuzz/0.1/test/validator-amp-playbuzz.out b/extensions/amp-playbuzz/0.1/test/validator-amp-playbuzz.out index fa91853a6959..a5c67f87089b 100644 --- a/extensions/amp-playbuzz/0.1/test/validator-amp-playbuzz.out +++ b/extensions/amp-playbuzz/0.1/test/validator-amp-playbuzz.out @@ -1,20 +1,5 @@ PASS | <!-- -| Copyright 2015 The AMP HTML Authors. All Rights Reserved. -| -| Licensed under the Apache License, Version 2.0 (the "License"); -| you may not use this file except in compliance with the License. -| You may obtain a copy of the License at -| -| http://www.apache.org/licenses/LICENSE-2.0 -| -| Unless required by applicable law or agreed to in writing, software -| distributed under the License is distributed on an "AS-IS" BASIS, -| WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -| See the License for the specific language governing permissions and -| limitations under the license. -| --> -| <!-- | Test Description: | Tests amp-playbuzz | --> diff --git a/extensions/amp-position-observer/0.1/test/validator-amp-position-observer.html b/extensions/amp-position-observer/0.1/test/validator-amp-position-observer.html index e704c7a33f3b..f8ea45351631 100644 --- a/extensions/amp-position-observer/0.1/test/validator-amp-position-observer.html +++ b/extensions/amp-position-observer/0.1/test/validator-amp-position-observer.html @@ -1,18 +1,3 @@ -<!-- - Copyright 2017 The AMP HTML Authors. All Rights Reserved. - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS-IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the license. ---> <!-- Test Description: Tests amp-position-observer. diff --git a/extensions/amp-position-observer/0.1/test/validator-amp-position-observer.out b/extensions/amp-position-observer/0.1/test/validator-amp-position-observer.out index 42774e883d8a..fb5de37de3aa 100644 --- a/extensions/amp-position-observer/0.1/test/validator-amp-position-observer.out +++ b/extensions/amp-position-observer/0.1/test/validator-amp-position-observer.out @@ -1,20 +1,5 @@ FAIL | <!-- -| Copyright 2017 The AMP HTML Authors. All Rights Reserved. -| -| Licensed under the Apache License, Version 2.0 (the "License"); -| you may not use this file except in compliance with the License. -| You may obtain a copy of the License at -| -| http://www.apache.org/licenses/LICENSE-2.0 -| -| Unless required by applicable law or agreed to in writing, software -| distributed under the License is distributed on an "AS-IS" BASIS, -| WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -| See the License for the specific language governing permissions and -| limitations under the license. -| --> -| <!-- | Test Description: | Tests amp-position-observer. | --> @@ -54,68 +39,68 @@ FAIL | <!-- Invalid: missing required layout value --> | <amp-position-observer></amp-position-observer> >> ^~~~~~~~~ -amp-position-observer/0.1/test/validator-amp-position-observer.html:54:2 The implied layout 'CONTAINER' is not supported by tag 'amp-position-observer'. (see https://amp.dev/documentation/components/amp-position-observer) +amp-position-observer/0.1/test/validator-amp-position-observer.html:39:2 The implied layout 'CONTAINER' is not supported by tag 'amp-position-observer'. (see https://amp.dev/documentation/components/amp-position-observer) | <!-- Invalid: interesection-ratios not valid entries --> | <amp-position-observer intersection-ratios="" layout="nodisplay"></amp-position-observer> >> ^~~~~~~~~ -amp-position-observer/0.1/test/validator-amp-position-observer.html:56:2 The attribute 'intersection-ratios' in tag 'amp-position-observer' is set to the invalid value ''. (see https://amp.dev/documentation/components/amp-position-observer) +amp-position-observer/0.1/test/validator-amp-position-observer.html:41:2 The attribute 'intersection-ratios' in tag 'amp-position-observer' is set to the invalid value ''. (see https://amp.dev/documentation/components/amp-position-observer) | <amp-position-observer intersection-ratios="1.1" layout="nodisplay"></amp-position-observer> >> ^~~~~~~~~ -amp-position-observer/0.1/test/validator-amp-position-observer.html:57:2 The attribute 'intersection-ratios' in tag 'amp-position-observer' is set to the invalid value '1.1'. (see https://amp.dev/documentation/components/amp-position-observer) +amp-position-observer/0.1/test/validator-amp-position-observer.html:42:2 The attribute 'intersection-ratios' in tag 'amp-position-observer' is set to the invalid value '1.1'. (see https://amp.dev/documentation/components/amp-position-observer) | <amp-position-observer intersection-ratios="0.b" layout="nodisplay"></amp-position-observer> >> ^~~~~~~~~ -amp-position-observer/0.1/test/validator-amp-position-observer.html:58:2 The attribute 'intersection-ratios' in tag 'amp-position-observer' is set to the invalid value '0.b'. (see https://amp.dev/documentation/components/amp-position-observer) +amp-position-observer/0.1/test/validator-amp-position-observer.html:43:2 The attribute 'intersection-ratios' in tag 'amp-position-observer' is set to the invalid value '0.b'. (see https://amp.dev/documentation/components/amp-position-observer) | <amp-position-observer intersection-ratios="foo" layout="nodisplay"></amp-position-observer> >> ^~~~~~~~~ -amp-position-observer/0.1/test/validator-amp-position-observer.html:59:2 The attribute 'intersection-ratios' in tag 'amp-position-observer' is set to the invalid value 'foo'. (see https://amp.dev/documentation/components/amp-position-observer) +amp-position-observer/0.1/test/validator-amp-position-observer.html:44:2 The attribute 'intersection-ratios' in tag 'amp-position-observer' is set to the invalid value 'foo'. (see https://amp.dev/documentation/components/amp-position-observer) | <amp-position-observer intersection-ratios="3" layout="nodisplay"></amp-position-observer> >> ^~~~~~~~~ -amp-position-observer/0.1/test/validator-amp-position-observer.html:60:2 The attribute 'intersection-ratios' in tag 'amp-position-observer' is set to the invalid value '3'. (see https://amp.dev/documentation/components/amp-position-observer) +amp-position-observer/0.1/test/validator-amp-position-observer.html:45:2 The attribute 'intersection-ratios' in tag 'amp-position-observer' is set to the invalid value '3'. (see https://amp.dev/documentation/components/amp-position-observer) | <amp-position-observer intersection-ratios="0.a 0.b" layout="nodisplay"></amp-position-observer> >> ^~~~~~~~~ -amp-position-observer/0.1/test/validator-amp-position-observer.html:61:2 The attribute 'intersection-ratios' in tag 'amp-position-observer' is set to the invalid value '0.a 0.b'. (see https://amp.dev/documentation/components/amp-position-observer) +amp-position-observer/0.1/test/validator-amp-position-observer.html:46:2 The attribute 'intersection-ratios' in tag 'amp-position-observer' is set to the invalid value '0.a 0.b'. (see https://amp.dev/documentation/components/amp-position-observer) | <amp-position-observer intersection-ratios="0.5 foo" layout="nodisplay"></amp-position-observer> >> ^~~~~~~~~ -amp-position-observer/0.1/test/validator-amp-position-observer.html:62:2 The attribute 'intersection-ratios' in tag 'amp-position-observer' is set to the invalid value '0.5 foo'. (see https://amp.dev/documentation/components/amp-position-observer) +amp-position-observer/0.1/test/validator-amp-position-observer.html:47:2 The attribute 'intersection-ratios' in tag 'amp-position-observer' is set to the invalid value '0.5 foo'. (see https://amp.dev/documentation/components/amp-position-observer) | <amp-position-observer intersection-ratios="0.5 1.1" layout="nodisplay"></amp-position-observer> >> ^~~~~~~~~ -amp-position-observer/0.1/test/validator-amp-position-observer.html:63:2 The attribute 'intersection-ratios' in tag 'amp-position-observer' is set to the invalid value '0.5 1.1'. (see https://amp.dev/documentation/components/amp-position-observer) +amp-position-observer/0.1/test/validator-amp-position-observer.html:48:2 The attribute 'intersection-ratios' in tag 'amp-position-observer' is set to the invalid value '0.5 1.1'. (see https://amp.dev/documentation/components/amp-position-observer) | <amp-position-observer intersection-ratios="0.5 4" layout="nodisplay"></amp-position-observer> >> ^~~~~~~~~ -amp-position-observer/0.1/test/validator-amp-position-observer.html:64:2 The attribute 'intersection-ratios' in tag 'amp-position-observer' is set to the invalid value '0.5 4'. (see https://amp.dev/documentation/components/amp-position-observer) +amp-position-observer/0.1/test/validator-amp-position-observer.html:49:2 The attribute 'intersection-ratios' in tag 'amp-position-observer' is set to the invalid value '0.5 4'. (see https://amp.dev/documentation/components/amp-position-observer) | <amp-position-observer intersection-ratios="foo 0.5" layout="nodisplay"></amp-position-observer> >> ^~~~~~~~~ -amp-position-observer/0.1/test/validator-amp-position-observer.html:65:2 The attribute 'intersection-ratios' in tag 'amp-position-observer' is set to the invalid value 'foo 0.5'. (see https://amp.dev/documentation/components/amp-position-observer) +amp-position-observer/0.1/test/validator-amp-position-observer.html:50:2 The attribute 'intersection-ratios' in tag 'amp-position-observer' is set to the invalid value 'foo 0.5'. (see https://amp.dev/documentation/components/amp-position-observer) | <amp-position-observer intersection-ratios="1.1 0.5" layout="nodisplay"></amp-position-observer> >> ^~~~~~~~~ -amp-position-observer/0.1/test/validator-amp-position-observer.html:66:2 The attribute 'intersection-ratios' in tag 'amp-position-observer' is set to the invalid value '1.1 0.5'. (see https://amp.dev/documentation/components/amp-position-observer) +amp-position-observer/0.1/test/validator-amp-position-observer.html:51:2 The attribute 'intersection-ratios' in tag 'amp-position-observer' is set to the invalid value '1.1 0.5'. (see https://amp.dev/documentation/components/amp-position-observer) | <amp-position-observer intersection-ratios="4 0.5" layout="nodisplay"></amp-position-observer> >> ^~~~~~~~~ -amp-position-observer/0.1/test/validator-amp-position-observer.html:67:2 The attribute 'intersection-ratios' in tag 'amp-position-observer' is set to the invalid value '4 0.5'. (see https://amp.dev/documentation/components/amp-position-observer) +amp-position-observer/0.1/test/validator-amp-position-observer.html:52:2 The attribute 'intersection-ratios' in tag 'amp-position-observer' is set to the invalid value '4 0.5'. (see https://amp.dev/documentation/components/amp-position-observer) | <!-- Invalid: viewport-margins not valid entries --> | <amp-position-observer viewport-margins="" layout="nodisplay"></amp-position-observer> >> ^~~~~~~~~ -amp-position-observer/0.1/test/validator-amp-position-observer.html:69:2 The attribute 'viewport-margins' in tag 'amp-position-observer' is set to the invalid value ''. (see https://amp.dev/documentation/components/amp-position-observer) +amp-position-observer/0.1/test/validator-amp-position-observer.html:54:2 The attribute 'viewport-margins' in tag 'amp-position-observer' is set to the invalid value ''. (see https://amp.dev/documentation/components/amp-position-observer) | <amp-position-observer viewport-margins="foo" layout="nodisplay"></amp-position-observer> >> ^~~~~~~~~ -amp-position-observer/0.1/test/validator-amp-position-observer.html:70:2 The attribute 'viewport-margins' in tag 'amp-position-observer' is set to the invalid value 'foo'. (see https://amp.dev/documentation/components/amp-position-observer) +amp-position-observer/0.1/test/validator-amp-position-observer.html:55:2 The attribute 'viewport-margins' in tag 'amp-position-observer' is set to the invalid value 'foo'. (see https://amp.dev/documentation/components/amp-position-observer) | <amp-position-observer viewport-margins="100fx" layout="nodisplay"></amp-position-observer> >> ^~~~~~~~~ -amp-position-observer/0.1/test/validator-amp-position-observer.html:71:2 The attribute 'viewport-margins' in tag 'amp-position-observer' is set to the invalid value '100fx'. (see https://amp.dev/documentation/components/amp-position-observer) +amp-position-observer/0.1/test/validator-amp-position-observer.html:56:2 The attribute 'viewport-margins' in tag 'amp-position-observer' is set to the invalid value '100fx'. (see https://amp.dev/documentation/components/amp-position-observer) | <amp-position-observer viewport-margins="100vx" layout="nodisplay"></amp-position-observer> >> ^~~~~~~~~ -amp-position-observer/0.1/test/validator-amp-position-observer.html:72:2 The attribute 'viewport-margins' in tag 'amp-position-observer' is set to the invalid value '100vx'. (see https://amp.dev/documentation/components/amp-position-observer) +amp-position-observer/0.1/test/validator-amp-position-observer.html:57:2 The attribute 'viewport-margins' in tag 'amp-position-observer' is set to the invalid value '100vx'. (see https://amp.dev/documentation/components/amp-position-observer) | <amp-position-observer viewport-margins="100 100vx" layout="nodisplay"></amp-position-observer> >> ^~~~~~~~~ -amp-position-observer/0.1/test/validator-amp-position-observer.html:73:2 The attribute 'viewport-margins' in tag 'amp-position-observer' is set to the invalid value '100 100vx'. (see https://amp.dev/documentation/components/amp-position-observer) +amp-position-observer/0.1/test/validator-amp-position-observer.html:58:2 The attribute 'viewport-margins' in tag 'amp-position-observer' is set to the invalid value '100 100vx'. (see https://amp.dev/documentation/components/amp-position-observer) | <amp-position-observer viewport-margins="100vh 100vx" layout="nodisplay"></amp-position-observer> >> ^~~~~~~~~ -amp-position-observer/0.1/test/validator-amp-position-observer.html:74:2 The attribute 'viewport-margins' in tag 'amp-position-observer' is set to the invalid value '100vh 100vx'. (see https://amp.dev/documentation/components/amp-position-observer) +amp-position-observer/0.1/test/validator-amp-position-observer.html:59:2 The attribute 'viewport-margins' in tag 'amp-position-observer' is set to the invalid value '100vh 100vx'. (see https://amp.dev/documentation/components/amp-position-observer) | <amp-position-observer viewport-margins="100fx 100vh" layout="nodisplay"></amp-position-observer> >> ^~~~~~~~~ -amp-position-observer/0.1/test/validator-amp-position-observer.html:75:2 The attribute 'viewport-margins' in tag 'amp-position-observer' is set to the invalid value '100fx 100vh'. (see https://amp.dev/documentation/components/amp-position-observer) +amp-position-observer/0.1/test/validator-amp-position-observer.html:60:2 The attribute 'viewport-margins' in tag 'amp-position-observer' is set to the invalid value '100fx 100vh'. (see https://amp.dev/documentation/components/amp-position-observer) | <amp-position-observer viewport-margins="100vx 100px" layout="nodisplay"></amp-position-observer> >> ^~~~~~~~~ -amp-position-observer/0.1/test/validator-amp-position-observer.html:76:2 The attribute 'viewport-margins' in tag 'amp-position-observer' is set to the invalid value '100vx 100px'. (see https://amp.dev/documentation/components/amp-position-observer) +amp-position-observer/0.1/test/validator-amp-position-observer.html:61:2 The attribute 'viewport-margins' in tag 'amp-position-observer' is set to the invalid value '100vx 100px'. (see https://amp.dev/documentation/components/amp-position-observer) | </body> | </html> diff --git a/extensions/amp-powr-player/0.1/test/validator-amp-powr-player.html b/extensions/amp-powr-player/0.1/test/validator-amp-powr-player.html index 07fb55ce0b26..274b5b10dd86 100644 --- a/extensions/amp-powr-player/0.1/test/validator-amp-powr-player.html +++ b/extensions/amp-powr-player/0.1/test/validator-amp-powr-player.html @@ -1,18 +1,3 @@ -<!-- - Copyright 2018 The AMP HTML Authors. All Rights Reserved. - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS-IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the license. ---> <!-- Test Description: Tests support for the amp-powr-player tag. diff --git a/extensions/amp-powr-player/0.1/test/validator-amp-powr-player.out b/extensions/amp-powr-player/0.1/test/validator-amp-powr-player.out index 7342e69055d8..8fba61b1e35b 100644 --- a/extensions/amp-powr-player/0.1/test/validator-amp-powr-player.out +++ b/extensions/amp-powr-player/0.1/test/validator-amp-powr-player.out @@ -1,20 +1,5 @@ FAIL | <!-- -| Copyright 2018 The AMP HTML Authors. All Rights Reserved. -| -| Licensed under the Apache License, Version 2.0 (the "License"); -| you may not use this file except in compliance with the License. -| You may obtain a copy of the License at -| -| http://www.apache.org/licenses/LICENSE-2.0 -| -| Unless required by applicable law or agreed to in writing, software -| distributed under the License is distributed on an "AS-IS" BASIS, -| WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -| See the License for the specific language governing permissions and -| limitations under the license. -| --> -| <!-- | Test Description: | Tests support for the amp-powr-player tag. | --> @@ -58,7 +43,7 @@ FAIL | leaving it out results in an error. --> | <amp-powr-player >> ^~~~~~~~~ -amp-powr-player/0.1/test/validator-amp-powr-player.html:58:2 The mandatory attribute 'data-account' is missing in tag 'amp-powr-player'. (see https://amp.dev/documentation/components/amp-powr-player/) +amp-powr-player/0.1/test/validator-amp-powr-player.html:43:2 The mandatory attribute 'data-account' is missing in tag 'amp-powr-player'. (see https://amp.dev/documentation/components/amp-powr-player/) | data-player="1" | data-video="ZNImchutXk" | layout="responsive" width="480" height="270"> @@ -68,7 +53,7 @@ amp-powr-player/0.1/test/validator-amp-powr-player.html:58:2 The mandatory attri | leaving it out results in an error. --> | <amp-powr-player >> ^~~~~~~~~ -amp-powr-player/0.1/test/validator-amp-powr-player.html:66:2 The mandatory attribute 'data-player' is missing in tag 'amp-powr-player'. (see https://amp.dev/documentation/components/amp-powr-player/) +amp-powr-player/0.1/test/validator-amp-powr-player.html:51:2 The mandatory attribute 'data-player' is missing in tag 'amp-powr-player'. (see https://amp.dev/documentation/components/amp-powr-player/) | data-account="945" | data-video="ZNImchutXk" | layout="responsive" width="480" height="270"> @@ -78,7 +63,7 @@ amp-powr-player/0.1/test/validator-amp-powr-player.html:66:2 The mandatory attri | leaving it out results in an error. --> | <amp-powr-player >> ^~~~~~~~~ -amp-powr-player/0.1/test/validator-amp-powr-player.html:74:2 The tag 'amp-powr-player' is missing a mandatory attribute - pick one of ['data-video', 'data-terms']. (see https://amp.dev/documentation/components/amp-powr-player/) +amp-powr-player/0.1/test/validator-amp-powr-player.html:59:2 The tag 'amp-powr-player' is missing a mandatory attribute - pick one of ['data-video', 'data-terms']. (see https://amp.dev/documentation/components/amp-powr-player/) | data-account="945" | data-player="1" | layout="responsive" width="480" height="270"> diff --git a/extensions/amp-reach-player/0.1/test/validator-amp-reach-player.html b/extensions/amp-reach-player/0.1/test/validator-amp-reach-player.html index c657364a59e3..ab7d14d2b721 100644 --- a/extensions/amp-reach-player/0.1/test/validator-amp-reach-player.html +++ b/extensions/amp-reach-player/0.1/test/validator-amp-reach-player.html @@ -1,18 +1,3 @@ -<!-- - Copyright 2016 The AMP HTML Authors. All Rights Reserved. - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS-IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the license. ---> <!-- Test Description: Tests support for the amp-reach-player tag. diff --git a/extensions/amp-reach-player/0.1/test/validator-amp-reach-player.out b/extensions/amp-reach-player/0.1/test/validator-amp-reach-player.out index eb3d0e833b06..ad35308001cb 100644 --- a/extensions/amp-reach-player/0.1/test/validator-amp-reach-player.out +++ b/extensions/amp-reach-player/0.1/test/validator-amp-reach-player.out @@ -1,20 +1,5 @@ FAIL | <!-- -| Copyright 2016 The AMP HTML Authors. All Rights Reserved. -| -| Licensed under the Apache License, Version 2.0 (the "License"); -| you may not use this file except in compliance with the License. -| You may obtain a copy of the License at -| -| http://www.apache.org/licenses/LICENSE-2.0 -| -| Unless required by applicable law or agreed to in writing, software -| distributed under the License is distributed on an "AS-IS" BASIS, -| WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -| See the License for the specific language governing permissions and -| limitations under the license. -| --> -| <!-- | Test Description: | Tests support for the amp-reach-player tag. | --> @@ -38,7 +23,7 @@ FAIL | missing value results in an error. --> | <amp-reach-player >> ^~~~~~~~~ -amp-reach-player/0.1/test/validator-amp-reach-player.html:38:2 The mandatory attribute 'data-embed-id' is missing in tag 'amp-reach-player'. (see https://amp.dev/documentation/components/amp-reach-player) +amp-reach-player/0.1/test/validator-amp-reach-player.html:23:2 The mandatory attribute 'data-embed-id' is missing in tag 'amp-reach-player'. (see https://amp.dev/documentation/components/amp-reach-player) | layout="responsive" width="480" height="270"> | </amp-reach-player> | </body> diff --git a/extensions/amp-recaptcha-input/0.1/test/validator-amp-recaptcha-input.html b/extensions/amp-recaptcha-input/0.1/test/validator-amp-recaptcha-input.html index 80134b4cdb74..542be7cae721 100644 --- a/extensions/amp-recaptcha-input/0.1/test/validator-amp-recaptcha-input.html +++ b/extensions/amp-recaptcha-input/0.1/test/validator-amp-recaptcha-input.html @@ -1,18 +1,3 @@ -<!-- - Copyright 2019 The AMP HTML Authors. All Rights Reserved. - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS-IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the license. ---> <!-- Test Description: Tests support for the amp-sidebar tag. diff --git a/extensions/amp-recaptcha-input/0.1/test/validator-amp-recaptcha-input.out b/extensions/amp-recaptcha-input/0.1/test/validator-amp-recaptcha-input.out index 0393d945f11c..d8d5885ec11a 100644 --- a/extensions/amp-recaptcha-input/0.1/test/validator-amp-recaptcha-input.out +++ b/extensions/amp-recaptcha-input/0.1/test/validator-amp-recaptcha-input.out @@ -1,20 +1,5 @@ FAIL | <!-- -| Copyright 2019 The AMP HTML Authors. All Rights Reserved. -| -| Licensed under the Apache License, Version 2.0 (the "License"); -| you may not use this file except in compliance with the License. -| You may obtain a copy of the License at -| -| http://www.apache.org/licenses/LICENSE-2.0 -| -| Unless required by applicable law or agreed to in writing, software -| distributed under the License is distributed on an "AS-IS" BASIS, -| WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -| See the License for the specific language governing permissions and -| limitations under the license. -| --> -| <!-- | Test Description: | Tests support for the amp-sidebar tag. | --> @@ -55,7 +40,7 @@ FAIL | <div> | <amp-recaptcha-input layout="nodisplay" name="recaptcha_example" data-sitekey="6LebBGoUAAAAAHbj1oeZMBU_rze_CutlbyzpH8VE" data-action="recaptcha_example"> >> ^~~~~~~~~ -amp-recaptcha-input/0.1/test/validator-amp-recaptcha-input.html:55:4 The tag 'amp-recaptcha-input' may only appear as a descendant of tag 'form'. (see https://amp.dev/documentation/components/amp-form) +amp-recaptcha-input/0.1/test/validator-amp-recaptcha-input.html:40:4 The tag 'amp-recaptcha-input' may only appear as a descendant of tag 'form'. (see https://amp.dev/documentation/components/amp-form) | </amp-recaptcha-input> | </div> | @@ -71,7 +56,7 @@ amp-recaptcha-input/0.1/test/validator-amp-recaptcha-input.html:55:4 The tag 'am | <input name="submit-button" type="submit" value="Search"> | <amp-recaptcha-input layout="nodisplay" data-sitekey="6LebBGoUAAAAAHbj1oeZMBU_rze_CutlbyzpH8VE" data-action="recaptcha_example"> >> ^~~~~~~~~ -amp-recaptcha-input/0.1/test/validator-amp-recaptcha-input.html:69:6 The mandatory attribute 'name' is missing in tag 'amp-recaptcha-input'. (see https://amp.dev/documentation/components/amp-form) +amp-recaptcha-input/0.1/test/validator-amp-recaptcha-input.html:54:6 The mandatory attribute 'name' is missing in tag 'amp-recaptcha-input'. (see https://amp.dev/documentation/components/amp-form) | </amp-recaptcha-input> | </fieldset> | @@ -93,7 +78,7 @@ amp-recaptcha-input/0.1/test/validator-amp-recaptcha-input.html:69:6 The mandato | <input name="submit-button" type="submit" value="Search"> | <amp-recaptcha-input layout="nodisplay" name="recaptcha_example" data-action="recaptcha_example"> >> ^~~~~~~~~ -amp-recaptcha-input/0.1/test/validator-amp-recaptcha-input.html:89:6 The mandatory attribute 'data-sitekey' is missing in tag 'amp-recaptcha-input'. (see https://amp.dev/documentation/components/amp-form) +amp-recaptcha-input/0.1/test/validator-amp-recaptcha-input.html:74:6 The mandatory attribute 'data-sitekey' is missing in tag 'amp-recaptcha-input'. (see https://amp.dev/documentation/components/amp-form) | </amp-recaptcha-input> | </fieldset> | @@ -115,7 +100,7 @@ amp-recaptcha-input/0.1/test/validator-amp-recaptcha-input.html:89:6 The mandato | <input name="submit-button" type="submit" value="Search"> | <amp-recaptcha-input layout="nodisplay" name="recaptcha_example" data-sitekey="6LebBGoUAAAAAHbj1oeZMBU_rze_CutlbyzpH8VE"> >> ^~~~~~~~~ -amp-recaptcha-input/0.1/test/validator-amp-recaptcha-input.html:109:6 The mandatory attribute 'data-action' is missing in tag 'amp-recaptcha-input'. (see https://amp.dev/documentation/components/amp-form) +amp-recaptcha-input/0.1/test/validator-amp-recaptcha-input.html:94:6 The mandatory attribute 'data-action' is missing in tag 'amp-recaptcha-input'. (see https://amp.dev/documentation/components/amp-form) | </amp-recaptcha-input> | </fieldset> | @@ -137,7 +122,7 @@ amp-recaptcha-input/0.1/test/validator-amp-recaptcha-input.html:109:6 The mandat | <input name="submit-button" type="submit" value="Search"> | <amp-recaptcha-input name="recaptcha_example" data-sitekey="6LebBGoUAAAAAHbj1oeZMBU_rze_CutlbyzpH8VE" data-action="recaptcha_example"> >> ^~~~~~~~~ -amp-recaptcha-input/0.1/test/validator-amp-recaptcha-input.html:129:6 The implied layout 'CONTAINER' is not supported by tag 'amp-recaptcha-input'. (see https://amp.dev/documentation/components/amp-form) +amp-recaptcha-input/0.1/test/validator-amp-recaptcha-input.html:114:6 The implied layout 'CONTAINER' is not supported by tag 'amp-recaptcha-input'. (see https://amp.dev/documentation/components/amp-form) | </amp-recaptcha-input> | </fieldset> | @@ -159,7 +144,7 @@ amp-recaptcha-input/0.1/test/validator-amp-recaptcha-input.html:129:6 The implie | <input name="submit-button" type="submit" value="Search"> | <amp-recaptcha-input layout="responsive" name="recaptcha_example" data-sitekey="6LebBGoUAAAAAHbj1oeZMBU_rze_CutlbyzpH8VE" data-action="recaptcha_example"> >> ^~~~~~~~~ -amp-recaptcha-input/0.1/test/validator-amp-recaptcha-input.html:149:6 The specified layout 'RESPONSIVE' is not supported by tag 'amp-recaptcha-input'. (see https://amp.dev/documentation/components/amp-form) +amp-recaptcha-input/0.1/test/validator-amp-recaptcha-input.html:134:6 The specified layout 'RESPONSIVE' is not supported by tag 'amp-recaptcha-input'. (see https://amp.dev/documentation/components/amp-form) | </amp-recaptcha-input> | </fieldset> | diff --git a/extensions/amp-redbull-player/0.1/test/validator-amp-redbull.html b/extensions/amp-redbull-player/0.1/test/validator-amp-redbull.html index b10fcd3ce551..2d1ab6454392 100644 --- a/extensions/amp-redbull-player/0.1/test/validator-amp-redbull.html +++ b/extensions/amp-redbull-player/0.1/test/validator-amp-redbull.html @@ -1,18 +1,3 @@ -<!-- - Copyright 2019 The AMP HTML Authors. All Rights Reserved. - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS-IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the license. ---> <!-- Test Description: Tests for the amp-redbull-player tag. See the inline comments. diff --git a/extensions/amp-redbull-player/0.1/test/validator-amp-redbull.out b/extensions/amp-redbull-player/0.1/test/validator-amp-redbull.out index bdcdf8e95ae2..7f2bcfd77444 100644 --- a/extensions/amp-redbull-player/0.1/test/validator-amp-redbull.out +++ b/extensions/amp-redbull-player/0.1/test/validator-amp-redbull.out @@ -1,20 +1,5 @@ PASS | <!-- -| Copyright 2019 The AMP HTML Authors. All Rights Reserved. -| -| Licensed under the Apache License, Version 2.0 (the "License"); -| you may not use this file except in compliance with the License. -| You may obtain a copy of the License at -| -| http://www.apache.org/licenses/LICENSE-2.0 -| -| Unless required by applicable law or agreed to in writing, software -| distributed under the License is distributed on an "AS-IS" BASIS, -| WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -| See the License for the specific language governing permissions and -| limitations under the license. -| --> -| <!-- | Test Description: | Tests for the amp-redbull-player tag. See the inline comments. | --> diff --git a/extensions/amp-reddit/0.1/test/validator-amp-reddit.html b/extensions/amp-reddit/0.1/test/validator-amp-reddit.html index b1410ad7d71a..4da1ad4f8bb5 100644 --- a/extensions/amp-reddit/0.1/test/validator-amp-reddit.html +++ b/extensions/amp-reddit/0.1/test/validator-amp-reddit.html @@ -1,18 +1,3 @@ -<!-- - Copyright 2018 The AMP HTML Authors. All Rights Reserved. - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS-IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the license. ---> <!-- Test Description: Tests for the amp-reddit tag. See the inline comments. diff --git a/extensions/amp-reddit/0.1/test/validator-amp-reddit.out b/extensions/amp-reddit/0.1/test/validator-amp-reddit.out index dd63b53e5a7c..546c99eb5fda 100644 --- a/extensions/amp-reddit/0.1/test/validator-amp-reddit.out +++ b/extensions/amp-reddit/0.1/test/validator-amp-reddit.out @@ -1,20 +1,5 @@ FAIL | <!-- -| Copyright 2018 The AMP HTML Authors. All Rights Reserved. -| -| Licensed under the Apache License, Version 2.0 (the "License"); -| you may not use this file except in compliance with the License. -| You may obtain a copy of the License at -| -| http://www.apache.org/licenses/LICENSE-2.0 -| -| Unless required by applicable law or agreed to in writing, software -| distributed under the License is distributed on an "AS-IS" BASIS, -| WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -| See the License for the specific language governing permissions and -| limitations under the license. -| --> -| <!-- | Test Description: | Tests for the amp-reddit tag. See the inline comments. | --> @@ -53,7 +38,7 @@ FAIL | <!-- Invalid: missing src attribute. --> | <amp-reddit >> ^~~~~~~~~ -amp-reddit/0.1/test/validator-amp-reddit.html:53:2 The mandatory attribute 'data-src' is missing in tag 'amp-reddit'. (see https://amp.dev/documentation/components/amp-reddit) +amp-reddit/0.1/test/validator-amp-reddit.html:38:2 The mandatory attribute 'data-src' is missing in tag 'amp-reddit'. (see https://amp.dev/documentation/components/amp-reddit) | layout="responsive" | width="300" | height="400" diff --git a/extensions/amp-render/1.0/test/validator-amp-render.html b/extensions/amp-render/1.0/test/validator-amp-render.html index 0457d7d283f7..040a3239d084 100644 --- a/extensions/amp-render/1.0/test/validator-amp-render.html +++ b/extensions/amp-render/1.0/test/validator-amp-render.html @@ -1,18 +1,3 @@ -<!-- - Copyright 2021 The AMP HTML Authors. All Rights Reserved. - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS-IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the license. ---> <!DOCTYPE html> <html ⚡ lang="en"> <!-- prettier-ignore --> diff --git a/extensions/amp-render/1.0/test/validator-amp-render.out b/extensions/amp-render/1.0/test/validator-amp-render.out index 342ab47521df..d7da9d1a4ab9 100644 --- a/extensions/amp-render/1.0/test/validator-amp-render.out +++ b/extensions/amp-render/1.0/test/validator-amp-render.out @@ -1,19 +1,4 @@ FAIL -| <!-- -| Copyright 2021 The AMP HTML Authors. All Rights Reserved. -| -| Licensed under the Apache License, Version 2.0 (the "License"); -| you may not use this file except in compliance with the License. -| You may obtain a copy of the License at -| -| http://www.apache.org/licenses/LICENSE-2.0 -| -| Unless required by applicable law or agreed to in writing, software -| distributed under the License is distributed on an "AS-IS" BASIS, -| WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -| See the License for the specific language governing permissions and -| limitations under the license. -| --> | <!DOCTYPE html> | <html ⚡ lang="en"> | <!-- prettier-ignore --> @@ -138,12 +123,12 @@ FAIL | <!-- Invalid: missing at least src, [src] or data-amp-bind-src. --> | <amp-render width="10" height="10"> </amp-render> >> ^~~~~~~~~ -amp-render/1.0/test/validator-amp-render.html:138:4 The tag 'amp-render' is missing a mandatory attribute - pick at least one of ['src','[src]','data-amp-bind-src']. (see https://amp.dev/documentation/components/amp-render/) +amp-render/1.0/test/validator-amp-render.html:123:4 The tag 'amp-render' is missing a mandatory attribute - pick at least one of ['src','[src]','data-amp-bind-src']. (see https://amp.dev/documentation/components/amp-render/) | | <!-- Invalid: invalid binding attribute --> | <amp-render >> ^~~~~~~~~ -amp-render/1.0/test/validator-amp-render.html:141:4 The attribute 'binding' in tag 'amp-render' is set to the invalid value 'foobar'. (see https://amp.dev/documentation/components/amp-render/) +amp-render/1.0/test/validator-amp-render.html:126:4 The attribute 'binding' in tag 'amp-render' is set to the invalid value 'foobar'. (see https://amp.dev/documentation/components/amp-render/) | width="10" | height="10" | src="https://data.com/articles.json?ref=CANONICAL_URL" @@ -161,7 +146,7 @@ amp-render/1.0/test/validator-amp-render.html:141:4 The attribute 'binding' in t | <!-- Invalid: missing template with specified id --> | <amp-render width=10 height=10 >> ^~~~~~~~~ -amp-render/1.0/test/validator-amp-render.html:157:4 Attribute 'template' in tag 'amp-render' contains a value that does not match any other tags on the page. (see https://amp.dev/documentation/components/amp-render/) +amp-render/1.0/test/validator-amp-render.html:142:4 Attribute 'template' in tag 'amp-render' contains a value that does not match any other tags on the page. (see https://amp.dev/documentation/components/amp-render/) | src="https://data.com/articles.json?ref=CANONICAL_URL" | template="missing"> | </amp-render> diff --git a/extensions/amp-riddle-quiz/0.1/test/validator-amp-riddle-quiz.html b/extensions/amp-riddle-quiz/0.1/test/validator-amp-riddle-quiz.html index e38337e9083f..d9051fc5ad3d 100644 --- a/extensions/amp-riddle-quiz/0.1/test/validator-amp-riddle-quiz.html +++ b/extensions/amp-riddle-quiz/0.1/test/validator-amp-riddle-quiz.html @@ -1,15 +1,3 @@ -<!-- - Copyright 2017 The AMP HTML Authors. All Rights Reserved. - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - http://www.apache.org/licenses/LICENSE-2.0 - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS-IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the license. ---> <!-- Test Description: Tests amp-riddle-quiz diff --git a/extensions/amp-riddle-quiz/0.1/test/validator-amp-riddle-quiz.out b/extensions/amp-riddle-quiz/0.1/test/validator-amp-riddle-quiz.out index eef01f3430f3..b03c2f8552c0 100644 --- a/extensions/amp-riddle-quiz/0.1/test/validator-amp-riddle-quiz.out +++ b/extensions/amp-riddle-quiz/0.1/test/validator-amp-riddle-quiz.out @@ -1,17 +1,5 @@ PASS | <!-- -| Copyright 2017 The AMP HTML Authors. All Rights Reserved. -| Licensed under the Apache License, Version 2.0 (the "License"); -| you may not use this file except in compliance with the License. -| You may obtain a copy of the License at -| http://www.apache.org/licenses/LICENSE-2.0 -| Unless required by applicable law or agreed to in writing, software -| distributed under the License is distributed on an "AS-IS" BASIS, -| WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -| See the License for the specific language governing permissions and -| limitations under the license. -| --> -| <!-- | Test Description: | Tests amp-riddle-quiz | --> diff --git a/extensions/amp-script/0.1/test/validator-amp-script.html b/extensions/amp-script/0.1/test/validator-amp-script.html index a470c895d8f9..7d10319a146a 100644 --- a/extensions/amp-script/0.1/test/validator-amp-script.html +++ b/extensions/amp-script/0.1/test/validator-amp-script.html @@ -1,18 +1,3 @@ -<!-- - Copyright 2018 The AMP HTML Authors. All Rights Reserved. - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS-IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the license. ---> <!-- Test Description: Tests amp-script. diff --git a/extensions/amp-script/0.1/test/validator-amp-script.out b/extensions/amp-script/0.1/test/validator-amp-script.out index 86ebe646d264..de83953d27c2 100644 --- a/extensions/amp-script/0.1/test/validator-amp-script.out +++ b/extensions/amp-script/0.1/test/validator-amp-script.out @@ -1,20 +1,5 @@ FAIL | <!-- -| Copyright 2018 The AMP HTML Authors. All Rights Reserved. -| -| Licensed under the Apache License, Version 2.0 (the "License"); -| you may not use this file except in compliance with the License. -| You may obtain a copy of the License at -| -| http://www.apache.org/licenses/LICENSE-2.0 -| -| Unless required by applicable law or agreed to in writing, software -| distributed under the License is distributed on an "AS-IS" BASIS, -| WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -| See the License for the specific language governing permissions and -| limitations under the license. -| --> -| <!-- | Test Description: | Tests amp-script. | --> @@ -43,7 +28,7 @@ FAIL | <!-- Invalid: 'src' attribute with non-HTTPS protocol. --> | <amp-script layout=container src="http://example.com/foo.js"> >> ^~~~~~~~~ -amp-script/0.1/test/validator-amp-script.html:43:2 Invalid URL protocol 'http:' for attribute 'src' in tag 'amp-script'. (see https://amp.dev/documentation/components/amp-script) +amp-script/0.1/test/validator-amp-script.html:28:2 Invalid URL protocol 'http:' for attribute 'src' in tag 'amp-script'. (see https://amp.dev/documentation/components/amp-script) | </amp-script> | | <!-- Valid: 'script' attribute. --> @@ -55,7 +40,7 @@ amp-script/0.1/test/validator-amp-script.html:43:2 Invalid URL protocol 'http:' | <!-- Invalid: 'script' attribute with invalid #id reference. --> | <amp-script layout=container script=missing></amp-script> >> ^~~~~~~~~ -amp-script/0.1/test/validator-amp-script.html:53:2 Attribute 'script' in tag 'amp-script' contains a value that does not match any other tags on the page. (see https://amp.dev/documentation/components/amp-script) +amp-script/0.1/test/validator-amp-script.html:38:2 Attribute 'script' in tag 'amp-script' contains a value that does not match any other tags on the page. (see https://amp.dev/documentation/components/amp-script) | | <!-- Valid: Optional 'sandbox' attribute. --> | <amp-script layout=container src="https://example.com/foo.js" sandbox="allow-forms"> @@ -68,13 +53,13 @@ amp-script/0.1/test/validator-amp-script.html:53:2 Attribute 'script' in tag 'am | <!-- Invalid: Optional 'max-age' attribute with non-numeric chars. --> | <amp-script layout=container script="hello" max-age="1d"> >> ^~~~~~~~~ -amp-script/0.1/test/validator-amp-script.html:64:2 The attribute 'max-age' in tag 'amp-script' is set to the invalid value '1d'. (see https://amp.dev/documentation/components/amp-script) +amp-script/0.1/test/validator-amp-script.html:49:2 The attribute 'max-age' in tag 'amp-script' is set to the invalid value '1d'. (see https://amp.dev/documentation/components/amp-script) | </amp-script> | | <!-- Invalid: Optional 'max-age' attribute without 'script' attribute. --> | <amp-script layout=container src="https://example.com/foo.js" max-age="604800"> >> ^~~~~~~~~ -amp-script/0.1/test/validator-amp-script.html:68:2 The attribute 'script' in tag 'amp-script' is missing or incorrect, but required by attribute 'max-age'. (see https://amp.dev/documentation/components/amp-script) +amp-script/0.1/test/validator-amp-script.html:53:2 The attribute 'script' in tag 'amp-script' is missing or incorrect, but required by attribute 'max-age'. (see https://amp.dev/documentation/components/amp-script) | </amp-script> | | <!-- Valid: <canvas> child element. --> @@ -85,75 +70,75 @@ amp-script/0.1/test/validator-amp-script.html:68:2 The attribute 'script' in tag | <!-- Invalid: <canvas> element outside of amp-script tag. --> | <canvas id="myCanvas" width="100px" height="100px"></canvas> >> ^~~~~~~~~ -amp-script/0.1/test/validator-amp-script.html:77:2 The tag 'canvas' may only appear as a descendant of tag 'amp-script'. (see https://amp.dev/documentation/guides-and-tutorials/learn/spec/amphtml/#html-tags) +amp-script/0.1/test/validator-amp-script.html:62:2 The tag 'canvas' may only appear as a descendant of tag 'amp-script'. (see https://amp.dev/documentation/guides-and-tutorials/learn/spec/amphtml/#html-tags) | | <!-- Invalid: With neither 'script' or 'src' attributes. --> | <amp-script layout=container></amp-script> >> ^~~~~~~~~ -amp-script/0.1/test/validator-amp-script.html:80:2 The tag 'amp-script' is missing a mandatory attribute - pick one of ['script', 'src']. (see https://amp.dev/documentation/components/amp-script) +amp-script/0.1/test/validator-amp-script.html:65:2 The tag 'amp-script' is missing a mandatory attribute - pick one of ['script', 'src']. (see https://amp.dev/documentation/components/amp-script) | | <!-- Invalid: Both 'script' and 'src' attributes. --> | <amp-script layout=container src="https://example.com/foo.js" script=hello></amp-script> >> ^~~~~~~~~ -amp-script/0.1/test/validator-amp-script.html:83:2 Mutually exclusive attributes encountered in tag 'amp-script' - pick one of ['script', 'src']. (see https://amp.dev/documentation/components/amp-script) +amp-script/0.1/test/validator-amp-script.html:68:2 Mutually exclusive attributes encountered in tag 'amp-script' - pick one of ['script', 'src']. (see https://amp.dev/documentation/components/amp-script) | | <!-- Invalid: Relative URL. --> | <amp-script layout=container src="/foo.js"></amp-script> >> ^~~~~~~~~ -amp-script/0.1/test/validator-amp-script.html:86:2 The relative URL '/foo.js' for attribute 'src' in tag 'amp-script' is disallowed. (see https://amp.dev/documentation/components/amp-script) +amp-script/0.1/test/validator-amp-script.html:71:2 The relative URL '/foo.js' for attribute 'src' in tag 'amp-script' is disallowed. (see https://amp.dev/documentation/components/amp-script) | | <!-- Invalid: Non-https 'src' attribute. --> | <amp-script layout=container src="http://not.https.url"></amp-script> >> ^~~~~~~~~ -amp-script/0.1/test/validator-amp-script.html:89:2 Invalid URL protocol 'http:' for attribute 'src' in tag 'amp-script'. (see https://amp.dev/documentation/components/amp-script) +amp-script/0.1/test/validator-amp-script.html:74:2 Invalid URL protocol 'http:' for attribute 'src' in tag 'amp-script'. (see https://amp.dev/documentation/components/amp-script) | | <!-- Invalid: 'development' attribute. --> | <amp-script layout=container src="https://example.com/foo.js" development></amp-script> >> ^~~~~~~~~ -amp-script/0.1/test/validator-amp-script.html:92:2 The attribute 'development' may not appear in tag 'amp-script'. (see https://amp.dev/documentation/components/amp-script) +amp-script/0.1/test/validator-amp-script.html:77:2 The attribute 'development' may not appear in tag 'amp-script'. (see https://amp.dev/documentation/components/amp-script) | | <!-- Invalid: 'data-ampdevmode' attribute. --> | <amp-script layout=container src="https://example.com/foo.js" data-ampdevmode></amp-script> >> ^~~~~~~~~ -amp-script/0.1/test/validator-amp-script.html:95:2 The attribute 'data-ampdevmode' in tag 'amp-script' is set to the invalid value ''. (see https://amp.dev/documentation/components/amp-script) +amp-script/0.1/test/validator-amp-script.html:80:2 The attribute 'data-ampdevmode' in tag 'amp-script' is set to the invalid value ''. (see https://amp.dev/documentation/components/amp-script) | | <!-- Invalid: 'data-ampdevmode' attribute. --> | <amp-script layout=container src="https://example.com/foo.js" data-ampdevmode="false"></amp-script> >> ^~~~~~~~~ -amp-script/0.1/test/validator-amp-script.html:98:2 The attribute 'data-ampdevmode' in tag 'amp-script' is set to the invalid value 'false'. (see https://amp.dev/documentation/components/amp-script) +amp-script/0.1/test/validator-amp-script.html:83:2 The attribute 'data-ampdevmode' in tag 'amp-script' is set to the invalid value 'false'. (see https://amp.dev/documentation/components/amp-script) | | <!-- Invalid: Local script without 'target' or 'id' attributes. --> | <script type=text/plain> >> ^~~~~~~~~ -amp-script/0.1/test/validator-amp-script.html:101:2 Custom JavaScript is not allowed. (see https://amp.dev/documentation/guides-and-tutorials/learn/validation-workflow/validation_errors/#custom-javascript-is-not-allowed) +amp-script/0.1/test/validator-amp-script.html:86:2 Custom JavaScript is not allowed. (see https://amp.dev/documentation/guides-and-tutorials/learn/validation-workflow/validation_errors/#custom-javascript-is-not-allowed) | document.body.textContent = "Hello World!"; | </script> | | <!-- Invalid: Local script with invalid 'type'. --> | <script type=text/amp-script target=amp-script id=hello> >> ^~~~~~~~~ -amp-script/0.1/test/validator-amp-script.html:106:2 The attribute 'type' in tag 'script' is set to the invalid value 'text/amp-script'. (see https://amp.dev/documentation/components/amp-script/) +amp-script/0.1/test/validator-amp-script.html:91:2 The attribute 'type' in tag 'script' is set to the invalid value 'text/amp-script'. (see https://amp.dev/documentation/components/amp-script/) | document.body.textContent = "Hello World!"; | </script> | | <!-- Invalid: Local script with invalid 'target'. --> | <script type=text/plain target=amp-js id=hello> >> ^~~~~~~~~ -amp-script/0.1/test/validator-amp-script.html:111:2 Custom JavaScript is not allowed. (see https://amp.dev/documentation/guides-and-tutorials/learn/validation-workflow/validation_errors/#custom-javascript-is-not-allowed) +amp-script/0.1/test/validator-amp-script.html:96:2 Custom JavaScript is not allowed. (see https://amp.dev/documentation/guides-and-tutorials/learn/validation-workflow/validation_errors/#custom-javascript-is-not-allowed) | document.body.textContent = "Hello World!"; | </script> | | <!-- Invalid: Local script without 'target' attribute. --> | <script type=text/plain id=hello> >> ^~~~~~~~~ -amp-script/0.1/test/validator-amp-script.html:116:2 Custom JavaScript is not allowed. (see https://amp.dev/documentation/guides-and-tutorials/learn/validation-workflow/validation_errors/#custom-javascript-is-not-allowed) +amp-script/0.1/test/validator-amp-script.html:101:2 Custom JavaScript is not allowed. (see https://amp.dev/documentation/guides-and-tutorials/learn/validation-workflow/validation_errors/#custom-javascript-is-not-allowed) | document.body.textContent = "Hello World!"; | </script> | | <!-- Invalid: Local script without 'id' attribute. --> | <script type=text/plain target=amp-script> >> ^~~~~~~~~ -amp-script/0.1/test/validator-amp-script.html:121:2 The mandatory attribute 'id' is missing in tag 'script'. (see https://amp.dev/documentation/components/amp-script/) +amp-script/0.1/test/validator-amp-script.html:106:2 The mandatory attribute 'id' is missing in tag 'script'. (see https://amp.dev/documentation/components/amp-script/) | document.body.textContent = "Hello World!"; | </script> | </body> diff --git a/extensions/amp-selector/0.1/test/validator-amp-selector.html b/extensions/amp-selector/0.1/test/validator-amp-selector.html index 01bb536c6e43..940089bc5f0f 100644 --- a/extensions/amp-selector/0.1/test/validator-amp-selector.html +++ b/extensions/amp-selector/0.1/test/validator-amp-selector.html @@ -1,18 +1,3 @@ -<!-- - Copyright 2015 The AMP HTML Authors. All Rights Reserved. - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS-IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the license. ---> <!-- Test Description: Tests amp-live-list. diff --git a/extensions/amp-selector/0.1/test/validator-amp-selector.out b/extensions/amp-selector/0.1/test/validator-amp-selector.out index 09846f9d25ab..9f5d0b674e4b 100644 --- a/extensions/amp-selector/0.1/test/validator-amp-selector.out +++ b/extensions/amp-selector/0.1/test/validator-amp-selector.out @@ -1,20 +1,5 @@ PASS | <!-- -| Copyright 2015 The AMP HTML Authors. All Rights Reserved. -| -| Licensed under the Apache License, Version 2.0 (the "License"); -| you may not use this file except in compliance with the License. -| You may obtain a copy of the License at -| -| http://www.apache.org/licenses/LICENSE-2.0 -| -| Unless required by applicable law or agreed to in writing, software -| distributed under the License is distributed on an "AS-IS" BASIS, -| WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -| See the License for the specific language governing permissions and -| limitations under the license. -| --> -| <!-- | Test Description: | Tests amp-live-list. | --> diff --git a/extensions/amp-selector/1.0/test/validator-amp-selector.html b/extensions/amp-selector/1.0/test/validator-amp-selector.html index b21001467fda..b8676e60d93c 100644 --- a/extensions/amp-selector/1.0/test/validator-amp-selector.html +++ b/extensions/amp-selector/1.0/test/validator-amp-selector.html @@ -1,18 +1,3 @@ -<!-- - Copyright 2021 The AMP HTML Authors. All Rights Reserved. - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS-IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the license. ---> <!-- Test Description: Tests amp-selector. diff --git a/extensions/amp-selector/1.0/test/validator-amp-selector.out b/extensions/amp-selector/1.0/test/validator-amp-selector.out index 4cf868b9a904..39b867536eb4 100644 --- a/extensions/amp-selector/1.0/test/validator-amp-selector.out +++ b/extensions/amp-selector/1.0/test/validator-amp-selector.out @@ -1,20 +1,5 @@ PASS | <!-- -| Copyright 2021 The AMP HTML Authors. All Rights Reserved. -| -| Licensed under the Apache License, Version 2.0 (the "License"); -| you may not use this file except in compliance with the License. -| You may obtain a copy of the License at -| -| http://www.apache.org/licenses/LICENSE-2.0 -| -| Unless required by applicable law or agreed to in writing, software -| distributed under the License is distributed on an "AS-IS" BASIS, -| WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -| See the License for the specific language governing permissions and -| limitations under the license. -| --> -| <!-- | Test Description: | Tests amp-selector. | --> diff --git a/extensions/amp-sidebar/0.1/test/validator-amp-sidebar-autoscroll-invalid.html b/extensions/amp-sidebar/0.1/test/validator-amp-sidebar-autoscroll-invalid.html index dfc65b3cbd05..44036964fe4b 100644 --- a/extensions/amp-sidebar/0.1/test/validator-amp-sidebar-autoscroll-invalid.html +++ b/extensions/amp-sidebar/0.1/test/validator-amp-sidebar-autoscroll-invalid.html @@ -1,18 +1,3 @@ -<!-- - Copyright 2019 The AMP HTML Authors. All Rights Reserved. - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS-IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the license. ---> <!-- Test Description: Tests support for the amp-sidebar tag. diff --git a/extensions/amp-sidebar/0.1/test/validator-amp-sidebar-autoscroll-invalid.out b/extensions/amp-sidebar/0.1/test/validator-amp-sidebar-autoscroll-invalid.out index 6eaa338b503c..3a76eaf46d8d 100644 --- a/extensions/amp-sidebar/0.1/test/validator-amp-sidebar-autoscroll-invalid.out +++ b/extensions/amp-sidebar/0.1/test/validator-amp-sidebar-autoscroll-invalid.out @@ -1,20 +1,5 @@ FAIL | <!-- -| Copyright 2019 The AMP HTML Authors. All Rights Reserved. -| -| Licensed under the Apache License, Version 2.0 (the "License"); -| you may not use this file except in compliance with the License. -| You may obtain a copy of the License at -| -| http://www.apache.org/licenses/LICENSE-2.0 -| -| Unless required by applicable law or agreed to in writing, software -| distributed under the License is distributed on an "AS-IS" BASIS, -| WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -| See the License for the specific language governing permissions and -| limitations under the license. -| --> -| <!-- | Test Description: | Tests support for the amp-sidebar tag. | --> @@ -32,15 +17,15 @@ FAIL | <!-- Invalid: Use of autoscroll outside amp-sidebar with autoscroll--> | <div autoscroll></div> >> ^~~~~~~~~ -amp-sidebar/0.1/test/validator-amp-sidebar-autoscroll-invalid.html:32:2 The attribute 'autoscroll' may not appear in tag 'div'. +amp-sidebar/0.1/test/validator-amp-sidebar-autoscroll-invalid.html:17:2 The attribute 'autoscroll' may not appear in tag 'div'. | | <!-- testing with a parent that does not have a matching tag. --> | <does-not-exist> >> ^~~~~~~~~ -amp-sidebar/0.1/test/validator-amp-sidebar-autoscroll-invalid.html:35:2 The tag 'does-not-exist' is disallowed. +amp-sidebar/0.1/test/validator-amp-sidebar-autoscroll-invalid.html:20:2 The tag 'does-not-exist' is disallowed. | <div autoscroll></div> >> ^~~~~~~~~ -amp-sidebar/0.1/test/validator-amp-sidebar-autoscroll-invalid.html:36:4 The attribute 'autoscroll' may not appear in tag 'div'. +amp-sidebar/0.1/test/validator-amp-sidebar-autoscroll-invalid.html:21:4 The attribute 'autoscroll' may not appear in tag 'div'. | </does-not-exist> | </body> | </html> diff --git a/extensions/amp-sidebar/0.1/test/validator-amp-sidebar-autoscroll-valid.html b/extensions/amp-sidebar/0.1/test/validator-amp-sidebar-autoscroll-valid.html index b701ec8b0738..d2c1a4631a63 100644 --- a/extensions/amp-sidebar/0.1/test/validator-amp-sidebar-autoscroll-valid.html +++ b/extensions/amp-sidebar/0.1/test/validator-amp-sidebar-autoscroll-valid.html @@ -1,18 +1,3 @@ -<!-- - Copyright 2019 The AMP HTML Authors. All Rights Reserved. - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS-IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the license. ---> <!-- Test Description: Tests support for the amp-sidebar tag with autoscroll. diff --git a/extensions/amp-sidebar/0.1/test/validator-amp-sidebar-autoscroll-valid.out b/extensions/amp-sidebar/0.1/test/validator-amp-sidebar-autoscroll-valid.out index 9cfbc3b09a21..a7b60827165f 100644 --- a/extensions/amp-sidebar/0.1/test/validator-amp-sidebar-autoscroll-valid.out +++ b/extensions/amp-sidebar/0.1/test/validator-amp-sidebar-autoscroll-valid.out @@ -1,20 +1,5 @@ PASS | <!-- -| Copyright 2019 The AMP HTML Authors. All Rights Reserved. -| -| Licensed under the Apache License, Version 2.0 (the "License"); -| you may not use this file except in compliance with the License. -| You may obtain a copy of the License at -| -| http://www.apache.org/licenses/LICENSE-2.0 -| -| Unless required by applicable law or agreed to in writing, software -| distributed under the License is distributed on an "AS-IS" BASIS, -| WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -| See the License for the specific language governing permissions and -| limitations under the license. -| --> -| <!-- | Test Description: | Tests support for the amp-sidebar tag with autoscroll. | --> diff --git a/extensions/amp-sidebar/0.1/test/validator-amp-sidebar.html b/extensions/amp-sidebar/0.1/test/validator-amp-sidebar.html index c22fc68c621d..f0b29ac1bb20 100644 --- a/extensions/amp-sidebar/0.1/test/validator-amp-sidebar.html +++ b/extensions/amp-sidebar/0.1/test/validator-amp-sidebar.html @@ -1,18 +1,3 @@ -<!-- - Copyright 2017 The AMP HTML Authors. All Rights Reserved. - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS-IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the license. ---> <!-- Test Description: Tests support for the amp-sidebar tag. diff --git a/extensions/amp-sidebar/0.1/test/validator-amp-sidebar.out b/extensions/amp-sidebar/0.1/test/validator-amp-sidebar.out index 839e5c6d8fea..aac3c201f63c 100644 --- a/extensions/amp-sidebar/0.1/test/validator-amp-sidebar.out +++ b/extensions/amp-sidebar/0.1/test/validator-amp-sidebar.out @@ -1,20 +1,5 @@ FAIL | <!-- -| Copyright 2017 The AMP HTML Authors. All Rights Reserved. -| -| Licensed under the Apache License, Version 2.0 (the "License"); -| you may not use this file except in compliance with the License. -| You may obtain a copy of the License at -| -| http://www.apache.org/licenses/LICENSE-2.0 -| -| Unless required by applicable law or agreed to in writing, software -| distributed under the License is distributed on an "AS-IS" BASIS, -| WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -| See the License for the specific language governing permissions and -| limitations under the license. -| --> -| <!-- | Test Description: | Tests support for the amp-sidebar tag. | --> @@ -70,7 +55,7 @@ FAIL | <amp-sidebar layout="nodisplay"> | <nav toolbar="(min-width: 0px) and (max-width: 768px)" toolbar-target="id"> >> ^~~~~~~~~ -amp-sidebar/0.1/test/validator-amp-sidebar.html:70:4 Tag 'nav' must have 1 child tags - saw 2 child tags. +amp-sidebar/0.1/test/validator-amp-sidebar.html:55:4 Tag 'nav' must have 1 child tags - saw 2 child tags. | <ul> | <li>Nav item 1</li> | </ul> @@ -85,7 +70,7 @@ amp-sidebar/0.1/test/validator-amp-sidebar.html:70:4 Tag 'nav' must have 1 child | <amp-sidebar layout="nodisplay"> | <nav toolbar="(min-width: 0px) and (max-width: 768px)" toolbar-target="id"> >> ^~~~~~~~~ -amp-sidebar/0.1/test/validator-amp-sidebar.html:83:4 Tag 'nav' must have 1 child tags - saw 2 child tags. +amp-sidebar/0.1/test/validator-amp-sidebar.html:68:4 Tag 'nav' must have 1 child tags - saw 2 child tags. | <ol> | <li>Nav item 1</li> | </ol> @@ -100,7 +85,7 @@ amp-sidebar/0.1/test/validator-amp-sidebar.html:83:4 Tag 'nav' must have 1 child | <amp-sidebar layout="nodisplay"> | <nav toolbar="(min-width: 0px) and (max-width: 768px)" toolbar-target="id"> >> ^~~~~~~~~ -amp-sidebar/0.1/test/validator-amp-sidebar.html:96:6 Tag 'nav' must have 1 child tags - saw 2 child tags. +amp-sidebar/0.1/test/validator-amp-sidebar.html:81:6 Tag 'nav' must have 1 child tags - saw 2 child tags. | <ul> | <li>Nav item 1</li> | </ul> @@ -114,6 +99,6 @@ amp-sidebar/0.1/test/validator-amp-sidebar.html:96:6 Tag 'nav' must have 1 child | <!-- Invalid: incorrect side value --> | <amp-sidebar side="center" layout="nodisplay"></amp-sidebar> >> ^~~~~~~~~ -amp-sidebar/0.1/test/validator-amp-sidebar.html:108:2 The attribute 'side' in tag 'amp-sidebar' is set to the invalid value 'center'. (see https://amp.dev/documentation/components/amp-sidebar/) +amp-sidebar/0.1/test/validator-amp-sidebar.html:93:2 The attribute 'side' in tag 'amp-sidebar' is set to the invalid value 'center'. (see https://amp.dev/documentation/components/amp-sidebar/) | </body> | </html> diff --git a/extensions/amp-skimlinks/0.1/test/validator-amp-skimlinks.html b/extensions/amp-skimlinks/0.1/test/validator-amp-skimlinks.html index de8045f950d8..e8f80d116d47 100644 --- a/extensions/amp-skimlinks/0.1/test/validator-amp-skimlinks.html +++ b/extensions/amp-skimlinks/0.1/test/validator-amp-skimlinks.html @@ -1,15 +1,3 @@ -<!-- - Copyright 2018 The AMP HTML Authors. All Rights Reserved. - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - http://www.apache.org/licenses/LICENSE-2.0 - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS-IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the license. ---> <!-- Test Description: Valid amp-skimlinks tag diff --git a/extensions/amp-skimlinks/0.1/test/validator-amp-skimlinks.out b/extensions/amp-skimlinks/0.1/test/validator-amp-skimlinks.out index 028b909a0881..23b920476feb 100644 --- a/extensions/amp-skimlinks/0.1/test/validator-amp-skimlinks.out +++ b/extensions/amp-skimlinks/0.1/test/validator-amp-skimlinks.out @@ -1,17 +1,5 @@ PASS | <!-- -| Copyright 2018 The AMP HTML Authors. All Rights Reserved. -| Licensed under the Apache License, Version 2.0 (the "License"); -| you may not use this file except in compliance with the License. -| You may obtain a copy of the License at -| http://www.apache.org/licenses/LICENSE-2.0 -| Unless required by applicable law or agreed to in writing, software -| distributed under the License is distributed on an "AS-IS" BASIS, -| WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -| See the License for the specific language governing permissions and -| limitations under the license. -| --> -| <!-- | Test Description: | Valid amp-skimlinks tag | --> diff --git a/extensions/amp-skimlinks/0.1/test/validator-minimal-options.html b/extensions/amp-skimlinks/0.1/test/validator-minimal-options.html index 123e5a3fb853..f0d3ea607bfd 100644 --- a/extensions/amp-skimlinks/0.1/test/validator-minimal-options.html +++ b/extensions/amp-skimlinks/0.1/test/validator-minimal-options.html @@ -1,15 +1,3 @@ -<!-- - Copyright 2019 The AMP HTML Authors. All Rights Reserved. - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - http://www.apache.org/licenses/LICENSE-2.0 - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS-IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the license. ---> <!-- Test Description: Valid amp-skimlinks tag with minimal options diff --git a/extensions/amp-skimlinks/0.1/test/validator-minimal-options.out b/extensions/amp-skimlinks/0.1/test/validator-minimal-options.out index 0145e4091e45..32ad30b0d143 100644 --- a/extensions/amp-skimlinks/0.1/test/validator-minimal-options.out +++ b/extensions/amp-skimlinks/0.1/test/validator-minimal-options.out @@ -1,17 +1,5 @@ PASS | <!-- -| Copyright 2019 The AMP HTML Authors. All Rights Reserved. -| Licensed under the Apache License, Version 2.0 (the "License"); -| you may not use this file except in compliance with the License. -| You may obtain a copy of the License at -| http://www.apache.org/licenses/LICENSE-2.0 -| Unless required by applicable law or agreed to in writing, software -| distributed under the License is distributed on an "AS-IS" BASIS, -| WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -| See the License for the specific language governing permissions and -| limitations under the license. -| --> -| <!-- | Test Description: | Valid amp-skimlinks tag with minimal options | --> diff --git a/extensions/amp-smartlinks/0.1/test/validator-amp-smartlinks.html b/extensions/amp-smartlinks/0.1/test/validator-amp-smartlinks.html index 837006550535..0509cb1c6e7c 100644 --- a/extensions/amp-smartlinks/0.1/test/validator-amp-smartlinks.html +++ b/extensions/amp-smartlinks/0.1/test/validator-amp-smartlinks.html @@ -1,15 +1,3 @@ -<!-- - Copyright 2019 The AMP HTML Authors. All Rights Reserved. - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - http://www.apache.org/licenses/LICENSE-2.0 - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS-IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the license. ---> <!-- Test Description: amp-smartlinks tag diff --git a/extensions/amp-smartlinks/0.1/test/validator-amp-smartlinks.out b/extensions/amp-smartlinks/0.1/test/validator-amp-smartlinks.out index e7a22db2edbf..aa0113a79790 100644 --- a/extensions/amp-smartlinks/0.1/test/validator-amp-smartlinks.out +++ b/extensions/amp-smartlinks/0.1/test/validator-amp-smartlinks.out @@ -1,17 +1,5 @@ PASS | <!-- -| Copyright 2019 The AMP HTML Authors. All Rights Reserved. -| Licensed under the Apache License, Version 2.0 (the "License"); -| you may not use this file except in compliance with the License. -| You may obtain a copy of the License at -| http://www.apache.org/licenses/LICENSE-2.0 -| Unless required by applicable law or agreed to in writing, software -| distributed under the License is distributed on an "AS-IS" BASIS, -| WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -| See the License for the specific language governing permissions and -| limitations under the license. -| --> -| <!-- | Test Description: | amp-smartlinks tag | --> diff --git a/extensions/amp-social-share/0.1/test/validator-amp-social-share.html b/extensions/amp-social-share/0.1/test/validator-amp-social-share.html index 06d88325ceb1..8eb027bca59a 100644 --- a/extensions/amp-social-share/0.1/test/validator-amp-social-share.html +++ b/extensions/amp-social-share/0.1/test/validator-amp-social-share.html @@ -1,18 +1,3 @@ -<!-- - Copyright 2016 The AMP HTML Authors. All Rights Reserved. - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS-IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the license. ---> <!-- Test Description: Tests for the amp-social-share tag. See the inline comments. diff --git a/extensions/amp-social-share/0.1/test/validator-amp-social-share.out b/extensions/amp-social-share/0.1/test/validator-amp-social-share.out index 9434ebfebe40..5642da793b1e 100644 --- a/extensions/amp-social-share/0.1/test/validator-amp-social-share.out +++ b/extensions/amp-social-share/0.1/test/validator-amp-social-share.out @@ -1,20 +1,5 @@ FAIL | <!-- -| Copyright 2016 The AMP HTML Authors. All Rights Reserved. -| -| Licensed under the Apache License, Version 2.0 (the "License"); -| you may not use this file except in compliance with the License. -| You may obtain a copy of the License at -| -| http://www.apache.org/licenses/LICENSE-2.0 -| -| Unless required by applicable law or agreed to in writing, software -| distributed under the License is distributed on an "AS-IS" BASIS, -| WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -| See the License for the specific language governing permissions and -| limitations under the license. -| --> -| <!-- | Test Description: | Tests for the amp-social-share tag. See the inline comments. | --> @@ -79,7 +64,7 @@ FAIL | <!-- Invalid: Endpoint given with a protocol that doesn't fit the allowlist --> | <amp-social-share type="vote-this-up" >> ^~~~~~~~~ -amp-social-share/0.1/test/validator-amp-social-share.html:79:2 Invalid URL protocol 'votethisup:' for attribute 'data-share-endpoint' in tag 'amp-social-share'. (see https://amp.dev/documentation/components/amp-social-share) +amp-social-share/0.1/test/validator-amp-social-share.html:64:2 Invalid URL protocol 'votethisup:' for attribute 'data-share-endpoint' in tag 'amp-social-share'. (see https://amp.dev/documentation/components/amp-social-share) | layout="container" | data-share-endpoint="votethisup://vote" | data-param-text="Check this out: TITLE - CANONICAL_URL"> @@ -89,7 +74,7 @@ amp-social-share/0.1/test/validator-amp-social-share.html:79:2 Invalid URL proto | <!-- Invalid: Endpoint given with a protocol that doesn't fit the allowlist --> | <amp-social-share type="uhm-no-hahaha" >> ^~~~~~~~~ -amp-social-share/0.1/test/validator-amp-social-share.html:87:2 Invalid URL protocol 'j a v a s c r i p t :' for attribute 'data-share-endpoint' in tag 'amp-social-share'. (see https://amp.dev/documentation/components/amp-social-share) +amp-social-share/0.1/test/validator-amp-social-share.html:72:2 Invalid URL protocol 'j a v a s c r i p t :' for attribute 'data-share-endpoint' in tag 'amp-social-share'. (see https://amp.dev/documentation/components/amp-social-share) | layout="container" | data-share-endpoint="j a v a s c r i p t : alert('oh hi')" | data-param-text="Check this out: TITLE - CANONICAL_URL"> diff --git a/extensions/amp-social-share/1.0/test/validator-amp-social-share.html b/extensions/amp-social-share/1.0/test/validator-amp-social-share.html index c3de93352ab9..569ed4f023a7 100644 --- a/extensions/amp-social-share/1.0/test/validator-amp-social-share.html +++ b/extensions/amp-social-share/1.0/test/validator-amp-social-share.html @@ -1,18 +1,3 @@ -<!-- - Copyright 2021 The AMP HTML Authors. All Rights Reserved. - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS-IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the license. ---> <!-- Test Description: Tests for the amp-social-share tag. See the inline comments. diff --git a/extensions/amp-social-share/1.0/test/validator-amp-social-share.out b/extensions/amp-social-share/1.0/test/validator-amp-social-share.out index c2789acf229b..a0734d91b2fc 100644 --- a/extensions/amp-social-share/1.0/test/validator-amp-social-share.out +++ b/extensions/amp-social-share/1.0/test/validator-amp-social-share.out @@ -1,20 +1,5 @@ FAIL | <!-- -| Copyright 2021 The AMP HTML Authors. All Rights Reserved. -| -| Licensed under the Apache License, Version 2.0 (the "License"); -| you may not use this file except in compliance with the License. -| You may obtain a copy of the License at -| -| http://www.apache.org/licenses/LICENSE-2.0 -| -| Unless required by applicable law or agreed to in writing, software -| distributed under the License is distributed on an "AS-IS" BASIS, -| WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -| See the License for the specific language governing permissions and -| limitations under the license. -| --> -| <!-- | Test Description: | Tests for the amp-social-share tag. See the inline comments. | --> @@ -102,7 +87,7 @@ FAIL | <!-- Invalid: Endpoint given with a protocol that doesn't fit the allowlist --> | <amp-social-share >> ^~~~~~~~~ -amp-social-share/1.0/test/validator-amp-social-share.html:102:4 Invalid URL protocol 'votethisup:' for attribute 'data-share-endpoint' in tag 'amp-social-share'. (see https://amp.dev/documentation/components/amp-social-share) +amp-social-share/1.0/test/validator-amp-social-share.html:87:4 Invalid URL protocol 'votethisup:' for attribute 'data-share-endpoint' in tag 'amp-social-share'. (see https://amp.dev/documentation/components/amp-social-share) | type="vote-this-up" | layout="container" | data-share-endpoint="votethisup://vote" @@ -114,7 +99,7 @@ amp-social-share/1.0/test/validator-amp-social-share.html:102:4 Invalid URL prot | <!-- Invalid: Endpoint given with a protocol that doesn't fit the allowlist --> | <amp-social-share >> ^~~~~~~~~ -amp-social-share/1.0/test/validator-amp-social-share.html:112:4 Invalid URL protocol 'j a v a s c r i p t :' for attribute 'data-share-endpoint' in tag 'amp-social-share'. (see https://amp.dev/documentation/components/amp-social-share) +amp-social-share/1.0/test/validator-amp-social-share.html:97:4 Invalid URL protocol 'j a v a s c r i p t :' for attribute 'data-share-endpoint' in tag 'amp-social-share'. (see https://amp.dev/documentation/components/amp-social-share) | type="uhm-no-hahaha" | layout="container" | data-share-endpoint="j a v a s c r i p t : alert('oh hi')" diff --git a/extensions/amp-soundcloud/0.1/test/validator-amp-soundcloud.html b/extensions/amp-soundcloud/0.1/test/validator-amp-soundcloud.html index 04a1a6d586d7..26c165cd6653 100644 --- a/extensions/amp-soundcloud/0.1/test/validator-amp-soundcloud.html +++ b/extensions/amp-soundcloud/0.1/test/validator-amp-soundcloud.html @@ -1,18 +1,3 @@ -<!-- - Copyright 2015 The AMP HTML Authors. All Rights Reserved. - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS-IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the license. ---> <!-- Test Description: This tests validation for the amp-soundcloud tag. diff --git a/extensions/amp-soundcloud/0.1/test/validator-amp-soundcloud.out b/extensions/amp-soundcloud/0.1/test/validator-amp-soundcloud.out index d52329936a6b..db8ab567e12a 100644 --- a/extensions/amp-soundcloud/0.1/test/validator-amp-soundcloud.out +++ b/extensions/amp-soundcloud/0.1/test/validator-amp-soundcloud.out @@ -1,20 +1,5 @@ FAIL | <!-- -| Copyright 2015 The AMP HTML Authors. All Rights Reserved. -| -| Licensed under the Apache License, Version 2.0 (the "License"); -| you may not use this file except in compliance with the License. -| You may obtain a copy of the License at -| -| http://www.apache.org/licenses/LICENSE-2.0 -| -| Unless required by applicable law or agreed to in writing, software -| distributed under the License is distributed on an "AS-IS" BASIS, -| WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -| See the License for the specific language governing permissions and -| limitations under the license. -| --> -| <!-- | Test Description: | This tests validation for the amp-soundcloud tag. | --> @@ -38,12 +23,12 @@ FAIL | <!-- invalid: visual mode must be 'true' or 'false'--> | <amp-soundcloud height=166 data-trackid="243169232" data-visual >> ^~~~~~~~~ -amp-soundcloud/0.1/test/validator-amp-soundcloud.html:38:2 The attribute 'data-visual' in tag 'amp-soundcloud' is set to the invalid value ''. (see https://amp.dev/documentation/components/amp-soundcloud) +amp-soundcloud/0.1/test/validator-amp-soundcloud.html:23:2 The attribute 'data-visual' in tag 'amp-soundcloud' is set to the invalid value ''. (see https://amp.dev/documentation/components/amp-soundcloud) | layout="fixed-height"></amp-soundcloud> | <!-- invalid: bad trackid--> | <amp-soundcloud height=166 data-trackid="mahler_number_6.ogg" data-visual="false" >> ^~~~~~~~~ -amp-soundcloud/0.1/test/validator-amp-soundcloud.html:41:2 The attribute 'data-trackid' in tag 'amp-soundcloud' is set to the invalid value 'mahler_number_6.ogg'. (see https://amp.dev/documentation/components/amp-soundcloud) +amp-soundcloud/0.1/test/validator-amp-soundcloud.html:26:2 The attribute 'data-trackid' in tag 'amp-soundcloud' is set to the invalid value 'mahler_number_6.ogg'. (see https://amp.dev/documentation/components/amp-soundcloud) | layout="fixed-height"></amp-soundcloud> | <!-- valid: responsive layout --> | <amp-soundcloud height=166 width=42 data-trackid="243169232" data-visual="true" diff --git a/extensions/amp-soundcloud/1.0/test/validator-amp-soundcloud.html b/extensions/amp-soundcloud/1.0/test/validator-amp-soundcloud.html index 96c30d9853df..563d23033238 100644 --- a/extensions/amp-soundcloud/1.0/test/validator-amp-soundcloud.html +++ b/extensions/amp-soundcloud/1.0/test/validator-amp-soundcloud.html @@ -1,18 +1,3 @@ -<!-- - Copyright 2015 The AMP HTML Authors. All Rights Reserved. - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS-IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the license. ---> <!-- Test Description: This tests validation for the amp-soundcloud tag. diff --git a/extensions/amp-soundcloud/1.0/test/validator-amp-soundcloud.out b/extensions/amp-soundcloud/1.0/test/validator-amp-soundcloud.out index fca8c403ce03..a189714ff996 100644 --- a/extensions/amp-soundcloud/1.0/test/validator-amp-soundcloud.out +++ b/extensions/amp-soundcloud/1.0/test/validator-amp-soundcloud.out @@ -1,20 +1,5 @@ FAIL | <!-- -| Copyright 2015 The AMP HTML Authors. All Rights Reserved. -| -| Licensed under the Apache License, Version 2.0 (the "License"); -| you may not use this file except in compliance with the License. -| You may obtain a copy of the License at -| -| http://www.apache.org/licenses/LICENSE-2.0 -| -| Unless required by applicable law or agreed to in writing, software -| distributed under the License is distributed on an "AS-IS" BASIS, -| WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -| See the License for the specific language governing permissions and -| limitations under the license. -| --> -| <!-- | Test Description: | This tests validation for the amp-soundcloud tag. | --> @@ -38,12 +23,12 @@ FAIL | <!-- invalid: visual mode must be 'true' or 'false'--> | <amp-soundcloud height=166 data-trackid="243169232" data-visual >> ^~~~~~~~~ -amp-soundcloud/1.0/test/validator-amp-soundcloud.html:38:2 The attribute 'data-visual' in tag 'amp-soundcloud' is set to the invalid value ''. (see https://amp.dev/documentation/components/amp-soundcloud) +amp-soundcloud/1.0/test/validator-amp-soundcloud.html:23:2 The attribute 'data-visual' in tag 'amp-soundcloud' is set to the invalid value ''. (see https://amp.dev/documentation/components/amp-soundcloud) | layout="fixed-height"></amp-soundcloud> | <!-- invalid: bad trackid--> | <amp-soundcloud height=166 data-trackid="mahler_number_6.ogg" data-visual="false" >> ^~~~~~~~~ -amp-soundcloud/1.0/test/validator-amp-soundcloud.html:41:2 The attribute 'data-trackid' in tag 'amp-soundcloud' is set to the invalid value 'mahler_number_6.ogg'. (see https://amp.dev/documentation/components/amp-soundcloud) +amp-soundcloud/1.0/test/validator-amp-soundcloud.html:26:2 The attribute 'data-trackid' in tag 'amp-soundcloud' is set to the invalid value 'mahler_number_6.ogg'. (see https://amp.dev/documentation/components/amp-soundcloud) | layout="fixed-height"></amp-soundcloud> | <!-- valid: responsive layout --> | <amp-soundcloud height=166 width=42 data-trackid="243169232" data-visual="true" diff --git a/extensions/amp-springboard-player/0.1/test/validator-amp-springboard-player.html b/extensions/amp-springboard-player/0.1/test/validator-amp-springboard-player.html index a4e34491066b..3a3368b46865 100644 --- a/extensions/amp-springboard-player/0.1/test/validator-amp-springboard-player.html +++ b/extensions/amp-springboard-player/0.1/test/validator-amp-springboard-player.html @@ -1,18 +1,3 @@ -<!-- - Copyright 2015 The AMP HTML Authors. All Rights Reserved. - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS-IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the license. ---> <!-- Test Description: This tests validation for the amp-springboard-player tag. diff --git a/extensions/amp-springboard-player/0.1/test/validator-amp-springboard-player.out b/extensions/amp-springboard-player/0.1/test/validator-amp-springboard-player.out index f22c051e1115..10d649173da5 100644 --- a/extensions/amp-springboard-player/0.1/test/validator-amp-springboard-player.out +++ b/extensions/amp-springboard-player/0.1/test/validator-amp-springboard-player.out @@ -1,20 +1,5 @@ FAIL | <!-- -| Copyright 2015 The AMP HTML Authors. All Rights Reserved. -| -| Licensed under the Apache License, Version 2.0 (the "License"); -| you may not use this file except in compliance with the License. -| You may obtain a copy of the License at -| -| http://www.apache.org/licenses/LICENSE-2.0 -| -| Unless required by applicable law or agreed to in writing, software -| distributed under the License is distributed on an "AS-IS" BASIS, -| WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -| See the License for the specific language governing permissions and -| limitations under the license. -| --> -| <!-- | Test Description: | This tests validation for the amp-springboard-player tag. | --> @@ -37,63 +22,63 @@ FAIL | <!-- invalid: data-site-id must be numeric --> | <amp-springboard-player data-site-id="a261" data-mode="video" >> ^~~~~~~~~ -amp-springboard-player/0.1/test/validator-amp-springboard-player.html:37:2 The attribute 'data-site-id' in tag 'amp-springboard-player' is set to the invalid value 'a261'. (see https://amp.dev/documentation/components/amp-springboard-player) +amp-springboard-player/0.1/test/validator-amp-springboard-player.html:22:2 The attribute 'data-site-id' in tag 'amp-springboard-player' is set to the invalid value 'a261'. (see https://amp.dev/documentation/components/amp-springboard-player) | data-content-id="1578473" data-player-id="test401" | data-domain="test.com" data-items="10" | layout="fixed"width="480" height="270"></amp-springboard-player> | <!-- invalid: data-player-id must be alphanumeric --> | <amp-springboard-player data-site-id="261" data-mode="playlist" >> ^~~~~~~~~ -amp-springboard-player/0.1/test/validator-amp-springboard-player.html:42:2 The attribute 'data-player-id' in tag 'amp-springboard-player' is set to the invalid value 'test 401'. (see https://amp.dev/documentation/components/amp-springboard-player) +amp-springboard-player/0.1/test/validator-amp-springboard-player.html:27:2 The attribute 'data-player-id' in tag 'amp-springboard-player' is set to the invalid value 'test 401'. (see https://amp.dev/documentation/components/amp-springboard-player) | data-content-id="1578473" data-player-id="test 401" | data-domain="test.com" data-items="10" | layout="fixed" width="480" height="270"></amp-springboard-player> | <!-- invalid: data-content-id required --> | <amp-springboard-player data-site-id="261" data-mode="video" >> ^~~~~~~~~ -amp-springboard-player/0.1/test/validator-amp-springboard-player.html:47:2 The mandatory attribute 'data-content-id' is missing in tag 'amp-springboard-player'. (see https://amp.dev/documentation/components/amp-springboard-player) +amp-springboard-player/0.1/test/validator-amp-springboard-player.html:32:2 The mandatory attribute 'data-content-id' is missing in tag 'amp-springboard-player'. (see https://amp.dev/documentation/components/amp-springboard-player) | data-player-id="test401" | data-domain="test.com" data-items="10" | layout="fixed" width="480" height="270"></amp-springboard-player> | <!-- invalid: data-domain required --> | <amp-springboard-player data-site-id="261" data-mode="video" >> ^~~~~~~~~ -amp-springboard-player/0.1/test/validator-amp-springboard-player.html:52:2 The mandatory attribute 'data-domain' is missing in tag 'amp-springboard-player'. (see https://amp.dev/documentation/components/amp-springboard-player) +amp-springboard-player/0.1/test/validator-amp-springboard-player.html:37:2 The mandatory attribute 'data-domain' is missing in tag 'amp-springboard-player'. (see https://amp.dev/documentation/components/amp-springboard-player) | data-content-id="1578473" data-player-id="test401" | data-items="10" | layout="fixed" width="480" height="270"></amp-springboard-player> | <!-- invalid: data-items required --> | <amp-springboard-player data-site-id="261" data-mode="video" >> ^~~~~~~~~ -amp-springboard-player/0.1/test/validator-amp-springboard-player.html:57:2 The mandatory attribute 'data-items' is missing in tag 'amp-springboard-player'. (see https://amp.dev/documentation/components/amp-springboard-player) +amp-springboard-player/0.1/test/validator-amp-springboard-player.html:42:2 The mandatory attribute 'data-items' is missing in tag 'amp-springboard-player'. (see https://amp.dev/documentation/components/amp-springboard-player) | data-content-id="1578473" data-player-id="test401" | data-domain="test.com" | layout="fixed" width="480" height="270"></amp-springboard-player> | <!-- invalid: data-mode required --> | <amp-springboard-player data-site-id="261" >> ^~~~~~~~~ -amp-springboard-player/0.1/test/validator-amp-springboard-player.html:62:2 The mandatory attribute 'data-mode' is missing in tag 'amp-springboard-player'. (see https://amp.dev/documentation/components/amp-springboard-player) +amp-springboard-player/0.1/test/validator-amp-springboard-player.html:47:2 The mandatory attribute 'data-mode' is missing in tag 'amp-springboard-player'. (see https://amp.dev/documentation/components/amp-springboard-player) | data-content-id="1578473" data-player-id="test401" | data-domain="test.com" data-items="10" | layout="fixed" width="480" height="270"></amp-springboard-player> | <!-- invalid: data-player-id required --> | <amp-springboard-player data-site-id="261" data-mode="video" >> ^~~~~~~~~ -amp-springboard-player/0.1/test/validator-amp-springboard-player.html:67:2 The mandatory attribute 'data-player-id' is missing in tag 'amp-springboard-player'. (see https://amp.dev/documentation/components/amp-springboard-player) +amp-springboard-player/0.1/test/validator-amp-springboard-player.html:52:2 The mandatory attribute 'data-player-id' is missing in tag 'amp-springboard-player'. (see https://amp.dev/documentation/components/amp-springboard-player) | data-content-id="1578473" | data-domain="test.com" data-items="10" | layout="fixed" width="480" height="270"></amp-springboard-player> | <!-- invalid: data-site-id required --> | <amp-springboard-player data-mode="video" >> ^~~~~~~~~ -amp-springboard-player/0.1/test/validator-amp-springboard-player.html:72:2 The mandatory attribute 'data-site-id' is missing in tag 'amp-springboard-player'. (see https://amp.dev/documentation/components/amp-springboard-player) +amp-springboard-player/0.1/test/validator-amp-springboard-player.html:57:2 The mandatory attribute 'data-site-id' is missing in tag 'amp-springboard-player'. (see https://amp.dev/documentation/components/amp-springboard-player) | data-content-id="1578473" data-player-id="test401" | data-domain="test.com" data-items="10" | layout="fixed" width="480" height="270"></amp-springboard-player> | <!-- invalid: bad layout --> | <amp-springboard-player data-site-id="261" data-mode="playlist" >> ^~~~~~~~~ -amp-springboard-player/0.1/test/validator-amp-springboard-player.html:77:2 The specified layout 'FIXED_HEIGHT' is not supported by tag 'amp-springboard-player'. (see https://amp.dev/documentation/components/amp-springboard-player) +amp-springboard-player/0.1/test/validator-amp-springboard-player.html:62:2 The specified layout 'FIXED_HEIGHT' is not supported by tag 'amp-springboard-player'. (see https://amp.dev/documentation/components/amp-springboard-player) | data-player-id="test401" | layout="fixed-height" width="480" height="270"></amp-springboard-player> | </body> diff --git a/extensions/amp-sticky-ad/0.1/test/validator-amp-sticky-ad.html b/extensions/amp-sticky-ad/0.1/test/validator-amp-sticky-ad.html index 975799a68375..872403db5acf 100644 --- a/extensions/amp-sticky-ad/0.1/test/validator-amp-sticky-ad.html +++ b/extensions/amp-sticky-ad/0.1/test/validator-amp-sticky-ad.html @@ -1,18 +1,3 @@ -<!-- - Copyright 2015 The AMP HTML Authors. All Rights Reserved. - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS-IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the license. ---> <!-- Test Description: Tests amp-sticky-ad. diff --git a/extensions/amp-sticky-ad/0.1/test/validator-amp-sticky-ad.out b/extensions/amp-sticky-ad/0.1/test/validator-amp-sticky-ad.out index e0d0d2b58fc3..d988f19ac108 100644 --- a/extensions/amp-sticky-ad/0.1/test/validator-amp-sticky-ad.out +++ b/extensions/amp-sticky-ad/0.1/test/validator-amp-sticky-ad.out @@ -1,20 +1,5 @@ PASS | <!-- -| Copyright 2015 The AMP HTML Authors. All Rights Reserved. -| -| Licensed under the Apache License, Version 2.0 (the "License"); -| you may not use this file except in compliance with the License. -| You may obtain a copy of the License at -| -| http://www.apache.org/licenses/LICENSE-2.0 -| -| Unless required by applicable law or agreed to in writing, software -| distributed under the License is distributed on an "AS-IS" BASIS, -| WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -| See the License for the specific language governing permissions and -| limitations under the license. -| --> -| <!-- | Test Description: | Tests amp-sticky-ad. | --> @@ -28,7 +13,7 @@ PASS | <script async src="https://cdn.ampproject.org/v0.js"></script> | <script async custom-element="amp-sticky-ad" src="https://cdn.ampproject.org/v0/amp-sticky-ad-0.1.js"></script> >> ^~~~~~~~~ -amp-sticky-ad/0.1/test/validator-amp-sticky-ad.html:28:2 The extension 'amp-sticky-ad' is referenced at version '0.1' which is a deprecated version. Please use a more recent version of this extension. This may become an error in the future. (see https://amp.dev/documentation/components/amp-sticky-ad) +amp-sticky-ad/0.1/test/validator-amp-sticky-ad.html:13:2 The extension 'amp-sticky-ad' is referenced at version '0.1' which is a deprecated version. Please use a more recent version of this extension. This may become an error in the future. (see https://amp.dev/documentation/components/amp-sticky-ad) | </head> | <body> | <amp-sticky-ad layout=nodisplay> @@ -42,4 +27,4 @@ amp-sticky-ad/0.1/test/validator-amp-sticky-ad.html:28:2 The extension 'amp-stic | </body> | </html> >> ^~~~~~~~~ -amp-sticky-ad/0.1/test/validator-amp-sticky-ad.html:40:6 The tag 'amp-ad extension script' is missing or incorrect, but required by 'amp-ad'. This will soon be an error. (see https://amp.dev/documentation/components/amp-ad/) +amp-sticky-ad/0.1/test/validator-amp-sticky-ad.html:25:6 The tag 'amp-ad extension script' is missing or incorrect, but required by 'amp-ad'. This will soon be an error. (see https://amp.dev/documentation/components/amp-ad/) diff --git a/extensions/amp-sticky-ad/1.0/test/validator-amp-sticky-ad.html b/extensions/amp-sticky-ad/1.0/test/validator-amp-sticky-ad.html index fe0dafc64e46..4affc02bfb8b 100644 --- a/extensions/amp-sticky-ad/1.0/test/validator-amp-sticky-ad.html +++ b/extensions/amp-sticky-ad/1.0/test/validator-amp-sticky-ad.html @@ -1,18 +1,3 @@ -<!-- - Copyright 2017 The AMP HTML Authors. All Rights Reserved. - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS-IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the license. ---> <!-- Test Description: Tests amp-sticky-ad. diff --git a/extensions/amp-sticky-ad/1.0/test/validator-amp-sticky-ad.out b/extensions/amp-sticky-ad/1.0/test/validator-amp-sticky-ad.out index aeec30ae853e..ef811e9b7d49 100644 --- a/extensions/amp-sticky-ad/1.0/test/validator-amp-sticky-ad.out +++ b/extensions/amp-sticky-ad/1.0/test/validator-amp-sticky-ad.out @@ -1,20 +1,5 @@ PASS | <!-- -| Copyright 2017 The AMP HTML Authors. All Rights Reserved. -| -| Licensed under the Apache License, Version 2.0 (the "License"); -| you may not use this file except in compliance with the License. -| You may obtain a copy of the License at -| -| http://www.apache.org/licenses/LICENSE-2.0 -| -| Unless required by applicable law or agreed to in writing, software -| distributed under the License is distributed on an "AS-IS" BASIS, -| WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -| See the License for the specific language governing permissions and -| limitations under the license. -| --> -| <!-- | Test Description: | Tests amp-sticky-ad. | --> @@ -40,4 +25,4 @@ PASS | </body> | </html> >> ^~~~~~~~~ -amp-sticky-ad/1.0/test/validator-amp-sticky-ad.html:40:6 The tag 'amp-ad extension script' is missing or incorrect, but required by 'amp-ad'. This will soon be an error. (see https://amp.dev/documentation/components/amp-ad/) +amp-sticky-ad/1.0/test/validator-amp-sticky-ad.html:25:6 The tag 'amp-ad extension script' is missing or incorrect, but required by 'amp-ad'. This will soon be an error. (see https://amp.dev/documentation/components/amp-ad/) diff --git a/extensions/amp-story-360/0.1/test/validator-amp-story-360.html b/extensions/amp-story-360/0.1/test/validator-amp-story-360.html index 7914031904d9..c19a16257b70 100644 --- a/extensions/amp-story-360/0.1/test/validator-amp-story-360.html +++ b/extensions/amp-story-360/0.1/test/validator-amp-story-360.html @@ -1,18 +1,3 @@ -<!-- - Copyright 2020 The AMP HTML Authors. All Rights Reserved. - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS-IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the license. ---> <!-- Test Description: Tests for the amp-story-360 tags. diff --git a/extensions/amp-story-360/0.1/test/validator-amp-story-360.out b/extensions/amp-story-360/0.1/test/validator-amp-story-360.out index 10f7d84593b6..ad210f143224 100644 --- a/extensions/amp-story-360/0.1/test/validator-amp-story-360.out +++ b/extensions/amp-story-360/0.1/test/validator-amp-story-360.out @@ -1,20 +1,5 @@ PASS | <!-- -| Copyright 2020 The AMP HTML Authors. All Rights Reserved. -| -| Licensed under the Apache License, Version 2.0 (the "License"); -| you may not use this file except in compliance with the License. -| You may obtain a copy of the License at -| -| http://www.apache.org/licenses/LICENSE-2.0 -| -| Unless required by applicable law or agreed to in writing, software -| distributed under the License is distributed on an "AS-IS" BASIS, -| WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -| See the License for the specific language governing permissions and -| limitations under the license. -| --> -| <!-- | Test Description: | Tests for the amp-story-360 tags. | --> diff --git a/extensions/amp-story-auto-ads/0.1/test/validator-amp-story-auto-ads.html b/extensions/amp-story-auto-ads/0.1/test/validator-amp-story-auto-ads.html index 87452faef14f..ecf698fc20c9 100644 --- a/extensions/amp-story-auto-ads/0.1/test/validator-amp-story-auto-ads.html +++ b/extensions/amp-story-auto-ads/0.1/test/validator-amp-story-auto-ads.html @@ -1,18 +1,3 @@ -<!-- - Copyright 2018 The AMP HTML Authors. All Rights Reserved. - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS-IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the license. ---> <!-- Test Description: Tests for the amp-story-auto-ads tags. diff --git a/extensions/amp-story-auto-ads/0.1/test/validator-amp-story-auto-ads.out b/extensions/amp-story-auto-ads/0.1/test/validator-amp-story-auto-ads.out index fa5891d4cfaf..6adcd8660f1c 100644 --- a/extensions/amp-story-auto-ads/0.1/test/validator-amp-story-auto-ads.out +++ b/extensions/amp-story-auto-ads/0.1/test/validator-amp-story-auto-ads.out @@ -1,20 +1,5 @@ PASS | <!-- -| Copyright 2018 The AMP HTML Authors. All Rights Reserved. -| -| Licensed under the Apache License, Version 2.0 (the "License"); -| you may not use this file except in compliance with the License. -| You may obtain a copy of the License at -| -| http://www.apache.org/licenses/LICENSE-2.0 -| -| Unless required by applicable law or agreed to in writing, software -| distributed under the License is distributed on an "AS-IS" BASIS, -| WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -| See the License for the specific language governing permissions and -| limitations under the license. -| --> -| <!-- | Test Description: | Tests for the amp-story-auto-ads tags. | --> diff --git a/extensions/amp-story-auto-analytics/0.1/test/validator-amp-story-auto-analytics.html b/extensions/amp-story-auto-analytics/0.1/test/validator-amp-story-auto-analytics.html index 517dc3851218..7cbdd72fead4 100644 --- a/extensions/amp-story-auto-analytics/0.1/test/validator-amp-story-auto-analytics.html +++ b/extensions/amp-story-auto-analytics/0.1/test/validator-amp-story-auto-analytics.html @@ -1,18 +1,3 @@ -<!-- - Copyright 2021 The AMP HTML Authors. All Rights Reserved. - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS-IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the license. ---> <!-- Test Description: Tests for a proper auto-analytics component with a gtag diff --git a/extensions/amp-story-auto-analytics/0.1/test/validator-amp-story-auto-analytics.out b/extensions/amp-story-auto-analytics/0.1/test/validator-amp-story-auto-analytics.out index 36b6552469d5..f122a069e422 100644 --- a/extensions/amp-story-auto-analytics/0.1/test/validator-amp-story-auto-analytics.out +++ b/extensions/amp-story-auto-analytics/0.1/test/validator-amp-story-auto-analytics.out @@ -1,20 +1,5 @@ PASS | <!-- -| Copyright 2021 The AMP HTML Authors. All Rights Reserved. -| -| Licensed under the Apache License, Version 2.0 (the "License"); -| you may not use this file except in compliance with the License. -| You may obtain a copy of the License at -| -| http://www.apache.org/licenses/LICENSE-2.0 -| -| Unless required by applicable law or agreed to in writing, software -| distributed under the License is distributed on an "AS-IS" BASIS, -| WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -| See the License for the specific language governing permissions and -| limitations under the license. -| --> -| <!-- | Test Description: | Tests for a proper auto-analytics component with a gtag | --> diff --git a/extensions/amp-story-interactive/0.1/test/validator-amp-story-interactive-img-poll.html b/extensions/amp-story-interactive/0.1/test/validator-amp-story-interactive-img-poll.html index 152f22f7283d..ad7a41a674ac 100644 --- a/extensions/amp-story-interactive/0.1/test/validator-amp-story-interactive-img-poll.html +++ b/extensions/amp-story-interactive/0.1/test/validator-amp-story-interactive-img-poll.html @@ -1,18 +1,3 @@ -<!-- - Copyright 2021 The AMP HTML Authors. All Rights Reserved. - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS-IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the license. ---> <!-- Test Description: Correct image poll, as well as 3 incorrect image polls diff --git a/extensions/amp-story-interactive/0.1/test/validator-amp-story-interactive-img-poll.out b/extensions/amp-story-interactive/0.1/test/validator-amp-story-interactive-img-poll.out index 80fde9fd572f..860fc0cce4f5 100644 --- a/extensions/amp-story-interactive/0.1/test/validator-amp-story-interactive-img-poll.out +++ b/extensions/amp-story-interactive/0.1/test/validator-amp-story-interactive-img-poll.out @@ -1,20 +1,5 @@ FAIL | <!-- -| Copyright 2021 The AMP HTML Authors. All Rights Reserved. -| -| Licensed under the Apache License, Version 2.0 (the "License"); -| you may not use this file except in compliance with the License. -| You may obtain a copy of the License at -| -| http://www.apache.org/licenses/LICENSE-2.0 -| -| Unless required by applicable law or agreed to in writing, software -| distributed under the License is distributed on an "AS-IS" BASIS, -| WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -| See the License for the specific language governing permissions and -| limitations under the license. -| --> -| <!-- | Test Description: | Correct image poll, as well as 3 incorrect image polls | --> @@ -62,7 +47,7 @@ FAIL | <!-- Invalid: Image poll cannot have option-{1/2/3/4}-correct --> | <amp-story-interactive-img-poll >> ^~~~~~~~~ -amp-story-interactive/0.1/test/validator-amp-story-interactive-img-poll.html:62:8 The attribute 'option-1-image-correct' may not appear in tag 'amp-story-interactive-img-poll'. (see https://amp.dev/documentation/components/amp-story-interactive) +amp-story-interactive/0.1/test/validator-amp-story-interactive-img-poll.html:47:8 The attribute 'option-1-image-correct' may not appear in tag 'amp-story-interactive-img-poll'. (see https://amp.dev/documentation/components/amp-story-interactive) | id="invalid-correct-img-poll" | prompt-text="Which of these places would you travel to first?" | prompt-size="large" @@ -90,7 +75,7 @@ amp-story-interactive/0.1/test/validator-amp-story-interactive-img-poll.html:62: | <!-- Invalid: Image poll endpoint must be a valid URL --> | <amp-story-interactive-img-poll >> ^~~~~~~~~ -amp-story-interactive/0.1/test/validator-amp-story-interactive-img-poll.html:88:8 Missing URL for attribute 'endpoint' in tag 'amp-story-interactive-img-poll'. (see https://amp.dev/documentation/components/amp-story-interactive) +amp-story-interactive/0.1/test/validator-amp-story-interactive-img-poll.html:73:8 Missing URL for attribute 'endpoint' in tag 'amp-story-interactive-img-poll'. (see https://amp.dev/documentation/components/amp-story-interactive) | id="invalid-endpoint-img-poll" | prompt-text="Which of these places would you travel to first?" | prompt-size="large" @@ -117,13 +102,13 @@ amp-story-interactive/0.1/test/validator-amp-story-interactive-img-poll.html:88: | <!-- Invalid: Image poll options must have alt attributes --> | <amp-story-interactive-img-poll >> ^~~~~~~~~ -amp-story-interactive/0.1/test/validator-amp-story-interactive-img-poll.html:113:8 The attribute 'option-3-image-alt' in tag 'amp-story-interactive-img-poll' is missing or incorrect, but required by attribute 'option-3-image'. (see https://amp.dev/documentation/components/amp-story-interactive) +amp-story-interactive/0.1/test/validator-amp-story-interactive-img-poll.html:98:8 The attribute 'option-3-image-alt' in tag 'amp-story-interactive-img-poll' is missing or incorrect, but required by attribute 'option-3-image'. (see https://amp.dev/documentation/components/amp-story-interactive) >> ^~~~~~~~~ -amp-story-interactive/0.1/test/validator-amp-story-interactive-img-poll.html:113:8 The attribute 'option-4-image-alt' in tag 'amp-story-interactive-img-poll' is missing or incorrect, but required by attribute 'option-4-image'. (see https://amp.dev/documentation/components/amp-story-interactive) +amp-story-interactive/0.1/test/validator-amp-story-interactive-img-poll.html:98:8 The attribute 'option-4-image-alt' in tag 'amp-story-interactive-img-poll' is missing or incorrect, but required by attribute 'option-4-image'. (see https://amp.dev/documentation/components/amp-story-interactive) >> ^~~~~~~~~ -amp-story-interactive/0.1/test/validator-amp-story-interactive-img-poll.html:113:8 The mandatory attribute 'option-1-image-alt' is missing in tag 'amp-story-interactive-img-poll'. (see https://amp.dev/documentation/components/amp-story-interactive) +amp-story-interactive/0.1/test/validator-amp-story-interactive-img-poll.html:98:8 The mandatory attribute 'option-1-image-alt' is missing in tag 'amp-story-interactive-img-poll'. (see https://amp.dev/documentation/components/amp-story-interactive) >> ^~~~~~~~~ -amp-story-interactive/0.1/test/validator-amp-story-interactive-img-poll.html:113:8 The mandatory attribute 'option-2-image-alt' is missing in tag 'amp-story-interactive-img-poll'. (see https://amp.dev/documentation/components/amp-story-interactive) +amp-story-interactive/0.1/test/validator-amp-story-interactive-img-poll.html:98:8 The mandatory attribute 'option-2-image-alt' is missing in tag 'amp-story-interactive-img-poll'. (see https://amp.dev/documentation/components/amp-story-interactive) | id="missing-alt-img-poll" | prompt-text="Which of these places would you travel to first?" | prompt-size="large" @@ -146,13 +131,13 @@ amp-story-interactive/0.1/test/validator-amp-story-interactive-img-poll.html:113 | <!-- Invalid: Image poll image URL must use a valid protocol --> | <amp-story-interactive-img-poll >> ^~~~~~~~~ -amp-story-interactive/0.1/test/validator-amp-story-interactive-img-poll.html:134:8 Invalid URL protocol 'nothttps:' for attribute 'option-1-image' in tag 'amp-story-interactive-img-poll'. (see https://amp.dev/documentation/components/amp-story-interactive) +amp-story-interactive/0.1/test/validator-amp-story-interactive-img-poll.html:119:8 Invalid URL protocol 'nothttps:' for attribute 'option-1-image' in tag 'amp-story-interactive-img-poll'. (see https://amp.dev/documentation/components/amp-story-interactive) >> ^~~~~~~~~ -amp-story-interactive/0.1/test/validator-amp-story-interactive-img-poll.html:134:8 Invalid URL protocol 'nothttps:' for attribute 'option-2-image' in tag 'amp-story-interactive-img-poll'. (see https://amp.dev/documentation/components/amp-story-interactive) +amp-story-interactive/0.1/test/validator-amp-story-interactive-img-poll.html:119:8 Invalid URL protocol 'nothttps:' for attribute 'option-2-image' in tag 'amp-story-interactive-img-poll'. (see https://amp.dev/documentation/components/amp-story-interactive) >> ^~~~~~~~~ -amp-story-interactive/0.1/test/validator-amp-story-interactive-img-poll.html:134:8 Invalid URL protocol 'nothttps:' for attribute 'option-3-image' in tag 'amp-story-interactive-img-poll'. (see https://amp.dev/documentation/components/amp-story-interactive) +amp-story-interactive/0.1/test/validator-amp-story-interactive-img-poll.html:119:8 Invalid URL protocol 'nothttps:' for attribute 'option-3-image' in tag 'amp-story-interactive-img-poll'. (see https://amp.dev/documentation/components/amp-story-interactive) >> ^~~~~~~~~ -amp-story-interactive/0.1/test/validator-amp-story-interactive-img-poll.html:134:8 Invalid URL protocol 'nothttps:' for attribute 'option-4-image' in tag 'amp-story-interactive-img-poll'. (see https://amp.dev/documentation/components/amp-story-interactive) +amp-story-interactive/0.1/test/validator-amp-story-interactive-img-poll.html:119:8 Invalid URL protocol 'nothttps:' for attribute 'option-4-image' in tag 'amp-story-interactive-img-poll'. (see https://amp.dev/documentation/components/amp-story-interactive) | id="invalid-img-url-img-poll" | prompt-text="Which of these places would you travel to first?" | prompt-size="large" diff --git a/extensions/amp-story-interactive/0.1/test/validator-amp-story-interactive-img-quiz.html b/extensions/amp-story-interactive/0.1/test/validator-amp-story-interactive-img-quiz.html index d7036563aab2..bf840532a491 100644 --- a/extensions/amp-story-interactive/0.1/test/validator-amp-story-interactive-img-quiz.html +++ b/extensions/amp-story-interactive/0.1/test/validator-amp-story-interactive-img-quiz.html @@ -1,18 +1,3 @@ -<!-- - Copyright 2021 The AMP HTML Authors. All Rights Reserved. - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS-IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the license. ---> <!-- Test Description: Correct image quiz, as well as 3 incorrect image quizzes diff --git a/extensions/amp-story-interactive/0.1/test/validator-amp-story-interactive-img-quiz.out b/extensions/amp-story-interactive/0.1/test/validator-amp-story-interactive-img-quiz.out index c0f306c61b0c..8b6a6ddac4e9 100644 --- a/extensions/amp-story-interactive/0.1/test/validator-amp-story-interactive-img-quiz.out +++ b/extensions/amp-story-interactive/0.1/test/validator-amp-story-interactive-img-quiz.out @@ -1,20 +1,5 @@ FAIL | <!-- -| Copyright 2021 The AMP HTML Authors. All Rights Reserved. -| -| Licensed under the Apache License, Version 2.0 (the "License"); -| you may not use this file except in compliance with the License. -| You may obtain a copy of the License at -| -| http://www.apache.org/licenses/LICENSE-2.0 -| -| Unless required by applicable law or agreed to in writing, software -| distributed under the License is distributed on an "AS-IS" BASIS, -| WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -| See the License for the specific language governing permissions and -| limitations under the license. -| --> -| <!-- | Test Description: | Correct image quiz, as well as 3 incorrect image quizzes | --> @@ -58,7 +43,7 @@ FAIL | <!-- Invalid: Image quiz missing a option-{1/2/3/4}-correct --> | <amp-story-interactive-img-quiz >> ^~~~~~~~~ -amp-story-interactive/0.1/test/validator-amp-story-interactive-img-quiz.html:58:8 The tag 'amp-story-interactive-img-quiz' is missing a mandatory attribute - pick one of ['option-1-correct', 'option-2-correct', 'option-3-correct', 'option-4-correct']. (see https://amp.dev/documentation/components/amp-story-interactive) +amp-story-interactive/0.1/test/validator-amp-story-interactive-img-quiz.html:43:8 The tag 'amp-story-interactive-img-quiz' is missing a mandatory attribute - pick one of ['option-1-correct', 'option-2-correct', 'option-3-correct', 'option-4-correct']. (see https://amp.dev/documentation/components/amp-story-interactive) | id="missing-correct-img-quiz" | prompt-text="Which of these structures is oldest?" | endpoint="https://webstoriesinteractivity-beta.web.app/api/v1" @@ -78,7 +63,7 @@ amp-story-interactive/0.1/test/validator-amp-story-interactive-img-quiz.html:58: | <!-- Invalid: Image quiz endpoint must be a valid URL --> | <amp-story-interactive-img-quiz >> ^~~~~~~~~ -amp-story-interactive/0.1/test/validator-amp-story-interactive-img-quiz.html:76:8 Missing URL for attribute 'endpoint' in tag 'amp-story-interactive-img-quiz'. (see https://amp.dev/documentation/components/amp-story-interactive) +amp-story-interactive/0.1/test/validator-amp-story-interactive-img-quiz.html:61:8 Missing URL for attribute 'endpoint' in tag 'amp-story-interactive-img-quiz'. (see https://amp.dev/documentation/components/amp-story-interactive) | id="invalid-endpoint-img-quiz" | prompt-text="Which of these structures is oldest?" | endpoint="" @@ -99,13 +84,13 @@ amp-story-interactive/0.1/test/validator-amp-story-interactive-img-quiz.html:76: | <!-- Invalid: Image quiz options must have alt attributes --> | <amp-story-interactive-img-quiz >> ^~~~~~~~~ -amp-story-interactive/0.1/test/validator-amp-story-interactive-img-quiz.html:95:8 The attribute 'option-3-image-alt' in tag 'amp-story-interactive-img-quiz' is missing or incorrect, but required by attribute 'option-3-image'. (see https://amp.dev/documentation/components/amp-story-interactive) +amp-story-interactive/0.1/test/validator-amp-story-interactive-img-quiz.html:80:8 The attribute 'option-3-image-alt' in tag 'amp-story-interactive-img-quiz' is missing or incorrect, but required by attribute 'option-3-image'. (see https://amp.dev/documentation/components/amp-story-interactive) >> ^~~~~~~~~ -amp-story-interactive/0.1/test/validator-amp-story-interactive-img-quiz.html:95:8 The attribute 'option-4-image-alt' in tag 'amp-story-interactive-img-quiz' is missing or incorrect, but required by attribute 'option-4-image'. (see https://amp.dev/documentation/components/amp-story-interactive) +amp-story-interactive/0.1/test/validator-amp-story-interactive-img-quiz.html:80:8 The attribute 'option-4-image-alt' in tag 'amp-story-interactive-img-quiz' is missing or incorrect, but required by attribute 'option-4-image'. (see https://amp.dev/documentation/components/amp-story-interactive) >> ^~~~~~~~~ -amp-story-interactive/0.1/test/validator-amp-story-interactive-img-quiz.html:95:8 The mandatory attribute 'option-1-image-alt' is missing in tag 'amp-story-interactive-img-quiz'. (see https://amp.dev/documentation/components/amp-story-interactive) +amp-story-interactive/0.1/test/validator-amp-story-interactive-img-quiz.html:80:8 The mandatory attribute 'option-1-image-alt' is missing in tag 'amp-story-interactive-img-quiz'. (see https://amp.dev/documentation/components/amp-story-interactive) >> ^~~~~~~~~ -amp-story-interactive/0.1/test/validator-amp-story-interactive-img-quiz.html:95:8 The mandatory attribute 'option-2-image-alt' is missing in tag 'amp-story-interactive-img-quiz'. (see https://amp.dev/documentation/components/amp-story-interactive) +amp-story-interactive/0.1/test/validator-amp-story-interactive-img-quiz.html:80:8 The mandatory attribute 'option-2-image-alt' is missing in tag 'amp-story-interactive-img-quiz'. (see https://amp.dev/documentation/components/amp-story-interactive) | id="missing-alt-img-quiz" | prompt-text="Which of these structures is oldest?" | endpoint="https://webstoriesinteractivity-beta.web.app/api/v1" @@ -122,13 +107,13 @@ amp-story-interactive/0.1/test/validator-amp-story-interactive-img-quiz.html:95: | <!-- Invalid: Image quiz image URL must use a valid protocol --> | <amp-story-interactive-img-quiz >> ^~~~~~~~~ -amp-story-interactive/0.1/test/validator-amp-story-interactive-img-quiz.html:110:8 Invalid URL protocol 'nothttps:' for attribute 'option-1-image' in tag 'amp-story-interactive-img-quiz'. (see https://amp.dev/documentation/components/amp-story-interactive) +amp-story-interactive/0.1/test/validator-amp-story-interactive-img-quiz.html:95:8 Invalid URL protocol 'nothttps:' for attribute 'option-1-image' in tag 'amp-story-interactive-img-quiz'. (see https://amp.dev/documentation/components/amp-story-interactive) >> ^~~~~~~~~ -amp-story-interactive/0.1/test/validator-amp-story-interactive-img-quiz.html:110:8 Invalid URL protocol 'nothttps:' for attribute 'option-2-image' in tag 'amp-story-interactive-img-quiz'. (see https://amp.dev/documentation/components/amp-story-interactive) +amp-story-interactive/0.1/test/validator-amp-story-interactive-img-quiz.html:95:8 Invalid URL protocol 'nothttps:' for attribute 'option-2-image' in tag 'amp-story-interactive-img-quiz'. (see https://amp.dev/documentation/components/amp-story-interactive) >> ^~~~~~~~~ -amp-story-interactive/0.1/test/validator-amp-story-interactive-img-quiz.html:110:8 Invalid URL protocol 'nothttps:' for attribute 'option-3-image' in tag 'amp-story-interactive-img-quiz'. (see https://amp.dev/documentation/components/amp-story-interactive) +amp-story-interactive/0.1/test/validator-amp-story-interactive-img-quiz.html:95:8 Invalid URL protocol 'nothttps:' for attribute 'option-3-image' in tag 'amp-story-interactive-img-quiz'. (see https://amp.dev/documentation/components/amp-story-interactive) >> ^~~~~~~~~ -amp-story-interactive/0.1/test/validator-amp-story-interactive-img-quiz.html:110:8 Invalid URL protocol 'nothttps:' for attribute 'option-4-image' in tag 'amp-story-interactive-img-quiz'. (see https://amp.dev/documentation/components/amp-story-interactive) +amp-story-interactive/0.1/test/validator-amp-story-interactive-img-quiz.html:95:8 Invalid URL protocol 'nothttps:' for attribute 'option-4-image' in tag 'amp-story-interactive-img-quiz'. (see https://amp.dev/documentation/components/amp-story-interactive) | id="invalid-img-url-img-quiz" | prompt-text="Which of these structures is oldest?" | prompt-size="large" diff --git a/extensions/amp-story-interactive/0.1/test/validator-amp-story-interactive-poll.html b/extensions/amp-story-interactive/0.1/test/validator-amp-story-interactive-poll.html index 426181dd2b5e..aa186f3777ec 100644 --- a/extensions/amp-story-interactive/0.1/test/validator-amp-story-interactive-poll.html +++ b/extensions/amp-story-interactive/0.1/test/validator-amp-story-interactive-poll.html @@ -1,18 +1,3 @@ -<!-- - Copyright 2020 The AMP HTML Authors. All Rights Reserved. - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS-IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the license. ---> <!-- Test Description: Correct poll, as well as 2 incorrect polls and a correct binary poll diff --git a/extensions/amp-story-interactive/0.1/test/validator-amp-story-interactive-poll.out b/extensions/amp-story-interactive/0.1/test/validator-amp-story-interactive-poll.out index 69262e8fb62b..df4fbdfa1aa0 100644 --- a/extensions/amp-story-interactive/0.1/test/validator-amp-story-interactive-poll.out +++ b/extensions/amp-story-interactive/0.1/test/validator-amp-story-interactive-poll.out @@ -1,20 +1,5 @@ FAIL | <!-- -| Copyright 2020 The AMP HTML Authors. All Rights Reserved. -| -| Licensed under the Apache License, Version 2.0 (the "License"); -| you may not use this file except in compliance with the License. -| You may obtain a copy of the License at -| -| http://www.apache.org/licenses/LICENSE-2.0 -| -| Unless required by applicable law or agreed to in writing, software -| distributed under the License is distributed on an "AS-IS" BASIS, -| WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -| See the License for the specific language governing permissions and -| limitations under the license. -| --> -| <!-- | Test Description: | Correct poll, as well as 2 incorrect polls and a correct binary poll | --> @@ -54,7 +39,7 @@ FAIL | <!-- Invalid: Poll missing endpoint attribute --> | <amp-story-interactive-poll >> ^~~~~~~~~ -amp-story-interactive/0.1/test/validator-amp-story-interactive-poll.html:54:8 The mandatory attribute 'endpoint' is missing in tag 'amp-story-interactive-poll'. (see https://amp.dev/documentation/components/amp-story-interactive) +amp-story-interactive/0.1/test/validator-amp-story-interactive-poll.html:39:8 The mandatory attribute 'endpoint' is missing in tag 'amp-story-interactive-poll'. (see https://amp.dev/documentation/components/amp-story-interactive) | id="missing-endpoint-poll" | option-1-text="France" | option-2-text="Spain" @@ -67,7 +52,7 @@ amp-story-interactive/0.1/test/validator-amp-story-interactive-poll.html:54:8 Th | <!-- Invalid: Poll cannot have option-{1/2/3/4}-correct attribute --> | <amp-story-interactive-poll >> ^~~~~~~~~ -amp-story-interactive/0.1/test/validator-amp-story-interactive-poll.html:65:8 The attribute 'option-1-correct' may not appear in tag 'amp-story-interactive-poll'. (see https://amp.dev/documentation/components/amp-story-interactive) +amp-story-interactive/0.1/test/validator-amp-story-interactive-poll.html:50:8 The attribute 'option-1-correct' may not appear in tag 'amp-story-interactive-poll'. (see https://amp.dev/documentation/components/amp-story-interactive) | id="extra-correct-poll" | endpoint="https://webstoriesinteractivity-beta.web.app/api/v1" | option-1-text="France" option-1-correct diff --git a/extensions/amp-story-interactive/0.1/test/validator-amp-story-interactive-quiz.html b/extensions/amp-story-interactive/0.1/test/validator-amp-story-interactive-quiz.html index 53ee7413fa74..be485bb7e7b2 100644 --- a/extensions/amp-story-interactive/0.1/test/validator-amp-story-interactive-quiz.html +++ b/extensions/amp-story-interactive/0.1/test/validator-amp-story-interactive-quiz.html @@ -1,18 +1,3 @@ -<!-- - Copyright 2020 The AMP HTML Authors. All Rights Reserved. - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS-IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the license. ---> <!-- Test Description: Correct quiz, as well as 2 incorrect quizzes diff --git a/extensions/amp-story-interactive/0.1/test/validator-amp-story-interactive-quiz.out b/extensions/amp-story-interactive/0.1/test/validator-amp-story-interactive-quiz.out index e5b7bb358d7f..30e417b1a89d 100644 --- a/extensions/amp-story-interactive/0.1/test/validator-amp-story-interactive-quiz.out +++ b/extensions/amp-story-interactive/0.1/test/validator-amp-story-interactive-quiz.out @@ -1,20 +1,5 @@ FAIL | <!-- -| Copyright 2020 The AMP HTML Authors. All Rights Reserved. -| -| Licensed under the Apache License, Version 2.0 (the "License"); -| you may not use this file except in compliance with the License. -| You may obtain a copy of the License at -| -| http://www.apache.org/licenses/LICENSE-2.0 -| -| Unless required by applicable law or agreed to in writing, software -| distributed under the License is distributed on an "AS-IS" BASIS, -| WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -| See the License for the specific language governing permissions and -| limitations under the license. -| --> -| <!-- | Test Description: | Correct quiz, as well as 2 incorrect quizzes | --> @@ -54,7 +39,7 @@ FAIL | <!-- Invalid: Quiz missing a option-{1/2/3/4}-correct --> | <amp-story-interactive-quiz >> ^~~~~~~~~ -amp-story-interactive/0.1/test/validator-amp-story-interactive-quiz.html:54:8 The tag 'amp-story-interactive-quiz' is missing a mandatory attribute - pick one of ['option-1-correct', 'option-2-correct', 'option-3-correct', 'option-4-correct']. (see https://amp.dev/documentation/components/amp-story-interactive) +amp-story-interactive/0.1/test/validator-amp-story-interactive-quiz.html:39:8 The tag 'amp-story-interactive-quiz' is missing a mandatory attribute - pick one of ['option-1-correct', 'option-2-correct', 'option-3-correct', 'option-4-correct']. (see https://amp.dev/documentation/components/amp-story-interactive) | id="missing-correct-quiz" | endpoint="https://webstoriesinteractivity-beta.web.app/api/v1" | option-1-text="France" @@ -68,7 +53,7 @@ amp-story-interactive/0.1/test/validator-amp-story-interactive-quiz.html:54:8 Th | <!-- Invalid: Quiz endpoint must be a valid URL --> | <amp-story-interactive-poll >> ^~~~~~~~~ -amp-story-interactive/0.1/test/validator-amp-story-interactive-quiz.html:66:8 The relative URL 'hi' for attribute 'endpoint' in tag 'amp-story-interactive-poll' is disallowed. (see https://amp.dev/documentation/components/amp-story-interactive) +amp-story-interactive/0.1/test/validator-amp-story-interactive-quiz.html:51:8 The relative URL 'hi' for attribute 'endpoint' in tag 'amp-story-interactive-poll' is disallowed. (see https://amp.dev/documentation/components/amp-story-interactive) | id="wrong-endpoint-quiz" | endpoint="hi" | option-1-text="France" diff --git a/extensions/amp-story-interactive/0.1/test/validator-amp-story-interactive-results.html b/extensions/amp-story-interactive/0.1/test/validator-amp-story-interactive-results.html index 392fac2ce505..81b110e5d1f0 100644 --- a/extensions/amp-story-interactive/0.1/test/validator-amp-story-interactive-results.html +++ b/extensions/amp-story-interactive/0.1/test/validator-amp-story-interactive-results.html @@ -1,18 +1,3 @@ -<!-- - Copyright 2020 The AMP HTML Authors. All Rights Reserved. - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS-IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the license. ---> <!-- Test Description: Correct results, as well as 2 incorrect results diff --git a/extensions/amp-story-interactive/0.1/test/validator-amp-story-interactive-results.out b/extensions/amp-story-interactive/0.1/test/validator-amp-story-interactive-results.out index aa996cfe4889..621fe4190be1 100644 --- a/extensions/amp-story-interactive/0.1/test/validator-amp-story-interactive-results.out +++ b/extensions/amp-story-interactive/0.1/test/validator-amp-story-interactive-results.out @@ -1,20 +1,5 @@ FAIL | <!-- -| Copyright 2020 The AMP HTML Authors. All Rights Reserved. -| -| Licensed under the Apache License, Version 2.0 (the "License"); -| you may not use this file except in compliance with the License. -| You may obtain a copy of the License at -| -| http://www.apache.org/licenses/LICENSE-2.0 -| -| Unless required by applicable law or agreed to in writing, software -| distributed under the License is distributed on an "AS-IS" BASIS, -| WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -| See the License for the specific language governing permissions and -| limitations under the license. -| --> -| <!-- | Test Description: | Correct results, as well as 2 incorrect results | --> @@ -52,17 +37,17 @@ FAIL | <!-- Invalid: Results is missing all option-{1/2/3/4}-results-category attributes --> | <amp-story-interactive-results >> ^~~~~~~~~ -amp-story-interactive/0.1/test/validator-amp-story-interactive-results.html:52:8 The attribute 'option-3-results-category' in tag 'amp-story-interactive-results' is missing or incorrect, but required by attribute 'option-3-image'. (see https://amp.dev/documentation/components/amp-story-interactive) +amp-story-interactive/0.1/test/validator-amp-story-interactive-results.html:37:8 The attribute 'option-3-results-category' in tag 'amp-story-interactive-results' is missing or incorrect, but required by attribute 'option-3-image'. (see https://amp.dev/documentation/components/amp-story-interactive) >> ^~~~~~~~~ -amp-story-interactive/0.1/test/validator-amp-story-interactive-results.html:52:8 The attribute 'option-3-results-category' in tag 'amp-story-interactive-results' is missing or incorrect, but required by attribute 'option-3-text'. (see https://amp.dev/documentation/components/amp-story-interactive) +amp-story-interactive/0.1/test/validator-amp-story-interactive-results.html:37:8 The attribute 'option-3-results-category' in tag 'amp-story-interactive-results' is missing or incorrect, but required by attribute 'option-3-text'. (see https://amp.dev/documentation/components/amp-story-interactive) >> ^~~~~~~~~ -amp-story-interactive/0.1/test/validator-amp-story-interactive-results.html:52:8 The attribute 'option-4-results-category' in tag 'amp-story-interactive-results' is missing or incorrect, but required by attribute 'option-4-image'. (see https://amp.dev/documentation/components/amp-story-interactive) +amp-story-interactive/0.1/test/validator-amp-story-interactive-results.html:37:8 The attribute 'option-4-results-category' in tag 'amp-story-interactive-results' is missing or incorrect, but required by attribute 'option-4-image'. (see https://amp.dev/documentation/components/amp-story-interactive) >> ^~~~~~~~~ -amp-story-interactive/0.1/test/validator-amp-story-interactive-results.html:52:8 The attribute 'option-4-results-category' in tag 'amp-story-interactive-results' is missing or incorrect, but required by attribute 'option-4-text'. (see https://amp.dev/documentation/components/amp-story-interactive) +amp-story-interactive/0.1/test/validator-amp-story-interactive-results.html:37:8 The attribute 'option-4-results-category' in tag 'amp-story-interactive-results' is missing or incorrect, but required by attribute 'option-4-text'. (see https://amp.dev/documentation/components/amp-story-interactive) >> ^~~~~~~~~ -amp-story-interactive/0.1/test/validator-amp-story-interactive-results.html:52:8 The mandatory attribute 'option-1-results-category' is missing in tag 'amp-story-interactive-results'. (see https://amp.dev/documentation/components/amp-story-interactive) +amp-story-interactive/0.1/test/validator-amp-story-interactive-results.html:37:8 The mandatory attribute 'option-1-results-category' is missing in tag 'amp-story-interactive-results'. (see https://amp.dev/documentation/components/amp-story-interactive) >> ^~~~~~~~~ -amp-story-interactive/0.1/test/validator-amp-story-interactive-results.html:52:8 The mandatory attribute 'option-2-results-category' is missing in tag 'amp-story-interactive-results'. (see https://amp.dev/documentation/components/amp-story-interactive) +amp-story-interactive/0.1/test/validator-amp-story-interactive-results.html:37:8 The mandatory attribute 'option-2-results-category' is missing in tag 'amp-story-interactive-results'. (see https://amp.dev/documentation/components/amp-story-interactive) | id="missing-results-category" | prompt-text="What country do you like the most?" | option-1-text="France" option-1-image="./dog.png" @@ -77,7 +62,7 @@ amp-story-interactive/0.1/test/validator-amp-story-interactive-results.html:52:8 | <!-- Invalid: Results cannot have an endpoint attribute --> | <amp-story-interactive-results >> ^~~~~~~~~ -amp-story-interactive/0.1/test/validator-amp-story-interactive-results.html:65:8 The attribute 'endpoint' may not appear in tag 'amp-story-interactive-results'. (see https://amp.dev/documentation/components/amp-story-interactive) +amp-story-interactive/0.1/test/validator-amp-story-interactive-results.html:50:8 The attribute 'endpoint' may not appear in tag 'amp-story-interactive-results'. (see https://amp.dev/documentation/components/amp-story-interactive) | id="extra-endpoint-results" | endpoint="https://webstoriesinteractivity-beta.web.app/api/v1" | option-1-text="France" option-1-results-category="Dog" @@ -88,7 +73,7 @@ amp-story-interactive/0.1/test/validator-amp-story-interactive-results.html:65:8 | <!-- Invalid: Threshold has to be specified as a number --> | <amp-story-interactive-results >> ^~~~~~~~~ -amp-story-interactive/0.1/test/validator-amp-story-interactive-results.html:74:8 The attribute 'option-4-results-threshold' in tag 'amp-story-interactive-results' is set to the invalid value 'a'. (see https://amp.dev/documentation/components/amp-story-interactive) +amp-story-interactive/0.1/test/validator-amp-story-interactive-results.html:59:8 The attribute 'option-4-results-threshold' in tag 'amp-story-interactive-results' is set to the invalid value 'a'. (see https://amp.dev/documentation/components/amp-story-interactive) | id="threshold attributes" | option-1-text="France" option-1-results-category="Dog" option-1-results-threshold="100" | option-2-text="Spain" option-2-results-category="Cat" option-2-results-threshold="100" diff --git a/extensions/amp-story-interactive/0.1/test/validator-amp-story-interactive-valid.html b/extensions/amp-story-interactive/0.1/test/validator-amp-story-interactive-valid.html index f4a158cb5941..df7bbc5c7c8a 100644 --- a/extensions/amp-story-interactive/0.1/test/validator-amp-story-interactive-valid.html +++ b/extensions/amp-story-interactive/0.1/test/validator-amp-story-interactive-valid.html @@ -1,18 +1,3 @@ -<!-- - Copyright 2020 The AMP HTML Authors. All Rights Reserved. - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS-IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the license. ---> <!-- Test Description: One correct component of each type: binary-poll, poll, quiz, image poll, image quiz, results diff --git a/extensions/amp-story-interactive/0.1/test/validator-amp-story-interactive-valid.out b/extensions/amp-story-interactive/0.1/test/validator-amp-story-interactive-valid.out index d418d1aad4f1..b0fd5adff893 100644 --- a/extensions/amp-story-interactive/0.1/test/validator-amp-story-interactive-valid.out +++ b/extensions/amp-story-interactive/0.1/test/validator-amp-story-interactive-valid.out @@ -1,20 +1,5 @@ PASS | <!-- -| Copyright 2020 The AMP HTML Authors. All Rights Reserved. -| -| Licensed under the Apache License, Version 2.0 (the "License"); -| you may not use this file except in compliance with the License. -| You may obtain a copy of the License at -| -| http://www.apache.org/licenses/LICENSE-2.0 -| -| Unless required by applicable law or agreed to in writing, software -| distributed under the License is distributed on an "AS-IS" BASIS, -| WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -| See the License for the specific language governing permissions and -| limitations under the license. -| --> -| <!-- | Test Description: | One correct component of each type: binary-poll, poll, quiz, image poll, image quiz, results | --> diff --git a/extensions/amp-story-panning-media/0.1/test/validator-amp-story-panning-media.html b/extensions/amp-story-panning-media/0.1/test/validator-amp-story-panning-media.html index 2f0724e87d89..927fe6b417d0 100644 --- a/extensions/amp-story-panning-media/0.1/test/validator-amp-story-panning-media.html +++ b/extensions/amp-story-panning-media/0.1/test/validator-amp-story-panning-media.html @@ -1,18 +1,3 @@ -<!-- - Copyright 2020 The AMP HTML Authors. All Rights Reserved. - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS-IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the license. ---> <!-- Test Description: Tests for the amp-story-panning-media tags. diff --git a/extensions/amp-story-panning-media/0.1/test/validator-amp-story-panning-media.out b/extensions/amp-story-panning-media/0.1/test/validator-amp-story-panning-media.out index 775c423565bf..ce6284c08ec2 100644 --- a/extensions/amp-story-panning-media/0.1/test/validator-amp-story-panning-media.out +++ b/extensions/amp-story-panning-media/0.1/test/validator-amp-story-panning-media.out @@ -1,20 +1,5 @@ PASS | <!-- -| Copyright 2020 The AMP HTML Authors. All Rights Reserved. -| -| Licensed under the Apache License, Version 2.0 (the "License"); -| you may not use this file except in compliance with the License. -| You may obtain a copy of the License at -| -| http://www.apache.org/licenses/LICENSE-2.0 -| -| Unless required by applicable law or agreed to in writing, software -| distributed under the License is distributed on an "AS-IS" BASIS, -| WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -| See the License for the specific language governing permissions and -| limitations under the license. -| --> -| <!-- | Test Description: | Tests for the amp-story-panning-media tags. | --> diff --git a/extensions/amp-story-player/0.1/test/validator-amp-story-player-error.html b/extensions/amp-story-player/0.1/test/validator-amp-story-player-error.html index 7913a5385ca3..976621c09b86 100644 --- a/extensions/amp-story-player/0.1/test/validator-amp-story-player-error.html +++ b/extensions/amp-story-player/0.1/test/validator-amp-story-player-error.html @@ -1,15 +1,3 @@ -<!-- - Copyright 2021 The AMP HTML Authors. All Rights Reserved. - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - http://www.apache.org/licenses/LICENSE-2.0 - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS-IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the license. ---> <!-- Test Description: Tests that should fail for the amp-story-player tag. diff --git a/extensions/amp-story-player/0.1/test/validator-amp-story-player-error.out b/extensions/amp-story-player/0.1/test/validator-amp-story-player-error.out index 73d92a03f7a9..75d3ddfed792 100644 --- a/extensions/amp-story-player/0.1/test/validator-amp-story-player-error.out +++ b/extensions/amp-story-player/0.1/test/validator-amp-story-player-error.out @@ -1,17 +1,5 @@ FAIL | <!-- -| Copyright 2021 The AMP HTML Authors. All Rights Reserved. -| Licensed under the Apache License, Version 2.0 (the "License"); -| you may not use this file except in compliance with the License. -| You may obtain a copy of the License at -| http://www.apache.org/licenses/LICENSE-2.0 -| Unless required by applicable law or agreed to in writing, software -| distributed under the License is distributed on an "AS-IS" BASIS, -| WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -| See the License for the specific language governing permissions and -| limitations under the license. -| --> -| <!-- | Test Description: | Tests that should fail for the amp-story-player tag. | --> @@ -32,7 +20,7 @@ FAIL | <!-- <img> should be a child of <a> --> | <img data-amp-story-player-poster-img src="https://www.example.com/img" width="360" height="600" loading="lazy"> >> ^~~~~~~~~ -amp-story-player/0.1/test/validator-amp-story-player-error.html:32:4 The parent tag of tag 'img' is 'amp-story-player', but it can only be 'a'. (see https://amp.dev/documentation/components/amp-story-player/) +amp-story-player/0.1/test/validator-amp-story-player-error.html:20:4 The parent tag of tag 'img' is 'amp-story-player', but it can only be 'a'. (see https://amp.dev/documentation/components/amp-story-player/) | <a href="https://www.example.com" class="story"> | <span class="title">A local’s guide to what to eat and do in New York City</span> | </a> @@ -40,14 +28,14 @@ amp-story-player/0.1/test/validator-amp-story-player-error.html:32:4 The parent | <!-- <img> should contain src attribute --> | <img data-amp-story-player-poster-img width="360" height="600" loading="lazy"> >> ^~~~~~~~~ -amp-story-player/0.1/test/validator-amp-story-player-error.html:38:6 The mandatory attribute 'src' is missing in tag 'img'. (see https://amp.dev/documentation/components/amp-story-player/) +amp-story-player/0.1/test/validator-amp-story-player-error.html:26:6 The mandatory attribute 'src' is missing in tag 'img'. (see https://amp.dev/documentation/components/amp-story-player/) | <span class="title">A local’s guide to what to eat and do in Mexico City</span> | </a> | <a href="https://www.example.com2" class="story"> | <!-- <img> should contain data-amp-story-player-poster-img attribute --> | <img src="https://www.example.com/img" width="360" height="600" loading="lazy"> >> ^~~~~~~~~ -amp-story-player/0.1/test/validator-amp-story-player-error.html:43:6 The tag 'img' may only appear as a descendant of tag 'noscript'. Did you mean 'amp-img'? (see https://amp.dev/documentation/components/amp-img/) +amp-story-player/0.1/test/validator-amp-story-player-error.html:31:6 The tag 'img' may only appear as a descendant of tag 'noscript'. Did you mean 'amp-img'? (see https://amp.dev/documentation/components/amp-img/) | <span class="title">A local’s guide to what to eat and do in Mexico City</span> | </a> | </amp-story-player> diff --git a/extensions/amp-story-player/0.1/test/validator-amp-story-player-img-error.html b/extensions/amp-story-player/0.1/test/validator-amp-story-player-img-error.html index e350ec66f66e..41e33af57707 100644 --- a/extensions/amp-story-player/0.1/test/validator-amp-story-player-img-error.html +++ b/extensions/amp-story-player/0.1/test/validator-amp-story-player-img-error.html @@ -1,15 +1,3 @@ -<!-- - Copyright 2021 The AMP HTML Authors. All Rights Reserved. - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - http://www.apache.org/licenses/LICENSE-2.0 - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS-IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the license. ---> <!-- Test Description: Tests for the amp-story-player when using an img. diff --git a/extensions/amp-story-player/0.1/test/validator-amp-story-player-img-error.out b/extensions/amp-story-player/0.1/test/validator-amp-story-player-img-error.out index 788e784c0236..61d7cdba82ba 100644 --- a/extensions/amp-story-player/0.1/test/validator-amp-story-player-img-error.out +++ b/extensions/amp-story-player/0.1/test/validator-amp-story-player-img-error.out @@ -1,17 +1,5 @@ FAIL | <!-- -| Copyright 2021 The AMP HTML Authors. All Rights Reserved. -| Licensed under the Apache License, Version 2.0 (the "License"); -| you may not use this file except in compliance with the License. -| You may obtain a copy of the License at -| http://www.apache.org/licenses/LICENSE-2.0 -| Unless required by applicable law or agreed to in writing, software -| distributed under the License is distributed on an "AS-IS" BASIS, -| WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -| See the License for the specific language governing permissions and -| limitations under the license. -| --> -| <!-- | Test Description: | Tests for the amp-story-player when using an img. | --> @@ -32,7 +20,7 @@ FAIL | <!-- This should fail, since img tags are not allowed in AMP yet. --> | <img alt aria-hidden="true" class="i-amphtml-intrinsic-sizer" role="presentation" src="data:image/svg+xml;base64,PHN2ZyBoZWlnaHQ9IjYwMCIgd2lkdGg9IjM2MCIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB2ZXJzaW9uPSIxLjEiLz4="> >> ^~~~~~~~~ -amp-story-player/0.1/test/validator-amp-story-player-img-error.html:32:4 The tag 'img' may only appear as a descendant of tag 'noscript'. Did you mean 'amp-img'? (see https://amp.dev/documentation/components/amp-img/) +amp-story-player/0.1/test/validator-amp-story-player-img-error.html:20:4 The tag 'img' may only appear as a descendant of tag 'noscript'. Did you mean 'amp-img'? (see https://amp.dev/documentation/components/amp-img/) | </amp-story-player> | </body> | </html> diff --git a/extensions/amp-story-player/0.1/test/validator-amp-story-player-img.html b/extensions/amp-story-player/0.1/test/validator-amp-story-player-img.html index 4b3155ad560c..9cca632d33b6 100644 --- a/extensions/amp-story-player/0.1/test/validator-amp-story-player-img.html +++ b/extensions/amp-story-player/0.1/test/validator-amp-story-player-img.html @@ -1,15 +1,3 @@ -<!-- - Copyright 2021 The AMP HTML Authors. All Rights Reserved. - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - http://www.apache.org/licenses/LICENSE-2.0 - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS-IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the license. ---> <!-- Test Description: Tests for the amp-story-player tag using the img tag. diff --git a/extensions/amp-story-player/0.1/test/validator-amp-story-player-img.out b/extensions/amp-story-player/0.1/test/validator-amp-story-player-img.out index 38f44d535d00..cd614bc3476b 100644 --- a/extensions/amp-story-player/0.1/test/validator-amp-story-player-img.out +++ b/extensions/amp-story-player/0.1/test/validator-amp-story-player-img.out @@ -1,17 +1,5 @@ PASS | <!-- -| Copyright 2021 The AMP HTML Authors. All Rights Reserved. -| Licensed under the Apache License, Version 2.0 (the "License"); -| you may not use this file except in compliance with the License. -| You may obtain a copy of the License at -| http://www.apache.org/licenses/LICENSE-2.0 -| Unless required by applicable law or agreed to in writing, software -| distributed under the License is distributed on an "AS-IS" BASIS, -| WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -| See the License for the specific language governing permissions and -| limitations under the license. -| --> -| <!-- | Test Description: | Tests for the amp-story-player tag using the img tag. | --> diff --git a/extensions/amp-story-player/0.1/test/validator-amp-story-player-sizer.html b/extensions/amp-story-player/0.1/test/validator-amp-story-player-sizer.html index 1b990201341e..a7a17a864832 100644 --- a/extensions/amp-story-player/0.1/test/validator-amp-story-player-sizer.html +++ b/extensions/amp-story-player/0.1/test/validator-amp-story-player-sizer.html @@ -1,15 +1,3 @@ -<!-- - Copyright 2021 The AMP HTML Authors. All Rights Reserved. - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - http://www.apache.org/licenses/LICENSE-2.0 - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS-IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the license. ---> <!-- Test Description: Tests for the amp-story-player transformed. diff --git a/extensions/amp-story-player/0.1/test/validator-amp-story-player-sizer.out b/extensions/amp-story-player/0.1/test/validator-amp-story-player-sizer.out index 6daf5ce3a81e..9c6a9b7c40f5 100644 --- a/extensions/amp-story-player/0.1/test/validator-amp-story-player-sizer.out +++ b/extensions/amp-story-player/0.1/test/validator-amp-story-player-sizer.out @@ -1,17 +1,5 @@ PASS | <!-- -| Copyright 2021 The AMP HTML Authors. All Rights Reserved. -| Licensed under the Apache License, Version 2.0 (the "License"); -| you may not use this file except in compliance with the License. -| You may obtain a copy of the License at -| http://www.apache.org/licenses/LICENSE-2.0 -| Unless required by applicable law or agreed to in writing, software -| distributed under the License is distributed on an "AS-IS" BASIS, -| WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -| See the License for the specific language governing permissions and -| limitations under the license. -| --> -| <!-- | Test Description: | Tests for the amp-story-player transformed. | --> diff --git a/extensions/amp-story-player/0.1/test/validator-amp-story-player.html b/extensions/amp-story-player/0.1/test/validator-amp-story-player.html index 2a6708a6f774..19155555fe4b 100644 --- a/extensions/amp-story-player/0.1/test/validator-amp-story-player.html +++ b/extensions/amp-story-player/0.1/test/validator-amp-story-player.html @@ -1,15 +1,3 @@ -<!-- - Copyright 2020 The AMP HTML Authors. All Rights Reserved. - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - http://www.apache.org/licenses/LICENSE-2.0 - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS-IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the license. ---> <!-- Test Description: Tests for the amp-story-player tag. diff --git a/extensions/amp-story-player/0.1/test/validator-amp-story-player.out b/extensions/amp-story-player/0.1/test/validator-amp-story-player.out index 661043c45091..72db27da78e4 100644 --- a/extensions/amp-story-player/0.1/test/validator-amp-story-player.out +++ b/extensions/amp-story-player/0.1/test/validator-amp-story-player.out @@ -1,17 +1,5 @@ PASS | <!-- -| Copyright 2020 The AMP HTML Authors. All Rights Reserved. -| Licensed under the Apache License, Version 2.0 (the "License"); -| you may not use this file except in compliance with the License. -| You may obtain a copy of the License at -| http://www.apache.org/licenses/LICENSE-2.0 -| Unless required by applicable law or agreed to in writing, software -| distributed under the License is distributed on an "AS-IS" BASIS, -| WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -| See the License for the specific language governing permissions and -| limitations under the license. -| --> -| <!-- | Test Description: | Tests for the amp-story-player tag. | --> diff --git a/extensions/amp-story/1.0/test/validator-amp-story-360.html b/extensions/amp-story/1.0/test/validator-amp-story-360.html index e18d6877c0e6..3dc86c270d74 100644 --- a/extensions/amp-story/1.0/test/validator-amp-story-360.html +++ b/extensions/amp-story/1.0/test/validator-amp-story-360.html @@ -1,18 +1,3 @@ -<!-- - Copyright 2020 The AMP HTML Authors. All Rights Reserved. - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS-IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the license. ---> <!-- Test Description: Tests the validation rules of the amp-story-360 tag. diff --git a/extensions/amp-story/1.0/test/validator-amp-story-360.out b/extensions/amp-story/1.0/test/validator-amp-story-360.out index d9800260205e..a50e6ac51c74 100644 --- a/extensions/amp-story/1.0/test/validator-amp-story-360.out +++ b/extensions/amp-story/1.0/test/validator-amp-story-360.out @@ -1,20 +1,5 @@ PASS | <!-- -| Copyright 2020 The AMP HTML Authors. All Rights Reserved. -| -| Licensed under the Apache License, Version 2.0 (the "License"); -| you may not use this file except in compliance with the License. -| You may obtain a copy of the License at -| -| http://www.apache.org/licenses/LICENSE-2.0 -| -| Unless required by applicable law or agreed to in writing, software -| distributed under the License is distributed on an "AS-IS" BASIS, -| WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -| See the License for the specific language governing permissions and -| limitations under the license. -| --> -| <!-- | Test Description: | Tests the validation rules of the amp-story-360 tag. | --> diff --git a/extensions/amp-story/1.0/test/validator-amp-story-amp-experiment-error.html b/extensions/amp-story/1.0/test/validator-amp-story-amp-experiment-error.html index 23ccdb725f97..a1badf42bb6a 100644 --- a/extensions/amp-story/1.0/test/validator-amp-story-amp-experiment-error.html +++ b/extensions/amp-story/1.0/test/validator-amp-story-amp-experiment-error.html @@ -1,15 +1,3 @@ -<!-- - Copyright 2019 The AMP HTML Authors. All Rights Reserved. - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - http://www.apache.org/licenses/LICENSE-2.0 - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS-IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the license. ---> <!-- Test Description: Failing tests for the amp-experiment component inside amp-story. diff --git a/extensions/amp-story/1.0/test/validator-amp-story-amp-experiment-error.out b/extensions/amp-story/1.0/test/validator-amp-story-amp-experiment-error.out index 03bd914a725e..56035dcce0f8 100644 --- a/extensions/amp-story/1.0/test/validator-amp-story-amp-experiment-error.out +++ b/extensions/amp-story/1.0/test/validator-amp-story-amp-experiment-error.out @@ -1,17 +1,5 @@ FAIL | <!-- -| Copyright 2019 The AMP HTML Authors. All Rights Reserved. -| Licensed under the Apache License, Version 2.0 (the "License"); -| you may not use this file except in compliance with the License. -| You may obtain a copy of the License at -| http://www.apache.org/licenses/LICENSE-2.0 -| Unless required by applicable law or agreed to in writing, software -| distributed under the License is distributed on an "AS-IS" BASIS, -| WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -| See the License for the specific language governing permissions and -| limitations under the license. -| --> -| <!-- | Test Description: | Failing tests for the amp-experiment component inside amp-story. | --> @@ -48,7 +36,7 @@ FAIL | <!-- Invalid: bare script not allowed as a child of amp-story-grid-layer --> | <script type="application/json"> >> ^~~~~~~~~ -amp-story/1.0/test/validator-amp-story-amp-experiment-error.html:48:8 Custom JavaScript is not allowed. (see https://amp.dev/documentation/guides-and-tutorials/learn/validation-workflow/validation_errors/#custom-javascript-is-not-allowed) +amp-story/1.0/test/validator-amp-story-amp-experiment-error.html:36:8 Custom JavaScript is not allowed. (see https://amp.dev/documentation/guides-and-tutorials/learn/validation-workflow/validation_errors/#custom-javascript-is-not-allowed) | { | "background-color-test": { | "variants": { @@ -63,7 +51,7 @@ amp-story/1.0/test/validator-amp-story-amp-experiment-error.html:48:8 Custom Jav | <!-- Invalid: amp-experiment not allowed as a child of amp-story-page --> | <amp-experiment> >> ^~~~~~~~~ -amp-story/1.0/test/validator-amp-story-amp-experiment-error.html:61:6 Tag 'amp-experiment' is disallowed as child of tag 'amp-story-page'. Child tag must be one of ['amp-analytics', 'amp-pixel', 'amp-story-animation', 'amp-story-auto-analytics', 'amp-story-cta-layer', 'amp-story-grid-layer', 'amp-story-page-attachment', 'amp-story-page-outlink']. (see https://amp.dev/documentation/components/amp-story) +amp-story/1.0/test/validator-amp-story-amp-experiment-error.html:49:6 Tag 'amp-experiment' is disallowed as child of tag 'amp-story-page'. Child tag must be one of ['amp-analytics', 'amp-pixel', 'amp-story-animation', 'amp-story-auto-analytics', 'amp-story-cta-layer', 'amp-story-grid-layer', 'amp-story-page-attachment', 'amp-story-page-outlink']. (see https://amp.dev/documentation/components/amp-story) | <script type="application/json"> | { | "background-color-test": { @@ -81,7 +69,7 @@ amp-story/1.0/test/validator-amp-story-amp-experiment-error.html:61:6 Tag 'amp-e | <!-- Invalid: amp-experiment not allowed as a child of amp-story --> | <amp-experiment> >> ^~~~~~~~~ -amp-story/1.0/test/validator-amp-story-amp-experiment-error.html:77:4 Tag 'amp-experiment' is disallowed as child of tag 'amp-story'. Child tag must be one of ['amp-analytics', 'amp-consent', 'amp-geo', 'amp-pixel', 'amp-sidebar', 'amp-story-auto-ads', 'amp-story-auto-analytics', 'amp-story-bookend', 'amp-story-page', 'amp-story-social-share']. (see https://amp.dev/documentation/components/amp-story) +amp-story/1.0/test/validator-amp-story-amp-experiment-error.html:65:4 Tag 'amp-experiment' is disallowed as child of tag 'amp-story'. Child tag must be one of ['amp-analytics', 'amp-consent', 'amp-geo', 'amp-pixel', 'amp-sidebar', 'amp-story-auto-ads', 'amp-story-auto-analytics', 'amp-story-bookend', 'amp-story-page', 'amp-story-social-share']. (see https://amp.dev/documentation/components/amp-story) | <script type="application/json"> | { | "background-color-test": { diff --git a/extensions/amp-story/1.0/test/validator-amp-story-amp-experiment.html b/extensions/amp-story/1.0/test/validator-amp-story-amp-experiment.html index 88b2c3c5c706..76e70ba207c3 100644 --- a/extensions/amp-story/1.0/test/validator-amp-story-amp-experiment.html +++ b/extensions/amp-story/1.0/test/validator-amp-story-amp-experiment.html @@ -1,15 +1,3 @@ -<!-- - Copyright 2019 The AMP HTML Authors. All Rights Reserved. - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - http://www.apache.org/licenses/LICENSE-2.0 - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS-IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the license. ---> <!-- Test Description: Passing tests for the amp-experiment component inside amp-story. diff --git a/extensions/amp-story/1.0/test/validator-amp-story-amp-experiment.out b/extensions/amp-story/1.0/test/validator-amp-story-amp-experiment.out index 7a18984077d4..607d6be4875c 100644 --- a/extensions/amp-story/1.0/test/validator-amp-story-amp-experiment.out +++ b/extensions/amp-story/1.0/test/validator-amp-story-amp-experiment.out @@ -1,17 +1,5 @@ PASS | <!-- -| Copyright 2019 The AMP HTML Authors. All Rights Reserved. -| Licensed under the Apache License, Version 2.0 (the "License"); -| you may not use this file except in compliance with the License. -| You may obtain a copy of the License at -| http://www.apache.org/licenses/LICENSE-2.0 -| Unless required by applicable law or agreed to in writing, software -| distributed under the License is distributed on an "AS-IS" BASIS, -| WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -| See the License for the specific language governing permissions and -| limitations under the license. -| --> -| <!-- | Test Description: | Passing tests for the amp-experiment component inside amp-story. | --> diff --git a/extensions/amp-story/1.0/test/validator-amp-story-amp-list.html b/extensions/amp-story/1.0/test/validator-amp-story-amp-list.html index cd180f897115..1d4b7b4bf13f 100644 --- a/extensions/amp-story/1.0/test/validator-amp-story-amp-list.html +++ b/extensions/amp-story/1.0/test/validator-amp-story-amp-list.html @@ -1,15 +1,3 @@ -<!-- - Copyright 2020 The AMP HTML Authors. All Rights Reserved. - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - http://www.apache.org/licenses/LICENSE-2.0 - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS-IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the license. ---> <!-- Test Description: Tests for the amp-list functionality inside amp-story. diff --git a/extensions/amp-story/1.0/test/validator-amp-story-amp-list.out b/extensions/amp-story/1.0/test/validator-amp-story-amp-list.out index 72c0aa87e187..7378a7331da4 100644 --- a/extensions/amp-story/1.0/test/validator-amp-story-amp-list.out +++ b/extensions/amp-story/1.0/test/validator-amp-story-amp-list.out @@ -1,17 +1,5 @@ PASS | <!-- -| Copyright 2020 The AMP HTML Authors. All Rights Reserved. -| Licensed under the Apache License, Version 2.0 (the "License"); -| you may not use this file except in compliance with the License. -| You may obtain a copy of the License at -| http://www.apache.org/licenses/LICENSE-2.0 -| Unless required by applicable law or agreed to in writing, software -| distributed under the License is distributed on an "AS-IS" BASIS, -| WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -| See the License for the specific language governing permissions and -| limitations under the license. -| --> -| <!-- | Test Description: | Tests for the amp-list functionality inside amp-story. | --> diff --git a/extensions/amp-story/1.0/test/validator-amp-story-amp-render.html b/extensions/amp-story/1.0/test/validator-amp-story-amp-render.html index e805e4a44afe..be6575d286c2 100644 --- a/extensions/amp-story/1.0/test/validator-amp-story-amp-render.html +++ b/extensions/amp-story/1.0/test/validator-amp-story-amp-render.html @@ -1,15 +1,3 @@ -<!-- - Copyright 2021 The AMP HTML Authors. All Rights Reserved. - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - http://www.apache.org/licenses/LICENSE-2.0 - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS-IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the license. ---> <!-- Test Description: Tests for the amp-render functionality inside amp-story. diff --git a/extensions/amp-story/1.0/test/validator-amp-story-amp-render.out b/extensions/amp-story/1.0/test/validator-amp-story-amp-render.out index 18df7429335c..1c43e0f93566 100644 --- a/extensions/amp-story/1.0/test/validator-amp-story-amp-render.out +++ b/extensions/amp-story/1.0/test/validator-amp-story-amp-render.out @@ -1,17 +1,5 @@ PASS | <!-- -| Copyright 2021 The AMP HTML Authors. All Rights Reserved. -| Licensed under the Apache License, Version 2.0 (the "License"); -| you may not use this file except in compliance with the License. -| You may obtain a copy of the License at -| http://www.apache.org/licenses/LICENSE-2.0 -| Unless required by applicable law or agreed to in writing, software -| distributed under the License is distributed on an "AS-IS" BASIS, -| WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -| See the License for the specific language governing permissions and -| limitations under the license. -| --> -| <!-- | Test Description: | Tests for the amp-render functionality inside amp-story. | --> diff --git a/extensions/amp-story/1.0/test/validator-amp-story-amp-twitter-error.html b/extensions/amp-story/1.0/test/validator-amp-story-amp-twitter-error.html index 510814480829..0bb6c011f773 100644 --- a/extensions/amp-story/1.0/test/validator-amp-story-amp-twitter-error.html +++ b/extensions/amp-story/1.0/test/validator-amp-story-amp-twitter-error.html @@ -1,15 +1,3 @@ -<!-- - Copyright 2019 The AMP HTML Authors. All Rights Reserved. - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - http://www.apache.org/licenses/LICENSE-2.0 - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS-IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the license. ---> <!-- Test Description: Tests for the amp-story-twitter component inside amp-story. diff --git a/extensions/amp-story/1.0/test/validator-amp-story-amp-twitter-error.out b/extensions/amp-story/1.0/test/validator-amp-story-amp-twitter-error.out index ea2a49491d9a..c891aaad71cc 100644 --- a/extensions/amp-story/1.0/test/validator-amp-story-amp-twitter-error.out +++ b/extensions/amp-story/1.0/test/validator-amp-story-amp-twitter-error.out @@ -1,17 +1,5 @@ FAIL | <!-- -| Copyright 2019 The AMP HTML Authors. All Rights Reserved. -| Licensed under the Apache License, Version 2.0 (the "License"); -| you may not use this file except in compliance with the License. -| You may obtain a copy of the License at -| http://www.apache.org/licenses/LICENSE-2.0 -| Unless required by applicable law or agreed to in writing, software -| distributed under the License is distributed on an "AS-IS" BASIS, -| WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -| See the License for the specific language governing permissions and -| limitations under the license. -| --> -| <!-- | Test Description: | Tests for the amp-story-twitter component inside amp-story. | --> @@ -36,9 +24,9 @@ FAIL | <!-- Invalid: is not a descendant of amp-story-grid-layer. --> | <amp-twitter width="375" >> ^~~~~~~~~ -amp-story/1.0/test/validator-amp-story-amp-twitter-error.html:36:6 Tag 'amp-twitter' is disallowed as child of tag 'amp-story-page'. Child tag must be one of ['amp-analytics', 'amp-pixel', 'amp-story-animation', 'amp-story-auto-analytics', 'amp-story-cta-layer', 'amp-story-grid-layer', 'amp-story-page-attachment', 'amp-story-page-outlink']. (see https://amp.dev/documentation/components/amp-story) +amp-story/1.0/test/validator-amp-story-amp-twitter-error.html:24:6 Tag 'amp-twitter' is disallowed as child of tag 'amp-story-page'. Child tag must be one of ['amp-analytics', 'amp-pixel', 'amp-story-animation', 'amp-story-auto-analytics', 'amp-story-cta-layer', 'amp-story-grid-layer', 'amp-story-page-attachment', 'amp-story-page-outlink']. (see https://amp.dev/documentation/components/amp-story) >> ^~~~~~~~~ -amp-story/1.0/test/validator-amp-story-amp-twitter-error.html:36:6 The tag 'amp-twitter' requires including the 'amp-twitter' extension JavaScript. (see https://amp.dev/documentation/components/amp-twitter) +amp-story/1.0/test/validator-amp-story-amp-twitter-error.html:24:6 The tag 'amp-twitter' requires including the 'amp-twitter' extension JavaScript. (see https://amp.dev/documentation/components/amp-twitter) | height="472" | layout="responsive" | data-tweetid="638793490521001985"> diff --git a/extensions/amp-story/1.0/test/validator-amp-story-amp-twitter.html b/extensions/amp-story/1.0/test/validator-amp-story-amp-twitter.html index 44ba78397cd1..86138723ad66 100644 --- a/extensions/amp-story/1.0/test/validator-amp-story-amp-twitter.html +++ b/extensions/amp-story/1.0/test/validator-amp-story-amp-twitter.html @@ -1,15 +1,3 @@ -<!-- - Copyright 2019 The AMP HTML Authors. All Rights Reserved. - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - http://www.apache.org/licenses/LICENSE-2.0 - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS-IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the license. ---> <!-- Test Description: Tests for the amp-story-twitter component inside amp-story. diff --git a/extensions/amp-story/1.0/test/validator-amp-story-amp-twitter.out b/extensions/amp-story/1.0/test/validator-amp-story-amp-twitter.out index 85560e845886..ebb6bf6a4549 100644 --- a/extensions/amp-story/1.0/test/validator-amp-story-amp-twitter.out +++ b/extensions/amp-story/1.0/test/validator-amp-story-amp-twitter.out @@ -1,17 +1,5 @@ PASS | <!-- -| Copyright 2019 The AMP HTML Authors. All Rights Reserved. -| Licensed under the Apache License, Version 2.0 (the "License"); -| you may not use this file except in compliance with the License. -| You may obtain a copy of the License at -| http://www.apache.org/licenses/LICENSE-2.0 -| Unless required by applicable law or agreed to in writing, software -| distributed under the License is distributed on an "AS-IS" BASIS, -| WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -| See the License for the specific language governing permissions and -| limitations under the license. -| --> -| <!-- | Test Description: | Tests for the amp-story-twitter component inside amp-story. | --> diff --git a/extensions/amp-story/1.0/test/validator-amp-story-animation.html b/extensions/amp-story/1.0/test/validator-amp-story-animation.html index f6f365db9bf3..c51fe1368c01 100644 --- a/extensions/amp-story/1.0/test/validator-amp-story-animation.html +++ b/extensions/amp-story/1.0/test/validator-amp-story-animation.html @@ -1,18 +1,3 @@ -<!-- - Copyright 2020 The AMP HTML Authors. All Rights Reserved. - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS-IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the license. ---> <!-- Test Description: Tests for the amp-story-animation tag. diff --git a/extensions/amp-story/1.0/test/validator-amp-story-animation.out b/extensions/amp-story/1.0/test/validator-amp-story-animation.out index 42b81cb79be8..b9c2687a8474 100644 --- a/extensions/amp-story/1.0/test/validator-amp-story-animation.out +++ b/extensions/amp-story/1.0/test/validator-amp-story-animation.out @@ -1,20 +1,5 @@ FAIL | <!-- -| Copyright 2020 The AMP HTML Authors. All Rights Reserved. -| -| Licensed under the Apache License, Version 2.0 (the "License"); -| you may not use this file except in compliance with the License. -| You may obtain a copy of the License at -| -| http://www.apache.org/licenses/LICENSE-2.0 -| -| Unless required by applicable law or agreed to in writing, software -| distributed under the License is distributed on an "AS-IS" BASIS, -| WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -| See the License for the specific language governing permissions and -| limitations under the license. -| --> -| <!-- | Test Description: | Tests for the amp-story-animation tag. | --> @@ -51,7 +36,7 @@ FAIL | <!-- Invalid: not a child of amp-story-page --> | <amp-story-animation layout="nodisplay" trigger="visibility"> >> ^~~~~~~~~ -amp-story/1.0/test/validator-amp-story-animation.html:51:10 The parent tag of tag 'amp-story-animation' is 'amp-story-grid-layer', but it can only be 'amp-story-page'. (see https://amp.dev/documentation/components/amp-story) +amp-story/1.0/test/validator-amp-story-animation.html:36:10 The parent tag of tag 'amp-story-animation' is 'amp-story-grid-layer', but it can only be 'amp-story-page'. (see https://amp.dev/documentation/components/amp-story) | <script type="application/json"> | {} | </script> @@ -76,14 +61,14 @@ amp-story/1.0/test/validator-amp-story-animation.html:51:10 The parent tag of ta | <!-- Invalid: no child <script> tag --> | <amp-story-animation >> ^~~~~~~~~ -amp-story/1.0/test/validator-amp-story-animation.html:74:8 Tag 'amp-story-animation' must have 1 child tags - saw 0 child tags. (see https://amp.dev/documentation/components/amp-story) +amp-story/1.0/test/validator-amp-story-animation.html:59:8 Tag 'amp-story-animation' must have 1 child tags - saw 0 child tags. (see https://amp.dev/documentation/components/amp-story) | layout="nodisplay" | trigger="visibility" | ></amp-story-animation> | <!-- Invalid: no layout --> | <amp-story-animation trigger="visibility"> >> ^~~~~~~~~ -amp-story/1.0/test/validator-amp-story-animation.html:79:8 The implied layout 'CONTAINER' is not supported by tag 'amp-story-animation'. (see https://amp.dev/documentation/components/amp-story) +amp-story/1.0/test/validator-amp-story-animation.html:64:8 The implied layout 'CONTAINER' is not supported by tag 'amp-story-animation'. (see https://amp.dev/documentation/components/amp-story) | <script type="application/json"> | {} | </script> @@ -91,7 +76,7 @@ amp-story/1.0/test/validator-amp-story-animation.html:79:8 The implied layout 'C | <!-- Invalid: no trigger="visibility" --> | <amp-story-animation layout="nodisplay"> >> ^~~~~~~~~ -amp-story/1.0/test/validator-amp-story-animation.html:85:8 The mandatory attribute 'trigger' is missing in tag 'amp-story-animation'. (see https://amp.dev/documentation/components/amp-story) +amp-story/1.0/test/validator-amp-story-animation.html:70:8 The mandatory attribute 'trigger' is missing in tag 'amp-story-animation'. (see https://amp.dev/documentation/components/amp-story) | <script type="application/json"> | {} | </script> diff --git a/extensions/amp-story/1.0/test/validator-amp-story-animations-error.html b/extensions/amp-story/1.0/test/validator-amp-story-animations-error.html index 0347a5d8d6e4..301cf7165cdb 100644 --- a/extensions/amp-story/1.0/test/validator-amp-story-animations-error.html +++ b/extensions/amp-story/1.0/test/validator-amp-story-animations-error.html @@ -1,18 +1,3 @@ -<!-- - Copyright 2018 The AMP HTML Authors. All Rights Reserved. - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS-IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the license. ---> <!-- Test Description: Validator should prohibit invalid values in animate-in attribute. diff --git a/extensions/amp-story/1.0/test/validator-amp-story-animations-error.out b/extensions/amp-story/1.0/test/validator-amp-story-animations-error.out index 8ce0bc57fe10..7c2902d91b76 100644 --- a/extensions/amp-story/1.0/test/validator-amp-story-animations-error.out +++ b/extensions/amp-story/1.0/test/validator-amp-story-animations-error.out @@ -1,20 +1,5 @@ FAIL | <!-- -| Copyright 2018 The AMP HTML Authors. All Rights Reserved. -| -| Licensed under the Apache License, Version 2.0 (the "License"); -| you may not use this file except in compliance with the License. -| You may obtain a copy of the License at -| -| http://www.apache.org/licenses/LICENSE-2.0 -| -| Unless required by applicable law or agreed to in writing, software -| distributed under the License is distributed on an "AS-IS" BASIS, -| WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -| See the License for the specific language governing permissions and -| limitations under the license. -| --> -| <!-- | Test Description: | Validator should prohibit invalid values in animate-in attribute. | --> @@ -52,18 +37,18 @@ FAIL | <h1>invalid animation value + empty animation value</h1> | <div animate-in="invalid animation value" >> ^~~~~~~~~ -amp-story/1.0/test/validator-amp-story-animations-error.html:52:10 The attribute 'animate-in' may not appear in tag 'div'. +amp-story/1.0/test/validator-amp-story-animations-error.html:37:10 The attribute 'animate-in' may not appear in tag 'div'. >> ^~~~~~~~~ -amp-story/1.0/test/validator-amp-story-animations-error.html:52:10 The attribute 'animate-in-duration' may not appear in tag 'div'. +amp-story/1.0/test/validator-amp-story-animations-error.html:37:10 The attribute 'animate-in-duration' may not appear in tag 'div'. >> ^~~~~~~~~ -amp-story/1.0/test/validator-amp-story-animations-error.html:52:10 The attribute 'grid-area' may not appear in tag 'div'. +amp-story/1.0/test/validator-amp-story-animations-error.html:37:10 The attribute 'grid-area' may not appear in tag 'div'. | animate-in-duration="2s" | grid-area="middle-third"> | <div class="square" >> ^~~~~~~~~ -amp-story/1.0/test/validator-amp-story-animations-error.html:55:12 The attribute 'animate-in' may not appear in tag 'div'. +amp-story/1.0/test/validator-amp-story-animations-error.html:40:12 The attribute 'animate-in' may not appear in tag 'div'. >> ^~~~~~~~~ -amp-story/1.0/test/validator-amp-story-animations-error.html:55:12 The attribute 'animate-in-duration' may not appear in tag 'div'. +amp-story/1.0/test/validator-amp-story-animations-error.html:40:12 The attribute 'animate-in-duration' may not appear in tag 'div'. | animate-in-duration="2s" | animate-in=""> | </div> diff --git a/extensions/amp-story/1.0/test/validator-amp-story-animations-visual-effects-parameters-error.html b/extensions/amp-story/1.0/test/validator-amp-story-animations-visual-effects-parameters-error.html index ed11ca959fe7..761e45043694 100644 --- a/extensions/amp-story/1.0/test/validator-amp-story-animations-visual-effects-parameters-error.html +++ b/extensions/amp-story/1.0/test/validator-amp-story-animations-visual-effects-parameters-error.html @@ -1,18 +1,3 @@ -<!-- - Copyright 2019 The AMP HTML Authors. All Rights Reserved. - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS-IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the license. ---> <!-- Test Description: Tests the validation rules of the `animate-in` attribute in amp-story animations. diff --git a/extensions/amp-story/1.0/test/validator-amp-story-animations-visual-effects-parameters-error.out b/extensions/amp-story/1.0/test/validator-amp-story-animations-visual-effects-parameters-error.out index cffd8865d197..6b53f3930666 100644 --- a/extensions/amp-story/1.0/test/validator-amp-story-animations-visual-effects-parameters-error.out +++ b/extensions/amp-story/1.0/test/validator-amp-story-animations-visual-effects-parameters-error.out @@ -1,20 +1,5 @@ FAIL | <!-- -| Copyright 2019 The AMP HTML Authors. All Rights Reserved. -| -| Licensed under the Apache License, Version 2.0 (the "License"); -| you may not use this file except in compliance with the License. -| You may obtain a copy of the License at -| -| http://www.apache.org/licenses/LICENSE-2.0 -| -| Unless required by applicable law or agreed to in writing, software -| distributed under the License is distributed on an "AS-IS" BASIS, -| WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -| See the License for the specific language governing permissions and -| limitations under the license. -| --> -| <!-- | Test Description: | Tests the validation rules of the `animate-in` attribute in amp-story animations. | --> @@ -49,20 +34,20 @@ FAIL | <h1>visual-effects</h1> | <div animate-in="zoom-in" animate-in-duration="5s" class="img-container" scale-start="20" scale-end="-1"> >> ^~~~~~~~~ -amp-story/1.0/test/validator-amp-story-animations-visual-effects-parameters-error.html:49:8 The attribute 'animate-in' may not appear in tag 'div'. +amp-story/1.0/test/validator-amp-story-animations-visual-effects-parameters-error.html:34:8 The attribute 'animate-in' may not appear in tag 'div'. >> ^~~~~~~~~ -amp-story/1.0/test/validator-amp-story-animations-visual-effects-parameters-error.html:49:8 The attribute 'animate-in-duration' may not appear in tag 'div'. +amp-story/1.0/test/validator-amp-story-animations-visual-effects-parameters-error.html:34:8 The attribute 'animate-in-duration' may not appear in tag 'div'. >> ^~~~~~~~~ -amp-story/1.0/test/validator-amp-story-animations-visual-effects-parameters-error.html:49:8 The attribute 'scale-end' may not appear in tag 'div'. +amp-story/1.0/test/validator-amp-story-animations-visual-effects-parameters-error.html:34:8 The attribute 'scale-end' may not appear in tag 'div'. >> ^~~~~~~~~ -amp-story/1.0/test/validator-amp-story-animations-visual-effects-parameters-error.html:49:8 The attribute 'scale-start' may not appear in tag 'div'. +amp-story/1.0/test/validator-amp-story-animations-visual-effects-parameters-error.html:34:8 The attribute 'scale-start' may not appear in tag 'div'. | <amp-img id="ken-burns-img1" >> ^~~~~~~~~ -amp-story/1.0/test/validator-amp-story-animations-visual-effects-parameters-error.html:50:12 The attribute 'animate-in' may not appear in tag 'amp-img'. (see https://amp.dev/documentation/components/amp-img/) +amp-story/1.0/test/validator-amp-story-animations-visual-effects-parameters-error.html:35:12 The attribute 'animate-in' may not appear in tag 'amp-img'. (see https://amp.dev/documentation/components/amp-img/) >> ^~~~~~~~~ -amp-story/1.0/test/validator-amp-story-animations-visual-effects-parameters-error.html:50:12 The attribute 'animate-in-duration' may not appear in tag 'amp-img'. (see https://amp.dev/documentation/components/amp-img/) +amp-story/1.0/test/validator-amp-story-animations-visual-effects-parameters-error.html:35:12 The attribute 'animate-in-duration' may not appear in tag 'amp-img'. (see https://amp.dev/documentation/components/amp-img/) >> ^~~~~~~~~ -amp-story/1.0/test/validator-amp-story-animations-visual-effects-parameters-error.html:50:12 The attribute 'translate-x' may not appear in tag 'amp-img'. (see https://amp.dev/documentation/components/amp-img/) +amp-story/1.0/test/validator-amp-story-animations-visual-effects-parameters-error.html:35:12 The attribute 'translate-x' may not appear in tag 'amp-img'. (see https://amp.dev/documentation/components/amp-img/) | src="https://picsum.photos/1024/768?image=1077" | animate-in="pan-left" | translate-x="-100" @@ -75,15 +60,15 @@ amp-story/1.0/test/validator-amp-story-animations-visual-effects-parameters-erro | <div animate-in="fade-in" animate-in-after="ken-burns-img1" animate-in-delay="0.25s" animate-in-duration="1s"> | <div >> ^~~~~~~~~ -amp-story/1.0/test/validator-amp-story-animations-visual-effects-parameters-error.html:61:10 The attribute 'animate-in' may not appear in tag 'div'. +amp-story/1.0/test/validator-amp-story-animations-visual-effects-parameters-error.html:46:10 The attribute 'animate-in' may not appear in tag 'div'. >> ^~~~~~~~~ -amp-story/1.0/test/validator-amp-story-animations-visual-effects-parameters-error.html:61:10 The attribute 'animate-in-after' may not appear in tag 'div'. +amp-story/1.0/test/validator-amp-story-animations-visual-effects-parameters-error.html:46:10 The attribute 'animate-in-after' may not appear in tag 'div'. >> ^~~~~~~~~ -amp-story/1.0/test/validator-amp-story-animations-visual-effects-parameters-error.html:61:10 The attribute 'animate-in-duration' may not appear in tag 'div'. +amp-story/1.0/test/validator-amp-story-animations-visual-effects-parameters-error.html:46:10 The attribute 'animate-in-duration' may not appear in tag 'div'. >> ^~~~~~~~~ -amp-story/1.0/test/validator-amp-story-animations-visual-effects-parameters-error.html:61:10 The attribute 'scale-end' may not appear in tag 'div'. +amp-story/1.0/test/validator-amp-story-animations-visual-effects-parameters-error.html:46:10 The attribute 'scale-end' may not appear in tag 'div'. >> ^~~~~~~~~ -amp-story/1.0/test/validator-amp-story-animations-visual-effects-parameters-error.html:61:10 The attribute 'scale-start' may not appear in tag 'div'. +amp-story/1.0/test/validator-amp-story-animations-visual-effects-parameters-error.html:46:10 The attribute 'scale-start' may not appear in tag 'div'. | animate-in="zoom-out" | scale-start="2" | scale-end="invalid" @@ -92,11 +77,11 @@ amp-story/1.0/test/validator-amp-story-animations-visual-effects-parameters-erro | animate-in-after="ken-burns-img1"> | <amp-img id="ken-burns-img2" >> ^~~~~~~~~ -amp-story/1.0/test/validator-amp-story-animations-visual-effects-parameters-error.html:68:12 The attribute 'animate-in-after' may not appear in tag 'amp-img'. (see https://amp.dev/documentation/components/amp-img/) +amp-story/1.0/test/validator-amp-story-animations-visual-effects-parameters-error.html:53:12 The attribute 'animate-in-after' may not appear in tag 'amp-img'. (see https://amp.dev/documentation/components/amp-img/) >> ^~~~~~~~~ -amp-story/1.0/test/validator-amp-story-animations-visual-effects-parameters-error.html:68:12 The attribute 'animate-in-duration' may not appear in tag 'amp-img'. (see https://amp.dev/documentation/components/amp-img/) +amp-story/1.0/test/validator-amp-story-animations-visual-effects-parameters-error.html:53:12 The attribute 'animate-in-duration' may not appear in tag 'amp-img'. (see https://amp.dev/documentation/components/amp-img/) >> ^~~~~~~~~ -amp-story/1.0/test/validator-amp-story-animations-visual-effects-parameters-error.html:68:12 The attribute 'translate-y' may not appear in tag 'amp-img'. (see https://amp.dev/documentation/components/amp-img/) +amp-story/1.0/test/validator-amp-story-animations-visual-effects-parameters-error.html:53:12 The attribute 'translate-y' may not appear in tag 'amp-img'. (see https://amp.dev/documentation/components/amp-img/) | src="https://picsum.photos/1024/768?image=1026" | layout="fixed" | width="1024" diff --git a/extensions/amp-story/1.0/test/validator-amp-story-animations-visual-effects-parameters.html b/extensions/amp-story/1.0/test/validator-amp-story-animations-visual-effects-parameters.html index d009e80dd8d3..d67d83409829 100644 --- a/extensions/amp-story/1.0/test/validator-amp-story-animations-visual-effects-parameters.html +++ b/extensions/amp-story/1.0/test/validator-amp-story-animations-visual-effects-parameters.html @@ -1,18 +1,3 @@ -<!-- - Copyright 2019 The AMP HTML Authors. All Rights Reserved. - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS-IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the license. ---> <!-- Test Description: Tests the validation rules of the `animate-in` attribute in amp-story animations. diff --git a/extensions/amp-story/1.0/test/validator-amp-story-animations-visual-effects-parameters.out b/extensions/amp-story/1.0/test/validator-amp-story-animations-visual-effects-parameters.out index 0e2f04ad7285..cbe40f46b8ca 100644 --- a/extensions/amp-story/1.0/test/validator-amp-story-animations-visual-effects-parameters.out +++ b/extensions/amp-story/1.0/test/validator-amp-story-animations-visual-effects-parameters.out @@ -1,20 +1,5 @@ PASS | <!-- -| Copyright 2019 The AMP HTML Authors. All Rights Reserved. -| -| Licensed under the Apache License, Version 2.0 (the "License"); -| you may not use this file except in compliance with the License. -| You may obtain a copy of the License at -| -| http://www.apache.org/licenses/LICENSE-2.0 -| -| Unless required by applicable law or agreed to in writing, software -| distributed under the License is distributed on an "AS-IS" BASIS, -| WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -| See the License for the specific language governing permissions and -| limitations under the license. -| --> -| <!-- | Test Description: | Tests the validation rules of the `animate-in` attribute in amp-story animations. | --> diff --git a/extensions/amp-story/1.0/test/validator-amp-story-animations.html b/extensions/amp-story/1.0/test/validator-amp-story-animations.html index 082b3f287722..f7ce82c57092 100644 --- a/extensions/amp-story/1.0/test/validator-amp-story-animations.html +++ b/extensions/amp-story/1.0/test/validator-amp-story-animations.html @@ -1,18 +1,3 @@ -<!-- - Copyright 2018 The AMP HTML Authors. All Rights Reserved. - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS-IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the license. ---> <!-- Test Description: Tests the validation rules of the `animate-in` attribute in amp-story animations. diff --git a/extensions/amp-story/1.0/test/validator-amp-story-animations.out b/extensions/amp-story/1.0/test/validator-amp-story-animations.out index 5f1da8e514ca..bdc02b9f8c25 100644 --- a/extensions/amp-story/1.0/test/validator-amp-story-animations.out +++ b/extensions/amp-story/1.0/test/validator-amp-story-animations.out @@ -1,20 +1,5 @@ PASS | <!-- -| Copyright 2018 The AMP HTML Authors. All Rights Reserved. -| -| Licensed under the Apache License, Version 2.0 (the "License"); -| you may not use this file except in compliance with the License. -| You may obtain a copy of the License at -| -| http://www.apache.org/licenses/LICENSE-2.0 -| -| Unless required by applicable law or agreed to in writing, software -| distributed under the License is distributed on an "AS-IS" BASIS, -| WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -| See the License for the specific language governing permissions and -| limitations under the license. -| --> -| <!-- | Test Description: | Tests the validation rules of the `animate-in` attribute in amp-story animations. | --> diff --git a/extensions/amp-story/1.0/test/validator-amp-story-bookend-error.html b/extensions/amp-story/1.0/test/validator-amp-story-bookend-error.html index 273665ae8230..4eb0fbbc9085 100644 --- a/extensions/amp-story/1.0/test/validator-amp-story-bookend-error.html +++ b/extensions/amp-story/1.0/test/validator-amp-story-bookend-error.html @@ -1,15 +1,3 @@ -<!-- - Copyright 2018 The AMP HTML Authors. All Rights Reserved. - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - http://www.apache.org/licenses/LICENSE-2.0 - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS-IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the license. ---> <!-- Test Description: Tests for the amp-story-bookend tag. diff --git a/extensions/amp-story/1.0/test/validator-amp-story-bookend-error.out b/extensions/amp-story/1.0/test/validator-amp-story-bookend-error.out index 000284d3ea10..c9b6552e1346 100644 --- a/extensions/amp-story/1.0/test/validator-amp-story-bookend-error.out +++ b/extensions/amp-story/1.0/test/validator-amp-story-bookend-error.out @@ -1,17 +1,5 @@ FAIL | <!-- -| Copyright 2018 The AMP HTML Authors. All Rights Reserved. -| Licensed under the Apache License, Version 2.0 (the "License"); -| you may not use this file except in compliance with the License. -| You may obtain a copy of the License at -| http://www.apache.org/licenses/LICENSE-2.0 -| Unless required by applicable law or agreed to in writing, software -| distributed under the License is distributed on an "AS-IS" BASIS, -| WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -| See the License for the specific language governing permissions and -| limitations under the license. -| --> -| <!-- | Test Description: | Tests for the amp-story-bookend tag. | --> @@ -64,7 +52,7 @@ FAIL | <body> | <amp-story standalone title="My Story" >> ^~~~~~~~~ -amp-story/1.0/test/validator-amp-story-bookend-error.html:64:2 The attribute 'bookend-config-src' may not appear in tag 'amp-story'. (see https://amp.dev/documentation/components/amp-story) +amp-story/1.0/test/validator-amp-story-bookend-error.html:52:2 The attribute 'bookend-config-src' may not appear in tag 'amp-story'. (see https://amp.dev/documentation/components/amp-story) | publisher="The AMP Team" | publisher-logo-src="https://example.com/logo/1x1.png" | poster-portrait-src="https://example.com/my-story/poster/3x4.jpg" @@ -77,7 +65,7 @@ amp-story/1.0/test/validator-amp-story-bookend-error.html:64:2 The attribute 'bo | <amp-story-bookend src="bookendv1.json" layout=nodisplay> | <h1>Illegal child inside amp-story-bookend!</h1> >> ^~~~~~~~~ -amp-story/1.0/test/validator-amp-story-bookend-error.html:75:6 The tag 'h1' may not appear as a descendant of tag 'amp-story-bookend'. +amp-story/1.0/test/validator-amp-story-bookend-error.html:63:6 The tag 'h1' may not appear as a descendant of tag 'amp-story-bookend'. | </amp-story-bookend> | </amp-story> | </body> diff --git a/extensions/amp-story/1.0/test/validator-amp-story-bookend-layout-error.html b/extensions/amp-story/1.0/test/validator-amp-story-bookend-layout-error.html index 960af95b9b4d..55defb16849e 100644 --- a/extensions/amp-story/1.0/test/validator-amp-story-bookend-layout-error.html +++ b/extensions/amp-story/1.0/test/validator-amp-story-bookend-layout-error.html @@ -1,15 +1,3 @@ -<!-- - Copyright 2018 The AMP HTML Authors. All Rights Reserved. - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - http://www.apache.org/licenses/LICENSE-2.0 - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS-IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the license. ---> <!-- Test Description: Tests for the amp-story-bookend tag. diff --git a/extensions/amp-story/1.0/test/validator-amp-story-bookend-layout-error.out b/extensions/amp-story/1.0/test/validator-amp-story-bookend-layout-error.out index d3087ee414f0..31f8a2e3cb42 100644 --- a/extensions/amp-story/1.0/test/validator-amp-story-bookend-layout-error.out +++ b/extensions/amp-story/1.0/test/validator-amp-story-bookend-layout-error.out @@ -1,17 +1,5 @@ FAIL | <!-- -| Copyright 2018 The AMP HTML Authors. All Rights Reserved. -| Licensed under the Apache License, Version 2.0 (the "License"); -| you may not use this file except in compliance with the License. -| You may obtain a copy of the License at -| http://www.apache.org/licenses/LICENSE-2.0 -| Unless required by applicable law or agreed to in writing, software -| distributed under the License is distributed on an "AS-IS" BASIS, -| WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -| See the License for the specific language governing permissions and -| limitations under the license. -| --> -| <!-- | Test Description: | Tests for the amp-story-bookend tag. | --> @@ -73,7 +61,7 @@ FAIL | </amp-story-page> | <amp-story-bookend src="bookendv1.json" layout=container> >> ^~~~~~~~~ -amp-story/1.0/test/validator-amp-story-bookend-layout-error.html:73:4 The attribute 'layout' in tag 'amp-story-bookend' is set to the invalid value 'container'. +amp-story/1.0/test/validator-amp-story-bookend-layout-error.html:61:4 The attribute 'layout' in tag 'amp-story-bookend' is set to the invalid value 'container'. | <h1>Illegal child inside amp-story-bookend!</h1> | </amp-story-bookend> | </amp-story> diff --git a/extensions/amp-story/1.0/test/validator-amp-story-consent-geo.html b/extensions/amp-story/1.0/test/validator-amp-story-consent-geo.html index 912d7e1d02c7..b090eb602abd 100644 --- a/extensions/amp-story/1.0/test/validator-amp-story-consent-geo.html +++ b/extensions/amp-story/1.0/test/validator-amp-story-consent-geo.html @@ -1,15 +1,3 @@ -<!-- - Copyright 2018 The AMP HTML Authors. All Rights Reserved. - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - http://www.apache.org/licenses/LICENSE-2.0 - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS-IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the license. ---> <!-- Test Description: Tests for the amp-geo tag. diff --git a/extensions/amp-story/1.0/test/validator-amp-story-consent-geo.out b/extensions/amp-story/1.0/test/validator-amp-story-consent-geo.out index 8b4de8fe53fa..5041b5115a4e 100644 --- a/extensions/amp-story/1.0/test/validator-amp-story-consent-geo.out +++ b/extensions/amp-story/1.0/test/validator-amp-story-consent-geo.out @@ -1,17 +1,5 @@ PASS | <!-- -| Copyright 2018 The AMP HTML Authors. All Rights Reserved. -| Licensed under the Apache License, Version 2.0 (the "License"); -| you may not use this file except in compliance with the License. -| You may obtain a copy of the License at -| http://www.apache.org/licenses/LICENSE-2.0 -| Unless required by applicable law or agreed to in writing, software -| distributed under the License is distributed on an "AS-IS" BASIS, -| WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -| See the License for the specific language governing permissions and -| limitations under the license. -| --> -| <!-- | Test Description: | Tests for the amp-geo tag. | --> diff --git a/extensions/amp-story/1.0/test/validator-amp-story-consent.html b/extensions/amp-story/1.0/test/validator-amp-story-consent.html index 053ceaa58304..4b95d4037714 100644 --- a/extensions/amp-story/1.0/test/validator-amp-story-consent.html +++ b/extensions/amp-story/1.0/test/validator-amp-story-consent.html @@ -1,15 +1,3 @@ -<!-- - Copyright 2018 The AMP HTML Authors. All Rights Reserved. - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - http://www.apache.org/licenses/LICENSE-2.0 - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS-IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the license. ---> <!-- Test Description: Tests for the amp-story-consent tag. diff --git a/extensions/amp-story/1.0/test/validator-amp-story-consent.out b/extensions/amp-story/1.0/test/validator-amp-story-consent.out index eda5ae42ee0d..8016afda5ca0 100644 --- a/extensions/amp-story/1.0/test/validator-amp-story-consent.out +++ b/extensions/amp-story/1.0/test/validator-amp-story-consent.out @@ -1,17 +1,5 @@ PASS | <!-- -| Copyright 2018 The AMP HTML Authors. All Rights Reserved. -| Licensed under the Apache License, Version 2.0 (the "License"); -| you may not use this file except in compliance with the License. -| You may obtain a copy of the License at -| http://www.apache.org/licenses/LICENSE-2.0 -| Unless required by applicable law or agreed to in writing, software -| distributed under the License is distributed on an "AS-IS" BASIS, -| WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -| See the License for the specific language governing permissions and -| limitations under the license. -| --> -| <!-- | Test Description: | Tests for the amp-story-consent tag. | --> diff --git a/extensions/amp-story/1.0/test/validator-amp-story-cta-layer-error.html b/extensions/amp-story/1.0/test/validator-amp-story-cta-layer-error.html index f4e5fa1c9e4d..391f5ba6495a 100644 --- a/extensions/amp-story/1.0/test/validator-amp-story-cta-layer-error.html +++ b/extensions/amp-story/1.0/test/validator-amp-story-cta-layer-error.html @@ -1,15 +1,3 @@ -<!-- - Copyright 2018 The AMP HTML Authors. All Rights Reserved. - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - http://www.apache.org/licenses/LICENSE-2.0 - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS-IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the license. ---> <!-- Test Description: Tests for the amp-story tag. diff --git a/extensions/amp-story/1.0/test/validator-amp-story-cta-layer-error.out b/extensions/amp-story/1.0/test/validator-amp-story-cta-layer-error.out index 3315b4b8e7bd..02822c700af5 100644 --- a/extensions/amp-story/1.0/test/validator-amp-story-cta-layer-error.out +++ b/extensions/amp-story/1.0/test/validator-amp-story-cta-layer-error.out @@ -1,17 +1,5 @@ FAIL | <!-- -| Copyright 2018 The AMP HTML Authors. All Rights Reserved. -| Licensed under the Apache License, Version 2.0 (the "License"); -| you may not use this file except in compliance with the License. -| You may obtain a copy of the License at -| http://www.apache.org/licenses/LICENSE-2.0 -| Unless required by applicable law or agreed to in writing, software -| distributed under the License is distributed on an "AS-IS" BASIS, -| WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -| See the License for the specific language governing permissions and -| limitations under the license. -| --> -| <!-- | Test Description: | Tests for the amp-story tag. | --> @@ -54,9 +42,9 @@ FAIL | <amp-story-page id="fill-template-title"> | <amp-story-cta-layer> >> ^~~~~~~~~ -amp-story/1.0/test/validator-amp-story-cta-layer-error.html:54:6 Tag 'amp-story-cta-layer', if present, must be the last child of tag 'amp-story-page'. +amp-story/1.0/test/validator-amp-story-cta-layer-error.html:42:6 Tag 'amp-story-cta-layer', if present, must be the last child of tag 'amp-story-page'. >> ^~~~~~~~~ -amp-story/1.0/test/validator-amp-story-cta-layer-error.html:54:6 Tag 'amp-story-cta-layer', if present, must be the last child of tag 'amp-story-page'. +amp-story/1.0/test/validator-amp-story-cta-layer-error.html:42:6 Tag 'amp-story-cta-layer', if present, must be the last child of tag 'amp-story-page'. | <a href="http://www.google.com" class="button"> Illegal CTA layer above grid layer! </a> | </amp-story-cta-layer> | <amp-story-grid-layer template="vertical"> @@ -64,15 +52,15 @@ amp-story/1.0/test/validator-amp-story-cta-layer-error.html:54:6 Tag 'amp-story- | </amp-story-grid-layer> | <amp-story-cta-layer animate-in="fade-in"> >> ^~~~~~~~~ -amp-story/1.0/test/validator-amp-story-cta-layer-error.html:60:6 The attribute 'animate-in' may not appear in tag 'amp-story-cta-layer'. +amp-story/1.0/test/validator-amp-story-cta-layer-error.html:48:6 The attribute 'animate-in' may not appear in tag 'amp-story-cta-layer'. | <a href="http://www.google.com" class="button">Click me!</a> | </amp-story-cta-layer> | </amp-story-page> | <amp-story-cta-layer> >> ^~~~~~~~~ -amp-story/1.0/test/validator-amp-story-cta-layer-error.html:64:4 The tag 'amp-story-cta-layer' may only appear as a descendant of tag 'amp-story-page'. +amp-story/1.0/test/validator-amp-story-cta-layer-error.html:52:4 The tag 'amp-story-cta-layer' may only appear as a descendant of tag 'amp-story-page'. >> ^~~~~~~~~ -amp-story/1.0/test/validator-amp-story-cta-layer-error.html:64:4 Tag 'amp-story-cta-layer' is disallowed as child of tag 'amp-story'. Child tag must be one of ['amp-analytics', 'amp-consent', 'amp-geo', 'amp-pixel', 'amp-sidebar', 'amp-story-auto-ads', 'amp-story-auto-analytics', 'amp-story-bookend', 'amp-story-page', 'amp-story-social-share']. (see https://amp.dev/documentation/components/amp-story) +amp-story/1.0/test/validator-amp-story-cta-layer-error.html:52:4 Tag 'amp-story-cta-layer' is disallowed as child of tag 'amp-story'. Child tag must be one of ['amp-analytics', 'amp-consent', 'amp-geo', 'amp-pixel', 'amp-sidebar', 'amp-story-auto-ads', 'amp-story-auto-analytics', 'amp-story-bookend', 'amp-story-page', 'amp-story-social-share']. (see https://amp.dev/documentation/components/amp-story) | <a href="http://www.google.com" class="button"> Illegal CTA layer outside of amp-story-page! </a> | </amp-story-cta-layer> | </amp-story> diff --git a/extensions/amp-story/1.0/test/validator-amp-story-cta-layer.html b/extensions/amp-story/1.0/test/validator-amp-story-cta-layer.html index b4e3e8ea1d0a..6d649243b06f 100644 --- a/extensions/amp-story/1.0/test/validator-amp-story-cta-layer.html +++ b/extensions/amp-story/1.0/test/validator-amp-story-cta-layer.html @@ -1,15 +1,3 @@ -<!-- - Copyright 2018 The AMP HTML Authors. All Rights Reserved. - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - http://www.apache.org/licenses/LICENSE-2.0 - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS-IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the license. ---> <!-- Test Description: Tests for the amp-story tag. diff --git a/extensions/amp-story/1.0/test/validator-amp-story-cta-layer.out b/extensions/amp-story/1.0/test/validator-amp-story-cta-layer.out index ee85f661712f..50b2d666a215 100644 --- a/extensions/amp-story/1.0/test/validator-amp-story-cta-layer.out +++ b/extensions/amp-story/1.0/test/validator-amp-story-cta-layer.out @@ -1,17 +1,5 @@ PASS | <!-- -| Copyright 2018 The AMP HTML Authors. All Rights Reserved. -| Licensed under the Apache License, Version 2.0 (the "License"); -| you may not use this file except in compliance with the License. -| You may obtain a copy of the License at -| http://www.apache.org/licenses/LICENSE-2.0 -| Unless required by applicable law or agreed to in writing, software -| distributed under the License is distributed on an "AS-IS" BASIS, -| WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -| See the License for the specific language governing permissions and -| limitations under the license. -| --> -| <!-- | Test Description: | Tests for the amp-story tag. | --> diff --git a/extensions/amp-story/1.0/test/validator-amp-story-deprecated.html b/extensions/amp-story/1.0/test/validator-amp-story-deprecated.html index b30cf4ee7205..b1869b8be1b2 100644 --- a/extensions/amp-story/1.0/test/validator-amp-story-deprecated.html +++ b/extensions/amp-story/1.0/test/validator-amp-story-deprecated.html @@ -1,18 +1,3 @@ -<!-- - Copyright 2018 The AMP HTML Authors. All Rights Reserved. - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS-IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the license. ---> <!-- Test Description: Tests for the amp-story tag. diff --git a/extensions/amp-story/1.0/test/validator-amp-story-deprecated.out b/extensions/amp-story/1.0/test/validator-amp-story-deprecated.out index 1318644d59cf..f3395a9c6bad 100644 --- a/extensions/amp-story/1.0/test/validator-amp-story-deprecated.out +++ b/extensions/amp-story/1.0/test/validator-amp-story-deprecated.out @@ -1,20 +1,5 @@ FAIL | <!-- -| Copyright 2018 The AMP HTML Authors. All Rights Reserved. -| -| Licensed under the Apache License, Version 2.0 (the "License"); -| you may not use this file except in compliance with the License. -| You may obtain a copy of the License at -| -| http://www.apache.org/licenses/LICENSE-2.0 -| -| Unless required by applicable law or agreed to in writing, software -| distributed under the License is distributed on an "AS-IS" BASIS, -| WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -| See the License for the specific language governing permissions and -| limitations under the license. -| --> -| <!-- | Test Description: | Tests for the amp-story tag. | --> @@ -29,12 +14,12 @@ FAIL | <script async src="https://cdn.ampproject.org/v0.js"></script> | <script async custom-element="amp-story" src="https://cdn.ampproject.org/v0/amp-story-0.1.js"></script> >> ^~~~~~~~~ -amp-story/1.0/test/validator-amp-story-deprecated.html:29:2 The extension 'amp-story' is referenced at version '0.1' which is an invalid version. Please use a valid version of this extension. (see https://amp.dev/documentation/components/amp-story) +amp-story/1.0/test/validator-amp-story-deprecated.html:14:2 The extension 'amp-story' is referenced at version '0.1' which is an invalid version. Please use a valid version of this extension. (see https://amp.dev/documentation/components/amp-story) | </head> | <body> | <amp-story standalone bookend-config-src="./bookend-config-src.json" background-audio="path/to/my.mp3"> >> ^~~~~~~~~ -amp-story/1.0/test/validator-amp-story-deprecated.html:32:2 The attribute 'bookend-config-src' may not appear in tag 'amp-story'. (see https://amp.dev/documentation/components/amp-story) +amp-story/1.0/test/validator-amp-story-deprecated.html:17:2 The attribute 'bookend-config-src' may not appear in tag 'amp-story'. (see https://amp.dev/documentation/components/amp-story) | <amp-story-page id="1" background-audio="path/to/my.mp3" auto-advance-after="any-value"> | <amp-story-grid-layer template="horizontal"> | <h5 animate-in="drop"> diff --git a/extensions/amp-story/1.0/test/validator-amp-story-embedded-component-error.html b/extensions/amp-story/1.0/test/validator-amp-story-embedded-component-error.html index 0678e5770158..34e282e7868d 100644 --- a/extensions/amp-story/1.0/test/validator-amp-story-embedded-component-error.html +++ b/extensions/amp-story/1.0/test/validator-amp-story-embedded-component-error.html @@ -1,15 +1,3 @@ -<!-- - Copyright 2018 The AMP HTML Authors. All Rights Reserved. - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - http://www.apache.org/licenses/LICENSE-2.0 - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS-IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the license. ---> <!-- Test Description: Tests for the amp-story-embedded-component diff --git a/extensions/amp-story/1.0/test/validator-amp-story-embedded-component-error.out b/extensions/amp-story/1.0/test/validator-amp-story-embedded-component-error.out index 483fa11ace3a..5be35c6aaa78 100644 --- a/extensions/amp-story/1.0/test/validator-amp-story-embedded-component-error.out +++ b/extensions/amp-story/1.0/test/validator-amp-story-embedded-component-error.out @@ -1,17 +1,5 @@ FAIL | <!-- -| Copyright 2018 The AMP HTML Authors. All Rights Reserved. -| Licensed under the Apache License, Version 2.0 (the "License"); -| you may not use this file except in compliance with the License. -| You may obtain a copy of the License at -| http://www.apache.org/licenses/LICENSE-2.0 -| Unless required by applicable law or agreed to in writing, software -| distributed under the License is distributed on an "AS-IS" BASIS, -| WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -| See the License for the specific language governing permissions and -| limitations under the license. -| --> -| <!-- | Test Description: | Tests for the amp-story-embedded-component | --> @@ -33,20 +21,20 @@ FAIL | <amp-story-grid-layer template="vertical"> | <a href="google.com" role="link" data-tooltip-icon="javascript:alert('hello evil')" data-tooltip-text="click me" target="_blank">TOOLTIP</a> >> ^~~~~~~~~ -amp-story/1.0/test/validator-amp-story-embedded-component-error.html:33:8 The tag 'a', a child tag of 'amp-story-grid-layer', does not satisfy one of the acceptable reference points: AMP-STORY-GRID-LAYER default, AMP-STORY-GRID-LAYER animate-in. +amp-story/1.0/test/validator-amp-story-embedded-component-error.html:21:8 The tag 'a', a child tag of 'amp-story-grid-layer', does not satisfy one of the acceptable reference points: AMP-STORY-GRID-LAYER default, AMP-STORY-GRID-LAYER animate-in. | <a href="javascript:alert('hello evil world')" role="link" data-tooltip-icon="/my-icon" data-tooltip-text="click me" target="">TOOLTIP</a> >> ^~~~~~~~~ -amp-story/1.0/test/validator-amp-story-embedded-component-error.html:34:8 Invalid URL protocol 'javascript:' for attribute 'href' in tag 'a'. (see https://amp.dev/documentation/guides-and-tutorials/learn/spec/amphtml/#links) +amp-story/1.0/test/validator-amp-story-embedded-component-error.html:22:8 Invalid URL protocol 'javascript:' for attribute 'href' in tag 'a'. (see https://amp.dev/documentation/guides-and-tutorials/learn/spec/amphtml/#links) >> ^~~~~~~~~ -amp-story/1.0/test/validator-amp-story-embedded-component-error.html:34:8 The attribute 'target' in tag 'a' is set to the invalid value ''. (see https://amp.dev/documentation/guides-and-tutorials/learn/spec/amphtml/#links) +amp-story/1.0/test/validator-amp-story-embedded-component-error.html:22:8 The attribute 'target' in tag 'a' is set to the invalid value ''. (see https://amp.dev/documentation/guides-and-tutorials/learn/spec/amphtml/#links) | </amp-story-grid-layer> | <amp-story-grid-layer template="vertical"> | <a href="google.com" role="link" data-tooltip-icon="/my-icon" data-tooltip-text="click me" target="_top">TOOLTIP</a> >> ^~~~~~~~~ -amp-story/1.0/test/validator-amp-story-embedded-component-error.html:37:10 The tag 'a', a child tag of 'amp-story-grid-layer', does not satisfy one of the acceptable reference points: AMP-STORY-GRID-LAYER default, AMP-STORY-GRID-LAYER animate-in. +amp-story/1.0/test/validator-amp-story-embedded-component-error.html:25:10 The tag 'a', a child tag of 'amp-story-grid-layer', does not satisfy one of the acceptable reference points: AMP-STORY-GRID-LAYER default, AMP-STORY-GRID-LAYER animate-in. | <a href="google.com" role="link" data-tooltip-icon="/my-icon" data-tooltip-text="click me" target="_self">TOOLTIP</a> >> ^~~~~~~~~ -amp-story/1.0/test/validator-amp-story-embedded-component-error.html:38:10 The tag 'a', a child tag of 'amp-story-grid-layer', does not satisfy one of the acceptable reference points: AMP-STORY-GRID-LAYER default, AMP-STORY-GRID-LAYER animate-in. +amp-story/1.0/test/validator-amp-story-embedded-component-error.html:26:10 The tag 'a', a child tag of 'amp-story-grid-layer', does not satisfy one of the acceptable reference points: AMP-STORY-GRID-LAYER default, AMP-STORY-GRID-LAYER animate-in. | </amp-story-grid-layer> | </amp-story-page> | </amp-story> diff --git a/extensions/amp-story/1.0/test/validator-amp-story-embedded-component.html b/extensions/amp-story/1.0/test/validator-amp-story-embedded-component.html index efdcf7cea8ea..1d2d55d561f8 100644 --- a/extensions/amp-story/1.0/test/validator-amp-story-embedded-component.html +++ b/extensions/amp-story/1.0/test/validator-amp-story-embedded-component.html @@ -1,15 +1,3 @@ -<!-- - Copyright 2018 The AMP HTML Authors. All Rights Reserved. - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - http://www.apache.org/licenses/LICENSE-2.0 - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS-IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the license. ---> <!-- Test Description: Tests for the amp-story-tooltip diff --git a/extensions/amp-story/1.0/test/validator-amp-story-embedded-component.out b/extensions/amp-story/1.0/test/validator-amp-story-embedded-component.out index 709ae20b71e4..b4d7f3316c19 100644 --- a/extensions/amp-story/1.0/test/validator-amp-story-embedded-component.out +++ b/extensions/amp-story/1.0/test/validator-amp-story-embedded-component.out @@ -1,17 +1,5 @@ PASS | <!-- -| Copyright 2018 The AMP HTML Authors. All Rights Reserved. -| Licensed under the Apache License, Version 2.0 (the "License"); -| you may not use this file except in compliance with the License. -| You may obtain a copy of the License at -| http://www.apache.org/licenses/LICENSE-2.0 -| Unless required by applicable law or agreed to in writing, software -| distributed under the License is distributed on an "AS-IS" BASIS, -| WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -| See the License for the specific language governing permissions and -| limitations under the license. -| --> -| <!-- | Test Description: | Tests for the amp-story-tooltip | --> diff --git a/extensions/amp-story/1.0/test/validator-amp-story-error.html b/extensions/amp-story/1.0/test/validator-amp-story-error.html index b191c8cd88af..17e7649cd6a3 100644 --- a/extensions/amp-story/1.0/test/validator-amp-story-error.html +++ b/extensions/amp-story/1.0/test/validator-amp-story-error.html @@ -1,18 +1,3 @@ -<!-- - Copyright 2017 The AMP HTML Authors. All Rights Reserved. - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS-IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the license. ---> <!-- Test Description: Tests for the amp-story tag. diff --git a/extensions/amp-story/1.0/test/validator-amp-story-error.out b/extensions/amp-story/1.0/test/validator-amp-story-error.out index 7375368c6d23..3243085f435b 100644 --- a/extensions/amp-story/1.0/test/validator-amp-story-error.out +++ b/extensions/amp-story/1.0/test/validator-amp-story-error.out @@ -1,20 +1,5 @@ FAIL | <!-- -| Copyright 2017 The AMP HTML Authors. All Rights Reserved. -| -| Licensed under the Apache License, Version 2.0 (the "License"); -| you may not use this file except in compliance with the License. -| You may obtain a copy of the License at -| -| http://www.apache.org/licenses/LICENSE-2.0 -| -| Unless required by applicable law or agreed to in writing, software -| distributed under the License is distributed on an "AS-IS" BASIS, -| WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -| See the License for the specific language governing permissions and -| limitations under the license. -| --> -| <!-- | Test Description: | Tests for the amp-story tag. | --> @@ -31,30 +16,30 @@ FAIL | <body> | <amp-story> <!-- error because the 'standalone' and metadata attributes aren't set --> >> ^~~~~~~~~ -amp-story/1.0/test/validator-amp-story-error.html:31:2 The mandatory attribute 'poster-portrait-src' is missing in tag 'amp-story'. (see https://amp.dev/documentation/components/amp-story) +amp-story/1.0/test/validator-amp-story-error.html:16:2 The mandatory attribute 'poster-portrait-src' is missing in tag 'amp-story'. (see https://amp.dev/documentation/components/amp-story) >> ^~~~~~~~~ -amp-story/1.0/test/validator-amp-story-error.html:31:2 The mandatory attribute 'publisher' is missing in tag 'amp-story'. (see https://amp.dev/documentation/components/amp-story) +amp-story/1.0/test/validator-amp-story-error.html:16:2 The mandatory attribute 'publisher' is missing in tag 'amp-story'. (see https://amp.dev/documentation/components/amp-story) >> ^~~~~~~~~ -amp-story/1.0/test/validator-amp-story-error.html:31:2 The mandatory attribute 'publisher-logo-src' is missing in tag 'amp-story'. (see https://amp.dev/documentation/components/amp-story) +amp-story/1.0/test/validator-amp-story-error.html:16:2 The mandatory attribute 'publisher-logo-src' is missing in tag 'amp-story'. (see https://amp.dev/documentation/components/amp-story) >> ^~~~~~~~~ -amp-story/1.0/test/validator-amp-story-error.html:31:2 The mandatory attribute 'standalone' is missing in tag 'amp-story'. (see https://amp.dev/documentation/components/amp-story) +amp-story/1.0/test/validator-amp-story-error.html:16:2 The mandatory attribute 'standalone' is missing in tag 'amp-story'. (see https://amp.dev/documentation/components/amp-story) >> ^~~~~~~~~ -amp-story/1.0/test/validator-amp-story-error.html:31:2 The mandatory attribute 'title' is missing in tag 'amp-story'. (see https://amp.dev/documentation/components/amp-story) +amp-story/1.0/test/validator-amp-story-error.html:16:2 The mandatory attribute 'title' is missing in tag 'amp-story'. (see https://amp.dev/documentation/components/amp-story) >> ^~~~~~~~~ -amp-story/1.0/test/validator-amp-story-error.html:31:2 The tag 'amp-story' requires including the 'amp-story' extension JavaScript. (see https://amp.dev/documentation/components/amp-story) +amp-story/1.0/test/validator-amp-story-error.html:16:2 The tag 'amp-story' requires including the 'amp-story' extension JavaScript. (see https://amp.dev/documentation/components/amp-story) | <amp-story-page> <!-- error because the 'id' attribute isn't set --> >> ^~~~~~~~~ -amp-story/1.0/test/validator-amp-story-error.html:32:4 The mandatory attribute 'id' is missing in tag 'amp-story-page'. (see https://amp.dev/documentation/components/amp-story) +amp-story/1.0/test/validator-amp-story-error.html:17:4 The mandatory attribute 'id' is missing in tag 'amp-story-page'. (see https://amp.dev/documentation/components/amp-story) >> ^~~~~~~~~ -amp-story/1.0/test/validator-amp-story-error.html:32:4 The tag 'amp-story-page' requires including the 'amp-story' extension JavaScript. (see https://amp.dev/documentation/components/amp-story) +amp-story/1.0/test/validator-amp-story-error.html:17:4 The tag 'amp-story-page' requires including the 'amp-story' extension JavaScript. (see https://amp.dev/documentation/components/amp-story) | <amp-story-grid-layer> <!-- error because one of 'fill', 'horizontal', 'vertical', 'thirds' should be set. --> >> ^~~~~~~~~ -amp-story/1.0/test/validator-amp-story-error.html:33:6 The mandatory attribute 'template' is missing in tag 'amp-story-grid-layer'. +amp-story/1.0/test/validator-amp-story-error.html:18:6 The mandatory attribute 'template' is missing in tag 'amp-story-grid-layer'. | <h5> | <h1> | <h4 height="50px"></h4> <!-- error because 'height' is not an allowed attribute. --> >> ^~~~~~~~~ -amp-story/1.0/test/validator-amp-story-error.html:36:12 The attribute 'height' may not appear in tag 'h4'. +amp-story/1.0/test/validator-amp-story-error.html:21:12 The attribute 'height' may not appear in tag 'h4'. | </h1> | </h5> | </amp-story-grid-layer> diff --git a/extensions/amp-story/1.0/test/validator-amp-story-grid-layer-error.html b/extensions/amp-story/1.0/test/validator-amp-story-grid-layer-error.html index cf12bb0abf47..b1daf3add591 100644 --- a/extensions/amp-story/1.0/test/validator-amp-story-grid-layer-error.html +++ b/extensions/amp-story/1.0/test/validator-amp-story-grid-layer-error.html @@ -1,15 +1,3 @@ -<!-- - Copyright 2020 The AMP HTML Authors. All Rights Reserved. - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - http://www.apache.org/licenses/LICENSE-2.0 - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS-IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the license. ---> <!-- Test Description: Tests for the live story functionality inside amp-story. diff --git a/extensions/amp-story/1.0/test/validator-amp-story-grid-layer-error.out b/extensions/amp-story/1.0/test/validator-amp-story-grid-layer-error.out index 98d6b7a124c4..4e5cfc2fa50e 100644 --- a/extensions/amp-story/1.0/test/validator-amp-story-grid-layer-error.out +++ b/extensions/amp-story/1.0/test/validator-amp-story-grid-layer-error.out @@ -1,17 +1,5 @@ FAIL | <!-- -| Copyright 2020 The AMP HTML Authors. All Rights Reserved. -| Licensed under the Apache License, Version 2.0 (the "License"); -| you may not use this file except in compliance with the License. -| You may obtain a copy of the License at -| http://www.apache.org/licenses/LICENSE-2.0 -| Unless required by applicable law or agreed to in writing, software -| distributed under the License is distributed on an "AS-IS" BASIS, -| WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -| See the License for the specific language governing permissions and -| limitations under the license. -| --> -| <!-- | Test Description: | Tests for the live story functionality inside amp-story. | --> @@ -35,7 +23,7 @@ FAIL | <!-- Invalid: aspect-ratio does not contain a numeric value --> | <amp-story-grid-layer aspect-ratio="a:b" template="vertical"> >> ^~~~~~~~~ -amp-story/1.0/test/validator-amp-story-grid-layer-error.html:35:8 The attribute 'aspect-ratio' in tag 'amp-story-grid-layer' is set to the invalid value 'a:b'. +amp-story/1.0/test/validator-amp-story-grid-layer-error.html:23:8 The attribute 'aspect-ratio' in tag 'amp-story-grid-layer' is set to the invalid value 'a:b'. | </amp-story-grid-layer> | </amp-story-page> | </amp-story> diff --git a/extensions/amp-story/1.0/test/validator-amp-story-grid-layer-presets.html b/extensions/amp-story/1.0/test/validator-amp-story-grid-layer-presets.html index 57a2849f3d31..8bfa6ff54a56 100644 --- a/extensions/amp-story/1.0/test/validator-amp-story-grid-layer-presets.html +++ b/extensions/amp-story/1.0/test/validator-amp-story-grid-layer-presets.html @@ -1,15 +1,3 @@ -<!-- - Copyright 2021 The AMP HTML Authors. All Rights Reserved. - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - http://www.apache.org/licenses/LICENSE-2.0 - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS-IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the license. ---> <!-- Test Description: Tests for the AMP Story grid layer templates. diff --git a/extensions/amp-story/1.0/test/validator-amp-story-grid-layer-presets.out b/extensions/amp-story/1.0/test/validator-amp-story-grid-layer-presets.out index ce459636cb0c..2fe4b0678e0a 100644 --- a/extensions/amp-story/1.0/test/validator-amp-story-grid-layer-presets.out +++ b/extensions/amp-story/1.0/test/validator-amp-story-grid-layer-presets.out @@ -1,17 +1,5 @@ PASS | <!-- -| Copyright 2021 The AMP HTML Authors. All Rights Reserved. -| Licensed under the Apache License, Version 2.0 (the "License"); -| you may not use this file except in compliance with the License. -| You may obtain a copy of the License at -| http://www.apache.org/licenses/LICENSE-2.0 -| Unless required by applicable law or agreed to in writing, software -| distributed under the License is distributed on an "AS-IS" BASIS, -| WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -| See the License for the specific language governing permissions and -| limitations under the license. -| --> -| <!-- | Test Description: | Tests for the AMP Story grid layer templates. | --> diff --git a/extensions/amp-story/1.0/test/validator-amp-story-grid-layer.html b/extensions/amp-story/1.0/test/validator-amp-story-grid-layer.html index 396f427cad27..2f1e252d7531 100644 --- a/extensions/amp-story/1.0/test/validator-amp-story-grid-layer.html +++ b/extensions/amp-story/1.0/test/validator-amp-story-grid-layer.html @@ -1,15 +1,3 @@ -<!-- - Copyright 2020 The AMP HTML Authors. All Rights Reserved. - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - http://www.apache.org/licenses/LICENSE-2.0 - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS-IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the license. ---> <!-- Test Description: Tests for the live story functionality inside amp-story. diff --git a/extensions/amp-story/1.0/test/validator-amp-story-grid-layer.out b/extensions/amp-story/1.0/test/validator-amp-story-grid-layer.out index 535bdbad863b..b1c696ff1a6a 100644 --- a/extensions/amp-story/1.0/test/validator-amp-story-grid-layer.out +++ b/extensions/amp-story/1.0/test/validator-amp-story-grid-layer.out @@ -1,17 +1,5 @@ PASS | <!-- -| Copyright 2020 The AMP HTML Authors. All Rights Reserved. -| Licensed under the Apache License, Version 2.0 (the "License"); -| you may not use this file except in compliance with the License. -| You may obtain a copy of the License at -| http://www.apache.org/licenses/LICENSE-2.0 -| Unless required by applicable law or agreed to in writing, software -| distributed under the License is distributed on an "AS-IS" BASIS, -| WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -| See the License for the specific language governing permissions and -| limitations under the license. -| --> -| <!-- | Test Description: | Tests for the live story functionality inside amp-story. | --> diff --git a/extensions/amp-story/1.0/test/validator-amp-story-live-story-error.html b/extensions/amp-story/1.0/test/validator-amp-story-live-story-error.html index d34fc7637723..87bff988ca7e 100644 --- a/extensions/amp-story/1.0/test/validator-amp-story-live-story-error.html +++ b/extensions/amp-story/1.0/test/validator-amp-story-live-story-error.html @@ -1,15 +1,3 @@ -<!-- - Copyright 2019 The AMP HTML Authors. All Rights Reserved. - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - http://www.apache.org/licenses/LICENSE-2.0 - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS-IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the license. ---> <!-- Test Description: Tests for the live story functionality inside amp-story. diff --git a/extensions/amp-story/1.0/test/validator-amp-story-live-story-error.out b/extensions/amp-story/1.0/test/validator-amp-story-live-story-error.out index 6ee07496067f..0e33a4c7eab1 100644 --- a/extensions/amp-story/1.0/test/validator-amp-story-live-story-error.out +++ b/extensions/amp-story/1.0/test/validator-amp-story-live-story-error.out @@ -1,17 +1,5 @@ FAIL | <!-- -| Copyright 2019 The AMP HTML Authors. All Rights Reserved. -| Licensed under the Apache License, Version 2.0 (the "License"); -| you may not use this file except in compliance with the License. -| You may obtain a copy of the License at -| http://www.apache.org/licenses/LICENSE-2.0 -| Unless required by applicable law or agreed to in writing, software -| distributed under the License is distributed on an "AS-IS" BASIS, -| WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -| See the License for the specific language governing permissions and -| limitations under the license. -| --> -| <!-- | Test Description: | Tests for the live story functionality inside amp-story. | --> @@ -41,7 +29,7 @@ FAIL | <body> | <amp-story standalone publisher="AMP Team" title="Visual Diff Test" >> ^~~~~~~~~ -amp-story/1.0/test/validator-amp-story-live-story-error.html:41:4 The attribute 'live-story' in tag 'amp-story' is set to the invalid value 'somevalue'. (see https://amp.dev/documentation/components/amp-story) +amp-story/1.0/test/validator-amp-story-live-story-error.html:29:4 The attribute 'live-story' in tag 'amp-story' is set to the invalid value 'somevalue'. (see https://amp.dev/documentation/components/amp-story) | publisher-logo-src="/examples/visual-tests/photos/120.png" | poster-portrait-src="/examples/visual-tests/picsum.photos/image981_900x1600.jpg" | poster-landscape-src="/examples/visual-tests/picsum.photos/image981_1600x900.jpg" diff --git a/extensions/amp-story/1.0/test/validator-amp-story-live-story.html b/extensions/amp-story/1.0/test/validator-amp-story-live-story.html index 6bbbc193b0e6..18b3de5f7c94 100644 --- a/extensions/amp-story/1.0/test/validator-amp-story-live-story.html +++ b/extensions/amp-story/1.0/test/validator-amp-story-live-story.html @@ -1,15 +1,3 @@ -<!-- - Copyright 2019 The AMP HTML Authors. All Rights Reserved. - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - http://www.apache.org/licenses/LICENSE-2.0 - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS-IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the license. ---> <!-- Test Description: Tests for the live story functionality inside amp-story. diff --git a/extensions/amp-story/1.0/test/validator-amp-story-live-story.out b/extensions/amp-story/1.0/test/validator-amp-story-live-story.out index 62fb5ce1861e..06a815f25a0a 100644 --- a/extensions/amp-story/1.0/test/validator-amp-story-live-story.out +++ b/extensions/amp-story/1.0/test/validator-amp-story-live-story.out @@ -1,17 +1,5 @@ PASS | <!-- -| Copyright 2019 The AMP HTML Authors. All Rights Reserved. -| Licensed under the Apache License, Version 2.0 (the "License"); -| you may not use this file except in compliance with the License. -| You may obtain a copy of the License at -| http://www.apache.org/licenses/LICENSE-2.0 -| Unless required by applicable law or agreed to in writing, software -| distributed under the License is distributed on an "AS-IS" BASIS, -| WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -| See the License for the specific language governing permissions and -| limitations under the license. -| --> -| <!-- | Test Description: | Tests for the live story functionality inside amp-story. | --> diff --git a/extensions/amp-story/1.0/test/validator-amp-story-next-page-no-ad.html b/extensions/amp-story/1.0/test/validator-amp-story-next-page-no-ad.html index ac99fc407f4f..feb3984abde9 100644 --- a/extensions/amp-story/1.0/test/validator-amp-story-next-page-no-ad.html +++ b/extensions/amp-story/1.0/test/validator-amp-story-next-page-no-ad.html @@ -1,18 +1,3 @@ -<!-- - Copyright 2019 The AMP HTML Authors. All Rights Reserved. - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS-IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the license. ---> <!-- Test Description: Tests for the amp-story tag using next-page-no-ad. diff --git a/extensions/amp-story/1.0/test/validator-amp-story-next-page-no-ad.out b/extensions/amp-story/1.0/test/validator-amp-story-next-page-no-ad.out index b5827d91a856..fb439ef2e5f7 100644 --- a/extensions/amp-story/1.0/test/validator-amp-story-next-page-no-ad.out +++ b/extensions/amp-story/1.0/test/validator-amp-story-next-page-no-ad.out @@ -1,20 +1,5 @@ PASS | <!-- -| Copyright 2019 The AMP HTML Authors. All Rights Reserved. -| -| Licensed under the Apache License, Version 2.0 (the "License"); -| you may not use this file except in compliance with the License. -| You may obtain a copy of the License at -| -| http://www.apache.org/licenses/LICENSE-2.0 -| -| Unless required by applicable law or agreed to in writing, software -| distributed under the License is distributed on an "AS-IS" BASIS, -| WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -| See the License for the specific language governing permissions and -| limitations under the license. -| --> -| <!-- | Test Description: | Tests for the amp-story tag using next-page-no-ad. | --> diff --git a/extensions/amp-story/1.0/test/validator-amp-story-page-attachment-error.html b/extensions/amp-story/1.0/test/validator-amp-story-page-attachment-error.html index 2e3b4d277383..430fb2f5db76 100644 --- a/extensions/amp-story/1.0/test/validator-amp-story-page-attachment-error.html +++ b/extensions/amp-story/1.0/test/validator-amp-story-page-attachment-error.html @@ -1,15 +1,3 @@ -<!-- - Copyright 2019 The AMP HTML Authors. All Rights Reserved. - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - http://www.apache.org/licenses/LICENSE-2.0 - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS-IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the license. ---> <!-- Test Description: Tests for the amp-story-page-attachment tag. diff --git a/extensions/amp-story/1.0/test/validator-amp-story-page-attachment-error.out b/extensions/amp-story/1.0/test/validator-amp-story-page-attachment-error.out index 676c7cdfcb8d..d53ae0bb3c9b 100644 --- a/extensions/amp-story/1.0/test/validator-amp-story-page-attachment-error.out +++ b/extensions/amp-story/1.0/test/validator-amp-story-page-attachment-error.out @@ -1,17 +1,5 @@ FAIL | <!-- -| Copyright 2019 The AMP HTML Authors. All Rights Reserved. -| Licensed under the Apache License, Version 2.0 (the "License"); -| you may not use this file except in compliance with the License. -| You may obtain a copy of the License at -| http://www.apache.org/licenses/LICENSE-2.0 -| Unless required by applicable law or agreed to in writing, software -| distributed under the License is distributed on an "AS-IS" BASIS, -| WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -| See the License for the specific language governing permissions and -| limitations under the license. -| --> -| <!-- | Test Description: | Tests for the amp-story-page-attachment tag. | --> @@ -37,22 +25,22 @@ FAIL | | <amp-story-page-attachment layout="nodisplay" theme="cat"> >> ^~~~~~~~~ -amp-story/1.0/test/validator-amp-story-page-attachment-error.html:37:6 The attribute 'theme' in tag 'amp-story-page-attachment' is set to the invalid value 'cat'. +amp-story/1.0/test/validator-amp-story-page-attachment-error.html:25:6 The attribute 'theme' in tag 'amp-story-page-attachment' is set to the invalid value 'cat'. | <h1>Amazing title</h1> | <p>Bacon ipsum dolor cat cat cat.</p> | </amp-story-page-attachment> | | <amp-story-page-attachment layout="nodisplay" href="javascript:alert(1)"></amp-story-page-attachment> >> ^~~~~~~~~ -amp-story/1.0/test/validator-amp-story-page-attachment-error.html:42:6 Invalid URL protocol 'javascript:' for attribute 'href' in tag 'amp-story-page-attachment'. +amp-story/1.0/test/validator-amp-story-page-attachment-error.html:30:6 Invalid URL protocol 'javascript:' for attribute 'href' in tag 'amp-story-page-attachment'. | | <amp-story-page-attachment layout="nodisplay" href="https://www.gooogle.com"> >> ^~~~~~~~~ -amp-story/1.0/test/validator-amp-story-page-attachment-error.html:44:6 Tag 'amp-story-page-attachment' must have 0 child tags - saw 1 child tags. +amp-story/1.0/test/validator-amp-story-page-attachment-error.html:32:6 Tag 'amp-story-page-attachment' must have 0 child tags - saw 1 child tags. >> ^~~~~~~~~ -amp-story/1.0/test/validator-amp-story-page-attachment-error.html:44:6 Tag 'amp-story-page-attachment[href]', if present, must be the last child of tag 'amp-story-page'. +amp-story/1.0/test/validator-amp-story-page-attachment-error.html:32:6 Tag 'amp-story-page-attachment[href]', if present, must be the last child of tag 'amp-story-page'. >> ^~~~~~~~~ -amp-story/1.0/test/validator-amp-story-page-attachment-error.html:44:6 Tag 'amp-story-page-attachment[href]', if present, must be the last child of tag 'amp-story-page'. +amp-story/1.0/test/validator-amp-story-page-attachment-error.html:32:6 Tag 'amp-story-page-attachment[href]', if present, must be the last child of tag 'amp-story-page'. | <h1>Illegal child element</h1> | </amp-story-page-attachment> | diff --git a/extensions/amp-story/1.0/test/validator-amp-story-page-attachment.html b/extensions/amp-story/1.0/test/validator-amp-story-page-attachment.html index 3f394ce2bd68..5d075693ad9d 100644 --- a/extensions/amp-story/1.0/test/validator-amp-story-page-attachment.html +++ b/extensions/amp-story/1.0/test/validator-amp-story-page-attachment.html @@ -1,15 +1,3 @@ -<!-- - Copyright 2019 The AMP HTML Authors. All Rights Reserved. - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - http://www.apache.org/licenses/LICENSE-2.0 - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS-IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the license. ---> <!-- Test Description: Tests for the amp-story-page-attachment tag. diff --git a/extensions/amp-story/1.0/test/validator-amp-story-page-attachment.out b/extensions/amp-story/1.0/test/validator-amp-story-page-attachment.out index c344638953c0..260f6d8a487e 100644 --- a/extensions/amp-story/1.0/test/validator-amp-story-page-attachment.out +++ b/extensions/amp-story/1.0/test/validator-amp-story-page-attachment.out @@ -1,17 +1,5 @@ PASS | <!-- -| Copyright 2019 The AMP HTML Authors. All Rights Reserved. -| Licensed under the Apache License, Version 2.0 (the "License"); -| you may not use this file except in compliance with the License. -| You may obtain a copy of the License at -| http://www.apache.org/licenses/LICENSE-2.0 -| Unless required by applicable law or agreed to in writing, software -| distributed under the License is distributed on an "AS-IS" BASIS, -| WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -| See the License for the specific language governing permissions and -| limitations under the license. -| --> -| <!-- | Test Description: | Tests for the amp-story-page-attachment tag. | --> diff --git a/extensions/amp-story/1.0/test/validator-amp-story-reference-point.html b/extensions/amp-story/1.0/test/validator-amp-story-reference-point.html index 4d903a9d01af..b16d945770de 100644 --- a/extensions/amp-story/1.0/test/validator-amp-story-reference-point.html +++ b/extensions/amp-story/1.0/test/validator-amp-story-reference-point.html @@ -1,18 +1,3 @@ -<!-- - Copyright 2017 The AMP HTML Authors. All Rights Reserved. - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS-IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the license. ---> <!-- Test Description: Tests for the amp-story tag. diff --git a/extensions/amp-story/1.0/test/validator-amp-story-reference-point.out b/extensions/amp-story/1.0/test/validator-amp-story-reference-point.out index 251a94eae826..706a65df62d9 100644 --- a/extensions/amp-story/1.0/test/validator-amp-story-reference-point.out +++ b/extensions/amp-story/1.0/test/validator-amp-story-reference-point.out @@ -1,20 +1,5 @@ FAIL | <!-- -| Copyright 2017 The AMP HTML Authors. All Rights Reserved. -| -| Licensed under the Apache License, Version 2.0 (the "License"); -| you may not use this file except in compliance with the License. -| You may obtain a copy of the License at -| -| http://www.apache.org/licenses/LICENSE-2.0 -| -| Unless required by applicable law or agreed to in writing, software -| distributed under the License is distributed on an "AS-IS" BASIS, -| WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -| See the License for the specific language governing permissions and -| limitations under the license. -| --> -| <!-- | Test Description: | Tests for the amp-story tag. | --> @@ -35,7 +20,7 @@ FAIL | <amp-story-grid-layer template="horizontal"> | <img class="footer-logo" src="img/foot-logo.svg" width="40" height="40" /> <!-- The real error here is that <img/> tag is not allowed. But this is a weird use case where the validator error will comment about reference points. This needs to be fixed in the near future. --> >> ^~~~~~~~~ -amp-story/1.0/test/validator-amp-story-reference-point.html:35:8 The tag 'img' may only appear as a descendant of tag 'noscript'. Did you mean 'amp-img'? (see https://amp.dev/documentation/components/amp-img/) +amp-story/1.0/test/validator-amp-story-reference-point.html:20:8 The tag 'img' may only appear as a descendant of tag 'noscript'. Did you mean 'amp-img'? (see https://amp.dev/documentation/components/amp-img/) | </amp-story-grid-layer> | </amp-story-page> | </amp-story> diff --git a/extensions/amp-story/1.0/test/validator-amp-story-show-tooltip.html b/extensions/amp-story/1.0/test/validator-amp-story-show-tooltip.html index 24a2d91864bb..6a01c9ef2252 100644 --- a/extensions/amp-story/1.0/test/validator-amp-story-show-tooltip.html +++ b/extensions/amp-story/1.0/test/validator-amp-story-show-tooltip.html @@ -1,18 +1,3 @@ -<!-- - Copyright 2020 The AMP HTML Authors. All Rights Reserved. - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS-IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the license. ---> <!-- Test Description: Tests for the show-tooltip attribute. diff --git a/extensions/amp-story/1.0/test/validator-amp-story-show-tooltip.out b/extensions/amp-story/1.0/test/validator-amp-story-show-tooltip.out index 70276a8a9510..18197363744a 100644 --- a/extensions/amp-story/1.0/test/validator-amp-story-show-tooltip.out +++ b/extensions/amp-story/1.0/test/validator-amp-story-show-tooltip.out @@ -1,20 +1,5 @@ PASS | <!-- -| Copyright 2020 The AMP HTML Authors. All Rights Reserved. -| -| Licensed under the Apache License, Version 2.0 (the "License"); -| you may not use this file except in compliance with the License. -| You may obtain a copy of the License at -| -| http://www.apache.org/licenses/LICENSE-2.0 -| -| Unless required by applicable law or agreed to in writing, software -| distributed under the License is distributed on an "AS-IS" BASIS, -| WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -| See the License for the specific language governing permissions and -| limitations under the license. -| --> -| <!-- | Test Description: | Tests for the show-tooltip attribute. | --> diff --git a/extensions/amp-story/1.0/test/validator-amp-story-sidebar-error.html b/extensions/amp-story/1.0/test/validator-amp-story-sidebar-error.html index e4b5281eb587..a6430947d286 100644 --- a/extensions/amp-story/1.0/test/validator-amp-story-sidebar-error.html +++ b/extensions/amp-story/1.0/test/validator-amp-story-sidebar-error.html @@ -1,15 +1,3 @@ -<!-- - Copyright 2018 The AMP HTML Authors. All Rights Reserved. - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - http://www.apache.org/licenses/LICENSE-2.0 - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS-IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the license. ---> <!-- Test Description: Tests for the amp-sidebar tag. diff --git a/extensions/amp-story/1.0/test/validator-amp-story-sidebar-error.out b/extensions/amp-story/1.0/test/validator-amp-story-sidebar-error.out index b09da2961c44..01cbaf6b9376 100644 --- a/extensions/amp-story/1.0/test/validator-amp-story-sidebar-error.out +++ b/extensions/amp-story/1.0/test/validator-amp-story-sidebar-error.out @@ -1,17 +1,5 @@ FAIL | <!-- -| Copyright 2018 The AMP HTML Authors. All Rights Reserved. -| Licensed under the Apache License, Version 2.0 (the "License"); -| you may not use this file except in compliance with the License. -| You may obtain a copy of the License at -| http://www.apache.org/licenses/LICENSE-2.0 -| Unless required by applicable law or agreed to in writing, software -| distributed under the License is distributed on an "AS-IS" BASIS, -| WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -| See the License for the specific language governing permissions and -| limitations under the license. -| --> -| <!-- | Test Description: | Tests for the amp-sidebar tag. | --> @@ -47,7 +35,7 @@ FAIL | poster-portrait-src="https://example.com/my-story/poster/3x4.jpg"> | <amp-sidebar id="sidebar1" layout="nodisplay" side="right"> >> ^~~~~~~~~ -amp-story/1.0/test/validator-amp-story-sidebar-error.html:47:6 The attribute 'side' may not appear in tag 'amp-sidebar'. (see https://amp.dev/documentation/components/amp-sidebar/) +amp-story/1.0/test/validator-amp-story-sidebar-error.html:35:6 The attribute 'side' may not appear in tag 'amp-sidebar'. (see https://amp.dev/documentation/components/amp-sidebar/) | <ul> | <li>Nav item 1</li> | <li><a href="#idTwo" on="tap:idTwo.scrollTo">Nav item 2</a></li> diff --git a/extensions/amp-story/1.0/test/validator-amp-story-sidebar.html b/extensions/amp-story/1.0/test/validator-amp-story-sidebar.html index 7faec3e007c3..847de46aac09 100644 --- a/extensions/amp-story/1.0/test/validator-amp-story-sidebar.html +++ b/extensions/amp-story/1.0/test/validator-amp-story-sidebar.html @@ -1,15 +1,3 @@ -<!-- - Copyright 2018 The AMP HTML Authors. All Rights Reserved. - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - http://www.apache.org/licenses/LICENSE-2.0 - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS-IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the license. ---> <!-- Test Description: Tests for the amp-sidebar tag. diff --git a/extensions/amp-story/1.0/test/validator-amp-story-sidebar.out b/extensions/amp-story/1.0/test/validator-amp-story-sidebar.out index cf8ef988d493..96e4bdeb4694 100644 --- a/extensions/amp-story/1.0/test/validator-amp-story-sidebar.out +++ b/extensions/amp-story/1.0/test/validator-amp-story-sidebar.out @@ -1,17 +1,5 @@ PASS | <!-- -| Copyright 2018 The AMP HTML Authors. All Rights Reserved. -| Licensed under the Apache License, Version 2.0 (the "License"); -| you may not use this file except in compliance with the License. -| You may obtain a copy of the License at -| http://www.apache.org/licenses/LICENSE-2.0 -| Unless required by applicable law or agreed to in writing, software -| distributed under the License is distributed on an "AS-IS" BASIS, -| WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -| See the License for the specific language governing permissions and -| limitations under the license. -| --> -| <!-- | Test Description: | Tests for the amp-sidebar tag. | --> @@ -47,7 +35,7 @@ PASS | poster-portrait-src="https://example.com/my-story/poster/3x4.jpg"> | <amp-sidebar id="sidebar1" layout="nodisplay"> >> ^~~~~~~~~ -amp-story/1.0/test/validator-amp-story-sidebar.html:47:6 The tag 'amp-sidebar' is deprecated - use 'anchor tags or amp-story-player controls' instead. (see https://github.com/ampproject/amphtml/issues/33293) +amp-story/1.0/test/validator-amp-story-sidebar.html:35:6 The tag 'amp-sidebar' is deprecated - use 'anchor tags or amp-story-player controls' instead. (see https://github.com/ampproject/amphtml/issues/33293) | <ul> | <li>Nav item 1</li> | <li><a href="#idTwo" on="tap:idTwo.scrollTo">Nav item 2</a></li> diff --git a/extensions/amp-story/1.0/test/validator-amp-story-supports-landscape.html b/extensions/amp-story/1.0/test/validator-amp-story-supports-landscape.html index c79da71e50d0..772e906a5c25 100644 --- a/extensions/amp-story/1.0/test/validator-amp-story-supports-landscape.html +++ b/extensions/amp-story/1.0/test/validator-amp-story-supports-landscape.html @@ -1,15 +1,3 @@ -<!-- - Copyright 2018 The AMP HTML Authors. All Rights Reserved. - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - http://www.apache.org/licenses/LICENSE-2.0 - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS-IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the license. ---> <!-- Test Description: Tests for the supports-landscape attribute. diff --git a/extensions/amp-story/1.0/test/validator-amp-story-supports-landscape.out b/extensions/amp-story/1.0/test/validator-amp-story-supports-landscape.out index 360f84dd543c..199a32c32012 100644 --- a/extensions/amp-story/1.0/test/validator-amp-story-supports-landscape.out +++ b/extensions/amp-story/1.0/test/validator-amp-story-supports-landscape.out @@ -1,17 +1,5 @@ PASS | <!-- -| Copyright 2018 The AMP HTML Authors. All Rights Reserved. -| Licensed under the Apache License, Version 2.0 (the "License"); -| you may not use this file except in compliance with the License. -| You may obtain a copy of the License at -| http://www.apache.org/licenses/LICENSE-2.0 -| Unless required by applicable law or agreed to in writing, software -| distributed under the License is distributed on an "AS-IS" BASIS, -| WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -| See the License for the specific language governing permissions and -| limitations under the license. -| --> -| <!-- | Test Description: | Tests for the supports-landscape attribute. | --> diff --git a/extensions/amp-story/1.0/test/validator-amp-story-svg-error.html b/extensions/amp-story/1.0/test/validator-amp-story-svg-error.html index 982d9f47e21c..ba4b311b432b 100644 --- a/extensions/amp-story/1.0/test/validator-amp-story-svg-error.html +++ b/extensions/amp-story/1.0/test/validator-amp-story-svg-error.html @@ -1,18 +1,3 @@ -<!-- - Copyright 2019 The AMP HTML Authors. All Rights Reserved. - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS-IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the license. ---> <!-- Test Description: Tests for SVG support. diff --git a/extensions/amp-story/1.0/test/validator-amp-story-svg-error.out b/extensions/amp-story/1.0/test/validator-amp-story-svg-error.out index 99e95954cabe..512033239d22 100644 --- a/extensions/amp-story/1.0/test/validator-amp-story-svg-error.out +++ b/extensions/amp-story/1.0/test/validator-amp-story-svg-error.out @@ -1,20 +1,5 @@ FAIL | <!-- -| Copyright 2019 The AMP HTML Authors. All Rights Reserved. -| -| Licensed under the Apache License, Version 2.0 (the "License"); -| you may not use this file except in compliance with the License. -| You may obtain a copy of the License at -| -| http://www.apache.org/licenses/LICENSE-2.0 -| -| Unless required by applicable law or agreed to in writing, software -| distributed under the License is distributed on an "AS-IS" BASIS, -| WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -| See the License for the specific language governing permissions and -| limitations under the license. -| --> -| <!-- | Test Description: | Tests for SVG support. | --> @@ -38,7 +23,7 @@ FAIL | <path d="m64.3 22.023h-4.16l-6.975 17.797h3.674s.74-.33 1.18-1.4l.805-2.57h6.808l.805 2.57c.44 1.07 1.18 1.4 1.18 1.4h3.674zm-4.524 11.033 2.45-7.26 2.45 7.26zm36.608-11.033v17.797h-3.664v-11.684l-4.524 8.805s-.552 1.158-1.82 1.026h-.1c-1.27.143-1.82-1.026-1.82-1.026l-4.524-8.805v11.684h-3.674v-17.797h3.586c.827.01.938.684.938.684l5.55 10.978 5.55-10.978s.1-.673.938-.684zm19.196 2.837c-1.655-3.2-8.75-2.836-8.75-2.836h-3.94v17.796h4.05l.143-5.958c6.73.188 7.756-1.876 7.756-1.876 2.946-2.902.74-7.128.74-7.128zm-5.78 5.88h-2.8v-5.517c0-.364 3.178-.022 3.487.077.706.22 1.346.662 1.556 1.4.52 1.82-.188 3.773-2.25 4.038z"/> | <circle cx="24.578" cy="30" r="20.952" foo-attribute="bar"/> >> ^~~~~~~~~ -amp-story/1.0/test/validator-amp-story-svg-error.html:38:12 The attribute 'foo-attribute' may not appear in tag 'circle'. (see https://amp.dev/documentation/guides-and-tutorials/learn/spec/amphtml/#svg) +amp-story/1.0/test/validator-amp-story-svg-error.html:23:12 The attribute 'foo-attribute' may not appear in tag 'circle'. (see https://amp.dev/documentation/guides-and-tutorials/learn/spec/amphtml/#svg) | </g> | <path d="m26.144 26.834h5.075s1.07 0 .52 1.214l-8.75 14.564h-1.622l1.545-9.522-5.153-.033s-.916-.364-.22-1.545l8.606-14.233h1.688z" fill="#fff"/> | </svg> @@ -46,7 +31,7 @@ amp-story/1.0/test/validator-amp-story-svg-error.html:38:12 The attribute 'foo-a | <amp-story-page-attachment layout="nodisplay"> | <circle cx="50" cy="50" r="40" stroke="black" stroke-width="3" fill="red" /> >> ^~~~~~~~~ -amp-story/1.0/test/validator-amp-story-svg-error.html:44:8 The tag 'circle' may only appear as a descendant of tag 'svg'. (see https://amp.dev/documentation/guides-and-tutorials/learn/spec/amphtml/#svg) +amp-story/1.0/test/validator-amp-story-svg-error.html:29:8 The tag 'circle' may only appear as a descendant of tag 'svg'. (see https://amp.dev/documentation/guides-and-tutorials/learn/spec/amphtml/#svg) | <svg height="100" width="100"> | </svg> | </amp-story-page-attachment> diff --git a/extensions/amp-story/1.0/test/validator-amp-story-svg.html b/extensions/amp-story/1.0/test/validator-amp-story-svg.html index 8ea7d432fc6f..9f50ff0be65c 100644 --- a/extensions/amp-story/1.0/test/validator-amp-story-svg.html +++ b/extensions/amp-story/1.0/test/validator-amp-story-svg.html @@ -1,18 +1,3 @@ -<!-- - Copyright 2019 The AMP HTML Authors. All Rights Reserved. - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS-IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the license. ---> <!-- Test Description: Tests for SVG support. diff --git a/extensions/amp-story/1.0/test/validator-amp-story-svg.out b/extensions/amp-story/1.0/test/validator-amp-story-svg.out index fe110afc443a..420ba25fba5e 100644 --- a/extensions/amp-story/1.0/test/validator-amp-story-svg.out +++ b/extensions/amp-story/1.0/test/validator-amp-story-svg.out @@ -1,20 +1,5 @@ PASS | <!-- -| Copyright 2019 The AMP HTML Authors. All Rights Reserved. -| -| Licensed under the Apache License, Version 2.0 (the "License"); -| you may not use this file except in compliance with the License. -| You may obtain a copy of the License at -| -| http://www.apache.org/licenses/LICENSE-2.0 -| -| Unless required by applicable law or agreed to in writing, software -| distributed under the License is distributed on an "AS-IS" BASIS, -| WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -| See the License for the specific language governing permissions and -| limitations under the license. -| --> -| <!-- | Test Description: | Tests for SVG support. | --> diff --git a/extensions/amp-story/1.0/test/validator-amp-story-templates.html b/extensions/amp-story/1.0/test/validator-amp-story-templates.html index 41d889c41138..4130c7b3af94 100644 --- a/extensions/amp-story/1.0/test/validator-amp-story-templates.html +++ b/extensions/amp-story/1.0/test/validator-amp-story-templates.html @@ -1,15 +1,3 @@ -<!-- - Copyright 2019 The AMP HTML Authors. All Rights Reserved. - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - http://www.apache.org/licenses/LICENSE-2.0 - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS-IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the license. ---> <!-- Test Description: Tests for the AMP Story grid layer templates. diff --git a/extensions/amp-story/1.0/test/validator-amp-story-templates.out b/extensions/amp-story/1.0/test/validator-amp-story-templates.out index c9dbd541176b..bae82e69b8c4 100644 --- a/extensions/amp-story/1.0/test/validator-amp-story-templates.out +++ b/extensions/amp-story/1.0/test/validator-amp-story-templates.out @@ -1,17 +1,5 @@ PASS | <!-- -| Copyright 2019 The AMP HTML Authors. All Rights Reserved. -| Licensed under the Apache License, Version 2.0 (the "License"); -| you may not use this file except in compliance with the License. -| You may obtain a copy of the License at -| http://www.apache.org/licenses/LICENSE-2.0 -| Unless required by applicable law or agreed to in writing, software -| distributed under the License is distributed on an "AS-IS" BASIS, -| WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -| See the License for the specific language governing permissions and -| limitations under the license. -| --> -| <!-- | Test Description: | Tests for the AMP Story grid layer templates. | --> diff --git a/extensions/amp-story/1.0/test/validator-amp-story-video-controls.html b/extensions/amp-story/1.0/test/validator-amp-story-video-controls.html index 4115b567fe38..65d0020e81bc 100644 --- a/extensions/amp-story/1.0/test/validator-amp-story-video-controls.html +++ b/extensions/amp-story/1.0/test/validator-amp-story-video-controls.html @@ -1,18 +1,3 @@ -<!-- - Copyright 2019 The AMP HTML Authors. All Rights Reserved. - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS-IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the license. ---> <!-- Test Description: Test to make sure amp-video under amp-story gets an error if it has a controls attribute. diff --git a/extensions/amp-story/1.0/test/validator-amp-story-video-controls.out b/extensions/amp-story/1.0/test/validator-amp-story-video-controls.out index e7f7f7cbfe60..524b697d2641 100644 --- a/extensions/amp-story/1.0/test/validator-amp-story-video-controls.out +++ b/extensions/amp-story/1.0/test/validator-amp-story-video-controls.out @@ -1,20 +1,5 @@ PASS | <!-- -| Copyright 2019 The AMP HTML Authors. All Rights Reserved. -| -| Licensed under the Apache License, Version 2.0 (the "License"); -| you may not use this file except in compliance with the License. -| You may obtain a copy of the License at -| -| http://www.apache.org/licenses/LICENSE-2.0 -| -| Unless required by applicable law or agreed to in writing, software -| distributed under the License is distributed on an "AS-IS" BASIS, -| WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -| See the License for the specific language governing permissions and -| limitations under the license. -| --> -| <!-- | Test Description: | Test to make sure amp-video under amp-story gets an error if it has a controls attribute. | attribute set. @@ -38,7 +23,7 @@ PASS | <!-- This should show a deprecation warning because amp-video has the [controls] attribute. --> | <amp-video width="480" >> ^~~~~~~~~ -amp-story/1.0/test/validator-amp-story-video-controls.html:38:8 The attribute 'controls' in tag 'amp-video' is deprecated - use '- no replacement' instead. (see https://github.com/ampproject/amphtml/issues/23798) +amp-story/1.0/test/validator-amp-story-video-controls.html:23:8 The attribute 'controls' in tag 'amp-video' is deprecated - use '- no replacement' instead. (see https://github.com/ampproject/amphtml/issues/23798) | height="270" | src="/video/tokyo.mp4" | layout="responsive" diff --git a/extensions/amp-story/1.0/test/validator-amp-story-video-error.html b/extensions/amp-story/1.0/test/validator-amp-story-video-error.html index 024961911523..1feb36b34405 100644 --- a/extensions/amp-story/1.0/test/validator-amp-story-video-error.html +++ b/extensions/amp-story/1.0/test/validator-amp-story-video-error.html @@ -1,18 +1,3 @@ -<!-- - Copyright 2017 The AMP HTML Authors. All Rights Reserved. - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS-IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the license. ---> <!-- Test Description: Test to make sure amp-video under amp-story gets an error if it doesn't have the "poster" diff --git a/extensions/amp-story/1.0/test/validator-amp-story-video-error.out b/extensions/amp-story/1.0/test/validator-amp-story-video-error.out index 985fd2572101..ff075aac023f 100644 --- a/extensions/amp-story/1.0/test/validator-amp-story-video-error.out +++ b/extensions/amp-story/1.0/test/validator-amp-story-video-error.out @@ -1,20 +1,5 @@ FAIL | <!-- -| Copyright 2017 The AMP HTML Authors. All Rights Reserved. -| -| Licensed under the Apache License, Version 2.0 (the "License"); -| you may not use this file except in compliance with the License. -| You may obtain a copy of the License at -| -| http://www.apache.org/licenses/LICENSE-2.0 -| -| Unless required by applicable law or agreed to in writing, software -| distributed under the License is distributed on an "AS-IS" BASIS, -| WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -| See the License for the specific language governing permissions and -| limitations under the license. -| --> -| <!-- | Test Description: | Test to make sure amp-video under amp-story gets an error if it doesn't have the "poster" | attribute set. @@ -38,9 +23,9 @@ FAIL | <!-- This should fail because amp-video doesn't have the [poster] attribute. --> | <amp-video width="480" >> ^~~~~~~~~ -amp-story/1.0/test/validator-amp-story-video-error.html:38:8 The mandatory attribute 'autoplay' is missing in tag 'amp-video'. (see https://amp.dev/documentation/components/amp-video/) +amp-story/1.0/test/validator-amp-story-video-error.html:23:8 The mandatory attribute 'autoplay' is missing in tag 'amp-video'. (see https://amp.dev/documentation/components/amp-video/) >> ^~~~~~~~~ -amp-story/1.0/test/validator-amp-story-video-error.html:38:8 The mandatory attribute 'poster' is missing in tag 'amp-video'. (see https://amp.dev/documentation/components/amp-video/) +amp-story/1.0/test/validator-amp-story-video-error.html:23:8 The mandatory attribute 'poster' is missing in tag 'amp-video'. (see https://amp.dev/documentation/components/amp-video/) | height="270" | src="/video/tokyo.mp4" | layout="responsive"> diff --git a/extensions/amp-story/1.0/test/validator-amp-story.html b/extensions/amp-story/1.0/test/validator-amp-story.html index 08dde259cee6..73db6abf370e 100644 --- a/extensions/amp-story/1.0/test/validator-amp-story.html +++ b/extensions/amp-story/1.0/test/validator-amp-story.html @@ -1,18 +1,3 @@ -<!-- - Copyright 2017 The AMP HTML Authors. All Rights Reserved. - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS-IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the license. ---> <!-- Test Description: Tests for the amp-story tag. diff --git a/extensions/amp-story/1.0/test/validator-amp-story.out b/extensions/amp-story/1.0/test/validator-amp-story.out index 47ad1e1cf348..549042d9eedd 100644 --- a/extensions/amp-story/1.0/test/validator-amp-story.out +++ b/extensions/amp-story/1.0/test/validator-amp-story.out @@ -1,20 +1,5 @@ PASS | <!-- -| Copyright 2017 The AMP HTML Authors. All Rights Reserved. -| -| Licensed under the Apache License, Version 2.0 (the "License"); -| you may not use this file except in compliance with the License. -| You may obtain a copy of the License at -| -| http://www.apache.org/licenses/LICENSE-2.0 -| -| Unless required by applicable law or agreed to in writing, software -| distributed under the License is distributed on an "AS-IS" BASIS, -| WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -| See the License for the specific language governing permissions and -| limitations under the license. -| --> -| <!-- | Test Description: | Tests for the amp-story tag. | --> diff --git a/extensions/amp-story/1.0/test/validator-empty-story.html b/extensions/amp-story/1.0/test/validator-empty-story.html index 088e9fb5be50..7397a4809e26 100644 --- a/extensions/amp-story/1.0/test/validator-empty-story.html +++ b/extensions/amp-story/1.0/test/validator-empty-story.html @@ -1,18 +1,3 @@ -<!-- - Copyright 2017 The AMP HTML Authors. All Rights Reserved. - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS-IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the license. ---> <!-- Test Description: This tests that every amp-story standalone must have at least one diff --git a/extensions/amp-story/1.0/test/validator-empty-story.out b/extensions/amp-story/1.0/test/validator-empty-story.out index 114cbac2287e..8b5b5433d996 100644 --- a/extensions/amp-story/1.0/test/validator-empty-story.out +++ b/extensions/amp-story/1.0/test/validator-empty-story.out @@ -1,20 +1,5 @@ FAIL | <!-- -| Copyright 2017 The AMP HTML Authors. All Rights Reserved. -| -| Licensed under the Apache License, Version 2.0 (the "License"); -| you may not use this file except in compliance with the License. -| You may obtain a copy of the License at -| -| http://www.apache.org/licenses/LICENSE-2.0 -| -| Unless required by applicable law or agreed to in writing, software -| distributed under the License is distributed on an "AS-IS" BASIS, -| WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -| See the License for the specific language governing permissions and -| limitations under the license. -| --> -| <!-- | Test Description: | This tests that every amp-story standalone must have at least one | amp-story-page child, not just one child of any kind. @@ -37,4 +22,4 @@ FAIL | </body> | </html> >> ^~~~~~~~~ -amp-story/1.0/test/validator-empty-story.html:37:6 The tag 'amp-story-page' is missing or incorrect, but required by 'amp-story'. (see https://amp.dev/documentation/components/amp-story) +amp-story/1.0/test/validator-empty-story.html:22:6 The tag 'amp-story-page' is missing or incorrect, but required by 'amp-story'. (see https://amp.dev/documentation/components/amp-story) diff --git a/extensions/amp-stream-gallery/1.0/test/validator-amp-stream-gallery.html b/extensions/amp-stream-gallery/1.0/test/validator-amp-stream-gallery.html index cd83f8752aa0..6b55e6b8d5bf 100644 --- a/extensions/amp-stream-gallery/1.0/test/validator-amp-stream-gallery.html +++ b/extensions/amp-stream-gallery/1.0/test/validator-amp-stream-gallery.html @@ -1,18 +1,3 @@ -<!-- - Copyright 2021 The AMP HTML Authors. All Rights Reserved. - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS-IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the license. ---> <!-- Test Description: Tests for the amp-stream-gallery tag. See the inline comments. diff --git a/extensions/amp-stream-gallery/1.0/test/validator-amp-stream-gallery.out b/extensions/amp-stream-gallery/1.0/test/validator-amp-stream-gallery.out index 7ab5660a2da2..e650f409e2c8 100644 --- a/extensions/amp-stream-gallery/1.0/test/validator-amp-stream-gallery.out +++ b/extensions/amp-stream-gallery/1.0/test/validator-amp-stream-gallery.out @@ -1,20 +1,5 @@ FAIL | <!-- -| Copyright 2021 The AMP HTML Authors. All Rights Reserved. -| -| Licensed under the Apache License, Version 2.0 (the "License"); -| you may not use this file except in compliance with the License. -| You may obtain a copy of the License at -| -| http://www.apache.org/licenses/LICENSE-2.0 -| -| Unless required by applicable law or agreed to in writing, software -| distributed under the License is distributed on an "AS-IS" BASIS, -| WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -| See the License for the specific language governing permissions and -| limitations under the license. -| --> -| <!-- | Test Description: | Tests for the amp-stream-gallery tag. See the inline comments. | --> @@ -49,22 +34,22 @@ FAIL | <!-- Invalid: no default value--> | <amp-stream-gallery width="4" height="3" loop="(min-width: 800px) true"> >> ^~~~~~~~~ -amp-stream-gallery/1.0/test/validator-amp-stream-gallery.html:49:4 The attribute 'loop' in tag 'amp-stream-gallery' is set to the invalid value '(min-width: 800px) true'. (see https://github.com/ampproject/amphtml/blob/master/extensions/amp-stream-gallery/amp-stream-gallery.md) +amp-stream-gallery/1.0/test/validator-amp-stream-gallery.html:34:4 The attribute 'loop' in tag 'amp-stream-gallery' is set to the invalid value '(min-width: 800px) true'. (see https://github.com/ampproject/amphtml/blob/master/extensions/amp-stream-gallery/amp-stream-gallery.md) | </amp-stream-gallery> | <!-- Invalid: no value --> | <amp-stream-gallery width="4" height="3" snap> >> ^~~~~~~~~ -amp-stream-gallery/1.0/test/validator-amp-stream-gallery.html:52:4 The attribute 'snap' in tag 'amp-stream-gallery' is set to the invalid value ''. (see https://github.com/ampproject/amphtml/blob/master/extensions/amp-stream-gallery/amp-stream-gallery.md) +amp-stream-gallery/1.0/test/validator-amp-stream-gallery.html:37:4 The attribute 'snap' in tag 'amp-stream-gallery' is set to the invalid value ''. (see https://github.com/ampproject/amphtml/blob/master/extensions/amp-stream-gallery/amp-stream-gallery.md) | </amp-stream-gallery> | <!-- Invalid: incorrect value --> | <amp-stream-gallery width="4" height="3" loop="5"> >> ^~~~~~~~~ -amp-stream-gallery/1.0/test/validator-amp-stream-gallery.html:55:4 The attribute 'loop' in tag 'amp-stream-gallery' is set to the invalid value '5'. (see https://github.com/ampproject/amphtml/blob/master/extensions/amp-stream-gallery/amp-stream-gallery.md) +amp-stream-gallery/1.0/test/validator-amp-stream-gallery.html:40:4 The attribute 'loop' in tag 'amp-stream-gallery' is set to the invalid value '5'. (see https://github.com/ampproject/amphtml/blob/master/extensions/amp-stream-gallery/amp-stream-gallery.md) | </amp-stream-gallery> | <!-- Invalid: incorrect in media query --> | <amp-stream-gallery width="4" height="3" loop="(min-width: 800px) true, (max-height: 1000px) 5, false"> >> ^~~~~~~~~ -amp-stream-gallery/1.0/test/validator-amp-stream-gallery.html:58:4 The attribute 'loop' in tag 'amp-stream-gallery' is set to the invalid value '(min-width: 800px) true, (max-height: 1000px) 5, false'. (see https://github.com/ampproject/amphtml/blob/master/extensions/amp-stream-gallery/amp-stream-gallery.md) +amp-stream-gallery/1.0/test/validator-amp-stream-gallery.html:43:4 The attribute 'loop' in tag 'amp-stream-gallery' is set to the invalid value '(min-width: 800px) true, (max-height: 1000px) 5, false'. (see https://github.com/ampproject/amphtml/blob/master/extensions/amp-stream-gallery/amp-stream-gallery.md) | </amp-stream-gallery> | </section> | @@ -82,27 +67,27 @@ amp-stream-gallery/1.0/test/validator-amp-stream-gallery.html:58:4 The attribute | <!-- Invalid: no default value--> | <amp-stream-gallery width="4" height="3" min-item-width="(min-width: 800px) 300"> >> ^~~~~~~~~ -amp-stream-gallery/1.0/test/validator-amp-stream-gallery.html:74:4 The attribute 'min-item-width' in tag 'amp-stream-gallery' is set to the invalid value '(min-width: 800px) 300'. (see https://github.com/ampproject/amphtml/blob/master/extensions/amp-stream-gallery/amp-stream-gallery.md) +amp-stream-gallery/1.0/test/validator-amp-stream-gallery.html:59:4 The attribute 'min-item-width' in tag 'amp-stream-gallery' is set to the invalid value '(min-width: 800px) 300'. (see https://github.com/ampproject/amphtml/blob/master/extensions/amp-stream-gallery/amp-stream-gallery.md) | </amp-stream-gallery> | <!-- Invalid: no value --> | <amp-stream-gallery width="4" height="3" min-item-width> >> ^~~~~~~~~ -amp-stream-gallery/1.0/test/validator-amp-stream-gallery.html:77:4 The attribute 'min-item-width' in tag 'amp-stream-gallery' is set to the invalid value ''. (see https://github.com/ampproject/amphtml/blob/master/extensions/amp-stream-gallery/amp-stream-gallery.md) +amp-stream-gallery/1.0/test/validator-amp-stream-gallery.html:62:4 The attribute 'min-item-width' in tag 'amp-stream-gallery' is set to the invalid value ''. (see https://github.com/ampproject/amphtml/blob/master/extensions/amp-stream-gallery/amp-stream-gallery.md) | </amp-stream-gallery> | <!-- Invalid: negative integer value --> | <amp-stream-gallery width="4" height="3" min-item-width="-2"> >> ^~~~~~~~~ -amp-stream-gallery/1.0/test/validator-amp-stream-gallery.html:80:4 The attribute 'min-item-width' in tag 'amp-stream-gallery' is set to the invalid value '-2'. (see https://github.com/ampproject/amphtml/blob/master/extensions/amp-stream-gallery/amp-stream-gallery.md) +amp-stream-gallery/1.0/test/validator-amp-stream-gallery.html:65:4 The attribute 'min-item-width' in tag 'amp-stream-gallery' is set to the invalid value '-2'. (see https://github.com/ampproject/amphtml/blob/master/extensions/amp-stream-gallery/amp-stream-gallery.md) | </amp-stream-gallery> | <!-- Invalid: floating point value --> | <amp-stream-gallery width="4" height="3" min-item-width="300.5"> >> ^~~~~~~~~ -amp-stream-gallery/1.0/test/validator-amp-stream-gallery.html:83:4 The attribute 'min-item-width' in tag 'amp-stream-gallery' is set to the invalid value '300.5'. (see https://github.com/ampproject/amphtml/blob/master/extensions/amp-stream-gallery/amp-stream-gallery.md) +amp-stream-gallery/1.0/test/validator-amp-stream-gallery.html:68:4 The attribute 'min-item-width' in tag 'amp-stream-gallery' is set to the invalid value '300.5'. (see https://github.com/ampproject/amphtml/blob/master/extensions/amp-stream-gallery/amp-stream-gallery.md) | </amp-stream-gallery> | <!-- Invalid: floating point value in media query --> | <amp-stream-gallery width="4" height="3" min-item-width="(min-width: 800px) -300, (max-height: 1000px) 300.5, 1"> >> ^~~~~~~~~ -amp-stream-gallery/1.0/test/validator-amp-stream-gallery.html:86:4 The attribute 'min-item-width' in tag 'amp-stream-gallery' is set to the invalid value '(min-width: 800px) -300, (max-height: 1000px) 300.5, 1'. (see https://github.com/ampproject/amphtml/blob/master/extensions/amp-stream-gallery/amp-stream-gallery.md) +amp-stream-gallery/1.0/test/validator-amp-stream-gallery.html:71:4 The attribute 'min-item-width' in tag 'amp-stream-gallery' is set to the invalid value '(min-width: 800px) -300, (max-height: 1000px) 300.5, 1'. (see https://github.com/ampproject/amphtml/blob/master/extensions/amp-stream-gallery/amp-stream-gallery.md) | </amp-stream-gallery> | </section> | @@ -123,27 +108,27 @@ amp-stream-gallery/1.0/test/validator-amp-stream-gallery.html:86:4 The attribute | <!-- Invalid: negative integer value --> | <amp-stream-gallery width="4" height="3" min-visible-count="-2"> >> ^~~~~~~~~ -amp-stream-gallery/1.0/test/validator-amp-stream-gallery.html:105:4 The attribute 'min-visible-count' in tag 'amp-stream-gallery' is set to the invalid value '-2'. (see https://github.com/ampproject/amphtml/blob/master/extensions/amp-stream-gallery/amp-stream-gallery.md) +amp-stream-gallery/1.0/test/validator-amp-stream-gallery.html:90:4 The attribute 'min-visible-count' in tag 'amp-stream-gallery' is set to the invalid value '-2'. (see https://github.com/ampproject/amphtml/blob/master/extensions/amp-stream-gallery/amp-stream-gallery.md) | </amp-stream-gallery> | <!-- Invalid: no default value--> | <amp-stream-gallery width="4" height="3" min-visible-count="(min-width: 800px) 3"> >> ^~~~~~~~~ -amp-stream-gallery/1.0/test/validator-amp-stream-gallery.html:108:4 The attribute 'min-visible-count' in tag 'amp-stream-gallery' is set to the invalid value '(min-width: 800px) 3'. (see https://github.com/ampproject/amphtml/blob/master/extensions/amp-stream-gallery/amp-stream-gallery.md) +amp-stream-gallery/1.0/test/validator-amp-stream-gallery.html:93:4 The attribute 'min-visible-count' in tag 'amp-stream-gallery' is set to the invalid value '(min-width: 800px) 3'. (see https://github.com/ampproject/amphtml/blob/master/extensions/amp-stream-gallery/amp-stream-gallery.md) | </amp-stream-gallery> | <!-- Invalid: no value --> | <amp-stream-gallery width="4" height="3" min-visible-count> >> ^~~~~~~~~ -amp-stream-gallery/1.0/test/validator-amp-stream-gallery.html:111:4 The attribute 'min-visible-count' in tag 'amp-stream-gallery' is set to the invalid value ''. (see https://github.com/ampproject/amphtml/blob/master/extensions/amp-stream-gallery/amp-stream-gallery.md) +amp-stream-gallery/1.0/test/validator-amp-stream-gallery.html:96:4 The attribute 'min-visible-count' in tag 'amp-stream-gallery' is set to the invalid value ''. (see https://github.com/ampproject/amphtml/blob/master/extensions/amp-stream-gallery/amp-stream-gallery.md) | </amp-stream-gallery> | <!-- Invalid: string value --> | <amp-stream-gallery width="4" height="3" min-visible-count="foo"> >> ^~~~~~~~~ -amp-stream-gallery/1.0/test/validator-amp-stream-gallery.html:114:4 The attribute 'min-visible-count' in tag 'amp-stream-gallery' is set to the invalid value 'foo'. (see https://github.com/ampproject/amphtml/blob/master/extensions/amp-stream-gallery/amp-stream-gallery.md) +amp-stream-gallery/1.0/test/validator-amp-stream-gallery.html:99:4 The attribute 'min-visible-count' in tag 'amp-stream-gallery' is set to the invalid value 'foo'. (see https://github.com/ampproject/amphtml/blob/master/extensions/amp-stream-gallery/amp-stream-gallery.md) | </amp-stream-gallery> | <!-- Invalid: negative value in media query --> | <amp-stream-gallery width="4" height="3" min-visible-count="(min-width: 800px) -3, (max-height: 1000px) 3, 1"> >> ^~~~~~~~~ -amp-stream-gallery/1.0/test/validator-amp-stream-gallery.html:117:4 The attribute 'min-visible-count' in tag 'amp-stream-gallery' is set to the invalid value '(min-width: 800px) -3, (max-height: 1000px) 3, 1'. (see https://github.com/ampproject/amphtml/blob/master/extensions/amp-stream-gallery/amp-stream-gallery.md) +amp-stream-gallery/1.0/test/validator-amp-stream-gallery.html:102:4 The attribute 'min-visible-count' in tag 'amp-stream-gallery' is set to the invalid value '(min-width: 800px) -3, (max-height: 1000px) 3, 1'. (see https://github.com/ampproject/amphtml/blob/master/extensions/amp-stream-gallery/amp-stream-gallery.md) | </amp-stream-gallery> | </section> | @@ -167,22 +152,22 @@ amp-stream-gallery/1.0/test/validator-amp-stream-gallery.html:117:4 The attribut | <!-- Invalid: no default value--> | <amp-stream-gallery width="4" height="3" controls="(min-width: 800px) always"> >> ^~~~~~~~~ -amp-stream-gallery/1.0/test/validator-amp-stream-gallery.html:139:4 The attribute 'controls' in tag 'amp-stream-gallery' is set to the invalid value '(min-width: 800px) always'. (see https://github.com/ampproject/amphtml/blob/master/extensions/amp-stream-gallery/amp-stream-gallery.md) +amp-stream-gallery/1.0/test/validator-amp-stream-gallery.html:124:4 The attribute 'controls' in tag 'amp-stream-gallery' is set to the invalid value '(min-width: 800px) always'. (see https://github.com/ampproject/amphtml/blob/master/extensions/amp-stream-gallery/amp-stream-gallery.md) | </amp-stream-gallery> | <!-- Invalid: no value --> | <amp-stream-gallery width="4" height="3" controls> >> ^~~~~~~~~ -amp-stream-gallery/1.0/test/validator-amp-stream-gallery.html:142:4 The attribute 'controls' in tag 'amp-stream-gallery' is set to the invalid value ''. (see https://github.com/ampproject/amphtml/blob/master/extensions/amp-stream-gallery/amp-stream-gallery.md) +amp-stream-gallery/1.0/test/validator-amp-stream-gallery.html:127:4 The attribute 'controls' in tag 'amp-stream-gallery' is set to the invalid value ''. (see https://github.com/ampproject/amphtml/blob/master/extensions/amp-stream-gallery/amp-stream-gallery.md) | </amp-stream-gallery> | <!-- Invalid: incorrect value --> | <amp-stream-gallery width="4" height="3" controls="true"> >> ^~~~~~~~~ -amp-stream-gallery/1.0/test/validator-amp-stream-gallery.html:145:4 The attribute 'controls' in tag 'amp-stream-gallery' is set to the invalid value 'true'. (see https://github.com/ampproject/amphtml/blob/master/extensions/amp-stream-gallery/amp-stream-gallery.md) +amp-stream-gallery/1.0/test/validator-amp-stream-gallery.html:130:4 The attribute 'controls' in tag 'amp-stream-gallery' is set to the invalid value 'true'. (see https://github.com/ampproject/amphtml/blob/master/extensions/amp-stream-gallery/amp-stream-gallery.md) | </amp-stream-gallery> | <!-- Invalid: incorrect in media query --> | <amp-stream-gallery width="4" height="3" controls="(min-width: 800px) auto, (max-height: 1000px) true, never"> >> ^~~~~~~~~ -amp-stream-gallery/1.0/test/validator-amp-stream-gallery.html:148:4 The attribute 'controls' in tag 'amp-stream-gallery' is set to the invalid value '(min-width: 800px) auto, (max-height: 1000px) true, never'. (see https://github.com/ampproject/amphtml/blob/master/extensions/amp-stream-gallery/amp-stream-gallery.md) +amp-stream-gallery/1.0/test/validator-amp-stream-gallery.html:133:4 The attribute 'controls' in tag 'amp-stream-gallery' is set to the invalid value '(min-width: 800px) auto, (max-height: 1000px) true, never'. (see https://github.com/ampproject/amphtml/blob/master/extensions/amp-stream-gallery/amp-stream-gallery.md) | </amp-stream-gallery> | </section> | @@ -197,7 +182,7 @@ amp-stream-gallery/1.0/test/validator-amp-stream-gallery.html:148:4 The attribut | <!-- Invalid: no space between media query and value --> | <amp-stream-gallery width="4" height="3" loop="(min-width: 800px)true, false"> >> ^~~~~~~~~ -amp-stream-gallery/1.0/test/validator-amp-stream-gallery.html:161:4 The attribute 'loop' in tag 'amp-stream-gallery' is set to the invalid value '(min-width: 800px)true, false'. (see https://github.com/ampproject/amphtml/blob/master/extensions/amp-stream-gallery/amp-stream-gallery.md) +amp-stream-gallery/1.0/test/validator-amp-stream-gallery.html:146:4 The attribute 'loop' in tag 'amp-stream-gallery' is set to the invalid value '(min-width: 800px)true, false'. (see https://github.com/ampproject/amphtml/blob/master/extensions/amp-stream-gallery/amp-stream-gallery.md) | </amp-stream-gallery> | </section> | </body> diff --git a/extensions/amp-subscriptions/0.1/test/validator-amp-subscriptions-errors.html b/extensions/amp-subscriptions/0.1/test/validator-amp-subscriptions-errors.html index 948f8d79d6e6..13b9abe78537 100644 --- a/extensions/amp-subscriptions/0.1/test/validator-amp-subscriptions-errors.html +++ b/extensions/amp-subscriptions/0.1/test/validator-amp-subscriptions-errors.html @@ -1,18 +1,3 @@ -<!-- - Copyright 2018 The AMP HTML Authors. All Rights Reserved. - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS-IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the license. ---> <!-- Test Description: Tests for the amp-subscriptions extension. diff --git a/extensions/amp-subscriptions/0.1/test/validator-amp-subscriptions-errors.out b/extensions/amp-subscriptions/0.1/test/validator-amp-subscriptions-errors.out index 90615a0a6f26..479179890d19 100644 --- a/extensions/amp-subscriptions/0.1/test/validator-amp-subscriptions-errors.out +++ b/extensions/amp-subscriptions/0.1/test/validator-amp-subscriptions-errors.out @@ -1,20 +1,5 @@ PASS | <!-- -| Copyright 2018 The AMP HTML Authors. All Rights Reserved. -| -| Licensed under the Apache License, Version 2.0 (the "License"); -| you may not use this file except in compliance with the License. -| You may obtain a copy of the License at -| -| http://www.apache.org/licenses/LICENSE-2.0 -| -| Unless required by applicable law or agreed to in writing, software -| distributed under the License is distributed on an "AS-IS" BASIS, -| WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -| See the License for the specific language governing permissions and -| limitations under the license. -| --> -| <!-- | Test Description: | Tests for the amp-subscriptions extension. | --> diff --git a/extensions/amp-subscriptions/0.1/test/validator-amp-subscriptions.html b/extensions/amp-subscriptions/0.1/test/validator-amp-subscriptions.html index f5f888e14bb8..3279542bb78a 100644 --- a/extensions/amp-subscriptions/0.1/test/validator-amp-subscriptions.html +++ b/extensions/amp-subscriptions/0.1/test/validator-amp-subscriptions.html @@ -1,18 +1,3 @@ -<!-- - Copyright 2018 The AMP HTML Authors. All Rights Reserved. - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS-IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the license. ---> <!-- Test Description: Tests for the amp-subscriptions extension. diff --git a/extensions/amp-subscriptions/0.1/test/validator-amp-subscriptions.out b/extensions/amp-subscriptions/0.1/test/validator-amp-subscriptions.out index d15fc2f54e1b..f5e05e1de9eb 100644 --- a/extensions/amp-subscriptions/0.1/test/validator-amp-subscriptions.out +++ b/extensions/amp-subscriptions/0.1/test/validator-amp-subscriptions.out @@ -1,20 +1,5 @@ PASS | <!-- -| Copyright 2018 The AMP HTML Authors. All Rights Reserved. -| -| Licensed under the Apache License, Version 2.0 (the "License"); -| you may not use this file except in compliance with the License. -| You may obtain a copy of the License at -| -| http://www.apache.org/licenses/LICENSE-2.0 -| -| Unless required by applicable law or agreed to in writing, software -| distributed under the License is distributed on an "AS-IS" BASIS, -| WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -| See the License for the specific language governing permissions and -| limitations under the license. -| --> -| <!-- | Test Description: | Tests for the amp-subscriptions extension. | --> diff --git a/extensions/amp-tiktok/0.1/test/validator-amp-tiktok.html b/extensions/amp-tiktok/0.1/test/validator-amp-tiktok.html index 4099c3a7f6eb..f2e6eefdd06b 100644 --- a/extensions/amp-tiktok/0.1/test/validator-amp-tiktok.html +++ b/extensions/amp-tiktok/0.1/test/validator-amp-tiktok.html @@ -1,18 +1,3 @@ -<!-- - Copyright 2021 The AMP HTML Authors. All Rights Reserved. - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS-IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the license. ---> <!-- Test Description: Tests support for the amp-tiktok tag. diff --git a/extensions/amp-tiktok/0.1/test/validator-amp-tiktok.out b/extensions/amp-tiktok/0.1/test/validator-amp-tiktok.out index 3ba71070deb5..351ca630d2c6 100644 --- a/extensions/amp-tiktok/0.1/test/validator-amp-tiktok.out +++ b/extensions/amp-tiktok/0.1/test/validator-amp-tiktok.out @@ -1,20 +1,5 @@ FAIL | <!-- -| Copyright 2021 The AMP HTML Authors. All Rights Reserved. -| -| Licensed under the Apache License, Version 2.0 (the "License"); -| you may not use this file except in compliance with the License. -| You may obtain a copy of the License at -| -| http://www.apache.org/licenses/LICENSE-2.0 -| -| Unless required by applicable law or agreed to in writing, software -| distributed under the License is distributed on an "AS-IS" BASIS, -| WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -| See the License for the specific language governing permissions and -| limitations under the license. -| --> -| <!-- | Test Description: | Tests support for the amp-tiktok tag. | --> @@ -75,12 +60,12 @@ FAIL | <!-- Invalid: missing width and height --> | <amp-tiktok data-src="6943753342808034566"> >> ^~~~~~~~~ -amp-tiktok/0.1/test/validator-amp-tiktok.html:75:2 Incomplete layout attributes specified for tag 'amp-tiktok'. For example, provide attributes 'width' and 'height'. (see https://amp.dev/documentation/components/amp-tiktok) +amp-tiktok/0.1/test/validator-amp-tiktok.html:60:2 Incomplete layout attributes specified for tag 'amp-tiktok'. For example, provide attributes 'width' and 'height'. (see https://amp.dev/documentation/components/amp-tiktok) | </amp-tiktok> | <!-- Invalid: missing data-src --> | <amp-tiktok width="500" height="500"> >> ^~~~~~~~~ -amp-tiktok/0.1/test/validator-amp-tiktok.html:78:2 Tag 'amp-tiktok' must have a minimum of 1 child tags - saw 0 child tags. (see https://amp.dev/documentation/components/amp-tiktok) +amp-tiktok/0.1/test/validator-amp-tiktok.html:63:2 Tag 'amp-tiktok' must have a minimum of 1 child tags - saw 0 child tags. (see https://amp.dev/documentation/components/amp-tiktok) | </amp-tiktok> | <!-- Invalid: blockquote child missing placeholder attr --> | <amp-tiktok width="500" height="800"> diff --git a/extensions/amp-timeago/0.1/test/validator-amp-timeago-mutation-error.html b/extensions/amp-timeago/0.1/test/validator-amp-timeago-mutation-error.html index 656326af1267..29d7f31a3e41 100644 --- a/extensions/amp-timeago/0.1/test/validator-amp-timeago-mutation-error.html +++ b/extensions/amp-timeago/0.1/test/validator-amp-timeago-mutation-error.html @@ -1,18 +1,3 @@ -<!-- - Copyright 2018 The AMP HTML Authors. All Rights Reserved. - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS-IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the license. ---> <!-- Test Description: Tests for the amp-timeago tag. diff --git a/extensions/amp-timeago/0.1/test/validator-amp-timeago-mutation-error.out b/extensions/amp-timeago/0.1/test/validator-amp-timeago-mutation-error.out index 8abedd6c55da..d204006fa679 100644 --- a/extensions/amp-timeago/0.1/test/validator-amp-timeago-mutation-error.out +++ b/extensions/amp-timeago/0.1/test/validator-amp-timeago-mutation-error.out @@ -1,20 +1,5 @@ FAIL | <!-- -| Copyright 2018 The AMP HTML Authors. All Rights Reserved. -| -| Licensed under the Apache License, Version 2.0 (the "License"); -| you may not use this file except in compliance with the License. -| You may obtain a copy of the License at -| -| http://www.apache.org/licenses/LICENSE-2.0 -| -| Unless required by applicable law or agreed to in writing, software -| distributed under the License is distributed on an "AS-IS" BASIS, -| WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -| See the License for the specific language governing permissions and -| limitations under the license. -| --> -| <!-- | Test Description: | Tests for the amp-timeago tag. | --> @@ -43,7 +28,7 @@ FAIL | <!-- invalid, layout cannot be mutated with amp-bind --> | <amp-timeago layout="fixed" width="160" height="20" datetime="2018-04-11T00:37:33.809Z" locale="en" cutoff="8640000" [datetime]="myState.datetime" [title]="myState.title" [layout]="myState.layout">Saturday 11 April 2018 00.37</amp-timeago> >> ^~~~~~~~~ -amp-timeago/0.1/test/validator-amp-timeago-mutation-error.html:43:4 The attribute '[layout]' may not appear in tag 'amp-timeago'. (see https://amp.dev/documentation/components/amp-timeago/) +amp-timeago/0.1/test/validator-amp-timeago-mutation-error.html:28:4 The attribute '[layout]' may not appear in tag 'amp-timeago'. (see https://amp.dev/documentation/components/amp-timeago/) | | </body> | </html> diff --git a/extensions/amp-timeago/0.1/test/validator-amp-timeago-mutation.html b/extensions/amp-timeago/0.1/test/validator-amp-timeago-mutation.html index a27b7056fbf9..9bfdfea0bf64 100644 --- a/extensions/amp-timeago/0.1/test/validator-amp-timeago-mutation.html +++ b/extensions/amp-timeago/0.1/test/validator-amp-timeago-mutation.html @@ -1,18 +1,3 @@ -<!-- - Copyright 2018 The AMP HTML Authors. All Rights Reserved. - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS-IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the license. ---> <!-- Test Description: Tests for the amp-timeago tag. diff --git a/extensions/amp-timeago/0.1/test/validator-amp-timeago-mutation.out b/extensions/amp-timeago/0.1/test/validator-amp-timeago-mutation.out index c5a67d7a061b..5f9be87bf0a8 100644 --- a/extensions/amp-timeago/0.1/test/validator-amp-timeago-mutation.out +++ b/extensions/amp-timeago/0.1/test/validator-amp-timeago-mutation.out @@ -1,20 +1,5 @@ PASS | <!-- -| Copyright 2018 The AMP HTML Authors. All Rights Reserved. -| -| Licensed under the Apache License, Version 2.0 (the "License"); -| you may not use this file except in compliance with the License. -| You may obtain a copy of the License at -| -| http://www.apache.org/licenses/LICENSE-2.0 -| -| Unless required by applicable law or agreed to in writing, software -| distributed under the License is distributed on an "AS-IS" BASIS, -| WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -| See the License for the specific language governing permissions and -| limitations under the license. -| --> -| <!-- | Test Description: | Tests for the amp-timeago tag. | --> diff --git a/extensions/amp-timeago/0.1/test/validator-amp-timeago.html b/extensions/amp-timeago/0.1/test/validator-amp-timeago.html index ba84fca1f8de..09308a6bcf5e 100644 --- a/extensions/amp-timeago/0.1/test/validator-amp-timeago.html +++ b/extensions/amp-timeago/0.1/test/validator-amp-timeago.html @@ -1,18 +1,3 @@ -<!-- - Copyright 2017 The AMP HTML Authors. All Rights Reserved. - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS-IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the license. ---> <!-- Test Description: Tests for the amp-timeago tag. diff --git a/extensions/amp-timeago/0.1/test/validator-amp-timeago.out b/extensions/amp-timeago/0.1/test/validator-amp-timeago.out index 427d12663a38..f2874af6eb28 100644 --- a/extensions/amp-timeago/0.1/test/validator-amp-timeago.out +++ b/extensions/amp-timeago/0.1/test/validator-amp-timeago.out @@ -1,20 +1,5 @@ FAIL | <!-- -| Copyright 2017 The AMP HTML Authors. All Rights Reserved. -| -| Licensed under the Apache License, Version 2.0 (the "License"); -| you may not use this file except in compliance with the License. -| You may obtain a copy of the License at -| -| http://www.apache.org/licenses/LICENSE-2.0 -| -| Unless required by applicable law or agreed to in writing, software -| distributed under the License is distributed on an "AS-IS" BASIS, -| WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -| See the License for the specific language governing permissions and -| limitations under the license. -| --> -| <!-- | Test Description: | Tests for the amp-timeago tag. | --> @@ -42,12 +27,12 @@ FAIL | <!-- invalid, datetime is not ISO date format --> | <amp-timeago layout="fixed" width="160" height="20" datetime="2017/04/11">Saturday 11 April 2017 00.37</amp-timeago> >> ^~~~~~~~~ -amp-timeago/0.1/test/validator-amp-timeago.html:42:4 The attribute 'datetime' in tag 'amp-timeago' is set to the invalid value '2017/04/11'. (see https://amp.dev/documentation/components/amp-timeago/) +amp-timeago/0.1/test/validator-amp-timeago.html:27:4 The attribute 'datetime' in tag 'amp-timeago' is set to the invalid value '2017/04/11'. (see https://amp.dev/documentation/components/amp-timeago/) | | <!-- invalid, needs datetime --> | <amp-timeago layout="fixed" width="160" height="20">Saturday 11 April 2017 00.37</amp-timeago> >> ^~~~~~~~~ -amp-timeago/0.1/test/validator-amp-timeago.html:45:4 The mandatory attribute 'datetime' is missing in tag 'amp-timeago'. (see https://amp.dev/documentation/components/amp-timeago/) +amp-timeago/0.1/test/validator-amp-timeago.html:30:4 The mandatory attribute 'datetime' is missing in tag 'amp-timeago'. (see https://amp.dev/documentation/components/amp-timeago/) | | </body> | </html> diff --git a/extensions/amp-timeago/1.0/test/validator-amp-timeago-mutation-error.html b/extensions/amp-timeago/1.0/test/validator-amp-timeago-mutation-error.html index f9701cd968f5..5448ee0ab51d 100644 --- a/extensions/amp-timeago/1.0/test/validator-amp-timeago-mutation-error.html +++ b/extensions/amp-timeago/1.0/test/validator-amp-timeago-mutation-error.html @@ -1,18 +1,3 @@ -<!-- - Copyright 2021 The AMP HTML Authors. All Rights Reserved. - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS-IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the license. ---> <!-- Test Description: Tests for the amp-timeago tag. diff --git a/extensions/amp-timeago/1.0/test/validator-amp-timeago-mutation-error.out b/extensions/amp-timeago/1.0/test/validator-amp-timeago-mutation-error.out index 575b83e71a6d..53717910dcc6 100644 --- a/extensions/amp-timeago/1.0/test/validator-amp-timeago-mutation-error.out +++ b/extensions/amp-timeago/1.0/test/validator-amp-timeago-mutation-error.out @@ -1,20 +1,5 @@ FAIL | <!-- -| Copyright 2021 The AMP HTML Authors. All Rights Reserved. -| -| Licensed under the Apache License, Version 2.0 (the "License"); -| you may not use this file except in compliance with the License. -| You may obtain a copy of the License at -| -| http://www.apache.org/licenses/LICENSE-2.0 -| -| Unless required by applicable law or agreed to in writing, software -| distributed under the License is distributed on an "AS-IS" BASIS, -| WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -| See the License for the specific language governing permissions and -| limitations under the license. -| --> -| <!-- | Test Description: | Tests for the amp-timeago tag. | --> @@ -43,7 +28,7 @@ FAIL | <!-- invalid, layout cannot be mutated with amp-bind --> | <amp-timeago layout="fixed" width="160" height="20" datetime="2018-04-11T00:37:33.809Z" locale="en" cutoff="8640000" [datetime]="myState.datetime" [title]="myState.title" [layout]="myState.layout">Saturday 11 April 2018 00.37</amp-timeago> >> ^~~~~~~~~ -amp-timeago/1.0/test/validator-amp-timeago-mutation-error.html:43:4 The attribute '[layout]' may not appear in tag 'amp-timeago'. (see https://amp.dev/documentation/components/amp-timeago/) +amp-timeago/1.0/test/validator-amp-timeago-mutation-error.html:28:4 The attribute '[layout]' may not appear in tag 'amp-timeago'. (see https://amp.dev/documentation/components/amp-timeago/) | | </body> | </html> diff --git a/extensions/amp-timeago/1.0/test/validator-amp-timeago-mutation.html b/extensions/amp-timeago/1.0/test/validator-amp-timeago-mutation.html index d8bef6521bf0..374b42fd6dc6 100644 --- a/extensions/amp-timeago/1.0/test/validator-amp-timeago-mutation.html +++ b/extensions/amp-timeago/1.0/test/validator-amp-timeago-mutation.html @@ -1,18 +1,3 @@ -<!-- - Copyright 2021 The AMP HTML Authors. All Rights Reserved. - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS-IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the license. ---> <!-- Test Description: Tests for the amp-timeago tag. diff --git a/extensions/amp-timeago/1.0/test/validator-amp-timeago-mutation.out b/extensions/amp-timeago/1.0/test/validator-amp-timeago-mutation.out index 89c6482b9069..4f0ab76fc21e 100644 --- a/extensions/amp-timeago/1.0/test/validator-amp-timeago-mutation.out +++ b/extensions/amp-timeago/1.0/test/validator-amp-timeago-mutation.out @@ -1,20 +1,5 @@ PASS | <!-- -| Copyright 2021 The AMP HTML Authors. All Rights Reserved. -| -| Licensed under the Apache License, Version 2.0 (the "License"); -| you may not use this file except in compliance with the License. -| You may obtain a copy of the License at -| -| http://www.apache.org/licenses/LICENSE-2.0 -| -| Unless required by applicable law or agreed to in writing, software -| distributed under the License is distributed on an "AS-IS" BASIS, -| WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -| See the License for the specific language governing permissions and -| limitations under the license. -| --> -| <!-- | Test Description: | Tests for the amp-timeago tag. | --> diff --git a/extensions/amp-timeago/1.0/test/validator-amp-timeago.html b/extensions/amp-timeago/1.0/test/validator-amp-timeago.html index 29dc65ed685e..ce20ae865273 100644 --- a/extensions/amp-timeago/1.0/test/validator-amp-timeago.html +++ b/extensions/amp-timeago/1.0/test/validator-amp-timeago.html @@ -1,18 +1,3 @@ -<!-- - Copyright 2021 The AMP HTML Authors. All Rights Reserved. - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS-IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the license. ---> <!-- Test Description: Tests for the amp-timeago tag. diff --git a/extensions/amp-timeago/1.0/test/validator-amp-timeago.out b/extensions/amp-timeago/1.0/test/validator-amp-timeago.out index 151278e7e496..0066f6229838 100644 --- a/extensions/amp-timeago/1.0/test/validator-amp-timeago.out +++ b/extensions/amp-timeago/1.0/test/validator-amp-timeago.out @@ -1,20 +1,5 @@ FAIL | <!-- -| Copyright 2021 The AMP HTML Authors. All Rights Reserved. -| -| Licensed under the Apache License, Version 2.0 (the "License"); -| you may not use this file except in compliance with the License. -| You may obtain a copy of the License at -| -| http://www.apache.org/licenses/LICENSE-2.0 -| -| Unless required by applicable law or agreed to in writing, software -| distributed under the License is distributed on an "AS-IS" BASIS, -| WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -| See the License for the specific language governing permissions and -| limitations under the license. -| --> -| <!-- | Test Description: | Tests for the amp-timeago tag. | --> @@ -42,12 +27,12 @@ FAIL | <!-- invalid, datetime is not ISO date format --> | <amp-timeago layout="fixed" width="160" height="20" datetime="2017/04/11">Saturday 11 April 2017 00.37</amp-timeago> >> ^~~~~~~~~ -amp-timeago/1.0/test/validator-amp-timeago.html:42:4 The attribute 'datetime' in tag 'amp-timeago' is set to the invalid value '2017/04/11'. (see https://amp.dev/documentation/components/amp-timeago/) +amp-timeago/1.0/test/validator-amp-timeago.html:27:4 The attribute 'datetime' in tag 'amp-timeago' is set to the invalid value '2017/04/11'. (see https://amp.dev/documentation/components/amp-timeago/) | | <!-- invalid, needs datetime --> | <amp-timeago layout="fixed" width="160" height="20">Saturday 11 April 2017 00.37</amp-timeago> >> ^~~~~~~~~ -amp-timeago/1.0/test/validator-amp-timeago.html:45:4 The mandatory attribute 'datetime' is missing in tag 'amp-timeago'. (see https://amp.dev/documentation/components/amp-timeago/) +amp-timeago/1.0/test/validator-amp-timeago.html:30:4 The mandatory attribute 'datetime' is missing in tag 'amp-timeago'. (see https://amp.dev/documentation/components/amp-timeago/) | | </body> | </html> diff --git a/extensions/amp-truncate-text/0.1/test/validator-amp-truncate-text.html b/extensions/amp-truncate-text/0.1/test/validator-amp-truncate-text.html index 1c77ffc12572..1ec2e7632d4b 100644 --- a/extensions/amp-truncate-text/0.1/test/validator-amp-truncate-text.html +++ b/extensions/amp-truncate-text/0.1/test/validator-amp-truncate-text.html @@ -1,18 +1,3 @@ -<!-- - Copyright 2019 The AMP HTML Authors. All Rights Reserved. - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS-IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the license. ---> <!doctype html> <html ⚡ lang="en"> <head> diff --git a/extensions/amp-truncate-text/0.1/test/validator-amp-truncate-text.out b/extensions/amp-truncate-text/0.1/test/validator-amp-truncate-text.out index 8f94ee73e177..5ed6a73a48cc 100644 --- a/extensions/amp-truncate-text/0.1/test/validator-amp-truncate-text.out +++ b/extensions/amp-truncate-text/0.1/test/validator-amp-truncate-text.out @@ -1,19 +1,4 @@ FAIL -| <!-- -| Copyright 2019 The AMP HTML Authors. All Rights Reserved. -| -| Licensed under the Apache License, Version 2.0 (the "License"); -| you may not use this file except in compliance with the License. -| You may obtain a copy of the License at -| -| http://www.apache.org/licenses/LICENSE-2.0 -| -| Unless required by applicable law or agreed to in writing, software -| distributed under the License is distributed on an "AS-IS" BASIS, -| WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -| See the License for the specific language governing permissions and -| limitations under the license. -| --> | <!doctype html> | <html ⚡ lang="en"> | <head> @@ -43,7 +28,7 @@ FAIL | <!-- Invalid overflow-style --> | <amp-truncate-text layout="fixed" width="150" height="80" overflow-style="left"> >> ^~~~~~~~~ -amp-truncate-text/0.1/test/validator-amp-truncate-text.html:43:2 The attribute 'overflow-style' in tag 'amp-truncate-text' is set to the invalid value 'left'. (see https://amp.dev/documentation/components/amp-truncate-text/) +amp-truncate-text/0.1/test/validator-amp-truncate-text.html:28:2 The attribute 'overflow-style' in tag 'amp-truncate-text' is set to the invalid value 'left'. (see https://amp.dev/documentation/components/amp-truncate-text/) | Hello world | <div slot="collapsed">Expand</div> | </amp-truncate-text> diff --git a/extensions/amp-twitter/0.1/test/validator-amp-twitter.html b/extensions/amp-twitter/0.1/test/validator-amp-twitter.html index 0b4c40370c87..42bad48bd332 100644 --- a/extensions/amp-twitter/0.1/test/validator-amp-twitter.html +++ b/extensions/amp-twitter/0.1/test/validator-amp-twitter.html @@ -1,18 +1,3 @@ -<!-- - Copyright 2017 The AMP HTML Authors. All Rights Reserved. - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS-IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the license. ---> <!doctype html> <html ⚡ lang="en"> <head> diff --git a/extensions/amp-twitter/0.1/test/validator-amp-twitter.out b/extensions/amp-twitter/0.1/test/validator-amp-twitter.out index ec5ee63bce6d..402fe6320f12 100644 --- a/extensions/amp-twitter/0.1/test/validator-amp-twitter.out +++ b/extensions/amp-twitter/0.1/test/validator-amp-twitter.out @@ -1,19 +1,4 @@ FAIL -| <!-- -| Copyright 2017 The AMP HTML Authors. All Rights Reserved. -| -| Licensed under the Apache License, Version 2.0 (the "License"); -| you may not use this file except in compliance with the License. -| You may obtain a copy of the License at -| -| http://www.apache.org/licenses/LICENSE-2.0 -| -| Unless required by applicable law or agreed to in writing, software -| distributed under the License is distributed on an "AS-IS" BASIS, -| WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -| See the License for the specific language governing permissions and -| limitations under the license. -| --> | <!doctype html> | <html ⚡ lang="en"> | <head> @@ -79,14 +64,14 @@ FAIL | <h2>Missing tweetid/momentid</h2> | <amp-twitter width=486 height=1312 >> ^~~~~~~~~ -amp-twitter/0.1/test/validator-amp-twitter.html:79:2 The tag 'amp-twitter' is missing a mandatory attribute - pick one of ['data-momentid', 'data-timeline-source-type', 'data-tweetid']. (see https://amp.dev/documentation/components/amp-twitter) +amp-twitter/0.1/test/validator-amp-twitter.html:64:2 The tag 'amp-twitter' is missing a mandatory attribute - pick one of ['data-momentid', 'data-timeline-source-type', 'data-tweetid']. (see https://amp.dev/documentation/components/amp-twitter) | layout="responsive"> | </amp-twitter> | | <h2>Non-number momentid</h2> | <amp-twitter width=486 height=1312 >> ^~~~~~~~~ -amp-twitter/0.1/test/validator-amp-twitter.html:84:2 The attribute 'data-momentid' in tag 'amp-twitter' is set to the invalid value 'https://twitter.com/i/moments/1009149991452135424'. (see https://amp.dev/documentation/components/amp-twitter) +amp-twitter/0.1/test/validator-amp-twitter.html:69:2 The attribute 'data-momentid' in tag 'amp-twitter' is set to the invalid value 'https://twitter.com/i/moments/1009149991452135424'. (see https://amp.dev/documentation/components/amp-twitter) | layout="responsive" | data-momentid="https://twitter.com/i/moments/1009149991452135424"> | </amp-twitter> @@ -94,7 +79,7 @@ amp-twitter/0.1/test/validator-amp-twitter.html:84:2 The attribute 'data-momenti | <h2>Using cards with momentid</h2> | <amp-twitter width=486 height=1312 >> ^~~~~~~~~ -amp-twitter/0.1/test/validator-amp-twitter.html:90:2 The attribute 'data-tweetid' in tag 'amp-twitter' is missing or incorrect, but required by attribute 'data-cards'. (see https://amp.dev/documentation/components/amp-twitter) +amp-twitter/0.1/test/validator-amp-twitter.html:75:2 The attribute 'data-tweetid' in tag 'amp-twitter' is missing or incorrect, but required by attribute 'data-cards'. (see https://amp.dev/documentation/components/amp-twitter) | layout="responsive" | data-momentid="1009149991452135424" | data-cards="hidden"> @@ -104,7 +89,7 @@ amp-twitter/0.1/test/validator-amp-twitter.html:90:2 The attribute 'data-tweetid | <h3>with tweetid</h3> | <amp-twitter width=486 height=1312 >> ^~~~~~~~~ -amp-twitter/0.1/test/validator-amp-twitter.html:98:2 The attribute 'data-momentid' in tag 'amp-twitter' is missing or incorrect, but required by attribute 'data-limit'. (see https://amp.dev/documentation/components/amp-twitter) +amp-twitter/0.1/test/validator-amp-twitter.html:83:2 The attribute 'data-momentid' in tag 'amp-twitter' is missing or incorrect, but required by attribute 'data-limit'. (see https://amp.dev/documentation/components/amp-twitter) | layout="responsive" | data-tweetid="585110598171631616" | data-limit="42"> diff --git a/extensions/amp-twitter/1.0/test/validator-amp-twitter.html b/extensions/amp-twitter/1.0/test/validator-amp-twitter.html index 372c12a0cd59..081dcc1dfa1d 100644 --- a/extensions/amp-twitter/1.0/test/validator-amp-twitter.html +++ b/extensions/amp-twitter/1.0/test/validator-amp-twitter.html @@ -1,18 +1,3 @@ -<!-- - Copyright 2017 The AMP HTML Authors. All Rights Reserved. - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS-IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the license. ---> <!doctype html> <html ⚡ lang="en"> <head> diff --git a/extensions/amp-twitter/1.0/test/validator-amp-twitter.out b/extensions/amp-twitter/1.0/test/validator-amp-twitter.out index 8b6a723c2882..b53b7c04ab68 100644 --- a/extensions/amp-twitter/1.0/test/validator-amp-twitter.out +++ b/extensions/amp-twitter/1.0/test/validator-amp-twitter.out @@ -1,19 +1,4 @@ FAIL -| <!-- -| Copyright 2017 The AMP HTML Authors. All Rights Reserved. -| -| Licensed under the Apache License, Version 2.0 (the "License"); -| you may not use this file except in compliance with the License. -| You may obtain a copy of the License at -| -| http://www.apache.org/licenses/LICENSE-2.0 -| -| Unless required by applicable law or agreed to in writing, software -| distributed under the License is distributed on an "AS-IS" BASIS, -| WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -| See the License for the specific language governing permissions and -| limitations under the license. -| --> | <!doctype html> | <html ⚡ lang="en"> | <head> @@ -79,14 +64,14 @@ FAIL | <h2>Missing tweetid/momentid</h2> | <amp-twitter width=486 height=1312 >> ^~~~~~~~~ -amp-twitter/1.0/test/validator-amp-twitter.html:79:2 The tag 'amp-twitter' is missing a mandatory attribute - pick one of ['data-momentid', 'data-timeline-source-type', 'data-tweetid']. (see https://amp.dev/documentation/components/amp-twitter) +amp-twitter/1.0/test/validator-amp-twitter.html:64:2 The tag 'amp-twitter' is missing a mandatory attribute - pick one of ['data-momentid', 'data-timeline-source-type', 'data-tweetid']. (see https://amp.dev/documentation/components/amp-twitter) | layout="responsive"> | </amp-twitter> | | <h2>Non-number momentid</h2> | <amp-twitter width=486 height=1312 >> ^~~~~~~~~ -amp-twitter/1.0/test/validator-amp-twitter.html:84:2 The attribute 'data-momentid' in tag 'amp-twitter' is set to the invalid value 'https://twitter.com/i/moments/1009149991452135424'. (see https://amp.dev/documentation/components/amp-twitter) +amp-twitter/1.0/test/validator-amp-twitter.html:69:2 The attribute 'data-momentid' in tag 'amp-twitter' is set to the invalid value 'https://twitter.com/i/moments/1009149991452135424'. (see https://amp.dev/documentation/components/amp-twitter) | layout="responsive" | data-momentid="https://twitter.com/i/moments/1009149991452135424"> | </amp-twitter> @@ -94,7 +79,7 @@ amp-twitter/1.0/test/validator-amp-twitter.html:84:2 The attribute 'data-momenti | <h2>Using cards with momentid</h2> | <amp-twitter width=486 height=1312 >> ^~~~~~~~~ -amp-twitter/1.0/test/validator-amp-twitter.html:90:2 The attribute 'data-tweetid' in tag 'amp-twitter' is missing or incorrect, but required by attribute 'data-cards'. (see https://amp.dev/documentation/components/amp-twitter) +amp-twitter/1.0/test/validator-amp-twitter.html:75:2 The attribute 'data-tweetid' in tag 'amp-twitter' is missing or incorrect, but required by attribute 'data-cards'. (see https://amp.dev/documentation/components/amp-twitter) | layout="responsive" | data-momentid="1009149991452135424" | data-cards="hidden"> @@ -104,7 +89,7 @@ amp-twitter/1.0/test/validator-amp-twitter.html:90:2 The attribute 'data-tweetid | <h3>with tweetid</h3> | <amp-twitter width=486 height=1312 >> ^~~~~~~~~ -amp-twitter/1.0/test/validator-amp-twitter.html:98:2 The attribute 'data-momentid' in tag 'amp-twitter' is missing or incorrect, but required by attribute 'data-limit'. (see https://amp.dev/documentation/components/amp-twitter) +amp-twitter/1.0/test/validator-amp-twitter.html:83:2 The attribute 'data-momentid' in tag 'amp-twitter' is missing or incorrect, but required by attribute 'data-limit'. (see https://amp.dev/documentation/components/amp-twitter) | layout="responsive" | data-tweetid="585110598171631616" | data-limit="42"> diff --git a/extensions/amp-user-notification/0.1/test/validator-amp-user-notification.html b/extensions/amp-user-notification/0.1/test/validator-amp-user-notification.html index a8eb8d509fe7..e6b2ed08148c 100644 --- a/extensions/amp-user-notification/0.1/test/validator-amp-user-notification.html +++ b/extensions/amp-user-notification/0.1/test/validator-amp-user-notification.html @@ -1,18 +1,3 @@ -<!-- - Copyright 2016 The AMP HTML Authors. All Rights Reserved. - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS-IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the license. ---> <!-- Test Description: Tests for the amp-youtube tag. See the inline comments. diff --git a/extensions/amp-user-notification/0.1/test/validator-amp-user-notification.out b/extensions/amp-user-notification/0.1/test/validator-amp-user-notification.out index bd6c2b5205fb..f90a6f5eafbf 100644 --- a/extensions/amp-user-notification/0.1/test/validator-amp-user-notification.out +++ b/extensions/amp-user-notification/0.1/test/validator-amp-user-notification.out @@ -1,20 +1,5 @@ FAIL | <!-- -| Copyright 2016 The AMP HTML Authors. All Rights Reserved. -| -| Licensed under the Apache License, Version 2.0 (the "License"); -| you may not use this file except in compliance with the License. -| You may obtain a copy of the License at -| -| http://www.apache.org/licenses/LICENSE-2.0 -| -| Unless required by applicable law or agreed to in writing, software -| distributed under the License is distributed on an "AS-IS" BASIS, -| WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -| See the License for the specific language governing permissions and -| limitations under the license. -| --> -| <!-- | Test Description: | Tests for the amp-youtube tag. See the inline comments. | --> @@ -70,7 +55,7 @@ FAIL | <!-- Example of non nodisplay layout type --> | <amp-user-notification >> ^~~~~~~~~ -amp-user-notification/0.1/test/validator-amp-user-notification.html:70:2 The specified layout 'CONTAINER' is not supported by tag 'amp-user-notification'. (see https://amp.dev/documentation/components/amp-user-notification) +amp-user-notification/0.1/test/validator-amp-user-notification.html:55:2 The specified layout 'CONTAINER' is not supported by tag 'amp-user-notification'. (see https://amp.dev/documentation/components/amp-user-notification) | layout=container | id="amp-user-notification1" | data-show-if-href="https://example.com/api/show?timestamp=TIMESTAMP" diff --git a/extensions/amp-video-docking/0.1/test/validator-amp-video-docking-amp-brid-player.html b/extensions/amp-video-docking/0.1/test/validator-amp-video-docking-amp-brid-player.html index 812c2885bc04..392b6d7007a2 100644 --- a/extensions/amp-video-docking/0.1/test/validator-amp-video-docking-amp-brid-player.html +++ b/extensions/amp-video-docking/0.1/test/validator-amp-video-docking-amp-brid-player.html @@ -1,18 +1,3 @@ -<!-- - Copyright 2019 The AMP HTML Authors. All Rights Reserved. - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS-IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the license. ---> <!-- Test Description: Tests for amp-video-docking tag with amp-video player. diff --git a/extensions/amp-video-docking/0.1/test/validator-amp-video-docking-amp-brid-player.out b/extensions/amp-video-docking/0.1/test/validator-amp-video-docking-amp-brid-player.out index ad5d98dd9197..3e1972da70b6 100644 --- a/extensions/amp-video-docking/0.1/test/validator-amp-video-docking-amp-brid-player.out +++ b/extensions/amp-video-docking/0.1/test/validator-amp-video-docking-amp-brid-player.out @@ -1,20 +1,5 @@ PASS | <!-- -| Copyright 2019 The AMP HTML Authors. All Rights Reserved. -| -| Licensed under the Apache License, Version 2.0 (the "License"); -| you may not use this file except in compliance with the License. -| You may obtain a copy of the License at -| -| http://www.apache.org/licenses/LICENSE-2.0 -| -| Unless required by applicable law or agreed to in writing, software -| distributed under the License is distributed on an "AS-IS" BASIS, -| WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -| See the License for the specific language governing permissions and -| limitations under the license. -| --> -| <!-- | Test Description: | Tests for amp-video-docking tag with amp-video player. | --> diff --git a/extensions/amp-video-docking/0.1/test/validator-amp-video-docking-amp-brightcove.html b/extensions/amp-video-docking/0.1/test/validator-amp-video-docking-amp-brightcove.html index a6618e537578..359840dea90a 100644 --- a/extensions/amp-video-docking/0.1/test/validator-amp-video-docking-amp-brightcove.html +++ b/extensions/amp-video-docking/0.1/test/validator-amp-video-docking-amp-brightcove.html @@ -1,18 +1,3 @@ -<!-- - Copyright 2019 The AMP HTML Authors. All Rights Reserved. - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS-IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the license. ---> <!-- Test Description: Tests for amp-video-docking tag with amp-video player. diff --git a/extensions/amp-video-docking/0.1/test/validator-amp-video-docking-amp-brightcove.out b/extensions/amp-video-docking/0.1/test/validator-amp-video-docking-amp-brightcove.out index e256f05f4c44..0409eca71cb0 100644 --- a/extensions/amp-video-docking/0.1/test/validator-amp-video-docking-amp-brightcove.out +++ b/extensions/amp-video-docking/0.1/test/validator-amp-video-docking-amp-brightcove.out @@ -1,20 +1,5 @@ PASS | <!-- -| Copyright 2019 The AMP HTML Authors. All Rights Reserved. -| -| Licensed under the Apache License, Version 2.0 (the "License"); -| you may not use this file except in compliance with the License. -| You may obtain a copy of the License at -| -| http://www.apache.org/licenses/LICENSE-2.0 -| -| Unless required by applicable law or agreed to in writing, software -| distributed under the License is distributed on an "AS-IS" BASIS, -| WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -| See the License for the specific language governing permissions and -| limitations under the license. -| --> -| <!-- | Test Description: | Tests for amp-video-docking tag with amp-video player. | --> diff --git a/extensions/amp-video-docking/0.1/test/validator-amp-video-docking-amp-dailymotion.html b/extensions/amp-video-docking/0.1/test/validator-amp-video-docking-amp-dailymotion.html index 494c8f0890e3..f41ae42ea288 100644 --- a/extensions/amp-video-docking/0.1/test/validator-amp-video-docking-amp-dailymotion.html +++ b/extensions/amp-video-docking/0.1/test/validator-amp-video-docking-amp-dailymotion.html @@ -1,18 +1,3 @@ -<!-- - Copyright 2019 The AMP HTML Authors. All Rights Reserved. - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS-IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the license. ---> <!-- Test Description: Tests for amp-video-docking tag with amp-dailymotion player. diff --git a/extensions/amp-video-docking/0.1/test/validator-amp-video-docking-amp-dailymotion.out b/extensions/amp-video-docking/0.1/test/validator-amp-video-docking-amp-dailymotion.out index e3d4faa08aa3..a05b24049a08 100644 --- a/extensions/amp-video-docking/0.1/test/validator-amp-video-docking-amp-dailymotion.out +++ b/extensions/amp-video-docking/0.1/test/validator-amp-video-docking-amp-dailymotion.out @@ -1,20 +1,5 @@ PASS | <!-- -| Copyright 2019 The AMP HTML Authors. All Rights Reserved. -| -| Licensed under the Apache License, Version 2.0 (the "License"); -| you may not use this file except in compliance with the License. -| You may obtain a copy of the License at -| -| http://www.apache.org/licenses/LICENSE-2.0 -| -| Unless required by applicable law or agreed to in writing, software -| distributed under the License is distributed on an "AS-IS" BASIS, -| WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -| See the License for the specific language governing permissions and -| limitations under the license. -| --> -| <!-- | Test Description: | Tests for amp-video-docking tag with amp-dailymotion player. | --> diff --git a/extensions/amp-video-docking/0.1/test/validator-amp-video-docking-amp-delight-player.html b/extensions/amp-video-docking/0.1/test/validator-amp-video-docking-amp-delight-player.html index 98a3299c0ab0..7e7ff5119dec 100644 --- a/extensions/amp-video-docking/0.1/test/validator-amp-video-docking-amp-delight-player.html +++ b/extensions/amp-video-docking/0.1/test/validator-amp-video-docking-amp-delight-player.html @@ -1,18 +1,3 @@ -<!-- - Copyright 2019 The AMP HTML Authors. All Rights Reserved. - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS-IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the license. ---> <!-- Test Description: Tests for amp-video-docking tag with amp-delight-player. diff --git a/extensions/amp-video-docking/0.1/test/validator-amp-video-docking-amp-delight-player.out b/extensions/amp-video-docking/0.1/test/validator-amp-video-docking-amp-delight-player.out index 21891c710a2b..e381ff4edc38 100644 --- a/extensions/amp-video-docking/0.1/test/validator-amp-video-docking-amp-delight-player.out +++ b/extensions/amp-video-docking/0.1/test/validator-amp-video-docking-amp-delight-player.out @@ -1,20 +1,5 @@ PASS | <!-- -| Copyright 2019 The AMP HTML Authors. All Rights Reserved. -| -| Licensed under the Apache License, Version 2.0 (the "License"); -| you may not use this file except in compliance with the License. -| You may obtain a copy of the License at -| -| http://www.apache.org/licenses/LICENSE-2.0 -| -| Unless required by applicable law or agreed to in writing, software -| distributed under the License is distributed on an "AS-IS" BASIS, -| WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -| See the License for the specific language governing permissions and -| limitations under the license. -| --> -| <!-- | Test Description: | Tests for amp-video-docking tag with amp-delight-player. | --> diff --git a/extensions/amp-video-docking/0.1/test/validator-amp-video-docking-amp-ima-video.html b/extensions/amp-video-docking/0.1/test/validator-amp-video-docking-amp-ima-video.html index ee7703d75069..3a973b4df03f 100644 --- a/extensions/amp-video-docking/0.1/test/validator-amp-video-docking-amp-ima-video.html +++ b/extensions/amp-video-docking/0.1/test/validator-amp-video-docking-amp-ima-video.html @@ -1,18 +1,3 @@ -<!-- - Copyright 2019 The AMP HTML Authors. All Rights Reserved. - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS-IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the license. ---> <!-- Test Description: Tests for amp-video-docking tag with amp-ima-video player. diff --git a/extensions/amp-video-docking/0.1/test/validator-amp-video-docking-amp-ima-video.out b/extensions/amp-video-docking/0.1/test/validator-amp-video-docking-amp-ima-video.out index 8b4e09d5914b..bbc281459da6 100644 --- a/extensions/amp-video-docking/0.1/test/validator-amp-video-docking-amp-ima-video.out +++ b/extensions/amp-video-docking/0.1/test/validator-amp-video-docking-amp-ima-video.out @@ -1,20 +1,5 @@ PASS | <!-- -| Copyright 2019 The AMP HTML Authors. All Rights Reserved. -| -| Licensed under the Apache License, Version 2.0 (the "License"); -| you may not use this file except in compliance with the License. -| You may obtain a copy of the License at -| -| http://www.apache.org/licenses/LICENSE-2.0 -| -| Unless required by applicable law or agreed to in writing, software -| distributed under the License is distributed on an "AS-IS" BASIS, -| WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -| See the License for the specific language governing permissions and -| limitations under the license. -| --> -| <!-- | Test Description: | Tests for amp-video-docking tag with amp-ima-video player. | --> diff --git a/extensions/amp-video-docking/0.1/test/validator-amp-video-docking-amp-video-iframe.html b/extensions/amp-video-docking/0.1/test/validator-amp-video-docking-amp-video-iframe.html index 3b2b67d9f5f9..3e6501be46ce 100644 --- a/extensions/amp-video-docking/0.1/test/validator-amp-video-docking-amp-video-iframe.html +++ b/extensions/amp-video-docking/0.1/test/validator-amp-video-docking-amp-video-iframe.html @@ -1,18 +1,3 @@ -<!-- - Copyright 2018 The AMP HTML Authors. All Rights Reserved. - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS-IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the license. ---> <!-- Test Description: Tests for amp-video-docking tag with amp-video-iframe player. diff --git a/extensions/amp-video-docking/0.1/test/validator-amp-video-docking-amp-video-iframe.out b/extensions/amp-video-docking/0.1/test/validator-amp-video-docking-amp-video-iframe.out index 090967cd4b85..e679c4195d9d 100644 --- a/extensions/amp-video-docking/0.1/test/validator-amp-video-docking-amp-video-iframe.out +++ b/extensions/amp-video-docking/0.1/test/validator-amp-video-docking-amp-video-iframe.out @@ -1,20 +1,5 @@ PASS | <!-- -| Copyright 2018 The AMP HTML Authors. All Rights Reserved. -| -| Licensed under the Apache License, Version 2.0 (the "License"); -| you may not use this file except in compliance with the License. -| You may obtain a copy of the License at -| -| http://www.apache.org/licenses/LICENSE-2.0 -| -| Unless required by applicable law or agreed to in writing, software -| distributed under the License is distributed on an "AS-IS" BASIS, -| WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -| See the License for the specific language governing permissions and -| limitations under the license. -| --> -| <!-- | Test Description: | Tests for amp-video-docking tag with amp-video-iframe player. | --> diff --git a/extensions/amp-video-docking/0.1/test/validator-amp-video-docking-amp-video.html b/extensions/amp-video-docking/0.1/test/validator-amp-video-docking-amp-video.html index d2725b020401..e70799bea1e3 100644 --- a/extensions/amp-video-docking/0.1/test/validator-amp-video-docking-amp-video.html +++ b/extensions/amp-video-docking/0.1/test/validator-amp-video-docking-amp-video.html @@ -1,18 +1,3 @@ -<!-- - Copyright 2018 The AMP HTML Authors. All Rights Reserved. - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS-IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the license. ---> <!-- Test Description: Tests for amp-video-docking tag with amp-video player. diff --git a/extensions/amp-video-docking/0.1/test/validator-amp-video-docking-amp-video.out b/extensions/amp-video-docking/0.1/test/validator-amp-video-docking-amp-video.out index 6e3d6513734b..9ca81b928da1 100644 --- a/extensions/amp-video-docking/0.1/test/validator-amp-video-docking-amp-video.out +++ b/extensions/amp-video-docking/0.1/test/validator-amp-video-docking-amp-video.out @@ -1,20 +1,5 @@ PASS | <!-- -| Copyright 2018 The AMP HTML Authors. All Rights Reserved. -| -| Licensed under the Apache License, Version 2.0 (the "License"); -| you may not use this file except in compliance with the License. -| You may obtain a copy of the License at -| -| http://www.apache.org/licenses/LICENSE-2.0 -| -| Unless required by applicable law or agreed to in writing, software -| distributed under the License is distributed on an "AS-IS" BASIS, -| WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -| See the License for the specific language governing permissions and -| limitations under the license. -| --> -| <!-- | Test Description: | Tests for amp-video-docking tag with amp-video player. | --> diff --git a/extensions/amp-video-docking/0.1/test/validator-amp-video-docking-amp-youtube.html b/extensions/amp-video-docking/0.1/test/validator-amp-video-docking-amp-youtube.html index fea9ae1d8f5a..d42fb1b8100b 100644 --- a/extensions/amp-video-docking/0.1/test/validator-amp-video-docking-amp-youtube.html +++ b/extensions/amp-video-docking/0.1/test/validator-amp-video-docking-amp-youtube.html @@ -1,18 +1,3 @@ -<!-- - Copyright 2019 The AMP HTML Authors. All Rights Reserved. - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS-IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the license. ---> <!-- Test Description: Tests for amp-video-docking tag with amp-video player. diff --git a/extensions/amp-video-docking/0.1/test/validator-amp-video-docking-amp-youtube.out b/extensions/amp-video-docking/0.1/test/validator-amp-video-docking-amp-youtube.out index 922264878dd8..d0890553a19a 100644 --- a/extensions/amp-video-docking/0.1/test/validator-amp-video-docking-amp-youtube.out +++ b/extensions/amp-video-docking/0.1/test/validator-amp-video-docking-amp-youtube.out @@ -1,20 +1,5 @@ PASS | <!-- -| Copyright 2019 The AMP HTML Authors. All Rights Reserved. -| -| Licensed under the Apache License, Version 2.0 (the "License"); -| you may not use this file except in compliance with the License. -| You may obtain a copy of the License at -| -| http://www.apache.org/licenses/LICENSE-2.0 -| -| Unless required by applicable law or agreed to in writing, software -| distributed under the License is distributed on an "AS-IS" BASIS, -| WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -| See the License for the specific language governing permissions and -| limitations under the license. -| --> -| <!-- | Test Description: | Tests for amp-video-docking tag with amp-video player. | --> diff --git a/extensions/amp-video-docking/0.1/test/validator-amp-video-docking-no-player.html b/extensions/amp-video-docking/0.1/test/validator-amp-video-docking-no-player.html index fc54bc1883ab..b5263204e0e7 100644 --- a/extensions/amp-video-docking/0.1/test/validator-amp-video-docking-no-player.html +++ b/extensions/amp-video-docking/0.1/test/validator-amp-video-docking-no-player.html @@ -1,18 +1,3 @@ -<!-- - Copyright 2018 The AMP HTML Authors. All Rights Reserved. - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS-IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the license. ---> <!-- Test Description: Invalid usage test for amp-video-docking. diff --git a/extensions/amp-video-docking/0.1/test/validator-amp-video-docking-no-player.out b/extensions/amp-video-docking/0.1/test/validator-amp-video-docking-no-player.out index e117c0228692..5b945337a8c1 100644 --- a/extensions/amp-video-docking/0.1/test/validator-amp-video-docking-no-player.out +++ b/extensions/amp-video-docking/0.1/test/validator-amp-video-docking-no-player.out @@ -1,20 +1,5 @@ FAIL | <!-- -| Copyright 2018 The AMP HTML Authors. All Rights Reserved. -| -| Licensed under the Apache License, Version 2.0 (the "License"); -| you may not use this file except in compliance with the License. -| You may obtain a copy of the License at -| -| http://www.apache.org/licenses/LICENSE-2.0 -| -| Unless required by applicable law or agreed to in writing, software -| distributed under the License is distributed on an "AS-IS" BASIS, -| WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -| See the License for the specific language governing permissions and -| limitations under the license. -| --> -| <!-- | Test Description: | Invalid usage test for amp-video-docking. | --> @@ -33,4 +18,4 @@ FAIL | </body> | </html> >> ^~~~~~~~~ -amp-video-docking/0.1/test/validator-amp-video-docking-no-player.html:33:6 The extension 'amp-video-docking' was found on this page, but is unused. Please remove this extension. +amp-video-docking/0.1/test/validator-amp-video-docking-no-player.html:18:6 The extension 'amp-video-docking' was found on this page, but is unused. Please remove this extension. diff --git a/extensions/amp-video-iframe/0.1/test/validator-amp-video-iframe.html b/extensions/amp-video-iframe/0.1/test/validator-amp-video-iframe.html index f4c7c2dc8b6d..29e3ca4fb82c 100644 --- a/extensions/amp-video-iframe/0.1/test/validator-amp-video-iframe.html +++ b/extensions/amp-video-iframe/0.1/test/validator-amp-video-iframe.html @@ -1,18 +1,3 @@ -<!-- - Copyright 2018 The AMP HTML Authors. All Rights Reserved. - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS-IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the license. ---> <!-- Test Description: Tests for amp-video-iframe tag. diff --git a/extensions/amp-video-iframe/0.1/test/validator-amp-video-iframe.out b/extensions/amp-video-iframe/0.1/test/validator-amp-video-iframe.out index 624577c0b782..8a0820cf58a5 100644 --- a/extensions/amp-video-iframe/0.1/test/validator-amp-video-iframe.out +++ b/extensions/amp-video-iframe/0.1/test/validator-amp-video-iframe.out @@ -1,20 +1,5 @@ FAIL | <!-- -| Copyright 2018 The AMP HTML Authors. All Rights Reserved. -| -| Licensed under the Apache License, Version 2.0 (the "License"); -| you may not use this file except in compliance with the License. -| You may obtain a copy of the License at -| -| http://www.apache.org/licenses/LICENSE-2.0 -| -| Unless required by applicable law or agreed to in writing, software -| distributed under the License is distributed on an "AS-IS" BASIS, -| WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -| See the License for the specific language governing permissions and -| limitations under the license. -| --> -| <!-- | Test Description: | Tests for amp-video-iframe tag. | --> @@ -49,7 +34,7 @@ FAIL | <!-- Invalid: Incorrect attribute value for autoplay --> | <amp-video-iframe >> ^~~~~~~~~ -amp-video-iframe/0.1/test/validator-amp-video-iframe.html:49:2 The attribute 'autoplay' in tag 'amp-video-iframe' is set to the invalid value 'true'. (see https://amp.dev/documentation/components/amp-video-iframe/) +amp-video-iframe/0.1/test/validator-amp-video-iframe.html:34:2 The attribute 'autoplay' in tag 'amp-video-iframe' is set to the invalid value 'true'. (see https://amp.dev/documentation/components/amp-video-iframe/) | autoplay=true | layout=fill | width=300 @@ -81,7 +66,7 @@ amp-video-iframe/0.1/test/validator-amp-video-iframe.html:49:2 The attribute 'au | <!-- Invalid: Incorrect attribute value for rotate-to-fullscreen --> | <amp-video-iframe >> ^~~~~~~~~ -amp-video-iframe/0.1/test/validator-amp-video-iframe.html:79:2 The attribute 'rotate-to-fullscreen' in tag 'amp-video-iframe' is set to the invalid value 'true'. (see https://amp.dev/documentation/components/amp-video-iframe/) +amp-video-iframe/0.1/test/validator-amp-video-iframe.html:64:2 The attribute 'rotate-to-fullscreen' in tag 'amp-video-iframe' is set to the invalid value 'true'. (see https://amp.dev/documentation/components/amp-video-iframe/) | rotate-to-fullscreen=true | layout=fill | width=300 diff --git a/extensions/amp-video-iframe/1.0/test/validator-amp-video-iframe.html b/extensions/amp-video-iframe/1.0/test/validator-amp-video-iframe.html index ecbc73ac2d07..619f27f29a5d 100644 --- a/extensions/amp-video-iframe/1.0/test/validator-amp-video-iframe.html +++ b/extensions/amp-video-iframe/1.0/test/validator-amp-video-iframe.html @@ -1,18 +1,3 @@ -<!-- - Copyright 2021 The AMP HTML Authors. All Rights Reserved. - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS-IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the license. ---> <!-- Tests for amp-video-iframe tag version 1.0 --> diff --git a/extensions/amp-video-iframe/1.0/test/validator-amp-video-iframe.out b/extensions/amp-video-iframe/1.0/test/validator-amp-video-iframe.out index b6236d8c4b8e..6c1911667f69 100644 --- a/extensions/amp-video-iframe/1.0/test/validator-amp-video-iframe.out +++ b/extensions/amp-video-iframe/1.0/test/validator-amp-video-iframe.out @@ -1,20 +1,5 @@ FAIL | <!-- -| Copyright 2021 The AMP HTML Authors. All Rights Reserved. -| -| Licensed under the Apache License, Version 2.0 (the "License"); -| you may not use this file except in compliance with the License. -| You may obtain a copy of the License at -| -| http://www.apache.org/licenses/LICENSE-2.0 -| -| Unless required by applicable law or agreed to in writing, software -| distributed under the License is distributed on an "AS-IS" BASIS, -| WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -| See the License for the specific language governing permissions and -| limitations under the license. -| --> -| <!-- | Tests for amp-video-iframe tag version 1.0 | --> | <!DOCTYPE html> @@ -52,7 +37,7 @@ FAIL | <!-- Invalid: Incorrect attribute value for autoplay --> | <amp-video-iframe >> ^~~~~~~~~ -amp-video-iframe/1.0/test/validator-amp-video-iframe.html:52:4 The attribute 'autoplay' in tag 'amp-video-iframe' is set to the invalid value 'true'. (see https://amp.dev/documentation/components/amp-video-iframe/) +amp-video-iframe/1.0/test/validator-amp-video-iframe.html:37:4 The attribute 'autoplay' in tag 'amp-video-iframe' is set to the invalid value 'true'. (see https://amp.dev/documentation/components/amp-video-iframe/) | autoplay="true" | layout="fill" | width="300" @@ -87,7 +72,7 @@ amp-video-iframe/1.0/test/validator-amp-video-iframe.html:52:4 The attribute 'au | <!-- Invalid: Incorrect attribute value for rotate-to-fullscreen --> | <amp-video-iframe >> ^~~~~~~~~ -amp-video-iframe/1.0/test/validator-amp-video-iframe.html:85:4 The attribute 'rotate-to-fullscreen' in tag 'amp-video-iframe' is set to the invalid value 'true'. (see https://amp.dev/documentation/components/amp-video-iframe/) +amp-video-iframe/1.0/test/validator-amp-video-iframe.html:70:4 The attribute 'rotate-to-fullscreen' in tag 'amp-video-iframe' is set to the invalid value 'true'. (see https://amp.dev/documentation/components/amp-video-iframe/) | rotate-to-fullscreen="true" | layout="fill" | width="300" diff --git a/extensions/amp-video/0.1/test/validator-amp-video-cache.html b/extensions/amp-video/0.1/test/validator-amp-video-cache.html index 0c0d3b9bdd28..b769de75f48d 100644 --- a/extensions/amp-video/0.1/test/validator-amp-video-cache.html +++ b/extensions/amp-video/0.1/test/validator-amp-video-cache.html @@ -1,18 +1,3 @@ -<!-- - Copyright 2017 The AMP HTML Authors. All Rights Reserved. - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS-IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the license. ---> <!-- Test Description: Tests for amp-video tag with a video cache specified. diff --git a/extensions/amp-video/0.1/test/validator-amp-video-cache.out b/extensions/amp-video/0.1/test/validator-amp-video-cache.out index b8c397b56173..dd84f8aec313 100644 --- a/extensions/amp-video/0.1/test/validator-amp-video-cache.out +++ b/extensions/amp-video/0.1/test/validator-amp-video-cache.out @@ -1,20 +1,5 @@ PASS | <!-- -| Copyright 2017 The AMP HTML Authors. All Rights Reserved. -| -| Licensed under the Apache License, Version 2.0 (the "License"); -| you may not use this file except in compliance with the License. -| You may obtain a copy of the License at -| -| http://www.apache.org/licenses/LICENSE-2.0 -| -| Unless required by applicable law or agreed to in writing, software -| distributed under the License is distributed on an "AS-IS" BASIS, -| WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -| See the License for the specific language governing permissions and -| limitations under the license. -| --> -| <!-- | Test Description: | Tests for amp-video tag with a video cache specified. | --> diff --git a/extensions/amp-video/0.1/test/validator-amp-video.html b/extensions/amp-video/0.1/test/validator-amp-video.html index d859ee190513..14a1760b372f 100644 --- a/extensions/amp-video/0.1/test/validator-amp-video.html +++ b/extensions/amp-video/0.1/test/validator-amp-video.html @@ -1,18 +1,3 @@ -<!-- - Copyright 2017 The AMP HTML Authors. All Rights Reserved. - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS-IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the license. ---> <!-- Test Description: Tests for amp-video tag. diff --git a/extensions/amp-video/0.1/test/validator-amp-video.out b/extensions/amp-video/0.1/test/validator-amp-video.out index dd69aa86bf65..92c757e1f345 100644 --- a/extensions/amp-video/0.1/test/validator-amp-video.out +++ b/extensions/amp-video/0.1/test/validator-amp-video.out @@ -1,20 +1,5 @@ FAIL | <!-- -| Copyright 2017 The AMP HTML Authors. All Rights Reserved. -| -| Licensed under the Apache License, Version 2.0 (the "License"); -| you may not use this file except in compliance with the License. -| You may obtain a copy of the License at -| -| http://www.apache.org/licenses/LICENSE-2.0 -| -| Unless required by applicable law or agreed to in writing, software -| distributed under the License is distributed on an "AS-IS" BASIS, -| WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -| See the License for the specific language governing permissions and -| limitations under the license. -| --> -| <!-- | Test Description: | Tests for amp-video tag. | --> @@ -49,9 +34,9 @@ FAIL | <!-- Invalid: Incorrect attribute value for autoplay --> | <amp-video autoplay=true layout=fill width=300 height=500 >> ^~~~~~~~~ -amp-video/0.1/test/validator-amp-video.html:49:2 The attribute 'autoplay' in tag 'amp-video' is set to the invalid value 'true'. (see https://amp.dev/documentation/components/amp-video/) +amp-video/0.1/test/validator-amp-video.html:34:2 The attribute 'autoplay' in tag 'amp-video' is set to the invalid value 'true'. (see https://amp.dev/documentation/components/amp-video/) >> ^~~~~~~~~ -amp-video/0.1/test/validator-amp-video.html:49:2 The attribute 'loop' in tag 'amp-video' is set to the invalid value '1'. (see https://amp.dev/documentation/components/amp-video/) +amp-video/0.1/test/validator-amp-video.html:34:2 The attribute 'loop' in tag 'amp-video' is set to the invalid value '1'. (see https://amp.dev/documentation/components/amp-video/) | loop="1" preload="metadata" controls="controls"></amp-video> | | <!-- Valid: Correct attribute value for rotate-to-fullscreen --> @@ -71,17 +56,17 @@ amp-video/0.1/test/validator-amp-video.html:49:2 The attribute 'loop' in tag 'am | <!-- Invalid: `dock` without `amp-video-docking` extension. --> | <amp-video dock layout=fill width=300 height=500 controls></amp-video> >> ^~~~~~~~~ -amp-video/0.1/test/validator-amp-video.html:67:2 The attribute 'dock' requires including the 'amp-video-docking' extension JavaScript. +amp-video/0.1/test/validator-amp-video.html:52:2 The attribute 'dock' requires including the 'amp-video-docking' extension JavaScript. | | <!-- Invalid: Incorrect attribute value for rotate-to-fullscreen --> | <amp-video rotate-to-fullscreen=true layout=fill width=300 height=500 >> ^~~~~~~~~ -amp-video/0.1/test/validator-amp-video.html:70:2 The attribute 'rotate-to-fullscreen' in tag 'amp-video' is set to the invalid value 'true'. (see https://amp.dev/documentation/components/amp-video/) +amp-video/0.1/test/validator-amp-video.html:55:2 The attribute 'rotate-to-fullscreen' in tag 'amp-video' is set to the invalid value 'true'. (see https://amp.dev/documentation/components/amp-video/) | loop preload="metadata" controls></amp-video> | <!-- Invalid: Cannot enable google cache on non-stories video --> | <amp-video cache="google" layout=fill width=300 height=500 >> ^~~~~~~~~ -amp-video/0.1/test/validator-amp-video.html:73:2 The attribute 'cache' may not appear in tag 'amp-video'. (see https://amp.dev/documentation/components/amp-video/) +amp-video/0.1/test/validator-amp-video.html:58:2 The attribute 'cache' may not appear in tag 'amp-video'. (see https://amp.dev/documentation/components/amp-video/) | loop preload="metadata" controls></amp-video> | </body> | </html> diff --git a/extensions/amp-video/1.0/test/validator-amp-video.html b/extensions/amp-video/1.0/test/validator-amp-video.html index 604718888191..65d781e2e531 100644 --- a/extensions/amp-video/1.0/test/validator-amp-video.html +++ b/extensions/amp-video/1.0/test/validator-amp-video.html @@ -1,18 +1,3 @@ -<!-- - Copyright 2021 The AMP HTML Authors. All Rights Reserved. - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS-IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the license. ---> <!-- Test Description: Tests for amp-video tag using 1.0. diff --git a/extensions/amp-video/1.0/test/validator-amp-video.out b/extensions/amp-video/1.0/test/validator-amp-video.out index 3c9533241a6d..45b1a9a9126b 100644 --- a/extensions/amp-video/1.0/test/validator-amp-video.out +++ b/extensions/amp-video/1.0/test/validator-amp-video.out @@ -1,20 +1,5 @@ FAIL | <!-- -| Copyright 2021 The AMP HTML Authors. All Rights Reserved. -| -| Licensed under the Apache License, Version 2.0 (the "License"); -| you may not use this file except in compliance with the License. -| You may obtain a copy of the License at -| -| http://www.apache.org/licenses/LICENSE-2.0 -| -| Unless required by applicable law or agreed to in writing, software -| distributed under the License is distributed on an "AS-IS" BASIS, -| WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -| See the License for the specific language governing permissions and -| limitations under the license. -| --> -| <!-- | Test Description: | Tests for amp-video tag using 1.0. | --> @@ -47,9 +32,9 @@ FAIL | <!-- Invalid: Incorrect attribute value for autoplay --> | <amp-video >> ^~~~~~~~~ -amp-video/1.0/test/validator-amp-video.html:47:4 The attribute 'autoplay' in tag 'amp-video' is set to the invalid value 'true'. (see https://amp.dev/documentation/components/amp-video/) +amp-video/1.0/test/validator-amp-video.html:32:4 The attribute 'autoplay' in tag 'amp-video' is set to the invalid value 'true'. (see https://amp.dev/documentation/components/amp-video/) >> ^~~~~~~~~ -amp-video/1.0/test/validator-amp-video.html:47:4 The attribute 'loop' in tag 'amp-video' is set to the invalid value '1'. (see https://amp.dev/documentation/components/amp-video/) +amp-video/1.0/test/validator-amp-video.html:32:4 The attribute 'loop' in tag 'amp-video' is set to the invalid value '1'. (see https://amp.dev/documentation/components/amp-video/) | autoplay="true" | width="300" | height="500" diff --git a/extensions/amp-vimeo/0.1/test/validator-amp-vimeo.html b/extensions/amp-vimeo/0.1/test/validator-amp-vimeo.html index 8725a14ee85e..629c797c263e 100644 --- a/extensions/amp-vimeo/0.1/test/validator-amp-vimeo.html +++ b/extensions/amp-vimeo/0.1/test/validator-amp-vimeo.html @@ -1,18 +1,3 @@ -<!-- - Copyright 2015 The AMP HTML Authors. All Rights Reserved. - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS-IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the license. ---> <!-- Test Description: This tests validation for the amp-vimeo tag. diff --git a/extensions/amp-vimeo/0.1/test/validator-amp-vimeo.out b/extensions/amp-vimeo/0.1/test/validator-amp-vimeo.out index 8757e26d0afb..54f855c9c37b 100644 --- a/extensions/amp-vimeo/0.1/test/validator-amp-vimeo.out +++ b/extensions/amp-vimeo/0.1/test/validator-amp-vimeo.out @@ -1,20 +1,5 @@ FAIL | <!-- -| Copyright 2015 The AMP HTML Authors. All Rights Reserved. -| -| Licensed under the Apache License, Version 2.0 (the "License"); -| you may not use this file except in compliance with the License. -| You may obtain a copy of the License at -| -| http://www.apache.org/licenses/LICENSE-2.0 -| -| Unless required by applicable law or agreed to in writing, software -| distributed under the License is distributed on an "AS-IS" BASIS, -| WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -| See the License for the specific language governing permissions and -| limitations under the license. -| --> -| <!-- | Test Description: | This tests validation for the amp-vimeo tag. | --> @@ -44,16 +29,16 @@ FAIL | <!-- invalid videoid --> | <amp-vimeo data-videoid="i don't think so" width="500" height="281" layout="responsive"></amp-vimeo> >> ^~~~~~~~~ -amp-vimeo/0.1/test/validator-amp-vimeo.html:44:0 The attribute 'data-videoid' in tag 'amp-vimeo' is set to the invalid value 'i don't think so'. (see https://amp.dev/documentation/components/amp-vimeo) +amp-vimeo/0.1/test/validator-amp-vimeo.html:29:0 The attribute 'data-videoid' in tag 'amp-vimeo' is set to the invalid value 'i don't think so'. (see https://amp.dev/documentation/components/amp-vimeo) | | <!-- videoid missing --> | <amp-vimeo width="500" height="281" layout="responsive"></amp-vimeo> >> ^~~~~~~~~ -amp-vimeo/0.1/test/validator-amp-vimeo.html:47:0 The mandatory attribute 'data-videoid' is missing in tag 'amp-vimeo'. (see https://amp.dev/documentation/components/amp-vimeo) +amp-vimeo/0.1/test/validator-amp-vimeo.html:32:0 The mandatory attribute 'data-videoid' is missing in tag 'amp-vimeo'. (see https://amp.dev/documentation/components/amp-vimeo) | | <!-- noloading must not have a value other than "" or noloading--> | <amp-vimeo width="500" height="281" layout="responsive" noloading="foo"></amp-vimeo> >> ^~~~~~~~~ -amp-vimeo/0.1/test/validator-amp-vimeo.html:50:0 The attribute 'noloading' in tag 'amp-vimeo' is set to the invalid value 'foo'. (see https://amp.dev/documentation/components/amp-vimeo) +amp-vimeo/0.1/test/validator-amp-vimeo.html:35:0 The attribute 'noloading' in tag 'amp-vimeo' is set to the invalid value 'foo'. (see https://amp.dev/documentation/components/amp-vimeo) | </body> | </html> \ No newline at end of file diff --git a/extensions/amp-vimeo/1.0/test/validator-amp-vimeo.html b/extensions/amp-vimeo/1.0/test/validator-amp-vimeo.html index 4c4ece70a56e..166767c466d1 100644 --- a/extensions/amp-vimeo/1.0/test/validator-amp-vimeo.html +++ b/extensions/amp-vimeo/1.0/test/validator-amp-vimeo.html @@ -1,18 +1,3 @@ -<!-- - Copyright 2021 The AMP HTML Authors. All Rights Reserved. - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS-IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the license. ---> <!-- Test Description: This tests validation for the amp-vimeo tag version 1.0. diff --git a/extensions/amp-vimeo/1.0/test/validator-amp-vimeo.out b/extensions/amp-vimeo/1.0/test/validator-amp-vimeo.out index 20a5ab5f8490..00c7cde7cb6b 100644 --- a/extensions/amp-vimeo/1.0/test/validator-amp-vimeo.out +++ b/extensions/amp-vimeo/1.0/test/validator-amp-vimeo.out @@ -1,20 +1,5 @@ FAIL | <!-- -| Copyright 2021 The AMP HTML Authors. All Rights Reserved. -| -| Licensed under the Apache License, Version 2.0 (the "License"); -| you may not use this file except in compliance with the License. -| You may obtain a copy of the License at -| -| http://www.apache.org/licenses/LICENSE-2.0 -| -| Unless required by applicable law or agreed to in writing, software -| distributed under the License is distributed on an "AS-IS" BASIS, -| WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -| See the License for the specific language governing permissions and -| limitations under the license. -| --> -| <!-- | Test Description: | This tests validation for the amp-vimeo tag version 1.0. | --> @@ -56,7 +41,7 @@ FAIL | <!-- invalid: bad videoid --> | <amp-vimeo >> ^~~~~~~~~ -amp-vimeo/1.0/test/validator-amp-vimeo.html:56:4 The attribute 'data-videoid' in tag 'amp-vimeo' is set to the invalid value 'i don't think so'. (see https://amp.dev/documentation/components/amp-vimeo) +amp-vimeo/1.0/test/validator-amp-vimeo.html:41:4 The attribute 'data-videoid' in tag 'amp-vimeo' is set to the invalid value 'i don't think so'. (see https://amp.dev/documentation/components/amp-vimeo) | data-videoid="i don't think so" | width="500" | height="281" @@ -66,12 +51,12 @@ amp-vimeo/1.0/test/validator-amp-vimeo.html:56:4 The attribute 'data-videoid' in | <!-- invalid: videoid missing --> | <amp-vimeo width="500" height="281" layout="responsive"></amp-vimeo> >> ^~~~~~~~~ -amp-vimeo/1.0/test/validator-amp-vimeo.html:64:4 The mandatory attribute 'data-videoid' is missing in tag 'amp-vimeo'. (see https://amp.dev/documentation/components/amp-vimeo) +amp-vimeo/1.0/test/validator-amp-vimeo.html:49:4 The mandatory attribute 'data-videoid' is missing in tag 'amp-vimeo'. (see https://amp.dev/documentation/components/amp-vimeo) | | <!-- invalid: noloading must not have a value other than "" or noloading --> | <amp-vimeo >> ^~~~~~~~~ -amp-vimeo/1.0/test/validator-amp-vimeo.html:67:4 The attribute 'noloading' in tag 'amp-vimeo' is set to the invalid value 'foo'. (see https://amp.dev/documentation/components/amp-vimeo) +amp-vimeo/1.0/test/validator-amp-vimeo.html:52:4 The attribute 'noloading' in tag 'amp-vimeo' is set to the invalid value 'foo'. (see https://amp.dev/documentation/components/amp-vimeo) | width="500" | height="281" | layout="responsive" diff --git a/extensions/amp-vine/0.1/test/validator-amp-vine.html b/extensions/amp-vine/0.1/test/validator-amp-vine.html index fb48a3ee4cc2..44420cda25be 100644 --- a/extensions/amp-vine/0.1/test/validator-amp-vine.html +++ b/extensions/amp-vine/0.1/test/validator-amp-vine.html @@ -1,18 +1,3 @@ -<!-- - Copyright 2017 The AMP HTML Authors. All Rights Reserved. - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS-IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the license. ---> <!doctype html> <html ⚡ lang="en"> <head> diff --git a/extensions/amp-vine/0.1/test/validator-amp-vine.out b/extensions/amp-vine/0.1/test/validator-amp-vine.out index 7d1fcc5deec1..3baad508f51a 100644 --- a/extensions/amp-vine/0.1/test/validator-amp-vine.out +++ b/extensions/amp-vine/0.1/test/validator-amp-vine.out @@ -1,19 +1,4 @@ PASS -| <!-- -| Copyright 2017 The AMP HTML Authors. All Rights Reserved. -| -| Licensed under the Apache License, Version 2.0 (the "License"); -| you may not use this file except in compliance with the License. -| You may obtain a copy of the License at -| -| http://www.apache.org/licenses/LICENSE-2.0 -| -| Unless required by applicable law or agreed to in writing, software -| distributed under the License is distributed on an "AS-IS" BASIS, -| WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -| See the License for the specific language governing permissions and -| limitations under the license. -| --> | <!doctype html> | <html ⚡ lang="en"> | <head> diff --git a/extensions/amp-viqeo-player/0.1/test/validator-amp-viqeo-player.html b/extensions/amp-viqeo-player/0.1/test/validator-amp-viqeo-player.html index e4d5a6e9cedf..f7c4973d5559 100644 --- a/extensions/amp-viqeo-player/0.1/test/validator-amp-viqeo-player.html +++ b/extensions/amp-viqeo-player/0.1/test/validator-amp-viqeo-player.html @@ -1,18 +1,3 @@ -<!--- -Copyright 2018 The AMP HTML Authors. All Rights Reserved. - -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS-IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. ---> <!-- Test Description: This tests validation for the amp-viqeo-player tag. diff --git a/extensions/amp-viqeo-player/0.1/test/validator-amp-viqeo-player.out b/extensions/amp-viqeo-player/0.1/test/validator-amp-viqeo-player.out index 6f3c12dc1e16..79d698f31aaf 100644 --- a/extensions/amp-viqeo-player/0.1/test/validator-amp-viqeo-player.out +++ b/extensions/amp-viqeo-player/0.1/test/validator-amp-viqeo-player.out @@ -1,19 +1,4 @@ FAIL -| <!--- -| Copyright 2018 The AMP HTML Authors. All Rights Reserved. -| -| Licensed under the Apache License, Version 2.0 (the "License"); -| you may not use this file except in compliance with the License. -| You may obtain a copy of the License at -| -| http://www.apache.org/licenses/LICENSE-2.0 -| -| Unless required by applicable law or agreed to in writing, software -| distributed under the License is distributed on an "AS-IS" BASIS, -| WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -| See the License for the specific language governing permissions and -| limitations under the License. -| --> | <!-- | Test Description: | This tests validation for the amp-viqeo-player tag. @@ -41,7 +26,7 @@ FAIL | <!-- not valid: the mandatory attribute 'data-profileid' is missing in tag --> | <amp-viqeo-player >> ^~~~~~~~~ -amp-viqeo-player/0.1/test/validator-amp-viqeo-player.html:41:0 The mandatory attribute 'data-profileid' is missing in tag 'amp-viqeo-player'. (see https://amp.dev/documentation/components/amp-viqeo-player) +amp-viqeo-player/0.1/test/validator-amp-viqeo-player.html:26:0 The mandatory attribute 'data-profileid' is missing in tag 'amp-viqeo-player'. (see https://amp.dev/documentation/components/amp-viqeo-player) | data-videoid="b51b70cdbb06248f4438" | width="640" | height="400" @@ -51,7 +36,7 @@ amp-viqeo-player/0.1/test/validator-amp-viqeo-player.html:41:0 The mandatory att | <!-- not valid: the mandatory attribute 'data-videoid' is missing in tag --> | <amp-viqeo-player >> ^~~~~~~~~ -amp-viqeo-player/0.1/test/validator-amp-viqeo-player.html:49:0 The mandatory attribute 'data-videoid' is missing in tag 'amp-viqeo-player'. (see https://amp.dev/documentation/components/amp-viqeo-player) +amp-viqeo-player/0.1/test/validator-amp-viqeo-player.html:34:0 The mandatory attribute 'data-videoid' is missing in tag 'amp-viqeo-player'. (see https://amp.dev/documentation/components/amp-viqeo-player) | data-profileid="184" | width="640" | height="400" diff --git a/extensions/amp-vk/0.1/test/validator-amp-vk.html b/extensions/amp-vk/0.1/test/validator-amp-vk.html index 5798d7ca24bb..b8e8bc62f8c6 100644 --- a/extensions/amp-vk/0.1/test/validator-amp-vk.html +++ b/extensions/amp-vk/0.1/test/validator-amp-vk.html @@ -1,18 +1,3 @@ -<!-- - Copyright 2017 The AMP HTML Authors. All Rights Reserved. - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS-IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the license. ---> <!doctype html> <html ⚡ lang="en"> <head> diff --git a/extensions/amp-vk/0.1/test/validator-amp-vk.out b/extensions/amp-vk/0.1/test/validator-amp-vk.out index 4a0640ea27cf..981e1072c6ac 100644 --- a/extensions/amp-vk/0.1/test/validator-amp-vk.out +++ b/extensions/amp-vk/0.1/test/validator-amp-vk.out @@ -1,19 +1,4 @@ PASS -| <!-- -| Copyright 2017 The AMP HTML Authors. All Rights Reserved. -| -| Licensed under the Apache License, Version 2.0 (the "License"); -| you may not use this file except in compliance with the License. -| You may obtain a copy of the License at -| -| http://www.apache.org/licenses/LICENSE-2.0 -| -| Unless required by applicable law or agreed to in writing, software -| distributed under the License is distributed on an "AS-IS" BASIS, -| WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -| See the License for the specific language governing permissions and -| limitations under the license. -| --> | <!doctype html> | <html ⚡ lang="en"> | <head> diff --git a/extensions/amp-web-push/0.1/test/validator-amp-web-push.html b/extensions/amp-web-push/0.1/test/validator-amp-web-push.html index 4e464a32959f..3a950d511701 100644 --- a/extensions/amp-web-push/0.1/test/validator-amp-web-push.html +++ b/extensions/amp-web-push/0.1/test/validator-amp-web-push.html @@ -1,18 +1,3 @@ -<!-- - Copyright 2017 The AMP HTML Authors. All Rights Reserved. - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS-IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the license. ---> <!-- Test Description: Tests for the amp-web-push tag. diff --git a/extensions/amp-web-push/0.1/test/validator-amp-web-push.out b/extensions/amp-web-push/0.1/test/validator-amp-web-push.out index 9d94287ea231..331a0621eeb5 100644 --- a/extensions/amp-web-push/0.1/test/validator-amp-web-push.out +++ b/extensions/amp-web-push/0.1/test/validator-amp-web-push.out @@ -1,20 +1,5 @@ PASS | <!-- -| Copyright 2017 The AMP HTML Authors. All Rights Reserved. -| -| Licensed under the Apache License, Version 2.0 (the "License"); -| you may not use this file except in compliance with the License. -| You may obtain a copy of the License at -| -| http://www.apache.org/licenses/LICENSE-2.0 -| -| Unless required by applicable law or agreed to in writing, software -| distributed under the License is distributed on an "AS-IS" BASIS, -| WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -| See the License for the specific language governing permissions and -| limitations under the license. -| --> -| <!-- | Test Description: | Tests for the amp-web-push tag. | --> diff --git a/extensions/amp-wistia-player/0.1/test/validator-amp-wistia-player.html b/extensions/amp-wistia-player/0.1/test/validator-amp-wistia-player.html index 12416160c529..a84b3c4874e7 100644 --- a/extensions/amp-wistia-player/0.1/test/validator-amp-wistia-player.html +++ b/extensions/amp-wistia-player/0.1/test/validator-amp-wistia-player.html @@ -1,18 +1,3 @@ -<!-- - Copyright 2018 The AMP HTML Authors. All Rights Reserved. - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS-IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the license. ---> <!-- Test Description: Tests for the amp-wistia-player tag. See the inline comments. diff --git a/extensions/amp-wistia-player/0.1/test/validator-amp-wistia-player.out b/extensions/amp-wistia-player/0.1/test/validator-amp-wistia-player.out index 96624abeb6c0..a5984091fb09 100644 --- a/extensions/amp-wistia-player/0.1/test/validator-amp-wistia-player.out +++ b/extensions/amp-wistia-player/0.1/test/validator-amp-wistia-player.out @@ -1,20 +1,5 @@ FAIL | <!-- -| Copyright 2018 The AMP HTML Authors. All Rights Reserved. -| -| Licensed under the Apache License, Version 2.0 (the "License"); -| you may not use this file except in compliance with the License. -| You may obtain a copy of the License at -| -| http://www.apache.org/licenses/LICENSE-2.0 -| -| Unless required by applicable law or agreed to in writing, software -| distributed under the License is distributed on an "AS-IS" BASIS, -| WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -| See the License for the specific language governing permissions and -| limitations under the license. -| --> -| <!-- | Test Description: | Tests for the amp-wistia-player tag. See the inline comments. | --> @@ -37,18 +22,18 @@ FAIL | <!-- Invalid: data-media-hashed-id missing. --> | <amp-wistia-player >> ^~~~~~~~~ -amp-wistia-player/0.1/test/validator-amp-wistia-player.html:37:2 The mandatory attribute 'data-media-hashed-id' is missing in tag 'amp-wistia-player'. (see https://amp.dev/documentation/components/amp-wistia-player) +amp-wistia-player/0.1/test/validator-amp-wistia-player.html:22:2 The mandatory attribute 'data-media-hashed-id' is missing in tag 'amp-wistia-player'. (see https://amp.dev/documentation/components/amp-wistia-player) | width="512" height="360"></amp-wistia-player> | <!-- Invalid: data-media-hashed-id illegal characters. --> | <amp-wistia-player >> ^~~~~~~~~ -amp-wistia-player/0.1/test/validator-amp-wistia-player.html:40:2 The attribute 'data-media-hashed-id' in tag 'amp-wistia-player' is set to the invalid value 'illegal value'. (see https://amp.dev/documentation/components/amp-wistia-player) +amp-wistia-player/0.1/test/validator-amp-wistia-player.html:25:2 The attribute 'data-media-hashed-id' in tag 'amp-wistia-player' is set to the invalid value 'illegal value'. (see https://amp.dev/documentation/components/amp-wistia-player) | data-media-hashed-id="illegal value" | width="512" height="360"></amp-wistia-player> | <!-- Invalid: missing layout attributes. --> | <amp-wistia-player >> ^~~~~~~~~ -amp-wistia-player/0.1/test/validator-amp-wistia-player.html:44:2 Incomplete layout attributes specified for tag 'amp-wistia-player'. For example, provide attributes 'width' and 'height'. (see https://amp.dev/documentation/components/amp-wistia-player) +amp-wistia-player/0.1/test/validator-amp-wistia-player.html:29:2 Incomplete layout attributes specified for tag 'amp-wistia-player'. For example, provide attributes 'width' and 'height'. (see https://amp.dev/documentation/components/amp-wistia-player) | data-media-hashed-id="u8p9wq6mq8"></amp-wistia-player> | </body> | </html> diff --git a/extensions/amp-yotpo/0.1/test/validator-amp-yotpo.html b/extensions/amp-yotpo/0.1/test/validator-amp-yotpo.html index 15a66bef91c3..9a7215d6a364 100644 --- a/extensions/amp-yotpo/0.1/test/validator-amp-yotpo.html +++ b/extensions/amp-yotpo/0.1/test/validator-amp-yotpo.html @@ -1,18 +1,3 @@ -<!-- - Copyright 2018 The AMP HTML Authors. All Rights Reserved. - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS-IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the license. ---> <!-- Test Description: Tests for the amp-yotpo tag. See the inline comments. diff --git a/extensions/amp-yotpo/0.1/test/validator-amp-yotpo.out b/extensions/amp-yotpo/0.1/test/validator-amp-yotpo.out index 46f06d57886b..dceb22366de7 100644 --- a/extensions/amp-yotpo/0.1/test/validator-amp-yotpo.out +++ b/extensions/amp-yotpo/0.1/test/validator-amp-yotpo.out @@ -1,20 +1,5 @@ FAIL | <!-- -| Copyright 2018 The AMP HTML Authors. All Rights Reserved. -| -| Licensed under the Apache License, Version 2.0 (the "License"); -| you may not use this file except in compliance with the License. -| You may obtain a copy of the License at -| -| http://www.apache.org/licenses/LICENSE-2.0 -| -| Unless required by applicable law or agreed to in writing, software -| distributed under the License is distributed on an "AS-IS" BASIS, -| WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -| See the License for the specific language governing permissions and -| limitations under the license. -| --> -| <!-- | Test Description: | Tests for the amp-yotpo tag. See the inline comments. | --> @@ -41,7 +26,7 @@ FAIL | <!-- Invalid: Missing data-app-key attribute. --> | <amp-yotpo >> ^~~~~~~~~ -amp-yotpo/0.1/test/validator-amp-yotpo.html:41:2 The mandatory attribute 'data-app-key' is missing in tag 'amp-yotpo'. (see https://amp.dev/documentation/components/amp-yotpo/) +amp-yotpo/0.1/test/validator-amp-yotpo.html:26:2 The mandatory attribute 'data-app-key' is missing in tag 'amp-yotpo'. (see https://amp.dev/documentation/components/amp-yotpo/) | layout="responsive" | height="100" | width="550" @@ -51,7 +36,7 @@ amp-yotpo/0.1/test/validator-amp-yotpo.html:41:2 The mandatory attribute 'data-a | <!-- Invalid: Missing data-widget-type attribute. --> | <amp-yotpo >> ^~~~~~~~~ -amp-yotpo/0.1/test/validator-amp-yotpo.html:49:2 The mandatory attribute 'data-widget-type' is missing in tag 'amp-yotpo'. (see https://amp.dev/documentation/components/amp-yotpo/) +amp-yotpo/0.1/test/validator-amp-yotpo.html:34:2 The mandatory attribute 'data-widget-type' is missing in tag 'amp-yotpo'. (see https://amp.dev/documentation/components/amp-yotpo/) | layout="responsive" | height="100" | width="550" @@ -61,7 +46,7 @@ amp-yotpo/0.1/test/validator-amp-yotpo.html:49:2 The mandatory attribute 'data-w | <!-- Invalid: illegal layout. --> | <amp-yotpo >> ^~~~~~~~~ -amp-yotpo/0.1/test/validator-amp-yotpo.html:57:2 The specified layout 'CONTAINER' is not supported by tag 'amp-yotpo'. (see https://amp.dev/documentation/components/amp-yotpo/) +amp-yotpo/0.1/test/validator-amp-yotpo.html:42:2 The specified layout 'CONTAINER' is not supported by tag 'amp-yotpo'. (see https://amp.dev/documentation/components/amp-yotpo/) | layout="container" | height="100" | width="550"> diff --git a/extensions/amp-youtube/0.1/test/validator-amp-youtube.html b/extensions/amp-youtube/0.1/test/validator-amp-youtube.html index 30ac674871a1..0e0846eafd79 100644 --- a/extensions/amp-youtube/0.1/test/validator-amp-youtube.html +++ b/extensions/amp-youtube/0.1/test/validator-amp-youtube.html @@ -1,18 +1,3 @@ -<!-- - Copyright 2015 The AMP HTML Authors. All Rights Reserved. - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS-IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the license. ---> <!-- Test Description: Tests for the amp-youtube tag. See the inline comments. diff --git a/extensions/amp-youtube/0.1/test/validator-amp-youtube.out b/extensions/amp-youtube/0.1/test/validator-amp-youtube.out index cbcf9773aff3..62d66446c09e 100644 --- a/extensions/amp-youtube/0.1/test/validator-amp-youtube.out +++ b/extensions/amp-youtube/0.1/test/validator-amp-youtube.out @@ -1,20 +1,5 @@ FAIL | <!-- -| Copyright 2015 The AMP HTML Authors. All Rights Reserved. -| -| Licensed under the Apache License, Version 2.0 (the "License"); -| you may not use this file except in compliance with the License. -| You may obtain a copy of the License at -| -| http://www.apache.org/licenses/LICENSE-2.0 -| -| Unless required by applicable law or agreed to in writing, software -| distributed under the License is distributed on an "AS-IS" BASIS, -| WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -| See the License for the specific language governing permissions and -| limitations under the license. -| --> -| <!-- | Test Description: | Tests for the amp-youtube tag. See the inline comments. | --> @@ -49,22 +34,22 @@ FAIL | <!-- Invalid: data-videoid and data-live-channelid both missing. --> | <amp-youtube width="480" height="270"></amp-youtube> >> ^~~~~~~~~ -amp-youtube/0.1/test/validator-amp-youtube.html:49:2 The tag 'amp-youtube' is missing a mandatory attribute - pick one of ['data-live-channelid', 'data-videoid']. (see https://amp.dev/documentation/components/amp-youtube) +amp-youtube/0.1/test/validator-amp-youtube.html:34:2 The tag 'amp-youtube' is missing a mandatory attribute - pick one of ['data-live-channelid', 'data-videoid']. (see https://amp.dev/documentation/components/amp-youtube) | <!-- Invalid: dimensions are missing. --> | <amp-youtube data-videoid="dQw4w9WgXcQ"> >> ^~~~~~~~~ -amp-youtube/0.1/test/validator-amp-youtube.html:51:2 Incomplete layout attributes specified for tag 'amp-youtube'. For example, provide attributes 'width' and 'height'. (see https://amp.dev/documentation/components/amp-youtube) +amp-youtube/0.1/test/validator-amp-youtube.html:36:2 Incomplete layout attributes specified for tag 'amp-youtube'. For example, provide attributes 'width' and 'height'. (see https://amp.dev/documentation/components/amp-youtube) | </amp-youtube> | <!-- Invalid: the attr value must be a video id --> | <amp-youtube width="480" height="270" >> ^~~~~~~~~ -amp-youtube/0.1/test/validator-amp-youtube.html:54:2 The attribute 'data-videoid' in tag 'amp-youtube' is set to the invalid value 'https://www.youtube.com/watch?v=dQw4w9WgXcQ'. (see https://amp.dev/documentation/components/amp-youtube) +amp-youtube/0.1/test/validator-amp-youtube.html:39:2 The attribute 'data-videoid' in tag 'amp-youtube' is set to the invalid value 'https://www.youtube.com/watch?v=dQw4w9WgXcQ'. (see https://amp.dev/documentation/components/amp-youtube) | data-videoid="https://www.youtube.com/watch?v=dQw4w9WgXcQ"> | </amp-youtube> | <!-- Invalid: cannot have both data-videoid and data-live-channelid --> | <amp-youtube width="480" height="270" >> ^~~~~~~~~ -amp-youtube/0.1/test/validator-amp-youtube.html:58:2 Mutually exclusive attributes encountered in tag 'amp-youtube' - pick one of ['data-live-channelid', 'data-videoid']. (see https://amp.dev/documentation/components/amp-youtube) +amp-youtube/0.1/test/validator-amp-youtube.html:43:2 Mutually exclusive attributes encountered in tag 'amp-youtube' - pick one of ['data-live-channelid', 'data-videoid']. (see https://amp.dev/documentation/components/amp-youtube) | data-live-channelid="UCB8Kb4pxYzsDsHxzBfnid4Q" | data-videoid="dQw4w9WgXcQ"> | </amp-youtube> @@ -72,7 +57,7 @@ amp-youtube/0.1/test/validator-amp-youtube.html:58:2 Mutually exclusive attribut | <!-- Invalid: `dock` without `amp-video-docking` extension --> | <amp-youtube width="480" height="270" data-videoid="dQw4w9WgXcQ" dock> >> ^~~~~~~~~ -amp-youtube/0.1/test/validator-amp-youtube.html:64:2 The attribute 'dock' requires including the 'amp-video-docking' extension JavaScript. +amp-youtube/0.1/test/validator-amp-youtube.html:49:2 The attribute 'dock' requires including the 'amp-video-docking' extension JavaScript. | </amp-youtube> | </body> | </html> diff --git a/extensions/amp-youtube/1.0/test/validator-amp-youtube.html b/extensions/amp-youtube/1.0/test/validator-amp-youtube.html index 237cbc177226..e605628f7942 100644 --- a/extensions/amp-youtube/1.0/test/validator-amp-youtube.html +++ b/extensions/amp-youtube/1.0/test/validator-amp-youtube.html @@ -1,18 +1,3 @@ -<!-- - Copyright 2021 The AMP HTML Authors. All Rights Reserved. - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS-IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the license. ---> <!-- Test Description: Tests for the amp-youtube tag using 1.0. See the inline comments. diff --git a/extensions/amp-youtube/1.0/test/validator-amp-youtube.out b/extensions/amp-youtube/1.0/test/validator-amp-youtube.out index ed0ef3c597be..206af6806f00 100644 --- a/extensions/amp-youtube/1.0/test/validator-amp-youtube.out +++ b/extensions/amp-youtube/1.0/test/validator-amp-youtube.out @@ -1,20 +1,5 @@ FAIL | <!-- -| Copyright 2021 The AMP HTML Authors. All Rights Reserved. -| -| Licensed under the Apache License, Version 2.0 (the "License"); -| you may not use this file except in compliance with the License. -| You may obtain a copy of the License at -| -| http://www.apache.org/licenses/LICENSE-2.0 -| -| Unless required by applicable law or agreed to in writing, software -| distributed under the License is distributed on an "AS-IS" BASIS, -| WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -| See the License for the specific language governing permissions and -| limitations under the license. -| --> -| <!-- | Test Description: | Tests for the amp-youtube tag using 1.0. See the inline comments. | --> @@ -57,17 +42,17 @@ FAIL | <!-- Invalid: data-videoid and data-live-channelid both missing. --> | <amp-youtube width="480" height="270"></amp-youtube> >> ^~~~~~~~~ -amp-youtube/1.0/test/validator-amp-youtube.html:57:4 The tag 'amp-youtube' is missing a mandatory attribute - pick one of ['data-live-channelid', 'data-videoid']. (see https://amp.dev/documentation/components/amp-youtube) +amp-youtube/1.0/test/validator-amp-youtube.html:42:4 The tag 'amp-youtube' is missing a mandatory attribute - pick one of ['data-live-channelid', 'data-videoid']. (see https://amp.dev/documentation/components/amp-youtube) | | <!-- Invalid: dimensions are missing. --> | <amp-youtube data-videoid="dQw4w9WgXcQ"> </amp-youtube> >> ^~~~~~~~~ -amp-youtube/1.0/test/validator-amp-youtube.html:60:4 Incomplete layout attributes specified for tag 'amp-youtube'. For example, provide attributes 'width' and 'height'. (see https://amp.dev/documentation/components/amp-youtube) +amp-youtube/1.0/test/validator-amp-youtube.html:45:4 Incomplete layout attributes specified for tag 'amp-youtube'. For example, provide attributes 'width' and 'height'. (see https://amp.dev/documentation/components/amp-youtube) | | <!-- Invalid: the attr value must be a video id --> | <amp-youtube >> ^~~~~~~~~ -amp-youtube/1.0/test/validator-amp-youtube.html:63:4 The attribute 'data-videoid' in tag 'amp-youtube' is set to the invalid value 'https://www.youtube.com/watch?v=dQw4w9WgXcQ'. (see https://amp.dev/documentation/components/amp-youtube) +amp-youtube/1.0/test/validator-amp-youtube.html:48:4 The attribute 'data-videoid' in tag 'amp-youtube' is set to the invalid value 'https://www.youtube.com/watch?v=dQw4w9WgXcQ'. (see https://amp.dev/documentation/components/amp-youtube) | width="480" | height="270" | data-videoid="https://www.youtube.com/watch?v=dQw4w9WgXcQ" @@ -77,7 +62,7 @@ amp-youtube/1.0/test/validator-amp-youtube.html:63:4 The attribute 'data-videoid | <!-- Invalid: cannot have both data-videoid and data-live-channelid --> | <amp-youtube >> ^~~~~~~~~ -amp-youtube/1.0/test/validator-amp-youtube.html:71:4 Mutually exclusive attributes encountered in tag 'amp-youtube' - pick one of ['data-live-channelid', 'data-videoid']. (see https://amp.dev/documentation/components/amp-youtube) +amp-youtube/1.0/test/validator-amp-youtube.html:56:4 Mutually exclusive attributes encountered in tag 'amp-youtube' - pick one of ['data-live-channelid', 'data-videoid']. (see https://amp.dev/documentation/components/amp-youtube) | width="480" | height="270" | data-live-channelid="UCB8Kb4pxYzsDsHxzBfnid4Q" diff --git a/validator/build.py b/validator/build.py index 69b0884613dc..f404b2332d3d 100755 --- a/validator/build.py +++ b/validator/build.py @@ -1,19 +1,5 @@ #!/usr/bin/env python # -# Copyright 2015 The AMP HTML Authors. All Rights Reserved. -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS-IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the license. -# """A build script which (thus far) works on Ubuntu 14.""" from __future__ import print_function diff --git a/validator/js/engine/validator_test.js b/validator/js/engine/validator_test.js index cdabfef6dbb4..15916e6380ad 100644 --- a/validator/js/engine/validator_test.js +++ b/validator/js/engine/validator_test.js @@ -314,7 +314,7 @@ describe('ValidatorOutput', () => { const results = validator.validateString(test.ampHtmlFileContents); const observed = validator.renderValidationResult(results, test.ampUrl).join('\n'); - const expectedSubstr = 'http://google.com/foo.html:28:3'; + const expectedSubstr = 'http://google.com/foo.html:13:3'; if (observed.indexOf(expectedSubstr) === -1) { asserts.fail( 'expectedSubstr:\n' + expectedSubstr + '\nsaw:\n' + observed); diff --git a/validator/testdata/amp4ads_feature_tests/amp_form.html b/validator/testdata/amp4ads_feature_tests/amp_form.html index 3730ce22d3ef..b5e94688ba43 100644 --- a/validator/testdata/amp4ads_feature_tests/amp_form.html +++ b/validator/testdata/amp4ads_feature_tests/amp_form.html @@ -1,18 +1,3 @@ -<!-- - Copyright 2018 The AMP HTML Authors. All Rights Reserved. - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS-IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the license. ---> <!-- Test Description: This tests that forms are allowed in A4A, but that forbidden inputs are not diff --git a/validator/testdata/amp4ads_feature_tests/amp_form.out b/validator/testdata/amp4ads_feature_tests/amp_form.out index ccb11c01c383..4f3ffcaaeece 100644 --- a/validator/testdata/amp4ads_feature_tests/amp_form.out +++ b/validator/testdata/amp4ads_feature_tests/amp_form.out @@ -1,20 +1,5 @@ FAIL | <!-- -| Copyright 2018 The AMP HTML Authors. All Rights Reserved. -| -| Licensed under the Apache License, Version 2.0 (the "License"); -| you may not use this file except in compliance with the License. -| You may obtain a copy of the License at -| -| http://www.apache.org/licenses/LICENSE-2.0 -| -| Unless required by applicable law or agreed to in writing, software -| distributed under the License is distributed on an "AS-IS" BASIS, -| WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -| See the License for the specific language governing permissions and -| limitations under the license. -| --> -| <!-- | Test Description: | This tests that forms are allowed in A4A, but that forbidden inputs are not | allowed, like input[type=password]. @@ -51,16 +36,16 @@ FAIL | <form method="post" action-xhr="https://example.com/subscribe" target="_blank"> | <input type="image" name="image"> >> ^~~~~~~~~ -amp4ads_feature_tests/amp_form.html:51:4 The attribute 'type' in tag 'input' is set to the invalid value 'image'. (see https://amp.dev/documentation/components/amp-form/) +amp4ads_feature_tests/amp_form.html:36:4 The attribute 'type' in tag 'input' is set to the invalid value 'image'. (see https://amp.dev/documentation/components/amp-form/) | </form> | <!-- Invalid: input can not be type="file|password". --> | <form method="post" action-xhr="https://example.com/subscribe" target="_blank"> | <input type="password" name="password"> >> ^~~~~~~~~ -amp4ads_feature_tests/amp_form.html:55:4 The attribute 'type' in tag 'input' is set to the invalid value 'password'. (see https://amp.dev/documentation/components/amp-form/) +amp4ads_feature_tests/amp_form.html:40:4 The attribute 'type' in tag 'input' is set to the invalid value 'password'. (see https://amp.dev/documentation/components/amp-form/) | <input type="file" name="file"> >> ^~~~~~~~~ -amp4ads_feature_tests/amp_form.html:56:4 The attribute 'type' in tag 'input' is set to the invalid value 'file'. (see https://amp.dev/documentation/components/amp-form/) +amp4ads_feature_tests/amp_form.html:41:4 The attribute 'type' in tag 'input' is set to the invalid value 'file'. (see https://amp.dev/documentation/components/amp-form/) | <input [type]="state.value" name="name"> | <div submitting> | Submitting form... diff --git a/validator/testdata/amp4ads_feature_tests/amp_pixel_ssr.html b/validator/testdata/amp4ads_feature_tests/amp_pixel_ssr.html index 0cbb3a27c31e..155521ba0dcd 100644 --- a/validator/testdata/amp4ads_feature_tests/amp_pixel_ssr.html +++ b/validator/testdata/amp4ads_feature_tests/amp_pixel_ssr.html @@ -1,18 +1,3 @@ -<!-- - Copyright 2017 The AMP HTML Authors. All Rights Reserved. - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS-IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the license. ---> <!-- Test Description: Verify amp-pixel indicating SSR support is valid. diff --git a/validator/testdata/amp4ads_feature_tests/amp_pixel_ssr.out b/validator/testdata/amp4ads_feature_tests/amp_pixel_ssr.out index 988a65cb1fd6..0223d6ebfab5 100644 --- a/validator/testdata/amp4ads_feature_tests/amp_pixel_ssr.out +++ b/validator/testdata/amp4ads_feature_tests/amp_pixel_ssr.out @@ -1,20 +1,5 @@ PASS | <!-- -| Copyright 2017 The AMP HTML Authors. All Rights Reserved. -| -| Licensed under the Apache License, Version 2.0 (the "License"); -| you may not use this file except in compliance with the License. -| You may obtain a copy of the License at -| -| http://www.apache.org/licenses/LICENSE-2.0 -| -| Unless required by applicable law or agreed to in writing, software -| distributed under the License is distributed on an "AS-IS" BASIS, -| WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -| See the License for the specific language governing permissions and -| limitations under the license. -| --> -| <!-- | Test Description: | Verify amp-pixel indicating SSR support is valid. | --> diff --git a/validator/testdata/amp4ads_feature_tests/amp_selector.html b/validator/testdata/amp4ads_feature_tests/amp_selector.html index 73e24d40f7ef..bbd8ffa30975 100644 --- a/validator/testdata/amp4ads_feature_tests/amp_selector.html +++ b/validator/testdata/amp4ads_feature_tests/amp_selector.html @@ -1,15 +1,3 @@ -<!-- - Copyright 2019 The AMP HTML Authors. All Rights Reserved. - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - http://www.apache.org/licenses/LICENSE-2.0 - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS-IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the license. ---> <!-- Test Description: This tests that amp-selector is allowed in A4A. diff --git a/validator/testdata/amp4ads_feature_tests/amp_selector.out b/validator/testdata/amp4ads_feature_tests/amp_selector.out index fb35ab0cc7ac..ac72f450b351 100644 --- a/validator/testdata/amp4ads_feature_tests/amp_selector.out +++ b/validator/testdata/amp4ads_feature_tests/amp_selector.out @@ -1,17 +1,5 @@ PASS | <!-- -| Copyright 2019 The AMP HTML Authors. All Rights Reserved. -| Licensed under the Apache License, Version 2.0 (the "License"); -| you may not use this file except in compliance with the License. -| You may obtain a copy of the License at -| http://www.apache.org/licenses/LICENSE-2.0 -| Unless required by applicable law or agreed to in writing, software -| distributed under the License is distributed on an "AS-IS" BASIS, -| WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -| See the License for the specific language governing permissions and -| limitations under the license. -| --> -| <!-- | Test Description: | This tests that amp-selector is allowed in A4A. | --> diff --git a/validator/testdata/amp4ads_feature_tests/amp_story_ad.html b/validator/testdata/amp4ads_feature_tests/amp_story_ad.html index f1ace3a4389b..ba933bfaf3ff 100644 --- a/validator/testdata/amp4ads_feature_tests/amp_story_ad.html +++ b/validator/testdata/amp4ads_feature_tests/amp_story_ad.html @@ -1,19 +1,3 @@ -<!-- - Copyright 2018 The AMP HTML Authors. All Rights Reserved. - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - mkdir -p /Users/ccordry/Library/Python/2.7/lib/python/site-packages - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS-IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the license. ---> <!-- Test Description: This tests that an ad designed for amp-story is passing validation. diff --git a/validator/testdata/amp4ads_feature_tests/amp_story_ad.out b/validator/testdata/amp4ads_feature_tests/amp_story_ad.out index 8bf5c8691ec6..b358c3e28bab 100644 --- a/validator/testdata/amp4ads_feature_tests/amp_story_ad.out +++ b/validator/testdata/amp4ads_feature_tests/amp_story_ad.out @@ -1,21 +1,5 @@ PASS | <!-- -| Copyright 2018 The AMP HTML Authors. All Rights Reserved. -| -| Licensed under the Apache License, Version 2.0 (the "License"); -| you may not use this file except in compliance with the License. -| You may obtain a copy of the License at -| mkdir -p /Users/ccordry/Library/Python/2.7/lib/python/site-packages -| -| http://www.apache.org/licenses/LICENSE-2.0 -| -| Unless required by applicable law or agreed to in writing, software -| distributed under the License is distributed on an "AS-IS" BASIS, -| WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -| See the License for the specific language governing permissions and -| limitations under the license. -| --> -| <!-- | Test Description: | This tests that an ad designed for amp-story is passing validation. | --> diff --git a/validator/testdata/amp4ads_feature_tests/amp_story_ad_errors.html b/validator/testdata/amp4ads_feature_tests/amp_story_ad_errors.html index 20aa05bd56af..fe8cbb0964b8 100644 --- a/validator/testdata/amp4ads_feature_tests/amp_story_ad_errors.html +++ b/validator/testdata/amp4ads_feature_tests/amp_story_ad_errors.html @@ -1,18 +1,3 @@ -<!-- - Copyright 2018 The AMP HTML Authors. All Rights Reserved. - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS-IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the license. ---> <!-- Test Description: Testing some common mistakes for ad creators, like forgetting to specify diff --git a/validator/testdata/amp4ads_feature_tests/amp_story_ad_errors.out b/validator/testdata/amp4ads_feature_tests/amp_story_ad_errors.out index 53e9dcca7b89..366e02059a46 100644 --- a/validator/testdata/amp4ads_feature_tests/amp_story_ad_errors.out +++ b/validator/testdata/amp4ads_feature_tests/amp_story_ad_errors.out @@ -1,20 +1,5 @@ FAIL | <!-- -| Copyright 2018 The AMP HTML Authors. All Rights Reserved. -| -| Licensed under the Apache License, Version 2.0 (the "License"); -| you may not use this file except in compliance with the License. -| You may obtain a copy of the License at -| -| http://www.apache.org/licenses/LICENSE-2.0 -| -| Unless required by applicable law or agreed to in writing, software -| distributed under the License is distributed on an "AS-IS" BASIS, -| WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -| See the License for the specific language governing permissions and -| limitations under the license. -| --> -| <!-- | Test Description: | Testing some common mistakes for ad creators, like forgetting to specify | an enum value, @@ -28,30 +13,30 @@ FAIL | <!-- Should fail as an invalid meta tag. --> | <meta name="amp-cta" content="https://www.ampproject.org"> >> ^~~~~~~~~ -amp4ads_feature_tests/amp_story_ad_errors.html:28:4 The attribute 'name' in tag 'meta' is set to the invalid value 'amp-cta'. +amp4ads_feature_tests/amp_story_ad_errors.html:13:4 The attribute 'name' in tag 'meta' is set to the invalid value 'amp-cta'. | | <!-- Should fail due to no `content=`. --> | <meta name="amp-cta-type"> >> ^~~~~~~~~ -amp4ads_feature_tests/amp_story_ad_errors.html:31:4 The mandatory attribute 'content' is missing in tag 'meta'. +amp4ads_feature_tests/amp_story_ad_errors.html:16:4 The mandatory attribute 'content' is missing in tag 'meta'. | | <!-- Should fail due to invalid content choice. --> | <meta name="amp-cta-landing-page-type" content="GAME"> >> ^~~~~~~~~ -amp4ads_feature_tests/amp_story_ad_errors.html:34:4 The attribute 'content' in tag 'meta' is set to the invalid value 'GAME'. +amp4ads_feature_tests/amp_story_ad_errors.html:19:4 The attribute 'content' in tag 'meta' is set to the invalid value 'GAME'. | | <!-- Should fail due to no `content=`. --> | <meta name="amp4ads-vars-foo"> >> ^~~~~~~~~ -amp4ads_feature_tests/amp_story_ad_errors.html:37:4 The mandatory attribute 'content' is missing in tag 'meta'. +amp4ads_feature_tests/amp_story_ad_errors.html:22:4 The mandatory attribute 'content' is missing in tag 'meta'. | | <!-- Should fail due unrecognized `name` --> | <meta name="amp4ads-vars" content="bar"> >> ^~~~~~~~~ -amp4ads_feature_tests/amp_story_ad_errors.html:40:4 The attribute 'name' in tag 'meta' is set to the invalid value 'amp4ads-vars'. +amp4ads_feature_tests/amp_story_ad_errors.html:25:4 The attribute 'name' in tag 'meta' is set to the invalid value 'amp4ads-vars'. | <meta name="amp4ads-vars-" content="bar"> >> ^~~~~~~~~ -amp4ads_feature_tests/amp_story_ad_errors.html:41:4 The attribute 'name' in tag 'meta' is set to the invalid value 'amp4ads-vars-'. +amp4ads_feature_tests/amp_story_ad_errors.html:26:4 The attribute 'name' in tag 'meta' is set to the invalid value 'amp4ads-vars-'. | | | <style amp4ads-boilerplate>body{visibility:hidden}</style> diff --git a/validator/testdata/amp4ads_feature_tests/crossorigin_anonymous_script.html b/validator/testdata/amp4ads_feature_tests/crossorigin_anonymous_script.html index 32f07b92a270..f88d530c00a3 100644 --- a/validator/testdata/amp4ads_feature_tests/crossorigin_anonymous_script.html +++ b/validator/testdata/amp4ads_feature_tests/crossorigin_anonymous_script.html @@ -1,18 +1,3 @@ -<!-- - Copyright 2019 The AMP HTML Authors. All Rights Reserved. - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS-IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the license. ---> <!-- Test Description: This tests that the crossorigin=anonymous attribute is valid on the engine diff --git a/validator/testdata/amp4ads_feature_tests/crossorigin_anonymous_script.out b/validator/testdata/amp4ads_feature_tests/crossorigin_anonymous_script.out index e7ab318a9ec3..f271ccfad557 100644 --- a/validator/testdata/amp4ads_feature_tests/crossorigin_anonymous_script.out +++ b/validator/testdata/amp4ads_feature_tests/crossorigin_anonymous_script.out @@ -1,20 +1,5 @@ PASS | <!-- -| Copyright 2019 The AMP HTML Authors. All Rights Reserved. -| -| Licensed under the Apache License, Version 2.0 (the "License"); -| you may not use this file except in compliance with the License. -| You may obtain a copy of the License at -| -| http://www.apache.org/licenses/LICENSE-2.0 -| -| Unless required by applicable law or agreed to in writing, software -| distributed under the License is distributed on an "AS-IS" BASIS, -| WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -| See the License for the specific language governing permissions and -| limitations under the license. -| --> -| <!-- | Test Description: | This tests that the crossorigin=anonymous attribute is valid on the engine | script and extension scripts. diff --git a/validator/testdata/amp4ads_feature_tests/css_i_amphtml.html b/validator/testdata/amp4ads_feature_tests/css_i_amphtml.html index 6621d1bc7dbb..3d61c9145edf 100644 --- a/validator/testdata/amp4ads_feature_tests/css_i_amphtml.html +++ b/validator/testdata/amp4ads_feature_tests/css_i_amphtml.html @@ -1,18 +1,3 @@ -<!-- - Copyright 2021 The AMP HTML Authors. All Rights Reserved. - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS-IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the license. ---> <!-- Test Description: Tests for excluded `i-amphtml` in the author stylesheet and inline style. diff --git a/validator/testdata/amp4ads_feature_tests/css_i_amphtml.out b/validator/testdata/amp4ads_feature_tests/css_i_amphtml.out index 1e1c408415a4..8142eb48e1ae 100644 --- a/validator/testdata/amp4ads_feature_tests/css_i_amphtml.out +++ b/validator/testdata/amp4ads_feature_tests/css_i_amphtml.out @@ -1,20 +1,5 @@ FAIL | <!-- -| Copyright 2021 The AMP HTML Authors. All Rights Reserved. -| -| Licensed under the Apache License, Version 2.0 (the "License"); -| you may not use this file except in compliance with the License. -| You may obtain a copy of the License at -| -| http://www.apache.org/licenses/LICENSE-2.0 -| -| Unless required by applicable law or agreed to in writing, software -| distributed under the License is distributed on an "AS-IS" BASIS, -| WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -| See the License for the specific language governing permissions and -| limitations under the license. -| --> -| <!-- | Test Description: | Tests for excluded `i-amphtml` in the author stylesheet and inline style. | --> @@ -27,22 +12,22 @@ FAIL | <script async src="https://cdn.ampproject.org/amp4ads-v0.js"></script> | <style amp-custom> >> ^~~~~~~~~ -amp4ads_feature_tests/css_i_amphtml.html:27:2 The text inside tag 'style amp-custom' contains 'CSS i-amphtml- name prefix', which is disallowed. (see https://amp.dev/documentation/guides-and-tutorials/learn/a4a_spec/#css) +amp4ads_feature_tests/css_i_amphtml.html:12:2 The text inside tag 'style amp-custom' contains 'CSS i-amphtml- name prefix', which is disallowed. (see https://amp.dev/documentation/guides-and-tutorials/learn/a4a_spec/#css) | i-amphtml-sizer { } | .i-amphtml-hidden { } | #i-amphtml-wrapper { } | .foo-i-amphtml { color: var(--i-amphtml-clr); } | </style> >> ^~~~~~~~~ -amp4ads_feature_tests/css_i_amphtml.html:32:0 CSS syntax error in tag 'style amp-custom' - end of stylesheet encountered in prelude of a qualified rule. +amp4ads_feature_tests/css_i_amphtml.html:17:0 CSS syntax error in tag 'style amp-custom' - end of stylesheet encountered in prelude of a qualified rule. | </head> | <body> | Hello, world. | <div style="i-amphtml-hidden: none;"></div> >> ^~~~~~~~~ -amp4ads_feature_tests/css_i_amphtml.html:36:2 The property 'i-amphtml-hidden' in attribute 'style' in tag 'div' is disallowed. (see https://amp.dev/documentation/guides-and-tutorials/develop/style_and_layout/style_pages/) +amp4ads_feature_tests/css_i_amphtml.html:21:2 The property 'i-amphtml-hidden' in attribute 'style' in tag 'div' is disallowed. (see https://amp.dev/documentation/guides-and-tutorials/develop/style_and_layout/style_pages/) | <div style="--i-amphtml-clr: #ccc;"></div> >> ^~~~~~~~~ -amp4ads_feature_tests/css_i_amphtml.html:37:2 The property '--i-amphtml-clr' in attribute 'style' in tag 'div' is disallowed. (see https://amp.dev/documentation/guides-and-tutorials/develop/style_and_layout/style_pages/) +amp4ads_feature_tests/css_i_amphtml.html:22:2 The property '--i-amphtml-clr' in attribute 'style' in tag 'div' is disallowed. (see https://amp.dev/documentation/guides-and-tutorials/develop/style_and_layout/style_pages/) | </body> | </html> diff --git a/validator/testdata/amp4ads_feature_tests/doctype.html b/validator/testdata/amp4ads_feature_tests/doctype.html index 0fad36c3ceea..3079532b1f1d 100644 --- a/validator/testdata/amp4ads_feature_tests/doctype.html +++ b/validator/testdata/amp4ads_feature_tests/doctype.html @@ -1,18 +1,3 @@ -<!-- - Copyright 2019 The AMP HTML Authors. All Rights Reserved. - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS-IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the license. ---> <!-- Test Description: Only html attribute is allowed in <!doctype> declaration. diff --git a/validator/testdata/amp4ads_feature_tests/doctype.out b/validator/testdata/amp4ads_feature_tests/doctype.out index e952d232dac6..0baeea1a40df 100644 --- a/validator/testdata/amp4ads_feature_tests/doctype.out +++ b/validator/testdata/amp4ads_feature_tests/doctype.out @@ -1,26 +1,11 @@ FAIL | <!-- -| Copyright 2019 The AMP HTML Authors. All Rights Reserved. -| -| Licensed under the Apache License, Version 2.0 (the "License"); -| you may not use this file except in compliance with the License. -| You may obtain a copy of the License at -| -| http://www.apache.org/licenses/LICENSE-2.0 -| -| Unless required by applicable law or agreed to in writing, software -| distributed under the License is distributed on an "AS-IS" BASIS, -| WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -| See the License for the specific language governing permissions and -| limitations under the license. -| --> -| <!-- | Test Description: | Only html attribute is allowed in <!doctype> declaration. | --> | <!doctype html data-foo id=doctype> >> ^~~~~~~~~ -amp4ads_feature_tests/doctype.html:20:0 Invalid or missing doctype declaration. Should be '!doctype html'. (see https://amp.dev/documentation/guides-and-tutorials/start/create/basic_markup/) +amp4ads_feature_tests/doctype.html:5:0 Invalid or missing doctype declaration. Should be '!doctype html'. (see https://amp.dev/documentation/guides-and-tutorials/start/create/basic_markup/) | <html ⚡4ads> | <head> | <meta charset="utf-8"> @@ -29,4 +14,4 @@ amp4ads_feature_tests/doctype.html:20:0 Invalid or missing doctype declaration. | <script async src="https://cdn.ampproject.org/amp4ads-v0.js"></script> | </head> | <body>Hello, world.</body> -| </html> +| </html> \ No newline at end of file diff --git a/validator/testdata/amp4ads_feature_tests/doctype.out.cpponly b/validator/testdata/amp4ads_feature_tests/doctype.out.cpponly index 28866c4f130e..fe873338466a 100644 --- a/validator/testdata/amp4ads_feature_tests/doctype.out.cpponly +++ b/validator/testdata/amp4ads_feature_tests/doctype.out.cpponly @@ -1,26 +1,11 @@ FAIL | <!-- -| Copyright 2019 The AMP HTML Authors. All Rights Reserved. -| -| Licensed under the Apache License, Version 2.0 (the "License"); -| you may not use this file except in compliance with the License. -| You may obtain a copy of the License at -| -| http://www.apache.org/licenses/LICENSE-2.0 -| -| Unless required by applicable law or agreed to in writing, software -| distributed under the License is distributed on an "AS-IS" BASIS, -| WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -| See the License for the specific language governing permissions and -| limitations under the license. -| --> -| <!-- | Test Description: | Only html attribute is allowed in <!doctype> declaration. | --> | <!doctype html data-foo id=doctype> >> ^~~~~~~~~ -amp4ads_feature_tests/doctype.html:20:10 Invalid or missing doctype declaration. Should be '!doctype html'. (see https://amp.dev/documentation/guides-and-tutorials/start/create/basic_markup/) +amp4ads_feature_tests/doctype.html:5:10 Invalid or missing doctype declaration. Should be '!doctype html'. (see https://amp.dev/documentation/guides-and-tutorials/start/create/basic_markup/) | <html ⚡4ads> | <head> | <meta charset="utf-8"> diff --git a/validator/testdata/amp4ads_feature_tests/extensions.html b/validator/testdata/amp4ads_feature_tests/extensions.html index c77ac1e38f9c..4d21ce034c7a 100644 --- a/validator/testdata/amp4ads_feature_tests/extensions.html +++ b/validator/testdata/amp4ads_feature_tests/extensions.html @@ -1,18 +1,3 @@ -<!-- - Copyright 2015 The AMP HTML Authors. All Rights Reserved. - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS-IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the license. ---> <!-- Test Description: This test illustrates which AMP extensions are allowed in A4A and which diff --git a/validator/testdata/amp4ads_feature_tests/extensions.out b/validator/testdata/amp4ads_feature_tests/extensions.out index f4bfb2772509..aba31f298f97 100644 --- a/validator/testdata/amp4ads_feature_tests/extensions.out +++ b/validator/testdata/amp4ads_feature_tests/extensions.out @@ -1,20 +1,5 @@ FAIL | <!-- -| Copyright 2015 The AMP HTML Authors. All Rights Reserved. -| -| Licensed under the Apache License, Version 2.0 (the "License"); -| you may not use this file except in compliance with the License. -| You may obtain a copy of the License at -| -| http://www.apache.org/licenses/LICENSE-2.0 -| -| Unless required by applicable law or agreed to in writing, software -| distributed under the License is distributed on an "AS-IS" BASIS, -| WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -| See the License for the specific language governing permissions and -| limitations under the license. -| --> -| <!-- | Test Description: | This test illustrates which AMP extensions are allowed in A4A and which | are not. It is likely that this test will not keep up with added extensions @@ -35,13 +20,13 @@ FAIL | <!-- So many AMP extensions! --> | <script async custom-element="amp-access" >> ^~~~~~~~~ -amp4ads_feature_tests/extensions.html:35:2 Custom JavaScript is not allowed. (see https://amp.dev/documentation/guides-and-tutorials/learn/validation-workflow/validation_errors/#custom-javascript-is-not-allowed) +amp4ads_feature_tests/extensions.html:20:2 Custom JavaScript is not allowed. (see https://amp.dev/documentation/guides-and-tutorials/learn/validation-workflow/validation_errors/#custom-javascript-is-not-allowed) | src="https://cdn.ampproject.org/v0/amp-access-0.1.js"></script> | <script async custom-element="amp-accordion" | src="https://cdn.ampproject.org/v0/amp-accordion-0.1.js"></script> | <script async custom-element="amp-ad" >> ^~~~~~~~~ -amp4ads_feature_tests/extensions.html:39:2 Custom JavaScript is not allowed. (see https://amp.dev/documentation/guides-and-tutorials/learn/validation-workflow/validation_errors/#custom-javascript-is-not-allowed) +amp4ads_feature_tests/extensions.html:24:2 Custom JavaScript is not allowed. (see https://amp.dev/documentation/guides-and-tutorials/learn/validation-workflow/validation_errors/#custom-javascript-is-not-allowed) | src="https://cdn.ampproject.org/v0/amp-ad-0.1.js"></script> | <script async custom-element="amp-analytics" | src="https://cdn.ampproject.org/v0/amp-analytics-0.1.js"></script> @@ -53,29 +38,29 @@ amp4ads_feature_tests/extensions.html:39:2 Custom JavaScript is not allowed. (se | src="https://cdn.ampproject.org/v0/amp-audio-0.1.js"></script> | <script async custom-element="amp-brid-player" >> ^~~~~~~~~ -amp4ads_feature_tests/extensions.html:49:2 Custom JavaScript is not allowed. (see https://amp.dev/documentation/guides-and-tutorials/learn/validation-workflow/validation_errors/#custom-javascript-is-not-allowed) +amp4ads_feature_tests/extensions.html:34:2 Custom JavaScript is not allowed. (see https://amp.dev/documentation/guides-and-tutorials/learn/validation-workflow/validation_errors/#custom-javascript-is-not-allowed) | src="https://cdn.ampproject.org/v0/amp-brid-player-0.1.js"></script> | <script async custom-element="amp-brightcove" >> ^~~~~~~~~ -amp4ads_feature_tests/extensions.html:51:2 Custom JavaScript is not allowed. (see https://amp.dev/documentation/guides-and-tutorials/learn/validation-workflow/validation_errors/#custom-javascript-is-not-allowed) +amp4ads_feature_tests/extensions.html:36:2 Custom JavaScript is not allowed. (see https://amp.dev/documentation/guides-and-tutorials/learn/validation-workflow/validation_errors/#custom-javascript-is-not-allowed) | src="https://cdn.ampproject.org/v0/amp-brightcove-0.1.js"></script> | <script async custom-element="amp-carousel" | src="https://cdn.ampproject.org/v0/amp-carousel-0.1.js"></script> | <script async custom-element="amp-dailymotion" >> ^~~~~~~~~ -amp4ads_feature_tests/extensions.html:55:2 Custom JavaScript is not allowed. (see https://amp.dev/documentation/guides-and-tutorials/learn/validation-workflow/validation_errors/#custom-javascript-is-not-allowed) +amp4ads_feature_tests/extensions.html:40:2 Custom JavaScript is not allowed. (see https://amp.dev/documentation/guides-and-tutorials/learn/validation-workflow/validation_errors/#custom-javascript-is-not-allowed) | src="https://cdn.ampproject.org/v0/amp-dailymotion-0.1.js"></script> | <script async custom-element="amp-dynamic-css-classes" >> ^~~~~~~~~ -amp4ads_feature_tests/extensions.html:57:2 Custom JavaScript is not allowed. (see https://amp.dev/documentation/guides-and-tutorials/learn/validation-workflow/validation_errors/#custom-javascript-is-not-allowed) +amp4ads_feature_tests/extensions.html:42:2 Custom JavaScript is not allowed. (see https://amp.dev/documentation/guides-and-tutorials/learn/validation-workflow/validation_errors/#custom-javascript-is-not-allowed) | src="https://cdn.ampproject.org/v0/amp-dynamic-css-classes-0.1.js"></script> | <script async custom-element="amp-experiment" >> ^~~~~~~~~ -amp4ads_feature_tests/extensions.html:59:2 Custom JavaScript is not allowed. (see https://amp.dev/documentation/guides-and-tutorials/learn/validation-workflow/validation_errors/#custom-javascript-is-not-allowed) +amp4ads_feature_tests/extensions.html:44:2 Custom JavaScript is not allowed. (see https://amp.dev/documentation/guides-and-tutorials/learn/validation-workflow/validation_errors/#custom-javascript-is-not-allowed) | src="https://cdn.ampproject.org/v0/amp-experiment-0.1.js"></script> | <script async custom-element="amp-facebook" >> ^~~~~~~~~ -amp4ads_feature_tests/extensions.html:61:2 Custom JavaScript is not allowed. (see https://amp.dev/documentation/guides-and-tutorials/learn/validation-workflow/validation_errors/#custom-javascript-is-not-allowed) +amp4ads_feature_tests/extensions.html:46:2 Custom JavaScript is not allowed. (see https://amp.dev/documentation/guides-and-tutorials/learn/validation-workflow/validation_errors/#custom-javascript-is-not-allowed) | src="https://cdn.ampproject.org/v0/amp-facebook-0.1.js"></script> | <script async custom-element="amp-fit-text" | src="https://cdn.ampproject.org/v0/amp-fit-text-0.1.js"></script> @@ -85,97 +70,97 @@ amp4ads_feature_tests/extensions.html:61:2 Custom JavaScript is not allowed. (se | src="https://cdn.ampproject.org/v0/amp-form-0.1.js"></script> | <script async custom-element="amp-fx-flying-carpet" >> ^~~~~~~~~ -amp4ads_feature_tests/extensions.html:69:2 Custom JavaScript is not allowed. (see https://amp.dev/documentation/guides-and-tutorials/learn/validation-workflow/validation_errors/#custom-javascript-is-not-allowed) +amp4ads_feature_tests/extensions.html:54:2 Custom JavaScript is not allowed. (see https://amp.dev/documentation/guides-and-tutorials/learn/validation-workflow/validation_errors/#custom-javascript-is-not-allowed) | src="https://cdn.ampproject.org/v0/amp-fx-flying-carpet-0.1.js"></script> | <script async custom-element="amp-iframe" >> ^~~~~~~~~ -amp4ads_feature_tests/extensions.html:71:2 Custom JavaScript is not allowed. (see https://amp.dev/documentation/guides-and-tutorials/learn/validation-workflow/validation_errors/#custom-javascript-is-not-allowed) +amp4ads_feature_tests/extensions.html:56:2 Custom JavaScript is not allowed. (see https://amp.dev/documentation/guides-and-tutorials/learn/validation-workflow/validation_errors/#custom-javascript-is-not-allowed) | src="https://cdn.ampproject.org/v0/amp-iframe-0.1.js"></script> | <script async custom-element="amp-image-lightbox" >> ^~~~~~~~~ -amp4ads_feature_tests/extensions.html:73:2 Custom JavaScript is not allowed. (see https://amp.dev/documentation/guides-and-tutorials/learn/validation-workflow/validation_errors/#custom-javascript-is-not-allowed) +amp4ads_feature_tests/extensions.html:58:2 Custom JavaScript is not allowed. (see https://amp.dev/documentation/guides-and-tutorials/learn/validation-workflow/validation_errors/#custom-javascript-is-not-allowed) | src="https://cdn.ampproject.org/v0/amp-image-lightbox-0.1.js"></script> | <script async custom-element="amp-instagram" >> ^~~~~~~~~ -amp4ads_feature_tests/extensions.html:75:2 Custom JavaScript is not allowed. (see https://amp.dev/documentation/guides-and-tutorials/learn/validation-workflow/validation_errors/#custom-javascript-is-not-allowed) +amp4ads_feature_tests/extensions.html:60:2 Custom JavaScript is not allowed. (see https://amp.dev/documentation/guides-and-tutorials/learn/validation-workflow/validation_errors/#custom-javascript-is-not-allowed) | src="https://cdn.ampproject.org/v0/amp-instagram-0.1.js"></script> | <script async custom-element="amp-install-serviceworker" >> ^~~~~~~~~ -amp4ads_feature_tests/extensions.html:77:2 Custom JavaScript is not allowed. (see https://amp.dev/documentation/guides-and-tutorials/learn/validation-workflow/validation_errors/#custom-javascript-is-not-allowed) +amp4ads_feature_tests/extensions.html:62:2 Custom JavaScript is not allowed. (see https://amp.dev/documentation/guides-and-tutorials/learn/validation-workflow/validation_errors/#custom-javascript-is-not-allowed) | src="https://cdn.ampproject.org/v0/amp-install-serviceworker-0.1.js"></script> | <script async custom-element="amp-jwplayer" >> ^~~~~~~~~ -amp4ads_feature_tests/extensions.html:79:2 Custom JavaScript is not allowed. (see https://amp.dev/documentation/guides-and-tutorials/learn/validation-workflow/validation_errors/#custom-javascript-is-not-allowed) +amp4ads_feature_tests/extensions.html:64:2 Custom JavaScript is not allowed. (see https://amp.dev/documentation/guides-and-tutorials/learn/validation-workflow/validation_errors/#custom-javascript-is-not-allowed) | src="https://cdn.ampproject.org/v0/amp-jwplayer-0.1.js"></script> | <script async custom-element="amp-kaltura-player" >> ^~~~~~~~~ -amp4ads_feature_tests/extensions.html:81:2 Custom JavaScript is not allowed. (see https://amp.dev/documentation/guides-and-tutorials/learn/validation-workflow/validation_errors/#custom-javascript-is-not-allowed) +amp4ads_feature_tests/extensions.html:66:2 Custom JavaScript is not allowed. (see https://amp.dev/documentation/guides-and-tutorials/learn/validation-workflow/validation_errors/#custom-javascript-is-not-allowed) | src="https://cdn.ampproject.org/v0/amp-kaltura-player-0.1.js"></script> | <script async custom-element="amp-lightbox" | src="https://cdn.ampproject.org/v0/amp-lightbox-0.1.js"></script> | <script async custom-element="amp-list" >> ^~~~~~~~~ -amp4ads_feature_tests/extensions.html:85:2 Custom JavaScript is not allowed. (see https://amp.dev/documentation/guides-and-tutorials/learn/validation-workflow/validation_errors/#custom-javascript-is-not-allowed) +amp4ads_feature_tests/extensions.html:70:2 Custom JavaScript is not allowed. (see https://amp.dev/documentation/guides-and-tutorials/learn/validation-workflow/validation_errors/#custom-javascript-is-not-allowed) | src="https://cdn.ampproject.org/v0/amp-list-0.1.js"></script> | <script async custom-element="amp-live-list" >> ^~~~~~~~~ -amp4ads_feature_tests/extensions.html:87:2 Custom JavaScript is not allowed. (see https://amp.dev/documentation/guides-and-tutorials/learn/validation-workflow/validation_errors/#custom-javascript-is-not-allowed) +amp4ads_feature_tests/extensions.html:72:2 Custom JavaScript is not allowed. (see https://amp.dev/documentation/guides-and-tutorials/learn/validation-workflow/validation_errors/#custom-javascript-is-not-allowed) | src="https://cdn.ampproject.org/v0/amp-live-list-0.1.js"></script> | <script async custom-element="amp-megaphone" >> ^~~~~~~~~ -amp4ads_feature_tests/extensions.html:89:2 Custom JavaScript is not allowed. (see https://amp.dev/documentation/guides-and-tutorials/learn/validation-workflow/validation_errors/#custom-javascript-is-not-allowed) +amp4ads_feature_tests/extensions.html:74:2 Custom JavaScript is not allowed. (see https://amp.dev/documentation/guides-and-tutorials/learn/validation-workflow/validation_errors/#custom-javascript-is-not-allowed) | src="https://cdn.ampproject.org/v0/amp-megaphone-0.1.js"></script> | <script async custom-element="amp-o2-player" >> ^~~~~~~~~ -amp4ads_feature_tests/extensions.html:91:2 Custom JavaScript is not allowed. (see https://amp.dev/documentation/guides-and-tutorials/learn/validation-workflow/validation_errors/#custom-javascript-is-not-allowed) +amp4ads_feature_tests/extensions.html:76:2 Custom JavaScript is not allowed. (see https://amp.dev/documentation/guides-and-tutorials/learn/validation-workflow/validation_errors/#custom-javascript-is-not-allowed) | src="https://cdn.ampproject.org/v0/amp-o2-player-0.1.js"></script> | <script async custom-element="amp-pinterest" >> ^~~~~~~~~ -amp4ads_feature_tests/extensions.html:93:2 Custom JavaScript is not allowed. (see https://amp.dev/documentation/guides-and-tutorials/learn/validation-workflow/validation_errors/#custom-javascript-is-not-allowed) +amp4ads_feature_tests/extensions.html:78:2 Custom JavaScript is not allowed. (see https://amp.dev/documentation/guides-and-tutorials/learn/validation-workflow/validation_errors/#custom-javascript-is-not-allowed) | src="https://cdn.ampproject.org/v0/amp-pinterest-0.1.js"></script> | <script async custom-element="amp-reach-player" >> ^~~~~~~~~ -amp4ads_feature_tests/extensions.html:95:2 Custom JavaScript is not allowed. (see https://amp.dev/documentation/guides-and-tutorials/learn/validation-workflow/validation_errors/#custom-javascript-is-not-allowed) +amp4ads_feature_tests/extensions.html:80:2 Custom JavaScript is not allowed. (see https://amp.dev/documentation/guides-and-tutorials/learn/validation-workflow/validation_errors/#custom-javascript-is-not-allowed) | src="https://cdn.ampproject.org/v0/amp-reach-player-0.1.js"></script> | <script async custom-element="amp-selector" | src="https://cdn.ampproject.org/v0/amp-selector-0.1.js"></script> | <script async custom-element="amp-sidebar" >> ^~~~~~~~~ -amp4ads_feature_tests/extensions.html:99:2 Custom JavaScript is not allowed. (see https://amp.dev/documentation/guides-and-tutorials/learn/validation-workflow/validation_errors/#custom-javascript-is-not-allowed) +amp4ads_feature_tests/extensions.html:84:2 Custom JavaScript is not allowed. (see https://amp.dev/documentation/guides-and-tutorials/learn/validation-workflow/validation_errors/#custom-javascript-is-not-allowed) | src="https://cdn.ampproject.org/v0/amp-sidebar-0.1.js"></script> | <script async custom-element="amp-slides" >> ^~~~~~~~~ -amp4ads_feature_tests/extensions.html:101:2 Custom JavaScript is not allowed. (see https://amp.dev/documentation/guides-and-tutorials/learn/validation-workflow/validation_errors/#custom-javascript-is-not-allowed) +amp4ads_feature_tests/extensions.html:86:2 Custom JavaScript is not allowed. (see https://amp.dev/documentation/guides-and-tutorials/learn/validation-workflow/validation_errors/#custom-javascript-is-not-allowed) | src="https://cdn.ampproject.org/v0/amp-slides-0.1.js"></script> | <script async custom-element="amp-social-share" | src="https://cdn.ampproject.org/v0/amp-social-share-0.1.js"></script> | <script async custom-element="amp-soundcloud" >> ^~~~~~~~~ -amp4ads_feature_tests/extensions.html:105:2 Custom JavaScript is not allowed. (see https://amp.dev/documentation/guides-and-tutorials/learn/validation-workflow/validation_errors/#custom-javascript-is-not-allowed) +amp4ads_feature_tests/extensions.html:90:2 Custom JavaScript is not allowed. (see https://amp.dev/documentation/guides-and-tutorials/learn/validation-workflow/validation_errors/#custom-javascript-is-not-allowed) | src="https://cdn.ampproject.org/v0/amp-soundcloud-0.1.js"></script> | <script async custom-element="amp-springboard-player" >> ^~~~~~~~~ -amp4ads_feature_tests/extensions.html:107:2 Custom JavaScript is not allowed. (see https://amp.dev/documentation/guides-and-tutorials/learn/validation-workflow/validation_errors/#custom-javascript-is-not-allowed) +amp4ads_feature_tests/extensions.html:92:2 Custom JavaScript is not allowed. (see https://amp.dev/documentation/guides-and-tutorials/learn/validation-workflow/validation_errors/#custom-javascript-is-not-allowed) | src="https://cdn.ampproject.org/v0/amp-springboard-player-0.1.js"></script> | <script async custom-element="amp-sticky-ad" >> ^~~~~~~~~ -amp4ads_feature_tests/extensions.html:109:2 Custom JavaScript is not allowed. (see https://amp.dev/documentation/guides-and-tutorials/learn/validation-workflow/validation_errors/#custom-javascript-is-not-allowed) +amp4ads_feature_tests/extensions.html:94:2 Custom JavaScript is not allowed. (see https://amp.dev/documentation/guides-and-tutorials/learn/validation-workflow/validation_errors/#custom-javascript-is-not-allowed) | src="https://cdn.ampproject.org/v0/amp-sticky-ad-0.1.js"></script> | <script async custom-element="amp-twitter" >> ^~~~~~~~~ -amp4ads_feature_tests/extensions.html:111:2 Custom JavaScript is not allowed. (see https://amp.dev/documentation/guides-and-tutorials/learn/validation-workflow/validation_errors/#custom-javascript-is-not-allowed) +amp4ads_feature_tests/extensions.html:96:2 Custom JavaScript is not allowed. (see https://amp.dev/documentation/guides-and-tutorials/learn/validation-workflow/validation_errors/#custom-javascript-is-not-allowed) | src="https://cdn.ampproject.org/v0/amp-twitter-0.1.js"></script> | <script async custom-element="amp-user-notification" >> ^~~~~~~~~ -amp4ads_feature_tests/extensions.html:113:2 Custom JavaScript is not allowed. (see https://amp.dev/documentation/guides-and-tutorials/learn/validation-workflow/validation_errors/#custom-javascript-is-not-allowed) +amp4ads_feature_tests/extensions.html:98:2 Custom JavaScript is not allowed. (see https://amp.dev/documentation/guides-and-tutorials/learn/validation-workflow/validation_errors/#custom-javascript-is-not-allowed) | src="https://cdn.ampproject.org/v0/amp-user-notification-0.1.js"></script> | <script async custom-element="amp-vimeo" >> ^~~~~~~~~ -amp4ads_feature_tests/extensions.html:115:2 Custom JavaScript is not allowed. (see https://amp.dev/documentation/guides-and-tutorials/learn/validation-workflow/validation_errors/#custom-javascript-is-not-allowed) +amp4ads_feature_tests/extensions.html:100:2 Custom JavaScript is not allowed. (see https://amp.dev/documentation/guides-and-tutorials/learn/validation-workflow/validation_errors/#custom-javascript-is-not-allowed) | src="https://cdn.ampproject.org/v0/amp-vimeo-0.1.js"></script> | <script async custom-element="amp-vine" >> ^~~~~~~~~ -amp4ads_feature_tests/extensions.html:117:2 Custom JavaScript is not allowed. (see https://amp.dev/documentation/guides-and-tutorials/learn/validation-workflow/validation_errors/#custom-javascript-is-not-allowed) +amp4ads_feature_tests/extensions.html:102:2 Custom JavaScript is not allowed. (see https://amp.dev/documentation/guides-and-tutorials/learn/validation-workflow/validation_errors/#custom-javascript-is-not-allowed) | src="https://cdn.ampproject.org/v0/amp-vine-0.1.js"></script> | | <script async custom-template="amp-mustache" @@ -183,8 +168,8 @@ amp4ads_feature_tests/extensions.html:117:2 Custom JavaScript is not allowed. (s | </head> | <body></body></html> >> ^~~~~~~~~ -amp4ads_feature_tests/extensions.html:123:19 The extension 'amp-animation' was found on this page, but is unused. Please remove this extension. +amp4ads_feature_tests/extensions.html:108:19 The extension 'amp-animation' was found on this page, but is unused. Please remove this extension. >> ^~~~~~~~~ -amp4ads_feature_tests/extensions.html:123:19 The extension 'amp-lightbox' was found on this page, but is unused. Please remove this extension. +amp4ads_feature_tests/extensions.html:108:19 The extension 'amp-lightbox' was found on this page, but is unused. Please remove this extension. >> ^~~~~~~~~ -amp4ads_feature_tests/extensions.html:123:19 The extension 'amp-mustache' was found on this page, but is unused. Please remove this extension. +amp4ads_feature_tests/extensions.html:108:19 The extension 'amp-mustache' was found on this page, but is unused. Please remove this extension. diff --git a/validator/testdata/amp4ads_feature_tests/min_valid_amp4ads.html b/validator/testdata/amp4ads_feature_tests/min_valid_amp4ads.html index 20c5de026660..4414291a37d5 100644 --- a/validator/testdata/amp4ads_feature_tests/min_valid_amp4ads.html +++ b/validator/testdata/amp4ads_feature_tests/min_valid_amp4ads.html @@ -1,18 +1,3 @@ -<!-- - Copyright 2015 The AMP HTML Authors. All Rights Reserved. - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS-IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the license. ---> <!-- Test Description: This is the minimum valid A4A document; it includes all of the required diff --git a/validator/testdata/amp4ads_feature_tests/min_valid_amp4ads.out b/validator/testdata/amp4ads_feature_tests/min_valid_amp4ads.out index ed8a6b54a971..97abac7366b2 100644 --- a/validator/testdata/amp4ads_feature_tests/min_valid_amp4ads.out +++ b/validator/testdata/amp4ads_feature_tests/min_valid_amp4ads.out @@ -1,20 +1,5 @@ PASS | <!-- -| Copyright 2015 The AMP HTML Authors. All Rights Reserved. -| -| Licensed under the Apache License, Version 2.0 (the "License"); -| you may not use this file except in compliance with the License. -| You may obtain a copy of the License at -| -| http://www.apache.org/licenses/LICENSE-2.0 -| -| Unless required by applicable law or agreed to in writing, software -| distributed under the License is distributed on an "AS-IS" BASIS, -| WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -| See the License for the specific language governing permissions and -| limitations under the license. -| --> -| <!-- | Test Description: | This is the minimum valid A4A document; it includes all of the required | fields from the spec, but nothing else. diff --git a/validator/testdata/amp4ads_feature_tests/min_valid_multiline_amp4ads.html b/validator/testdata/amp4ads_feature_tests/min_valid_multiline_amp4ads.html index f93a845282f1..9a5b2a95e37b 100644 --- a/validator/testdata/amp4ads_feature_tests/min_valid_multiline_amp4ads.html +++ b/validator/testdata/amp4ads_feature_tests/min_valid_multiline_amp4ads.html @@ -1,18 +1,3 @@ -<!-- - Copyright 2015 The AMP HTML Authors. All Rights Reserved. - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS-IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the license. ---> <!-- Test Description: This is the minimum valid A4A document; it includes all of the required diff --git a/validator/testdata/amp4ads_feature_tests/min_valid_multiline_amp4ads.out b/validator/testdata/amp4ads_feature_tests/min_valid_multiline_amp4ads.out index 21bb85e8abed..ae73b455fb71 100644 --- a/validator/testdata/amp4ads_feature_tests/min_valid_multiline_amp4ads.out +++ b/validator/testdata/amp4ads_feature_tests/min_valid_multiline_amp4ads.out @@ -1,20 +1,5 @@ PASS | <!-- -| Copyright 2015 The AMP HTML Authors. All Rights Reserved. -| -| Licensed under the Apache License, Version 2.0 (the "License"); -| you may not use this file except in compliance with the License. -| You may obtain a copy of the License at -| -| http://www.apache.org/licenses/LICENSE-2.0 -| -| Unless required by applicable law or agreed to in writing, software -| distributed under the License is distributed on an "AS-IS" BASIS, -| WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -| See the License for the specific language governing permissions and -| limitations under the license. -| --> -| <!-- | Test Description: | This is the minimum valid A4A document; it includes all of the required | fields from the spec, but nothing else. diff --git a/validator/testdata/amp4ads_feature_tests/noscript.html b/validator/testdata/amp4ads_feature_tests/noscript.html index 7ea7695563c3..506f796893ab 100644 --- a/validator/testdata/amp4ads_feature_tests/noscript.html +++ b/validator/testdata/amp4ads_feature_tests/noscript.html @@ -1,18 +1,3 @@ -<!-- - Copyright 2015 The AMP HTML Authors. All Rights Reserved. - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS-IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the license. ---> <!-- Test Description: This tests that <noscript> tags are disallowed in A4A, which differs from AMP. diff --git a/validator/testdata/amp4ads_feature_tests/noscript.out b/validator/testdata/amp4ads_feature_tests/noscript.out index b81043e9eef2..775a59504722 100644 --- a/validator/testdata/amp4ads_feature_tests/noscript.out +++ b/validator/testdata/amp4ads_feature_tests/noscript.out @@ -1,20 +1,5 @@ FAIL | <!-- -| Copyright 2015 The AMP HTML Authors. All Rights Reserved. -| -| Licensed under the Apache License, Version 2.0 (the "License"); -| you may not use this file except in compliance with the License. -| You may obtain a copy of the License at -| -| http://www.apache.org/licenses/LICENSE-2.0 -| -| Unless required by applicable law or agreed to in writing, software -| distributed under the License is distributed on an "AS-IS" BASIS, -| WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -| See the License for the specific language governing permissions and -| limitations under the license. -| --> -| <!-- | Test Description: | This tests that <noscript> tags are disallowed in A4A, which differs from AMP. | --> @@ -30,28 +15,28 @@ FAIL | <!-- Invalid --> | <noscript></noscript> >> ^~~~~~~~~ -amp4ads_feature_tests/noscript.html:30:2 The tag 'noscript' is disallowed. +amp4ads_feature_tests/noscript.html:15:2 The tag 'noscript' is disallowed. | <!-- Invalid --> | <img src="https://example.com/"> >> ^~~~~~~~~ -amp4ads_feature_tests/noscript.html:32:2 The tag 'img' is disallowed. +amp4ads_feature_tests/noscript.html:17:2 The tag 'img' is disallowed. | <!-- Invalid --> | <noscript> >> ^~~~~~~~~ -amp4ads_feature_tests/noscript.html:34:2 The tag 'noscript' is disallowed. +amp4ads_feature_tests/noscript.html:19:2 The tag 'noscript' is disallowed. | <img src="https://example.com/"> >> ^~~~~~~~~ -amp4ads_feature_tests/noscript.html:35:4 The tag 'img' is disallowed. +amp4ads_feature_tests/noscript.html:20:4 The tag 'img' is disallowed. | </noscript> | <noscript> >> ^~~~~~~~~ -amp4ads_feature_tests/noscript.html:37:2 The tag 'noscript' is disallowed. +amp4ads_feature_tests/noscript.html:22:2 The tag 'noscript' is disallowed. | <video></video> >> ^~~~~~~~~ -amp4ads_feature_tests/noscript.html:38:4 The tag 'video' is disallowed. +amp4ads_feature_tests/noscript.html:23:4 The tag 'video' is disallowed. | <audio></audio> >> ^~~~~~~~~ -amp4ads_feature_tests/noscript.html:39:4 The tag 'audio' is disallowed. +amp4ads_feature_tests/noscript.html:24:4 The tag 'audio' is disallowed. | </noscript> | </body> | </html> diff --git a/validator/testdata/amp4ads_feature_tests/obsolete_tags.html b/validator/testdata/amp4ads_feature_tests/obsolete_tags.html index fe390095d51c..109851073e0a 100644 --- a/validator/testdata/amp4ads_feature_tests/obsolete_tags.html +++ b/validator/testdata/amp4ads_feature_tests/obsolete_tags.html @@ -1,18 +1,3 @@ -<!-- - Copyright 2015 The AMP HTML Authors. All Rights Reserved. - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS-IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the license. ---> <!-- Test Description: This tests that A4A does not allow obsolete non-conforming tags, which AMP diff --git a/validator/testdata/amp4ads_feature_tests/obsolete_tags.out b/validator/testdata/amp4ads_feature_tests/obsolete_tags.out index c226145c554d..906cf693e542 100644 --- a/validator/testdata/amp4ads_feature_tests/obsolete_tags.out +++ b/validator/testdata/amp4ads_feature_tests/obsolete_tags.out @@ -1,20 +1,5 @@ FAIL | <!-- -| Copyright 2015 The AMP HTML Authors. All Rights Reserved. -| -| Licensed under the Apache License, Version 2.0 (the "License"); -| you may not use this file except in compliance with the License. -| You may obtain a copy of the License at -| -| http://www.apache.org/licenses/LICENSE-2.0 -| -| Unless required by applicable law or agreed to in writing, software -| distributed under the License is distributed on an "AS-IS" BASIS, -| WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -| See the License for the specific language governing permissions and -| limitations under the license. -| --> -| <!-- | Test Description: | This tests that A4A does not allow obsolete non-conforming tags, which AMP | does. @@ -31,46 +16,46 @@ FAIL | These tags are not allowed: | <ACRONYM></ACRONYM> >> ^~~~~~~~~ -amp4ads_feature_tests/obsolete_tags.html:31:0 The tag 'acronym' is disallowed. +amp4ads_feature_tests/obsolete_tags.html:16:0 The tag 'acronym' is disallowed. | <BIG></BIG> >> ^~~~~~~~~ -amp4ads_feature_tests/obsolete_tags.html:32:0 The tag 'big' is disallowed. +amp4ads_feature_tests/obsolete_tags.html:17:0 The tag 'big' is disallowed. | <CENTER></CENTER> >> ^~~~~~~~~ -amp4ads_feature_tests/obsolete_tags.html:33:0 The tag 'center' is disallowed. +amp4ads_feature_tests/obsolete_tags.html:18:0 The tag 'center' is disallowed. | <DIR></DIR> >> ^~~~~~~~~ -amp4ads_feature_tests/obsolete_tags.html:34:0 The tag 'dir' is disallowed. +amp4ads_feature_tests/obsolete_tags.html:19:0 The tag 'dir' is disallowed. | <HGROUP></HGROUP> >> ^~~~~~~~~ -amp4ads_feature_tests/obsolete_tags.html:35:0 The tag 'hgroup' is disallowed. +amp4ads_feature_tests/obsolete_tags.html:20:0 The tag 'hgroup' is disallowed. | <LISTING></LISTING> >> ^~~~~~~~~ -amp4ads_feature_tests/obsolete_tags.html:36:0 The tag 'listing' is disallowed. +amp4ads_feature_tests/obsolete_tags.html:21:0 The tag 'listing' is disallowed. | <MULTICOL></MULTICOL> >> ^~~~~~~~~ -amp4ads_feature_tests/obsolete_tags.html:37:0 The tag 'multicol' is disallowed. +amp4ads_feature_tests/obsolete_tags.html:22:0 The tag 'multicol' is disallowed. | <NEXTID></NEXTID> >> ^~~~~~~~~ -amp4ads_feature_tests/obsolete_tags.html:38:0 The tag 'nextid' is disallowed. +amp4ads_feature_tests/obsolete_tags.html:23:0 The tag 'nextid' is disallowed. | <NOBR></NOBR> >> ^~~~~~~~~ -amp4ads_feature_tests/obsolete_tags.html:39:0 The tag 'nobr' is disallowed. +amp4ads_feature_tests/obsolete_tags.html:24:0 The tag 'nobr' is disallowed. | <SPACER></SPACER> >> ^~~~~~~~~ -amp4ads_feature_tests/obsolete_tags.html:40:0 The tag 'spacer' is disallowed. +amp4ads_feature_tests/obsolete_tags.html:25:0 The tag 'spacer' is disallowed. | <STRIKE></STRIKE> >> ^~~~~~~~~ -amp4ads_feature_tests/obsolete_tags.html:41:0 The tag 'strike' is disallowed. +amp4ads_feature_tests/obsolete_tags.html:26:0 The tag 'strike' is disallowed. | <TT></TT> >> ^~~~~~~~~ -amp4ads_feature_tests/obsolete_tags.html:42:0 The tag 'tt' is disallowed. +amp4ads_feature_tests/obsolete_tags.html:27:0 The tag 'tt' is disallowed. | <XMP></XMP> >> ^~~~~~~~~ -amp4ads_feature_tests/obsolete_tags.html:43:0 The tag 'xmp' is disallowed. +amp4ads_feature_tests/obsolete_tags.html:28:0 The tag 'xmp' is disallowed. | <o:p></o:p> >> ^~~~~~~~~ -amp4ads_feature_tests/obsolete_tags.html:44:0 The tag 'o:p' is disallowed. +amp4ads_feature_tests/obsolete_tags.html:29:0 The tag 'o:p' is disallowed. | | | </body> diff --git a/validator/testdata/amp4ads_feature_tests/script_release_versions.html b/validator/testdata/amp4ads_feature_tests/script_release_versions.html index 200deeedb231..a06517f7673d 100644 --- a/validator/testdata/amp4ads_feature_tests/script_release_versions.html +++ b/validator/testdata/amp4ads_feature_tests/script_release_versions.html @@ -1,18 +1,3 @@ -<!-- - Copyright 2020 The AMP HTML Authors. All Rights Reserved. - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS-IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the license. ---> <!-- Test Description: This test demonstrates that module/nomodule, modolue/nomodule LTS, and module diff --git a/validator/testdata/amp4ads_feature_tests/script_release_versions.out b/validator/testdata/amp4ads_feature_tests/script_release_versions.out index 6f4f64434ad2..f2d3be86ef2f 100644 --- a/validator/testdata/amp4ads_feature_tests/script_release_versions.out +++ b/validator/testdata/amp4ads_feature_tests/script_release_versions.out @@ -1,20 +1,5 @@ FAIL | <!-- -| Copyright 2020 The AMP HTML Authors. All Rights Reserved. -| -| Licensed under the Apache License, Version 2.0 (the "License"); -| you may not use this file except in compliance with the License. -| You may obtain a copy of the License at -| -| http://www.apache.org/licenses/LICENSE-2.0 -| -| Unless required by applicable law or agreed to in writing, software -| distributed under the License is distributed on an "AS-IS" BASIS, -| WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -| See the License for the specific language governing permissions and -| limitations under the license. -| --> -| <!-- | Test Description: | This test demonstrates that module/nomodule, modolue/nomodule LTS, and module | SXG script tags are not valid for AMP4ADS. @@ -22,7 +7,7 @@ FAIL | <!doctype html> | <html ⚡4ads transformed="google;v=1"> >> ^~~~~~~~~ -amp4ads_feature_tests/script_release_versions.html:22:0 The attribute 'transformed' may not appear in tag 'html'. (see https://amp.dev/documentation/guides-and-tutorials/learn/spec/amphtml#required-markup) +amp4ads_feature_tests/script_release_versions.html:7:0 The attribute 'transformed' may not appear in tag 'html'. (see https://amp.dev/documentation/guides-and-tutorials/learn/spec/amphtml#required-markup) | <head> | <meta charset=utf-8> | <meta name="viewport" content="width=device-width,minimum-scale=1"> @@ -31,38 +16,38 @@ amp4ads_feature_tests/script_release_versions.html:22:0 The attribute 'transform | <!-- Invalid: AMP4ADS module-nomodule pair for AMP runtime script --> | <script async crossorigin=anonymous src=https://cdn.ampproject.org/v0.mjs type=module></script> >> ^~~~~~~~~ -amp4ads_feature_tests/script_release_versions.html:29:2 Custom JavaScript is not allowed. (see https://amp.dev/documentation/guides-and-tutorials/learn/validation-workflow/validation_errors/#custom-javascript-is-not-allowed) +amp4ads_feature_tests/script_release_versions.html:14:2 Custom JavaScript is not allowed. (see https://amp.dev/documentation/guides-and-tutorials/learn/validation-workflow/validation_errors/#custom-javascript-is-not-allowed) | <script async nomodule src=https://cdn.ampproject.org/v0.js></script> >> ^~~~~~~~~ -amp4ads_feature_tests/script_release_versions.html:30:2 Custom JavaScript is not allowed. (see https://amp.dev/documentation/guides-and-tutorials/learn/validation-workflow/validation_errors/#custom-javascript-is-not-allowed) +amp4ads_feature_tests/script_release_versions.html:15:2 Custom JavaScript is not allowed. (see https://amp.dev/documentation/guides-and-tutorials/learn/validation-workflow/validation_errors/#custom-javascript-is-not-allowed) | | <!-- Invalid: AMP4ADS module/nomodule pair for AMP4ADS runtime script --> | <script async crossorigin=anonymous src=https://cdn.ampproject.org/amp4ads-v0.mjs type=module></script> >> ^~~~~~~~~ -amp4ads_feature_tests/script_release_versions.html:33:2 Custom JavaScript is not allowed. (see https://amp.dev/documentation/guides-and-tutorials/learn/validation-workflow/validation_errors/#custom-javascript-is-not-allowed) +amp4ads_feature_tests/script_release_versions.html:18:2 Custom JavaScript is not allowed. (see https://amp.dev/documentation/guides-and-tutorials/learn/validation-workflow/validation_errors/#custom-javascript-is-not-allowed) | <script async nomodule src=https://cdn.ampproject.org/amp4ads-v0.js></script> >> ^~~~~~~~~ -amp4ads_feature_tests/script_release_versions.html:34:2 The attribute 'nomodule' may not appear in tag 'amphtml engine script'. (see https://amp.dev/documentation/guides-and-tutorials/learn/spec/amphtml/#required-markup) +amp4ads_feature_tests/script_release_versions.html:19:2 The attribute 'nomodule' may not appear in tag 'amphtml engine script'. (see https://amp.dev/documentation/guides-and-tutorials/learn/spec/amphtml/#required-markup) | | <!-- Invalid: AMP4ADS module/nomodule pair for AMP extension script --> | <script async crossorigin=anonymous custom-element=amp-analytics src=https://cdn.ampproject.org/v0/amp-analytics-0.1.mjs type=module></script> >> ^~~~~~~~~ -amp4ads_feature_tests/script_release_versions.html:37:2 The attribute 'type' in tag 'amp-analytics extension script' is set to the invalid value 'module'. (see https://amp.dev/documentation/components/amp-analytics) +amp4ads_feature_tests/script_release_versions.html:22:2 The attribute 'type' in tag 'amp-analytics extension script' is set to the invalid value 'module'. (see https://amp.dev/documentation/components/amp-analytics) | <script async custom-element=amp-analytics nomodule src=https://cdn.ampproject.org/v0/amp-analytics-0.1.js></script> >> ^~~~~~~~~ -amp4ads_feature_tests/script_release_versions.html:38:2 The attribute 'nomodule' may not appear in tag 'amp-analytics extension script'. (see https://amp.dev/documentation/components/amp-analytics) +amp4ads_feature_tests/script_release_versions.html:23:2 The attribute 'nomodule' may not appear in tag 'amp-analytics extension script'. (see https://amp.dev/documentation/components/amp-analytics) | | <!-- Invalid: AMP4ADS module/nomodule LTS pair for AMP extension script --> | <script async crossorigin=anonymous custom-element=amp-audio src=https://cdn.ampproject.org/lts/v0/amp-audio-0.1.mjs type=module></script> >> ^~~~~~~~~ -amp4ads_feature_tests/script_release_versions.html:41:2 The script version for 'amp-audio' is a module/nomodule LTS version which mismatches with the first script on the page using the module/nomodule version. (see https://amp.dev/documentation/guides-and-tutorials/learn/spec/amphtml#required-markup) +amp4ads_feature_tests/script_release_versions.html:26:2 The script version for 'amp-audio' is a module/nomodule LTS version which mismatches with the first script on the page using the module/nomodule version. (see https://amp.dev/documentation/guides-and-tutorials/learn/spec/amphtml#required-markup) >> ^~~~~~~~~ -amp4ads_feature_tests/script_release_versions.html:41:2 The attribute 'type' in tag 'amp-audio extension script' is set to the invalid value 'module'. (see https://amp.dev/documentation/components/amp-audio) +amp4ads_feature_tests/script_release_versions.html:26:2 The attribute 'type' in tag 'amp-audio extension script' is set to the invalid value 'module'. (see https://amp.dev/documentation/components/amp-audio) | <script async custom-element=amp-audio nomodule src=https://cdn.ampproject.org/lts/v0/amp-audio-0.1.js></script> >> ^~~~~~~~~ -amp4ads_feature_tests/script_release_versions.html:42:2 The attribute 'nomodule' may not appear in tag 'amp-audio extension script'. (see https://amp.dev/documentation/components/amp-audio) +amp4ads_feature_tests/script_release_versions.html:27:2 The attribute 'nomodule' may not appear in tag 'amp-audio extension script'. (see https://amp.dev/documentation/components/amp-audio) >> ^~~~~~~~~ -amp4ads_feature_tests/script_release_versions.html:42:2 The script version for 'amp-audio' is a module/nomodule LTS version which mismatches with the first script on the page using the module/nomodule version. (see https://amp.dev/documentation/guides-and-tutorials/learn/spec/amphtml#required-markup) +amp4ads_feature_tests/script_release_versions.html:27:2 The script version for 'amp-audio' is a module/nomodule LTS version which mismatches with the first script on the page using the module/nomodule version. (see https://amp.dev/documentation/guides-and-tutorials/learn/spec/amphtml#required-markup) | </head> | <body> | Hello, world. diff --git a/validator/testdata/amp4email_feature_tests/amp-accordion.html b/validator/testdata/amp4email_feature_tests/amp-accordion.html index 7b308c418a7e..1323a7ddb6b9 100644 --- a/validator/testdata/amp4email_feature_tests/amp-accordion.html +++ b/validator/testdata/amp4email_feature_tests/amp-accordion.html @@ -1,18 +1,3 @@ -<!-- - Copyright 2020 The AMP HTML Authors. All Rights Reserved. - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS-IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the license. ---> <!-- Test Description: Tests the additional restrictions AMP4EMAIL sets on AMP-ACCORDION. diff --git a/validator/testdata/amp4email_feature_tests/amp-accordion.out b/validator/testdata/amp4email_feature_tests/amp-accordion.out index 22db26ef17af..da87ba026924 100644 --- a/validator/testdata/amp4email_feature_tests/amp-accordion.out +++ b/validator/testdata/amp4email_feature_tests/amp-accordion.out @@ -1,20 +1,5 @@ FAIL | <!-- -| Copyright 2020 The AMP HTML Authors. All Rights Reserved. -| -| Licensed under the Apache License, Version 2.0 (the "License"); -| you may not use this file except in compliance with the License. -| You may obtain a copy of the License at -| -| http://www.apache.org/licenses/LICENSE-2.0 -| -| Unless required by applicable law or agreed to in writing, software -| distributed under the License is distributed on an "AS-IS" BASIS, -| WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -| See the License for the specific language governing permissions and -| limitations under the license. -| --> -| <!-- | Test Description: | Tests the additional restrictions AMP4EMAIL sets on AMP-ACCORDION. | --> @@ -42,7 +27,7 @@ FAIL | <h2>Section 3</h2> | <amp-img src="/awesome.png" width="300" height="300"></amp-img> >> ^~~~~~~~~ -amp4email_feature_tests/amp-accordion.html:42:6 The relative URL '/awesome.png' for attribute 'src' in tag 'amp-img' is disallowed. (see https://amp.dev/documentation/components/amp-img/) +amp4email_feature_tests/amp-accordion.html:27:6 The relative URL '/awesome.png' for attribute 'src' in tag 'amp-img' is disallowed. (see https://amp.dev/documentation/components/amp-img/) | </section> | <section> | <h2>Properly nested amp-accordion</h2> @@ -61,7 +46,7 @@ amp4email_feature_tests/amp-accordion.html:42:6 The relative URL '/awesome.png' | <h2>Section with bound [data-expand] attribute</h2> | <amp-img src="/awesome.png" width="300" height="300"></amp-img> >> ^~~~~~~~~ -amp4email_feature_tests/amp-accordion.html:59:6 The relative URL '/awesome.png' for attribute 'src' in tag 'amp-img' is disallowed. (see https://amp.dev/documentation/components/amp-img/) +amp4email_feature_tests/amp-accordion.html:44:6 The relative URL '/awesome.png' for attribute 'src' in tag 'amp-img' is disallowed. (see https://amp.dev/documentation/components/amp-img/) | </section> | </amp-accordion> | @@ -69,17 +54,17 @@ amp4email_feature_tests/amp-accordion.html:59:6 The relative URL '/awesome.png' | <amp-accordion> | <amp-accordion> <!-- can't nest amp-accordion --> >> ^~~~~~~~~ -amp4email_feature_tests/amp-accordion.html:65:4 Tag 'amp-accordion' is disallowed as child of tag 'amp-accordion'. Child tag must be one of ['section']. (see https://amp.dev/documentation/components/amp-accordion/) +amp4email_feature_tests/amp-accordion.html:50:4 Tag 'amp-accordion' is disallowed as child of tag 'amp-accordion'. Child tag must be one of ['section']. (see https://amp.dev/documentation/components/amp-accordion/) | </amp-accordion> | <p>Some paragraph of text that doesn't belong here.</p> >> ^~~~~~~~~ -amp4email_feature_tests/amp-accordion.html:67:4 Tag 'p' is disallowed as child of tag 'amp-accordion'. Child tag must be one of ['section']. (see https://amp.dev/documentation/components/amp-accordion/) +amp4email_feature_tests/amp-accordion.html:52:4 Tag 'p' is disallowed as child of tag 'amp-accordion'. Child tag must be one of ['section']. (see https://amp.dev/documentation/components/amp-accordion/) | <section> >> ^~~~~~~~~ -amp4email_feature_tests/amp-accordion.html:68:4 Tag 'amp-accordion > section' must have 2 child tags - saw 3 child tags. +amp4email_feature_tests/amp-accordion.html:53:4 Tag 'amp-accordion > section' must have 2 child tags - saw 3 child tags. | <div>header which isn't h1-h6.</div> >> ^~~~~~~~~ -amp4email_feature_tests/amp-accordion.html:69:6 Tag 'div' is disallowed as first child of tag 'amp-accordion > section'. First child tag must be one of ['h1', 'h2', 'h3', 'h4', 'h5', 'h6', 'header']. +amp4email_feature_tests/amp-accordion.html:54:6 Tag 'div' is disallowed as first child of tag 'amp-accordion > section'. First child tag must be one of ['h1', 'h2', 'h3', 'h4', 'h5', 'h6', 'header']. | <div>a second child</div> | <div>a third child</div> | </section> @@ -88,10 +73,10 @@ amp4email_feature_tests/amp-accordion.html:69:6 Tag 'div' is disallowed as first | <!-- accordion in email should not allow access-hide in section --> | <amp-accordion expand-single-section disable-session-states> >> ^~~~~~~~~ -amp4email_feature_tests/amp-accordion.html:76:2 The attribute 'disable-session-states' may not appear in tag 'amp-accordion'. (see https://amp.dev/documentation/components/amp-accordion/) +amp4email_feature_tests/amp-accordion.html:61:2 The attribute 'disable-session-states' may not appear in tag 'amp-accordion'. (see https://amp.dev/documentation/components/amp-accordion/) | <section amp-access="NOT nwPlus" access-hide> >> ^~~~~~~~~ -amp4email_feature_tests/amp-accordion.html:77:4 The attribute 'access-hide' may not appear in tag 'amp-accordion > section'. +amp4email_feature_tests/amp-accordion.html:62:4 The attribute 'access-hide' may not appear in tag 'amp-accordion > section'. | <h2 class="accordion-header"> | Web-Abo | <span class="show-more">⏷</span> @@ -102,7 +87,7 @@ amp4email_feature_tests/amp-accordion.html:77:4 The attribute 'access-hide' may | <!-- access-hide attribute should not have non-empty value --> | <section amp-access="NOT nwPlus" access-hide="test"> >> ^~~~~~~~~ -amp4email_feature_tests/amp-accordion.html:86:4 The attribute 'access-hide' may not appear in tag 'amp-accordion > section'. +amp4email_feature_tests/amp-accordion.html:71:4 The attribute 'access-hide' may not appear in tag 'amp-accordion > section'. | <h2 class="accordion-header"> | Tagespass | <span class="show-more">⏷</span> @@ -119,9 +104,9 @@ amp4email_feature_tests/amp-accordion.html:86:4 The attribute 'access-hide' may | </h2> | <form >> ^~~~~~~~~ -amp4email_feature_tests/amp-accordion.html:101:8 The relative URL 'test' for attribute 'action-xhr' in tag 'form' is disallowed. (see https://amp.dev/documentation/components/amp-form) +amp4email_feature_tests/amp-accordion.html:86:8 The relative URL 'test' for attribute 'action-xhr' in tag 'form' is disallowed. (see https://amp.dev/documentation/components/amp-form) >> ^~~~~~~~~ -amp4email_feature_tests/amp-accordion.html:101:8 The attribute 'target' may not appear in tag 'form'. (see https://amp.dev/documentation/components/amp-form) +amp4email_feature_tests/amp-accordion.html:86:8 The attribute 'target' may not appear in tag 'form'. (see https://amp.dev/documentation/components/amp-form) | id="loginform-overlay" | class="text-center" | method="post" diff --git a/validator/testdata/amp4email_feature_tests/amp-autocomplete.html b/validator/testdata/amp4email_feature_tests/amp-autocomplete.html index 226ca39175b1..051d5971fdc0 100644 --- a/validator/testdata/amp4email_feature_tests/amp-autocomplete.html +++ b/validator/testdata/amp4email_feature_tests/amp-autocomplete.html @@ -1,18 +1,3 @@ -<!-- - Copyright 2020 The AMP HTML Authors. All Rights Reserved. - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS-IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the license. ---> <!-- Test Description: Tests the additional restrictions AMP4EMAIL sets on AMP-AUTOCOMPLETE. diff --git a/validator/testdata/amp4email_feature_tests/amp-autocomplete.out b/validator/testdata/amp4email_feature_tests/amp-autocomplete.out index 2222be4430bf..4b66e5efc671 100644 --- a/validator/testdata/amp4email_feature_tests/amp-autocomplete.out +++ b/validator/testdata/amp4email_feature_tests/amp-autocomplete.out @@ -1,20 +1,5 @@ FAIL | <!-- -| Copyright 2020 The AMP HTML Authors. All Rights Reserved. -| -| Licensed under the Apache License, Version 2.0 (the "License"); -| you may not use this file except in compliance with the License. -| You may obtain a copy of the License at -| -| http://www.apache.org/licenses/LICENSE-2.0 -| -| Unless required by applicable law or agreed to in writing, software -| distributed under the License is distributed on an "AS-IS" BASIS, -| WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -| See the License for the specific language governing permissions and -| limitations under the license. -| --> -| <!-- | Test Description: | Tests the additional restrictions AMP4EMAIL sets on AMP-AUTOCOMPLETE. | --> @@ -84,11 +69,11 @@ FAIL | <!-- Invalid: amp-component with static data --> | <amp-autocomplete> >> ^~~~~~~~~ -amp4email_feature_tests/amp-autocomplete.html:84:4 The mandatory attribute 'src' is missing in tag 'amp-autocomplete'. (see https://amp.dev/documentation/components/amp-autocomplete) +amp4email_feature_tests/amp-autocomplete.html:69:4 The mandatory attribute 'src' is missing in tag 'amp-autocomplete'. (see https://amp.dev/documentation/components/amp-autocomplete) | <input /> | <script type="application/json"> >> ^~~~~~~~~ -amp4email_feature_tests/amp-autocomplete.html:86:6 Custom JavaScript is not allowed. (see https://amp.dev/documentation/guides-and-tutorials/learn/validation-workflow/validation_errors/#custom-javascript-is-not-allowed) +amp4email_feature_tests/amp-autocomplete.html:71:6 Custom JavaScript is not allowed. (see https://amp.dev/documentation/guides-and-tutorials/learn/validation-workflow/validation_errors/#custom-javascript-is-not-allowed) | {} | </script> | </amp-autocomplete> @@ -96,7 +81,7 @@ amp4email_feature_tests/amp-autocomplete.html:86:6 Custom JavaScript is not allo | <!-- Invalid: amp-component with filter attribute --> | <amp-autocomplete >> ^~~~~~~~~ -amp4email_feature_tests/amp-autocomplete.html:92:4 The attribute 'filter' may not appear in tag 'amp-autocomplete'. (see https://amp.dev/documentation/components/amp-autocomplete) +amp4email_feature_tests/amp-autocomplete.html:77:4 The attribute 'filter' may not appear in tag 'amp-autocomplete'. (see https://amp.dev/documentation/components/amp-autocomplete) | filter="prefix" | src="https://data.com/articles.json?ref=CANONICAL_URL" | > @@ -106,7 +91,7 @@ amp4email_feature_tests/amp-autocomplete.html:92:4 The attribute 'filter' may no | <!-- Invalid: amp-component with filter-value attribute --> | <amp-autocomplete >> ^~~~~~~~~ -amp4email_feature_tests/amp-autocomplete.html:100:4 The attribute 'filter-value' may not appear in tag 'amp-autocomplete'. (see https://amp.dev/documentation/components/amp-autocomplete) +amp4email_feature_tests/amp-autocomplete.html:85:4 The attribute 'filter-value' may not appear in tag 'amp-autocomplete'. (see https://amp.dev/documentation/components/amp-autocomplete) | filter-value="property" | src="https://data.com/articles.json?ref=CANONICAL_URL" | > @@ -120,12 +105,12 @@ amp4email_feature_tests/amp-autocomplete.html:100:4 The attribute 'filter-value' | <div> | <amp-autocomplete >> ^~~~~~~~~ -amp4email_feature_tests/amp-autocomplete.html:112:10 The tag 'amp-autocomplete' may not appear as a descendant of tag 'amp-autocomplete'. (see https://amp.dev/documentation/components/amp-autocomplete) +amp4email_feature_tests/amp-autocomplete.html:97:10 The tag 'amp-autocomplete' may not appear as a descendant of tag 'amp-autocomplete'. (see https://amp.dev/documentation/components/amp-autocomplete) | src="https://data.com/articles.json?ref=CANONICAL_URL" | > | <template type="amp-mustache" id="1234"> >> ^~~~~~~~~ -amp4email_feature_tests/amp-autocomplete.html:115:12 The tag 'template' may not appear as a descendant of tag 'template (amp4email)'. (see https://amp.dev/documentation/components/amp-mustache) +amp4email_feature_tests/amp-autocomplete.html:100:12 The tag 'template' may not appear as a descendant of tag 'template (amp4email)'. (see https://amp.dev/documentation/components/amp-mustache) | <div> | <a href="https://somelink.com">{{blah}}</a> | </div> @@ -141,12 +126,12 @@ amp4email_feature_tests/amp-autocomplete.html:115:12 The tag 'template' may not | <div> | <amp-state src="https://someserver.json"> >> ^~~~~~~~~ -amp4email_feature_tests/amp-autocomplete.html:129:10 The tag 'amp-state' may not appear as a descendant of tag 'template'. (see https://amp.dev/documentation/components/amp-bind/) +amp4email_feature_tests/amp-autocomplete.html:114:10 The tag 'amp-state' may not appear as a descendant of tag 'template'. (see https://amp.dev/documentation/components/amp-bind/) >> ^~~~~~~~~ -amp4email_feature_tests/amp-autocomplete.html:129:10 The tag 'amp-state' requires including the 'amp-bind' extension JavaScript. (see https://amp.dev/documentation/components/amp-bind/) +amp4email_feature_tests/amp-autocomplete.html:114:10 The tag 'amp-state' requires including the 'amp-bind' extension JavaScript. (see https://amp.dev/documentation/components/amp-bind/) | <script type="application/json"> >> ^~~~~~~~~ -amp4email_feature_tests/amp-autocomplete.html:130:12 The tag 'script' requires including the 'amp-bind' extension JavaScript. (see https://amp.dev/documentation/components/amp-bind/) +amp4email_feature_tests/amp-autocomplete.html:115:12 The tag 'script' requires including the 'amp-bind' extension JavaScript. (see https://amp.dev/documentation/components/amp-bind/) | {} | </script> | </amp-state> @@ -160,7 +145,7 @@ amp4email_feature_tests/amp-autocomplete.html:130:12 The tag 'script' requires i | <div> | <amp-autocomplete >> ^~~~~~~~~ -amp4email_feature_tests/amp-autocomplete.html:142:10 The tag 'amp-autocomplete' may not appear as a descendant of tag 'amp-autocomplete'. (see https://amp.dev/documentation/components/amp-autocomplete) +amp4email_feature_tests/amp-autocomplete.html:127:10 The tag 'amp-autocomplete' may not appear as a descendant of tag 'amp-autocomplete'. (see https://amp.dev/documentation/components/amp-autocomplete) | src="https://data.com/articles.json?ref=CANONICAL_URL" | template="1234" | > @@ -175,12 +160,12 @@ amp4email_feature_tests/amp-autocomplete.html:142:10 The tag 'amp-autocomplete' | <div> | <amp-state id="123" src="https://someserver.json" template="1234"> >> ^~~~~~~~~ -amp4email_feature_tests/amp-autocomplete.html:155:10 The tag 'amp-state' may not appear as a descendant of tag 'template'. (see https://amp.dev/documentation/components/amp-bind/) +amp4email_feature_tests/amp-autocomplete.html:140:10 The tag 'amp-state' may not appear as a descendant of tag 'template'. (see https://amp.dev/documentation/components/amp-bind/) >> ^~~~~~~~~ -amp4email_feature_tests/amp-autocomplete.html:155:10 The tag 'amp-state' requires including the 'amp-bind' extension JavaScript. (see https://amp.dev/documentation/components/amp-bind/) +amp4email_feature_tests/amp-autocomplete.html:140:10 The tag 'amp-state' requires including the 'amp-bind' extension JavaScript. (see https://amp.dev/documentation/components/amp-bind/) | <script type="application/json"> >> ^~~~~~~~~ -amp4email_feature_tests/amp-autocomplete.html:156:12 The tag 'script' requires including the 'amp-bind' extension JavaScript. (see https://amp.dev/documentation/components/amp-bind/) +amp4email_feature_tests/amp-autocomplete.html:141:12 The tag 'script' requires including the 'amp-bind' extension JavaScript. (see https://amp.dev/documentation/components/amp-bind/) | {} | </script> | </amp-state> @@ -193,7 +178,7 @@ amp4email_feature_tests/amp-autocomplete.html:156:12 The tag 'script' requires i | <div> | <amp-autocomplete >> ^~~~~~~~~ -amp4email_feature_tests/amp-autocomplete.html:167:8 The tag 'amp-autocomplete' may not appear as a descendant of tag 'template'. (see https://amp.dev/documentation/components/amp-autocomplete) +amp4email_feature_tests/amp-autocomplete.html:152:8 The tag 'amp-autocomplete' may not appear as a descendant of tag 'template'. (see https://amp.dev/documentation/components/amp-autocomplete) | src="https://data.com/articles.json?ref=CANONICAL_URL" | template="1234" | > @@ -204,47 +189,47 @@ amp4email_feature_tests/amp-autocomplete.html:167:8 The tag 'amp-autocomplete' m | <!-- Invalid: URLs cannot be empty. --> | <amp-autocomplete src=""> >> ^~~~~~~~~ -amp4email_feature_tests/amp-autocomplete.html:176:4 Missing URL for attribute 'src' in tag 'amp-autocomplete'. (see https://amp.dev/documentation/components/amp-autocomplete) +amp4email_feature_tests/amp-autocomplete.html:161:4 Missing URL for attribute 'src' in tag 'amp-autocomplete'. (see https://amp.dev/documentation/components/amp-autocomplete) | <input /> | </amp-autocomplete> | | <!-- Invalid: The protocol can only be https --> | <amp-autocomplete src="http://data.com/articles.json?ref=CANONICAL_URL"> >> ^~~~~~~~~ -amp4email_feature_tests/amp-autocomplete.html:181:4 Invalid URL protocol 'http:' for attribute 'src' in tag 'amp-autocomplete'. (see https://amp.dev/documentation/components/amp-autocomplete) +amp4email_feature_tests/amp-autocomplete.html:166:4 Invalid URL protocol 'http:' for attribute 'src' in tag 'amp-autocomplete'. (see https://amp.dev/documentation/components/amp-autocomplete) | <input /> | </amp-autocomplete> | | <!-- Invalid: src of amp-autocomplete is not bindable --> | <amp-autocomplete [src]="data"> >> ^~~~~~~~~ -amp4email_feature_tests/amp-autocomplete.html:186:4 The attribute '[src]' may not appear in tag 'amp-autocomplete'. (see https://amp.dev/documentation/components/amp-autocomplete) +amp4email_feature_tests/amp-autocomplete.html:171:4 The attribute '[src]' may not appear in tag 'amp-autocomplete'. (see https://amp.dev/documentation/components/amp-autocomplete) | <input /> | </amp-autocomplete> | | <!-- Invalid: Mustache delimiters are disallowed in src --> | <amp-autocomplete src="foo{{bar"> >> ^~~~~~~~~ -amp4email_feature_tests/amp-autocomplete.html:191:4 The relative URL 'foo{{bar' for attribute 'src' in tag 'amp-autocomplete' is disallowed. (see https://amp.dev/documentation/components/amp-autocomplete) +amp4email_feature_tests/amp-autocomplete.html:176:4 The relative URL 'foo{{bar' for attribute 'src' in tag 'amp-autocomplete' is disallowed. (see https://amp.dev/documentation/components/amp-autocomplete) | <input /> | </amp-autocomplete> | | <!-- Invalid: Mustache delimiters are disallowed in src --> | <amp-autocomplete src="foo{{bar"> >> ^~~~~~~~~ -amp4email_feature_tests/amp-autocomplete.html:196:4 The relative URL 'foo{{bar' for attribute 'src' in tag 'amp-autocomplete' is disallowed. (see https://amp.dev/documentation/components/amp-autocomplete) +amp4email_feature_tests/amp-autocomplete.html:181:4 The relative URL 'foo{{bar' for attribute 'src' in tag 'amp-autocomplete' is disallowed. (see https://amp.dev/documentation/components/amp-autocomplete) | <input /> | </amp-autocomplete> | | <!-- Invalid: Mustache variables cannot be concatenated in href --> | <amp-autocomplete src="http://data.com/articles.json?ref=CANONICAL_URL"> >> ^~~~~~~~~ -amp4email_feature_tests/amp-autocomplete.html:201:4 Invalid URL protocol 'http:' for attribute 'src' in tag 'amp-autocomplete'. (see https://amp.dev/documentation/components/amp-autocomplete) +amp4email_feature_tests/amp-autocomplete.html:186:4 Invalid URL protocol 'http:' for attribute 'src' in tag 'amp-autocomplete'. (see https://amp.dev/documentation/components/amp-autocomplete) | <input /> | <template type="amp-mustache"> | <a href="{{bar}}{{foo}}">disallowed</a> >> ^~~~~~~~~ -amp4email_feature_tests/amp-autocomplete.html:204:8 The attribute 'href' in tag 'a' is set to the invalid value '{{bar}}{{foo}}'. +amp4email_feature_tests/amp-autocomplete.html:189:8 The attribute 'href' in tag 'a' is set to the invalid value '{{bar}}{{foo}}'. | </template> | </amp-autocomplete> | </body> diff --git a/validator/testdata/amp4email_feature_tests/amp_carousel.html b/validator/testdata/amp4email_feature_tests/amp_carousel.html index 46f4a47535e9..5b7aef912b0a 100644 --- a/validator/testdata/amp4email_feature_tests/amp_carousel.html +++ b/validator/testdata/amp4email_feature_tests/amp_carousel.html @@ -1,18 +1,3 @@ -<!-- - Copyright 2015 The AMP HTML Authors. All Rights Reserved. - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS-IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the license. ---> <!-- Test Description: Tests the additional restrictions AMP4EMAIL sets on AMP-CAROUSEL. diff --git a/validator/testdata/amp4email_feature_tests/amp_carousel.out b/validator/testdata/amp4email_feature_tests/amp_carousel.out index 11828f2779c0..aed0944e7480 100644 --- a/validator/testdata/amp4email_feature_tests/amp_carousel.out +++ b/validator/testdata/amp4email_feature_tests/amp_carousel.out @@ -1,20 +1,5 @@ FAIL | <!-- -| Copyright 2015 The AMP HTML Authors. All Rights Reserved. -| -| Licensed under the Apache License, Version 2.0 (the "License"); -| you may not use this file except in compliance with the License. -| You may obtain a copy of the License at -| -| http://www.apache.org/licenses/LICENSE-2.0 -| -| Unless required by applicable law or agreed to in writing, software -| distributed under the License is distributed on an "AS-IS" BASIS, -| WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -| See the License for the specific language governing permissions and -| limitations under the license. -| --> -| <!-- | Test Description: | Tests the additional restrictions AMP4EMAIL sets on AMP-CAROUSEL. | --> @@ -44,7 +29,7 @@ FAIL | --> | <amp-carousel >> ^~~~~~~~~ -amp4email_feature_tests/amp_carousel.html:44:0 The attribute 'arrows' may not appear in tag 'amp-carousel'. (see https://amp.dev/documentation/components/amp-carousel/) +amp4email_feature_tests/amp_carousel.html:29:0 The attribute 'arrows' may not appear in tag 'amp-carousel'. (see https://amp.dev/documentation/components/amp-carousel/) | arrows | width="800" height="600" | layout="responsive" diff --git a/validator/testdata/amp4email_feature_tests/amp_form.html b/validator/testdata/amp4email_feature_tests/amp_form.html index 5a6bb9afa504..8caab938fbad 100644 --- a/validator/testdata/amp4email_feature_tests/amp_form.html +++ b/validator/testdata/amp4email_feature_tests/amp_form.html @@ -1,18 +1,3 @@ -<!-- - Copyright 2018 The AMP HTML Authors. All Rights Reserved. - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS-IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the license. ---> <!-- Test Description: This tests that forms are allowed in A4A, but that forbidden inputs are not diff --git a/validator/testdata/amp4email_feature_tests/amp_form.out b/validator/testdata/amp4email_feature_tests/amp_form.out index bbc4581f64f8..7a8c7fedbd99 100644 --- a/validator/testdata/amp4email_feature_tests/amp_form.out +++ b/validator/testdata/amp4email_feature_tests/amp_form.out @@ -1,20 +1,5 @@ FAIL | <!-- -| Copyright 2018 The AMP HTML Authors. All Rights Reserved. -| -| Licensed under the Apache License, Version 2.0 (the "License"); -| you may not use this file except in compliance with the License. -| You may obtain a copy of the License at -| -| http://www.apache.org/licenses/LICENSE-2.0 -| -| Unless required by applicable law or agreed to in writing, software -| distributed under the License is distributed on an "AS-IS" BASIS, -| WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -| See the License for the specific language governing permissions and -| limitations under the license. -| --> -| <!-- | Test Description: | This tests that forms are allowed in A4A, but that forbidden inputs are not | allowed, like input[type=password]. @@ -81,29 +66,29 @@ FAIL | <!-- Invalid: only https protocol is supported. --> | <form method="GET" action-xhr="http://someserver.com/endpoint"> >> ^~~~~~~~~ -amp4email_feature_tests/amp_form.html:81:2 Invalid URL protocol 'http:' for attribute 'action-xhr' in tag 'form'. (see https://amp.dev/documentation/components/amp-form) +amp4email_feature_tests/amp_form.html:66:2 Invalid URL protocol 'http:' for attribute 'action-xhr' in tag 'form'. (see https://amp.dev/documentation/components/amp-form) | <input name="googlesearch"> | <input type="submit" value="OK"> | </form> | <!-- Invalid: only absolute URL is allowed. --> | <form method="GET" action-xhr="endpoint"> >> ^~~~~~~~~ -amp4email_feature_tests/amp_form.html:86:2 The relative URL 'endpoint' for attribute 'action-xhr' in tag 'form' is disallowed. (see https://amp.dev/documentation/components/amp-form) +amp4email_feature_tests/amp_form.html:71:2 The relative URL 'endpoint' for attribute 'action-xhr' in tag 'form' is disallowed. (see https://amp.dev/documentation/components/amp-form) | <input name="googlesearch"> | <input type="submit" value="OK"> | </form> | <form method="POST" action-xhr="endpoint"> >> ^~~~~~~~~ -amp4email_feature_tests/amp_form.html:90:2 The relative URL 'endpoint' for attribute 'action-xhr' in tag 'form' is disallowed. (see https://amp.dev/documentation/components/amp-form) +amp4email_feature_tests/amp_form.html:75:2 The relative URL 'endpoint' for attribute 'action-xhr' in tag 'form' is disallowed. (see https://amp.dev/documentation/components/amp-form) | <input name="googlesearch"> | <input type="submit" value="OK"> | </form> | <!-- Invalid: the action and target attributes are disallowed. --> | <form method="GET" >> ^~~~~~~~~ -amp4email_feature_tests/amp_form.html:95:2 The attribute 'action' may not appear in tag 'form'. (see https://amp.dev/documentation/components/amp-form) +amp4email_feature_tests/amp_form.html:80:2 The attribute 'action' may not appear in tag 'form'. (see https://amp.dev/documentation/components/amp-form) >> ^~~~~~~~~ -amp4email_feature_tests/amp_form.html:95:2 The attribute 'target' may not appear in tag 'form'. (see https://amp.dev/documentation/components/amp-form) +amp4email_feature_tests/amp_form.html:80:2 The attribute 'target' may not appear in tag 'form'. (see https://amp.dev/documentation/components/amp-form) | action="/components/amp-form/submit-form" | target="_top"> | <div> @@ -115,34 +100,34 @@ amp4email_feature_tests/amp_form.html:95:2 The attribute 'target' may not appear | <form method="post" action-xhr="https://example.com/subscribe"> | <input type="image" name="image"> >> ^~~~~~~~~ -amp4email_feature_tests/amp_form.html:105:4 The attribute 'type' in tag 'input' is set to the invalid value 'image'. (see https://amp.dev/documentation/components/amp-form/) +amp4email_feature_tests/amp_form.html:90:4 The attribute 'type' in tag 'input' is set to the invalid value 'image'. (see https://amp.dev/documentation/components/amp-form/) | </form> | <!-- Invalid: input can not be type="password" --> | <form method="post" action-xhr="https://example.com/subscribe"> | <input type="password" name="password"> >> ^~~~~~~~~ -amp4email_feature_tests/amp_form.html:109:4 The attribute 'type' in tag 'input' is set to the invalid value 'password'. (see https://amp.dev/documentation/components/amp-form/) +amp4email_feature_tests/amp_form.html:94:4 The attribute 'type' in tag 'input' is set to the invalid value 'password'. (see https://amp.dev/documentation/components/amp-form/) | <input type="file" name="file"> >> ^~~~~~~~~ -amp4email_feature_tests/amp_form.html:110:4 The attribute 'type' in tag 'input' is set to the invalid value 'file'. (see https://amp.dev/documentation/components/amp-form/) +amp4email_feature_tests/amp_form.html:95:4 The attribute 'type' in tag 'input' is set to the invalid value 'file'. (see https://amp.dev/documentation/components/amp-form/) | </form> | <!-- Invalid: invalid attribute xhr-verify --> | <form method="post" action-xhr="https://example.com/subscribe" >> ^~~~~~~~~ -amp4email_feature_tests/amp_form.html:113:2 The attribute 'xhr-verify' may not appear in tag 'form'. (see https://amp.dev/documentation/components/amp-form) +amp4email_feature_tests/amp_form.html:98:2 The attribute 'xhr-verify' may not appear in tag 'form'. (see https://amp.dev/documentation/components/amp-form) | xhr-verify="https://example.com/subscribe"> | </form> | <!-- Invalid: invalid attribute xhr-verify --> | <form method="get" action-xhr="https://example.com/subscribe" >> ^~~~~~~~~ -amp4email_feature_tests/amp_form.html:117:2 The attribute 'xhr-verify' may not appear in tag 'form'. (see https://amp.dev/documentation/components/amp-form) +amp4email_feature_tests/amp_form.html:102:2 The attribute 'xhr-verify' may not appear in tag 'form'. (see https://amp.dev/documentation/components/amp-form) | xhr-verify="https://example.com/subscribe"> | </form> | <!-- Invalid: amp-bind usage for type in input --> | <form method="get" action-xhr="https://example.com/subscribe"> | <input [type]="state.type" name="name"> >> ^~~~~~~~~ -amp4email_feature_tests/amp_form.html:122:4 The attribute '[type]' may not appear in tag 'input'. (see https://amp.dev/documentation/components/amp-form/) +amp4email_feature_tests/amp_form.html:107:4 The attribute '[type]' may not appear in tag 'input'. (see https://amp.dev/documentation/components/amp-form/) | </form> | <!-- Invalid: invalid usage of submitting attribute with nested template --> | <form method="post" action-xhr="https://example.com/subscribe"> @@ -150,7 +135,7 @@ amp4email_feature_tests/amp_form.html:122:4 The attribute '[type]' may not appea | <div submitting> | <template type="amp-mustache"> >> ^~~~~~~~~ -amp4email_feature_tests/amp_form.html:128:6 The tag 'template' may not appear as a descendant of tag 'form div [submitting]'. (see https://amp.dev/documentation/components/amp-mustache) +amp4email_feature_tests/amp_form.html:113:6 The tag 'template' may not appear as a descendant of tag 'form div [submitting]'. (see https://amp.dev/documentation/components/amp-mustache) | Submitting... {{a}} | </template> | </div> @@ -160,7 +145,7 @@ amp4email_feature_tests/amp_form.html:128:6 The tag 'template' may not appear as | <input type="email" name="email"> | <div submitting template="abc"> >> ^~~~~~~~~ -amp4email_feature_tests/amp_form.html:136:4 The attribute 'template' may not appear in tag 'div'. +amp4email_feature_tests/amp_form.html:121:4 The attribute 'template' may not appear in tag 'div'. | </div> | </form> | <!-- Invalid: invalid template within a template --> @@ -171,7 +156,7 @@ amp4email_feature_tests/amp_form.html:136:4 The attribute 'template' may not app | {{a}} | <template type="amp-mustache"> >> ^~~~~~~~~ -amp4email_feature_tests/amp_form.html:145:8 The tag 'template' may not appear as a descendant of tag 'template (amp4email)'. (see https://amp.dev/documentation/components/amp-mustache) +amp4email_feature_tests/amp_form.html:130:8 The tag 'template' may not appear as a descendant of tag 'template (amp4email)'. (see https://amp.dev/documentation/components/amp-mustache) | {{b}} | </template> | </template> @@ -181,7 +166,7 @@ amp4email_feature_tests/amp_form.html:145:8 The tag 'template' may not appear as | <template type="amp-mustache"> | <form method="GET" >> ^~~~~~~~~ -amp4email_feature_tests/amp_form.html:153:4 The attribute 'action-xhr' in tag 'form' is set to the invalid value '{{foo}}'. (see https://amp.dev/documentation/components/amp-form) +amp4email_feature_tests/amp_form.html:138:4 The attribute 'action-xhr' in tag 'form' is set to the invalid value '{{foo}}'. (see https://amp.dev/documentation/components/amp-form) | action-xhr="{{foo}}"> | <div> | <input name="googlesearch"> @@ -192,7 +177,7 @@ amp4email_feature_tests/amp_form.html:153:4 The attribute 'action-xhr' in tag 'f | <template type="amp-mustache"> | <form method="GET" >> ^~~~~~~~~ -amp4email_feature_tests/amp_form.html:162:4 The attribute 'action-xhr' in tag 'form' is set to the invalid value '{{foo}}{{bar}}'. (see https://amp.dev/documentation/components/amp-form) +amp4email_feature_tests/amp_form.html:147:4 The attribute 'action-xhr' in tag 'form' is set to the invalid value '{{foo}}{{bar}}'. (see https://amp.dev/documentation/components/amp-form) | action-xhr="{{foo}}{{bar}}"> | <div> | <input name="googlesearch"> @@ -203,7 +188,7 @@ amp4email_feature_tests/amp_form.html:162:4 The attribute 'action-xhr' in tag 'f | <template type="amp-mustache"> | <form method="GET" >> ^~~~~~~~~ -amp4email_feature_tests/amp_form.html:171:4 The relative URL 'foo{{bar' for attribute 'action-xhr' in tag 'form' is disallowed. (see https://amp.dev/documentation/components/amp-form) +amp4email_feature_tests/amp_form.html:156:4 The relative URL 'foo{{bar' for attribute 'action-xhr' in tag 'form' is disallowed. (see https://amp.dev/documentation/components/amp-form) | action-xhr="foo{{bar"> | <div> | <input name="googlesearch"> @@ -214,7 +199,7 @@ amp4email_feature_tests/amp_form.html:171:4 The relative URL 'foo{{bar' for attr | <template type="amp-mustache"> | <form method="GET" >> ^~~~~~~~~ -amp4email_feature_tests/amp_form.html:180:4 The relative URL 'foo}}bar' for attribute 'action-xhr' in tag 'form' is disallowed. (see https://amp.dev/documentation/components/amp-form) +amp4email_feature_tests/amp_form.html:165:4 The relative URL 'foo}}bar' for attribute 'action-xhr' in tag 'form' is disallowed. (see https://amp.dev/documentation/components/amp-form) | action-xhr="foo}}bar"> | <div> | <input name="googlesearch"> @@ -225,7 +210,7 @@ amp4email_feature_tests/amp_form.html:180:4 The relative URL 'foo}}bar' for attr | <template type="amp-mustache"> | <form method="GET" >> ^~~~~~~~~ -amp4email_feature_tests/amp_form.html:189:4 The relative URL '{{' for attribute 'action-xhr' in tag 'form' is disallowed. (see https://amp.dev/documentation/components/amp-form) +amp4email_feature_tests/amp_form.html:174:4 The relative URL '{{' for attribute 'action-xhr' in tag 'form' is disallowed. (see https://amp.dev/documentation/components/amp-form) | action-xhr="{{"> | <div> | <input name="googlesearch"> @@ -236,7 +221,7 @@ amp4email_feature_tests/amp_form.html:189:4 The relative URL '{{' for attribute | <template type="amp-mustache"> | <form method="GET" >> ^~~~~~~~~ -amp4email_feature_tests/amp_form.html:198:4 The relative URL '}}' for attribute 'action-xhr' in tag 'form' is disallowed. (see https://amp.dev/documentation/components/amp-form) +amp4email_feature_tests/amp_form.html:183:4 The relative URL '}}' for attribute 'action-xhr' in tag 'form' is disallowed. (see https://amp.dev/documentation/components/amp-form) | action-xhr="}}"> | <div> | <input name="googlesearch"> @@ -247,12 +232,12 @@ amp4email_feature_tests/amp_form.html:198:4 The relative URL '}}' for attribute | <!-- Invalid POST form with name. --> | <form method="post" name="post-form" action-xhr="https://example.com/subscribe"> >> ^~~~~~~~~ -amp4email_feature_tests/amp_form.html:207:2 The attribute 'name' may not appear in tag 'form'. (see https://amp.dev/documentation/components/amp-form) +amp4email_feature_tests/amp_form.html:192:2 The attribute 'name' may not appear in tag 'form'. (see https://amp.dev/documentation/components/amp-form) | </form> | <!-- Invalid GET form with name. --> | <form method="GET" name="get-form" action-xhr="https://someserver.com/endpoint"> >> ^~~~~~~~~ -amp4email_feature_tests/amp_form.html:210:2 The attribute 'name' may not appear in tag 'form'. (see https://amp.dev/documentation/components/amp-form) +amp4email_feature_tests/amp_form.html:195:2 The attribute 'name' may not appear in tag 'form'. (see https://amp.dev/documentation/components/amp-form) | </form> | </body> | </html> diff --git a/validator/testdata/amp4email_feature_tests/amp_img.html b/validator/testdata/amp4email_feature_tests/amp_img.html index 50f5528b4926..0208b72fa773 100644 --- a/validator/testdata/amp4email_feature_tests/amp_img.html +++ b/validator/testdata/amp4email_feature_tests/amp_img.html @@ -1,18 +1,3 @@ -<!-- - Copyright 2015 The AMP HTML Authors. All Rights Reserved. - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS-IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the license. ---> <!-- Test Description: Tests the additional restrictions AMP4EMAIL sets on AMP-IMG and AMP-ANIM. diff --git a/validator/testdata/amp4email_feature_tests/amp_img.out b/validator/testdata/amp4email_feature_tests/amp_img.out index d84be7b5063a..d869b1f665e6 100644 --- a/validator/testdata/amp4email_feature_tests/amp_img.out +++ b/validator/testdata/amp4email_feature_tests/amp_img.out @@ -1,20 +1,5 @@ FAIL | <!-- -| Copyright 2015 The AMP HTML Authors. All Rights Reserved. -| -| Licensed under the Apache License, Version 2.0 (the "License"); -| you may not use this file except in compliance with the License. -| You may obtain a copy of the License at -| -| http://www.apache.org/licenses/LICENSE-2.0 -| -| Unless required by applicable law or agreed to in writing, software -| distributed under the License is distributed on an "AS-IS" BASIS, -| WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -| See the License for the specific language governing permissions and -| limitations under the license. -| --> -| <!-- | Test Description: | Tests the additional restrictions AMP4EMAIL sets on AMP-IMG and AMP-ANIM. | --> @@ -26,7 +11,7 @@ FAIL | <script async src="https://cdn.ampproject.org/v0.js"></script> | <script async custom-element="amp-anim" src="https://cdn.ampproject.org/v0/amp-form-0.1.js"></script> >> ^~~~~~~~~ -amp4email_feature_tests/amp_img.html:26:2 The attribute 'src' in tag 'amp-anim extension script (AMP4EMAIL)' is set to the invalid value 'https://cdn.ampproject.org/v0/amp-form-0.1.js'. (see https://amp.dev/documentation/components/amp-anim) +amp4email_feature_tests/amp_img.html:11:2 The attribute 'src' in tag 'amp-anim extension script (AMP4EMAIL)' is set to the invalid value 'https://cdn.ampproject.org/v0/amp-form-0.1.js'. (see https://amp.dev/documentation/components/amp-anim) | <script async custom-template="amp-mustache" | src="https://cdn.ampproject.org/v0/amp-mustache-0.2.js"></script> | </head> @@ -34,30 +19,30 @@ amp4email_feature_tests/amp_img.html:26:2 The attribute 'src' in tag 'amp-anim e | <!-- URLs must be absolute. --> | <amp-img src="somelink.com">disallowed</amp-img> >> ^~~~~~~~~ -amp4email_feature_tests/amp_img.html:32:2 Incomplete layout attributes specified for tag 'amp-img'. For example, provide attributes 'width' and 'height'. (see https://amp.dev/documentation/components/amp-img/) +amp4email_feature_tests/amp_img.html:17:2 Incomplete layout attributes specified for tag 'amp-img'. For example, provide attributes 'width' and 'height'. (see https://amp.dev/documentation/components/amp-img/) >> ^~~~~~~~~ -amp4email_feature_tests/amp_img.html:32:2 The relative URL 'somelink.com' for attribute 'src' in tag 'amp-img' is disallowed. (see https://amp.dev/documentation/components/amp-img/) +amp4email_feature_tests/amp_img.html:17:2 The relative URL 'somelink.com' for attribute 'src' in tag 'amp-img' is disallowed. (see https://amp.dev/documentation/components/amp-img/) | | <!-- URLs must be absolute. --> | <amp-img srcset="somelink.com">disallowed</amp-img> >> ^~~~~~~~~ -amp4email_feature_tests/amp_img.html:35:2 Incomplete layout attributes specified for tag 'amp-img'. For example, provide attributes 'width' and 'height'. (see https://amp.dev/documentation/components/amp-img/) +amp4email_feature_tests/amp_img.html:20:2 Incomplete layout attributes specified for tag 'amp-img'. For example, provide attributes 'width' and 'height'. (see https://amp.dev/documentation/components/amp-img/) >> ^~~~~~~~~ -amp4email_feature_tests/amp_img.html:35:2 The attribute 'srcset' may not appear in tag 'amp-img'. (see https://amp.dev/documentation/components/amp-img/) +amp4email_feature_tests/amp_img.html:20:2 The attribute 'srcset' may not appear in tag 'amp-img'. (see https://amp.dev/documentation/components/amp-img/) | | <!-- The protocol can only be https --> | <amp-img src="http://somelink.com">disallowed</amp-img> >> ^~~~~~~~~ -amp4email_feature_tests/amp_img.html:38:2 Incomplete layout attributes specified for tag 'amp-img'. For example, provide attributes 'width' and 'height'. (see https://amp.dev/documentation/components/amp-img/) +amp4email_feature_tests/amp_img.html:23:2 Incomplete layout attributes specified for tag 'amp-img'. For example, provide attributes 'width' and 'height'. (see https://amp.dev/documentation/components/amp-img/) >> ^~~~~~~~~ -amp4email_feature_tests/amp_img.html:38:2 Invalid URL protocol 'http:' for attribute 'src' in tag 'amp-img'. (see https://amp.dev/documentation/components/amp-img/) +amp4email_feature_tests/amp_img.html:23:2 Invalid URL protocol 'http:' for attribute 'src' in tag 'amp-img'. (see https://amp.dev/documentation/components/amp-img/) | | <!-- href of anchor is not bindable. --> | <amp-anim [src]="evil">disallowed</amp-anim> >> ^~~~~~~~~ -amp4email_feature_tests/amp_img.html:41:2 Incomplete layout attributes specified for tag 'amp-anim'. For example, provide attributes 'width' and 'height'. (see https://amp.dev/documentation/components/amp-anim/) +amp4email_feature_tests/amp_img.html:26:2 Incomplete layout attributes specified for tag 'amp-anim'. For example, provide attributes 'width' and 'height'. (see https://amp.dev/documentation/components/amp-anim/) >> ^~~~~~~~~ -amp4email_feature_tests/amp_img.html:41:2 The attribute '[src]' may not appear in tag 'amp-anim'. (see https://amp.dev/documentation/components/amp-anim/) +amp4email_feature_tests/amp_img.html:26:2 The attribute '[src]' may not appear in tag 'amp-anim'. (see https://amp.dev/documentation/components/amp-anim/) | | | <!-- This is allowed. --> @@ -69,7 +54,7 @@ amp4email_feature_tests/amp_img.html:41:2 The attribute '[src]' may not appear i | <template type="amp-mustache"> | <amp-anim width="1" height="1" src="{{foo}}{{bar}}">disallowed</amp-anim> >> ^~~~~~~~~ -amp4email_feature_tests/amp_img.html:51:4 The attribute 'src' in tag 'amp-anim' is set to the invalid value '{{foo}}{{bar}}'. (see https://amp.dev/documentation/components/amp-anim/) +amp4email_feature_tests/amp_img.html:36:4 The attribute 'src' in tag 'amp-anim' is set to the invalid value '{{foo}}{{bar}}'. (see https://amp.dev/documentation/components/amp-anim/) | </template> | | </body> diff --git a/validator/testdata/amp4email_feature_tests/amp_list.html b/validator/testdata/amp4email_feature_tests/amp_list.html index b552a6fd7690..1ce3d08a5575 100644 --- a/validator/testdata/amp4email_feature_tests/amp_list.html +++ b/validator/testdata/amp4email_feature_tests/amp_list.html @@ -1,18 +1,3 @@ -<!-- - Copyright 2015 The AMP HTML Authors. All Rights Reserved. - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS-IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the license. ---> <!-- Test Description: Tests the additional restrictions AMP4EMAIL sets on AMP-LIST. diff --git a/validator/testdata/amp4email_feature_tests/amp_list.out b/validator/testdata/amp4email_feature_tests/amp_list.out index 4084cbe25b0d..10305eca1749 100644 --- a/validator/testdata/amp4email_feature_tests/amp_list.out +++ b/validator/testdata/amp4email_feature_tests/amp_list.out @@ -1,20 +1,5 @@ FAIL | <!-- -| Copyright 2015 The AMP HTML Authors. All Rights Reserved. -| -| Licensed under the Apache License, Version 2.0 (the "License"); -| you may not use this file except in compliance with the License. -| You may obtain a copy of the License at -| -| http://www.apache.org/licenses/LICENSE-2.0 -| -| Unless required by applicable law or agreed to in writing, software -| distributed under the License is distributed on an "AS-IS" BASIS, -| WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -| See the License for the specific language governing permissions and -| limitations under the license. -| --> -| <!-- | Test Description: | Tests the additional restrictions AMP4EMAIL sets on AMP-LIST. | --> @@ -28,7 +13,7 @@ FAIL | <script async custom-element="amp-bind" src="https://cdn.ampproject.org/v0/amp-bind-0.1.js"></script> | <script async custom-template="amp-mustache" src="https://cdn.ampproject.org/v0/amp-mustache-0.1.js"></script> >> ^~~~~~~~~ -amp4email_feature_tests/amp_list.html:28:2 The extension 'amp-mustache' is referenced at version '0.1' which is a deprecated version. Please use a more recent version of this extension. This may become an error in the future. (see https://amp.dev/documentation/components/amp-mustache) +amp4email_feature_tests/amp_list.html:13:2 The extension 'amp-mustache' is referenced at version '0.1' which is a deprecated version. Please use a more recent version of this extension. This may become an error in the future. (see https://amp.dev/documentation/components/amp-mustache) | </head> | <body> | <!-- @@ -63,11 +48,11 @@ amp4email_feature_tests/amp_list.html:28:2 The extension 'amp-mustache' is refer | <div> | <amp-list width="auto" height="100" layout="fixed-height" >> ^~~~~~~~~ -amp4email_feature_tests/amp_list.html:61:6 The tag 'amp-list' may not appear as a descendant of tag 'amp-list'. (see https://amp.dev/documentation/components/amp-list) +amp4email_feature_tests/amp_list.html:46:6 The tag 'amp-list' may not appear as a descendant of tag 'amp-list'. (see https://amp.dev/documentation/components/amp-list) | src="https://someserver.json"> | <template type="amp-mustache" id="1234"> >> ^~~~~~~~~ -amp4email_feature_tests/amp_list.html:63:8 The tag 'template' may not appear as a descendant of tag 'template (amp4email)'. (see https://amp.dev/documentation/components/amp-mustache) +amp4email_feature_tests/amp_list.html:48:8 The tag 'template' may not appear as a descendant of tag 'template (amp4email)'. (see https://amp.dev/documentation/components/amp-mustache) | <div> | <a href="https://somelink.com">{{blah}}</a> | </div> @@ -83,7 +68,7 @@ amp4email_feature_tests/amp_list.html:63:8 The tag 'template' may not appear as | <div> | <amp-state src="https://someserver.json"> >> ^~~~~~~~~ -amp4email_feature_tests/amp_list.html:77:6 The tag 'amp-state' may not appear as a descendant of tag 'amp-list'. (see https://amp.dev/documentation/components/amp-bind/) +amp4email_feature_tests/amp_list.html:62:6 The tag 'amp-state' may not appear as a descendant of tag 'amp-list'. (see https://amp.dev/documentation/components/amp-bind/) | <script type="application/json">{}</script> | </amp-state> | </div> @@ -99,7 +84,7 @@ amp4email_feature_tests/amp_list.html:77:6 The tag 'amp-state' may not appear as | <div> | <amp-list width="auto" height="100" layout="fixed-height" >> ^~~~~~~~~ -amp4email_feature_tests/amp_list.html:91:6 The tag 'amp-list' may not appear as a descendant of tag 'amp-list'. (see https://amp.dev/documentation/components/amp-list) +amp4email_feature_tests/amp_list.html:76:6 The tag 'amp-list' may not appear as a descendant of tag 'amp-list'. (see https://amp.dev/documentation/components/amp-list) | src="https://someserver.json" template="1234"> | </amp-list> | </div> @@ -112,7 +97,7 @@ amp4email_feature_tests/amp_list.html:91:6 The tag 'amp-list' may not appear as | <div> | <amp-state id="123" >> ^~~~~~~~~ -amp4email_feature_tests/amp_list.html:102:6 The tag 'amp-state' may not appear as a descendant of tag 'amp-list'. (see https://amp.dev/documentation/components/amp-bind/) +amp4email_feature_tests/amp_list.html:87:6 The tag 'amp-state' may not appear as a descendant of tag 'amp-list'. (see https://amp.dev/documentation/components/amp-bind/) | src="https://someserver.json" template="1234"> | <script type="application/json">{}</script> | </amp-state> @@ -124,7 +109,7 @@ amp4email_feature_tests/amp_list.html:102:6 The tag 'amp-state' may not appear a | <div> | <amp-list width="auto" height="100" layout="fixed-height" >> ^~~~~~~~~ -amp4email_feature_tests/amp_list.html:112:4 The tag 'amp-list' may not appear as a descendant of tag 'template'. (see https://amp.dev/documentation/components/amp-list) +amp4email_feature_tests/amp_list.html:97:4 The tag 'amp-list' may not appear as a descendant of tag 'template'. (see https://amp.dev/documentation/components/amp-list) | src="https://someserver.json" template="1234"> | </amp-list> | </div> @@ -134,7 +119,7 @@ amp4email_feature_tests/amp_list.html:112:4 The tag 'amp-list' may not appear as | <div> | <amp-state id="123" >> ^~~~~~~~~ -amp4email_feature_tests/amp_list.html:120:4 The tag 'amp-state' may not appear as a descendant of tag 'template'. (see https://amp.dev/documentation/components/amp-bind/) +amp4email_feature_tests/amp_list.html:105:4 The tag 'amp-state' may not appear as a descendant of tag 'template'. (see https://amp.dev/documentation/components/amp-bind/) | src="https://someserver.json" template="1234"> | <script type="application/json">{}</script> | </amp-state> @@ -146,7 +131,7 @@ amp4email_feature_tests/amp_list.html:120:4 The tag 'amp-state' may not appear a | --> | <amp-list width="auto" height="100" layout="fixed-height" >> ^~~~~~~~~ -amp4email_feature_tests/amp_list.html:130:0 Missing URL for attribute 'src' in tag 'amp-list'. (see https://amp.dev/documentation/components/amp-list) +amp4email_feature_tests/amp_list.html:115:0 Missing URL for attribute 'src' in tag 'amp-list'. (see https://amp.dev/documentation/components/amp-list) | src=""> | <template type="amp-mustache"> | <div> @@ -156,7 +141,7 @@ amp4email_feature_tests/amp_list.html:130:0 Missing URL for attribute 'src' in t | | <amp-state src=""> >> ^~~~~~~~~ -amp4email_feature_tests/amp_list.html:138:0 The attribute 'src' may not appear in tag 'amp-state'. (see https://amp.dev/documentation/components/amp-bind/) +amp4email_feature_tests/amp_list.html:123:0 The attribute 'src' may not appear in tag 'amp-state'. (see https://amp.dev/documentation/components/amp-bind/) | <template type="amp-mustache"> | <div> | </div> @@ -168,7 +153,7 @@ amp4email_feature_tests/amp_list.html:138:0 The attribute 'src' may not appear i | --> | <amp-list width="auto" height="100" layout="fixed-height" >> ^~~~~~~~~ -amp4email_feature_tests/amp_list.html:148:0 Invalid URL protocol 'http:' for attribute 'src' in tag 'amp-list'. (see https://amp.dev/documentation/components/amp-list) +amp4email_feature_tests/amp_list.html:133:0 Invalid URL protocol 'http:' for attribute 'src' in tag 'amp-list'. (see https://amp.dev/documentation/components/amp-list) | src="http://somelink.com"> | <template type="amp-mustache"> | <div> @@ -178,7 +163,7 @@ amp4email_feature_tests/amp_list.html:148:0 Invalid URL protocol 'http:' for att | | <amp-state id="123" >> ^~~~~~~~~ -amp4email_feature_tests/amp_list.html:156:0 The attribute 'src' may not appear in tag 'amp-state'. (see https://amp.dev/documentation/components/amp-bind/) +amp4email_feature_tests/amp_list.html:141:0 The attribute 'src' may not appear in tag 'amp-state'. (see https://amp.dev/documentation/components/amp-bind/) | src="http://somelink.com"> | <template type="amp-mustache"> | <div> @@ -192,7 +177,7 @@ amp4email_feature_tests/amp_list.html:156:0 The attribute 'src' may not appear i | --> | <amp-list width="auto" height="100" layout="fixed-height" >> ^~~~~~~~~ -amp4email_feature_tests/amp_list.html:168:0 The attribute '[src]' may not appear in tag 'amp-list'. (see https://amp.dev/documentation/components/amp-list) +amp4email_feature_tests/amp_list.html:153:0 The attribute '[src]' may not appear in tag 'amp-list'. (see https://amp.dev/documentation/components/amp-list) | [src]="evil"> | <template type="amp-mustache"> | <div> @@ -202,7 +187,7 @@ amp4email_feature_tests/amp_list.html:168:0 The attribute '[src]' may not appear | | <amp-state id="123" [src]="evil"> >> ^~~~~~~~~ -amp4email_feature_tests/amp_list.html:176:0 The attribute '[src]' may not appear in tag 'amp-state'. (see https://amp.dev/documentation/components/amp-bind/) +amp4email_feature_tests/amp_list.html:161:0 The attribute '[src]' may not appear in tag 'amp-state'. (see https://amp.dev/documentation/components/amp-bind/) | <script type="application/json">{}</script> | </amp-state> | @@ -211,7 +196,7 @@ amp4email_feature_tests/amp_list.html:176:0 The attribute '[src]' may not appear | --> | <amp-list width="auto" height="100" layout="fixed-height" >> ^~~~~~~~~ -amp4email_feature_tests/amp_list.html:183:0 The relative URL 'foo{{bar' for attribute 'src' in tag 'amp-list' is disallowed. (see https://amp.dev/documentation/components/amp-list) +amp4email_feature_tests/amp_list.html:168:0 The relative URL 'foo{{bar' for attribute 'src' in tag 'amp-list' is disallowed. (see https://amp.dev/documentation/components/amp-list) | src="foo{{bar"> | <template type="amp-mustache"> | <div> @@ -221,7 +206,7 @@ amp4email_feature_tests/amp_list.html:183:0 The relative URL 'foo{{bar' for attr | | <amp-list width="auto" height="100" layout="fixed-height" >> ^~~~~~~~~ -amp4email_feature_tests/amp_list.html:191:0 The relative URL 'foo}}bar' for attribute 'src' in tag 'amp-list' is disallowed. (see https://amp.dev/documentation/components/amp-list) +amp4email_feature_tests/amp_list.html:176:0 The relative URL 'foo}}bar' for attribute 'src' in tag 'amp-list' is disallowed. (see https://amp.dev/documentation/components/amp-list) | src="foo}}bar"> | <template type="amp-mustache"> | <div> @@ -237,7 +222,7 @@ amp4email_feature_tests/amp_list.html:191:0 The relative URL 'foo}}bar' for attr | <template type="amp-mustache"> | <a href="{{bar}}{{foo}}">disallowed</a> >> ^~~~~~~~~ -amp4email_feature_tests/amp_list.html:205:4 The attribute 'href' in tag 'a' is set to the invalid value '{{bar}}{{foo}}'. +amp4email_feature_tests/amp_list.html:190:4 The attribute 'href' in tag 'a' is set to the invalid value '{{bar}}{{foo}}'. | </template> | </amp-list> | diff --git a/validator/testdata/amp4email_feature_tests/anchor.html b/validator/testdata/amp4email_feature_tests/anchor.html index 7105f67e0f4c..e859cb2e954c 100644 --- a/validator/testdata/amp4email_feature_tests/anchor.html +++ b/validator/testdata/amp4email_feature_tests/anchor.html @@ -1,18 +1,3 @@ -<!-- -Copyright 2015 The AMP HTML Authors. All Rights Reserved. - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS-IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the license. ---> <!-- Test Description: Tests the additional restrictions AMP4EMAIL sets on 'A' tag. diff --git a/validator/testdata/amp4email_feature_tests/anchor.out b/validator/testdata/amp4email_feature_tests/anchor.out index b7600cf6ce04..e3a8eac904b3 100644 --- a/validator/testdata/amp4email_feature_tests/anchor.out +++ b/validator/testdata/amp4email_feature_tests/anchor.out @@ -1,20 +1,5 @@ FAIL | <!-- -| Copyright 2015 The AMP HTML Authors. All Rights Reserved. -| -| Licensed under the Apache License, Version 2.0 (the "License"); -| you may not use this file except in compliance with the License. -| You may obtain a copy of the License at -| -| http://www.apache.org/licenses/LICENSE-2.0 -| -| Unless required by applicable law or agreed to in writing, software -| distributed under the License is distributed on an "AS-IS" BASIS, -| WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -| See the License for the specific language governing permissions and -| limitations under the license. -| --> -| <!-- | Test Description: | Tests the additional restrictions AMP4EMAIL sets on 'A' tag. | --> @@ -29,23 +14,23 @@ FAIL | <!-- URLs must be absolute. --> | <a href="somelink.com">disallowed</a> >> ^~~~~~~~~ -amp4email_feature_tests/anchor.html:29:2 The relative URL 'somelink.com' for attribute 'href' in tag 'a' is disallowed. +amp4email_feature_tests/anchor.html:14:2 The relative URL 'somelink.com' for attribute 'href' in tag 'a' is disallowed. | | <!-- The protocol can only be http, https, mailto or tel. --> | <a href="ftp://somelink.com">disallowed</a> >> ^~~~~~~~~ -amp4email_feature_tests/anchor.html:32:2 Invalid URL protocol 'ftp:' for attribute 'href' in tag 'a'. +amp4email_feature_tests/anchor.html:17:2 Invalid URL protocol 'ftp:' for attribute 'href' in tag 'a'. | | <!-- href of anchor is not bindable. --> | <a [href]="evil">disallowed</a> >> ^~~~~~~~~ -amp4email_feature_tests/anchor.html:35:2 The attribute '[href]' may not appear in tag 'a'. +amp4email_feature_tests/anchor.html:20:2 The attribute '[href]' may not appear in tag 'a'. | | | <!-- This is allowed. --> | <a href="{{allowed}}">allowed</a> >> ^~~~~~~~~ -amp4email_feature_tests/anchor.html:39:2 The relative URL '{{allowed}}' for attribute 'href' in tag 'a' is disallowed. +amp4email_feature_tests/anchor.html:24:2 The relative URL '{{allowed}}' for attribute 'href' in tag 'a' is disallowed. | | <!-- | Mustache sections are not allowed in attribute values. This is currently only disallowed @@ -56,13 +41,13 @@ amp4email_feature_tests/anchor.html:39:2 The relative URL '{{allowed}}' for attr | <!-- These are disallowed --> | <a href="{{#foo}}"></a> >> ^~~~~~~~~ -amp4email_feature_tests/anchor.html:48:2 The relative URL '{{#foo}}' for attribute 'href' in tag 'a' is disallowed. +amp4email_feature_tests/anchor.html:33:2 The relative URL '{{#foo}}' for attribute 'href' in tag 'a' is disallowed. | <a href="{{/foo}}"></a> >> ^~~~~~~~~ -amp4email_feature_tests/anchor.html:49:2 The relative URL '{{/foo}}' for attribute 'href' in tag 'a' is disallowed. +amp4email_feature_tests/anchor.html:34:2 The relative URL '{{/foo}}' for attribute 'href' in tag 'a' is disallowed. | <a href="{{^foo}}"></a> >> ^~~~~~~~~ -amp4email_feature_tests/anchor.html:50:2 The relative URL '{{^foo}}' for attribute 'href' in tag 'a' is disallowed. +amp4email_feature_tests/anchor.html:35:2 The relative URL '{{^foo}}' for attribute 'href' in tag 'a' is disallowed. | | <!-- | Mustache delimiters must be balanced. This is currently only disallowed @@ -73,64 +58,64 @@ amp4email_feature_tests/anchor.html:50:2 The relative URL '{{^foo}}' for attribu | <!-- These are disallowed --> | <a href="{{disallowed"></a> >> ^~~~~~~~~ -amp4email_feature_tests/anchor.html:59:2 The relative URL '{{disallowed' for attribute 'href' in tag 'a' is disallowed. +amp4email_feature_tests/anchor.html:44:2 The relative URL '{{disallowed' for attribute 'href' in tag 'a' is disallowed. | <a href="disallowed}}"></a> >> ^~~~~~~~~ -amp4email_feature_tests/anchor.html:60:2 The relative URL 'disallowed}}' for attribute 'href' in tag 'a' is disallowed. +amp4email_feature_tests/anchor.html:45:2 The relative URL 'disallowed}}' for attribute 'href' in tag 'a' is disallowed. | <a href="}}"></a> >> ^~~~~~~~~ -amp4email_feature_tests/anchor.html:61:2 The relative URL '}}' for attribute 'href' in tag 'a' is disallowed. +amp4email_feature_tests/anchor.html:46:2 The relative URL '}}' for attribute 'href' in tag 'a' is disallowed. | <a href="{{"></a> >> ^~~~~~~~~ -amp4email_feature_tests/anchor.html:62:2 The relative URL '{{' for attribute 'href' in tag 'a' is disallowed. +amp4email_feature_tests/anchor.html:47:2 The relative URL '{{' for attribute 'href' in tag 'a' is disallowed. | | <a href="{{ "></a> >> ^~~~~~~~~ -amp4email_feature_tests/anchor.html:64:2 The relative URL '{{ ' for attribute 'href' in tag 'a' is disallowed. +amp4email_feature_tests/anchor.html:49:2 The relative URL '{{ ' for attribute 'href' in tag 'a' is disallowed. | <a href=" {{"></a> >> ^~~~~~~~~ -amp4email_feature_tests/anchor.html:65:2 The relative URL ' {{' for attribute 'href' in tag 'a' is disallowed. +amp4email_feature_tests/anchor.html:50:2 The relative URL ' {{' for attribute 'href' in tag 'a' is disallowed. | <a href=" }}"></a> >> ^~~~~~~~~ -amp4email_feature_tests/anchor.html:66:2 The relative URL ' }}' for attribute 'href' in tag 'a' is disallowed. +amp4email_feature_tests/anchor.html:51:2 The relative URL ' }}' for attribute 'href' in tag 'a' is disallowed. | <a href="}} "></a> >> ^~~~~~~~~ -amp4email_feature_tests/anchor.html:67:2 The relative URL '}} ' for attribute 'href' in tag 'a' is disallowed. +amp4email_feature_tests/anchor.html:52:2 The relative URL '}} ' for attribute 'href' in tag 'a' is disallowed. | | <!-- A combination of mustache tags and text should not calculate href values. --> | <a href="{{bar}}{{foo}}">disallowed</a> >> ^~~~~~~~~ -amp4email_feature_tests/anchor.html:70:2 The relative URL '{{bar}}{{foo}}' for attribute 'href' in tag 'a' is disallowed. +amp4email_feature_tests/anchor.html:55:2 The relative URL '{{bar}}{{foo}}' for attribute 'href' in tag 'a' is disallowed. | <p id="{{bar}}{{foo}}">allowed</p> | | <a href="bar{{foo}}">disallowed</a> >> ^~~~~~~~~ -amp4email_feature_tests/anchor.html:73:2 The relative URL 'bar{{foo}}' for attribute 'href' in tag 'a' is disallowed. +amp4email_feature_tests/anchor.html:58:2 The relative URL 'bar{{foo}}' for attribute 'href' in tag 'a' is disallowed. | <p id="bar{{foo}}">allowed</p> | | | <a href="{{foo}}bar">disallowed</a> >> ^~~~~~~~~ -amp4email_feature_tests/anchor.html:77:2 The relative URL '{{foo}}bar' for attribute 'href' in tag 'a' is disallowed. +amp4email_feature_tests/anchor.html:62:2 The relative URL '{{foo}}bar' for attribute 'href' in tag 'a' is disallowed. | <p id="{{foo}}bar">allowed</p> | | <a href="{{foo}} bar">disallowed</a> >> ^~~~~~~~~ -amp4email_feature_tests/anchor.html:80:2 The relative URL '{{foo}} bar' for attribute 'href' in tag 'a' is disallowed. +amp4email_feature_tests/anchor.html:65:2 The relative URL '{{foo}} bar' for attribute 'href' in tag 'a' is disallowed. | <p id="{{foo}} bar">allowed</p> | | <a href="bar {{foo}}">disallowed</a> >> ^~~~~~~~~ -amp4email_feature_tests/anchor.html:83:2 The relative URL 'bar {{foo}}' for attribute 'href' in tag 'a' is disallowed. +amp4email_feature_tests/anchor.html:68:2 The relative URL 'bar {{foo}}' for attribute 'href' in tag 'a' is disallowed. | | <a href="{{foo}} ">disallowed</a> >> ^~~~~~~~~ -amp4email_feature_tests/anchor.html:85:2 The relative URL '{{foo}} ' for attribute 'href' in tag 'a' is disallowed. +amp4email_feature_tests/anchor.html:70:2 The relative URL '{{foo}} ' for attribute 'href' in tag 'a' is disallowed. | <p id="{{foo}} ">allowed</p> | | <a href=" {{foo}}">disallowed</a> >> ^~~~~~~~~ -amp4email_feature_tests/anchor.html:88:2 The relative URL ' {{foo}}' for attribute 'href' in tag 'a' is disallowed. +amp4email_feature_tests/anchor.html:73:2 The relative URL ' {{foo}}' for attribute 'href' in tag 'a' is disallowed. | <p id=" {{foo}}">allowed</p> | | <!-- Mustache delimiters cannot appear in the middle of href's value. --> @@ -138,10 +123,10 @@ amp4email_feature_tests/anchor.html:88:2 The relative URL ' {{foo}}' for attribu | <!-- These are disallowed. --> | <a href="foo}}bar"></a> >> ^~~~~~~~~ -amp4email_feature_tests/anchor.html:94:2 The relative URL 'foo}}bar' for attribute 'href' in tag 'a' is disallowed. +amp4email_feature_tests/anchor.html:79:2 The relative URL 'foo}}bar' for attribute 'href' in tag 'a' is disallowed. | <a href="foo{{bar"></a> >> ^~~~~~~~~ -amp4email_feature_tests/anchor.html:95:2 The relative URL 'foo{{bar' for attribute 'href' in tag 'a' is disallowed. +amp4email_feature_tests/anchor.html:80:2 The relative URL 'foo{{bar' for attribute 'href' in tag 'a' is disallowed. | | <!-- | All the requirements hold when quotation is @@ -151,16 +136,16 @@ amp4email_feature_tests/anchor.html:95:2 The relative URL 'foo{{bar' for attribu | <!-- These are disallowed. --> | <a href={{bar}}{{foo}}></a> >> ^~~~~~~~~ -amp4email_feature_tests/anchor.html:103:2 The relative URL '{{bar}}{{foo}}' for attribute 'href' in tag 'a' is disallowed. +amp4email_feature_tests/anchor.html:88:2 The relative URL '{{bar}}{{foo}}' for attribute 'href' in tag 'a' is disallowed. | <a href=bar{{foo}}></a> >> ^~~~~~~~~ -amp4email_feature_tests/anchor.html:104:2 The relative URL 'bar{{foo}}' for attribute 'href' in tag 'a' is disallowed. +amp4email_feature_tests/anchor.html:89:2 The relative URL 'bar{{foo}}' for attribute 'href' in tag 'a' is disallowed. | <a href={{foo}}bar></a> >> ^~~~~~~~~ -amp4email_feature_tests/anchor.html:105:2 The relative URL '{{foo}}bar' for attribute 'href' in tag 'a' is disallowed. +amp4email_feature_tests/anchor.html:90:2 The relative URL '{{foo}}bar' for attribute 'href' in tag 'a' is disallowed. | <a href={{#foo}}></a> >> ^~~~~~~~~ -amp4email_feature_tests/anchor.html:106:2 The relative URL '{{#foo}}' for attribute 'href' in tag 'a' is disallowed. +amp4email_feature_tests/anchor.html:91:2 The relative URL '{{#foo}}' for attribute 'href' in tag 'a' is disallowed. | | <!-- These are allowed. --> | <a href="http://www.somelink.com">http allowed</a> @@ -171,6 +156,6 @@ amp4email_feature_tests/anchor.html:106:2 The relative URL '{{#foo}}' for attrib | <!-- 'name' attribute is deprecated. --> | <a name="protocol"></a> >> ^~~~~~~~~ -amp4email_feature_tests/anchor.html:115:2 The attribute 'name' may not appear in tag 'a'. +amp4email_feature_tests/anchor.html:100:2 The attribute 'name' may not appear in tag 'a'. | </body> | </html> diff --git a/validator/testdata/amp4email_feature_tests/css.html b/validator/testdata/amp4email_feature_tests/css.html index d2a9142dd3a5..7c0234813d7b 100644 --- a/validator/testdata/amp4email_feature_tests/css.html +++ b/validator/testdata/amp4email_feature_tests/css.html @@ -1,18 +1,3 @@ -<!-- - Copyright 2015 The AMP HTML Authors. All Rights Reserved. - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS-IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the license. ---> <!-- Test Description: Tests the CSS restrictions that exist for AMP4Email. diff --git a/validator/testdata/amp4email_feature_tests/css.out b/validator/testdata/amp4email_feature_tests/css.out index 78dea9dd95a1..5f91e0cb8336 100644 --- a/validator/testdata/amp4email_feature_tests/css.out +++ b/validator/testdata/amp4email_feature_tests/css.out @@ -1,27 +1,12 @@ FAIL | <!-- -| Copyright 2015 The AMP HTML Authors. All Rights Reserved. -| -| Licensed under the Apache License, Version 2.0 (the "License"); -| you may not use this file except in compliance with the License. -| You may obtain a copy of the License at -| -| http://www.apache.org/licenses/LICENSE-2.0 -| -| Unless required by applicable law or agreed to in writing, software -| distributed under the License is distributed on an "AS-IS" BASIS, -| WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -| See the License for the specific language governing permissions and -| limitations under the license. -| --> -| <!-- | Test Description: | Tests the CSS restrictions that exist for AMP4Email. | --> | <!doctype html> | <html ⚡4email> >> ^~~~~~~~~ -amp4email_feature_tests/css.html:21:0 Tag 'html' marked with attribute 'amp4email' is missing the corresponding attribute 'data-css-strict' for enabling strict CSS validation. This may become an error in the future. (see https://github.com/ampproject/amphtml/issues/32587) +amp4email_feature_tests/css.html:6:0 Tag 'html' marked with attribute 'amp4email' is missing the corresponding attribute 'data-css-strict' for enabling strict CSS validation. This may become an error in the future. (see https://github.com/ampproject/amphtml/issues/32587) | <head> | <meta charset="utf-8"> | <style amp4email-boilerplate>body{visibility:hidden}</style> @@ -33,16 +18,16 @@ amp4email_feature_tests/css.html:21:0 Tag 'html' marked with attribute 'amp4emai | /* all other @ rules are banned */ | @supports (display: flex) {} >> ^~~~~~~~~ -amp4email_feature_tests/css.html:31:4 CSS syntax error in tag 'style amp-custom' - saw invalid at rule '@supports'. +amp4email_feature_tests/css.html:16:4 CSS syntax error in tag 'style amp-custom' - saw invalid at rule '@supports'. | @font-face {} >> ^~~~~~~~~ -amp4email_feature_tests/css.html:32:4 CSS syntax error in tag 'style amp-custom' - saw invalid at rule '@font-face'. +amp4email_feature_tests/css.html:17:4 CSS syntax error in tag 'style amp-custom' - saw invalid at rule '@font-face'. | @keyframes slidein {} >> ^~~~~~~~~ -amp4email_feature_tests/css.html:33:4 CSS syntax error in tag 'style amp-custom' - saw invalid at rule '@keyframes'. +amp4email_feature_tests/css.html:18:4 CSS syntax error in tag 'style amp-custom' - saw invalid at rule '@keyframes'. | @invalid {} >> ^~~~~~~~~ -amp4email_feature_tests/css.html:34:4 CSS syntax error in tag 'style amp-custom' - saw invalid at rule '@invalid'. +amp4email_feature_tests/css.html:19:4 CSS syntax error in tag 'style amp-custom' - saw invalid at rule '@invalid'. | | /* Unless data-css-strict is specified, there are no rules specified on selelectors. */ | .a[otherwisevalid] {} diff --git a/validator/testdata/amp4email_feature_tests/css_declarations.html b/validator/testdata/amp4email_feature_tests/css_declarations.html index add701e96fb5..48129280046a 100644 --- a/validator/testdata/amp4email_feature_tests/css_declarations.html +++ b/validator/testdata/amp4email_feature_tests/css_declarations.html @@ -1,18 +1,3 @@ -<!-- - Copyright 2020 The AMP HTML Authors. All Rights Reserved. - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS-IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the license. ---> <!-- Test Description: Tests various CSS declarations and in what contexts they are valid. diff --git a/validator/testdata/amp4email_feature_tests/css_declarations.out b/validator/testdata/amp4email_feature_tests/css_declarations.out index 0490d3b8bb7c..efcfacb3d1ef 100644 --- a/validator/testdata/amp4email_feature_tests/css_declarations.out +++ b/validator/testdata/amp4email_feature_tests/css_declarations.out @@ -1,20 +1,5 @@ PASS | <!-- -| Copyright 2020 The AMP HTML Authors. All Rights Reserved. -| -| Licensed under the Apache License, Version 2.0 (the "License"); -| you may not use this file except in compliance with the License. -| You may obtain a copy of the License at -| -| http://www.apache.org/licenses/LICENSE-2.0 -| -| Unless required by applicable law or agreed to in writing, software -| distributed under the License is distributed on an "AS-IS" BASIS, -| WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -| See the License for the specific language governing permissions and -| limitations under the license. -| --> -| <!-- | Test Description: | Tests various CSS declarations and in what contexts they are valid. | The same list of declarations is present 2x: @@ -24,7 +9,7 @@ PASS | <!doctype html> | <html ⚡4email> >> ^~~~~~~~~ -amp4email_feature_tests/css_declarations.html:24:0 Tag 'html' marked with attribute 'amp4email' is missing the corresponding attribute 'data-css-strict' for enabling strict CSS validation. This may become an error in the future. (see https://github.com/ampproject/amphtml/issues/32587) +amp4email_feature_tests/css_declarations.html:9:0 Tag 'html' marked with attribute 'amp4email' is missing the corresponding attribute 'data-css-strict' for enabling strict CSS validation. This may become an error in the future. (see https://github.com/ampproject/amphtml/issues/32587) | <head> | <meta charset="utf-8"> | <style amp4email-boilerplate>body{visibility:hidden}</style> diff --git a/validator/testdata/amp4email_feature_tests/css_i_amphtml.html b/validator/testdata/amp4email_feature_tests/css_i_amphtml.html index 442451578065..b724306f6626 100644 --- a/validator/testdata/amp4email_feature_tests/css_i_amphtml.html +++ b/validator/testdata/amp4email_feature_tests/css_i_amphtml.html @@ -1,18 +1,3 @@ -<!-- - Copyright 2021 The AMP HTML Authors. All Rights Reserved. - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS-IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the license. ---> <!-- Test Description: Tests for excluded `i-amphtml` in the author stylesheet and inline style. diff --git a/validator/testdata/amp4email_feature_tests/css_i_amphtml.out b/validator/testdata/amp4email_feature_tests/css_i_amphtml.out index f4fcd01a7cde..0c89e783eea0 100644 --- a/validator/testdata/amp4email_feature_tests/css_i_amphtml.out +++ b/validator/testdata/amp4email_feature_tests/css_i_amphtml.out @@ -1,20 +1,5 @@ FAIL | <!-- -| Copyright 2021 The AMP HTML Authors. All Rights Reserved. -| -| Licensed under the Apache License, Version 2.0 (the "License"); -| you may not use this file except in compliance with the License. -| You may obtain a copy of the License at -| -| http://www.apache.org/licenses/LICENSE-2.0 -| -| Unless required by applicable law or agreed to in writing, software -| distributed under the License is distributed on an "AS-IS" BASIS, -| WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -| See the License for the specific language governing permissions and -| limitations under the license. -| --> -| <!-- | Test Description: | Tests for excluded `i-amphtml` in the author stylesheet and inline style. | --> @@ -26,22 +11,22 @@ FAIL | <script async src="https://cdn.ampproject.org/v0.js"></script> | <style amp-custom> >> ^~~~~~~~~ -amp4email_feature_tests/css_i_amphtml.html:26:2 The text inside tag 'style amp-custom' contains 'CSS i-amphtml- name prefix', which is disallowed. (see https://amp.dev/documentation/guides-and-tutorials/learn/email-spec/amp-email-css) +amp4email_feature_tests/css_i_amphtml.html:11:2 The text inside tag 'style amp-custom' contains 'CSS i-amphtml- name prefix', which is disallowed. (see https://amp.dev/documentation/guides-and-tutorials/learn/email-spec/amp-email-css) | i-amphtml-sizer {} | .i-amphtml-hidden {} | #i-amphtml-wrapper {} | .foo-i-amphtml { color: var(--i-amphtml-clr); } | </style> >> ^~~~~~~~~ -amp4email_feature_tests/css_i_amphtml.html:31:0 CSS syntax error in tag 'style amp-custom' - end of stylesheet encountered in prelude of a qualified rule. +amp4email_feature_tests/css_i_amphtml.html:16:0 CSS syntax error in tag 'style amp-custom' - end of stylesheet encountered in prelude of a qualified rule. | </head> | <body> | Hello, world. | <div style="i-amphtml-hidden: none;"></div> >> ^~~~~~~~~ -amp4email_feature_tests/css_i_amphtml.html:35:2 The property 'i-amphtml-hidden' in attribute 'style' in tag 'div' is disallowed. (see https://amp.dev/documentation/guides-and-tutorials/develop/style_and_layout/style_pages/) +amp4email_feature_tests/css_i_amphtml.html:20:2 The property 'i-amphtml-hidden' in attribute 'style' in tag 'div' is disallowed. (see https://amp.dev/documentation/guides-and-tutorials/develop/style_and_layout/style_pages/) | <div style="--i-amphtml-clr: #ccc;"></div> >> ^~~~~~~~~ -amp4email_feature_tests/css_i_amphtml.html:36:2 The property '--i-amphtml-clr' in attribute 'style' in tag 'div' is disallowed. (see https://amp.dev/documentation/guides-and-tutorials/develop/style_and_layout/style_pages/) +amp4email_feature_tests/css_i_amphtml.html:21:2 The property '--i-amphtml-clr' in attribute 'style' in tag 'div' is disallowed. (see https://amp.dev/documentation/guides-and-tutorials/develop/style_and_layout/style_pages/) | </body> | </html> diff --git a/validator/testdata/amp4email_feature_tests/css_strict.html b/validator/testdata/amp4email_feature_tests/css_strict.html index 47b9d768c2ef..acc95fa0a5bc 100644 --- a/validator/testdata/amp4email_feature_tests/css_strict.html +++ b/validator/testdata/amp4email_feature_tests/css_strict.html @@ -1,18 +1,3 @@ -<!-- - Copyright 2020 The AMP HTML Authors. All Rights Reserved. - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS-IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the license. ---> <!-- Test Description: Tests the CSS restrictions that exist for AMP4Email with the data-css-strict identifier. diff --git a/validator/testdata/amp4email_feature_tests/css_strict.out b/validator/testdata/amp4email_feature_tests/css_strict.out index 1dbe7dec4aaf..36c73654084a 100644 --- a/validator/testdata/amp4email_feature_tests/css_strict.out +++ b/validator/testdata/amp4email_feature_tests/css_strict.out @@ -1,20 +1,5 @@ FAIL | <!-- -| Copyright 2020 The AMP HTML Authors. All Rights Reserved. -| -| Licensed under the Apache License, Version 2.0 (the "License"); -| you may not use this file except in compliance with the License. -| You may obtain a copy of the License at -| -| http://www.apache.org/licenses/LICENSE-2.0 -| -| Unless required by applicable law or agreed to in writing, software -| distributed under the License is distributed on an "AS-IS" BASIS, -| WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -| See the License for the specific language governing permissions and -| limitations under the license. -| --> -| <!-- | Test Description: | Tests the CSS restrictions that exist for AMP4Email with the data-css-strict identifier. | --> @@ -35,42 +20,42 @@ FAIL | align-self: foo; | alignment-baseline: foo; >> ^~~~~~~~~ -amp4email_feature_tests/css_strict.html:35:6 CSS syntax error in tag 'style amp-custom' - invalid property 'alignment-baseline'. (see https://amp.dev/documentation/guides-and-tutorials/learn/email-spec/amp-email-css) +amp4email_feature_tests/css_strict.html:20:6 CSS syntax error in tag 'style amp-custom' - invalid property 'alignment-baseline'. (see https://amp.dev/documentation/guides-and-tutorials/learn/email-spec/amp-email-css) | all: foo; >> ^~~~~~~~~ -amp4email_feature_tests/css_strict.html:36:6 CSS syntax error in tag 'style amp-custom' - invalid property 'all'. (see https://amp.dev/documentation/guides-and-tutorials/learn/email-spec/amp-email-css) +amp4email_feature_tests/css_strict.html:21:6 CSS syntax error in tag 'style amp-custom' - invalid property 'all'. (see https://amp.dev/documentation/guides-and-tutorials/learn/email-spec/amp-email-css) | animation-delay: foo; >> ^~~~~~~~~ -amp4email_feature_tests/css_strict.html:37:6 CSS syntax error in tag 'style amp-custom' - invalid property 'animation-delay'. (see https://amp.dev/documentation/guides-and-tutorials/learn/email-spec/amp-email-css) +amp4email_feature_tests/css_strict.html:22:6 CSS syntax error in tag 'style amp-custom' - invalid property 'animation-delay'. (see https://amp.dev/documentation/guides-and-tutorials/learn/email-spec/amp-email-css) | animation-direction: foo; >> ^~~~~~~~~ -amp4email_feature_tests/css_strict.html:38:6 CSS syntax error in tag 'style amp-custom' - invalid property 'animation-direction'. (see https://amp.dev/documentation/guides-and-tutorials/learn/email-spec/amp-email-css) +amp4email_feature_tests/css_strict.html:23:6 CSS syntax error in tag 'style amp-custom' - invalid property 'animation-direction'. (see https://amp.dev/documentation/guides-and-tutorials/learn/email-spec/amp-email-css) | animation-duration: foo; >> ^~~~~~~~~ -amp4email_feature_tests/css_strict.html:39:6 CSS syntax error in tag 'style amp-custom' - invalid property 'animation-duration'. (see https://amp.dev/documentation/guides-and-tutorials/learn/email-spec/amp-email-css) +amp4email_feature_tests/css_strict.html:24:6 CSS syntax error in tag 'style amp-custom' - invalid property 'animation-duration'. (see https://amp.dev/documentation/guides-and-tutorials/learn/email-spec/amp-email-css) | animation-fill-mode: foo; >> ^~~~~~~~~ -amp4email_feature_tests/css_strict.html:40:6 CSS syntax error in tag 'style amp-custom' - invalid property 'animation-fill-mode'. (see https://amp.dev/documentation/guides-and-tutorials/learn/email-spec/amp-email-css) +amp4email_feature_tests/css_strict.html:25:6 CSS syntax error in tag 'style amp-custom' - invalid property 'animation-fill-mode'. (see https://amp.dev/documentation/guides-and-tutorials/learn/email-spec/amp-email-css) | animation-iteration-count: foo; >> ^~~~~~~~~ -amp4email_feature_tests/css_strict.html:41:6 CSS syntax error in tag 'style amp-custom' - invalid property 'animation-iteration-count'. (see https://amp.dev/documentation/guides-and-tutorials/learn/email-spec/amp-email-css) +amp4email_feature_tests/css_strict.html:26:6 CSS syntax error in tag 'style amp-custom' - invalid property 'animation-iteration-count'. (see https://amp.dev/documentation/guides-and-tutorials/learn/email-spec/amp-email-css) | animation-name: foo; >> ^~~~~~~~~ -amp4email_feature_tests/css_strict.html:42:6 CSS syntax error in tag 'style amp-custom' - invalid property 'animation-name'. (see https://amp.dev/documentation/guides-and-tutorials/learn/email-spec/amp-email-css) +amp4email_feature_tests/css_strict.html:27:6 CSS syntax error in tag 'style amp-custom' - invalid property 'animation-name'. (see https://amp.dev/documentation/guides-and-tutorials/learn/email-spec/amp-email-css) | animation-play-state: foo; >> ^~~~~~~~~ -amp4email_feature_tests/css_strict.html:43:6 CSS syntax error in tag 'style amp-custom' - invalid property 'animation-play-state'. (see https://amp.dev/documentation/guides-and-tutorials/learn/email-spec/amp-email-css) +amp4email_feature_tests/css_strict.html:28:6 CSS syntax error in tag 'style amp-custom' - invalid property 'animation-play-state'. (see https://amp.dev/documentation/guides-and-tutorials/learn/email-spec/amp-email-css) | animation-timing-function: foo; >> ^~~~~~~~~ -amp4email_feature_tests/css_strict.html:44:6 CSS syntax error in tag 'style amp-custom' - invalid property 'animation-timing-function'. (see https://amp.dev/documentation/guides-and-tutorials/learn/email-spec/amp-email-css) +amp4email_feature_tests/css_strict.html:29:6 CSS syntax error in tag 'style amp-custom' - invalid property 'animation-timing-function'. (see https://amp.dev/documentation/guides-and-tutorials/learn/email-spec/amp-email-css) | animation: foo; >> ^~~~~~~~~ -amp4email_feature_tests/css_strict.html:45:6 CSS syntax error in tag 'style amp-custom' - invalid property 'animation'. (see https://amp.dev/documentation/guides-and-tutorials/learn/email-spec/amp-email-css) +amp4email_feature_tests/css_strict.html:30:6 CSS syntax error in tag 'style amp-custom' - invalid property 'animation'. (see https://amp.dev/documentation/guides-and-tutorials/learn/email-spec/amp-email-css) | appearance: foo; | azimuth: foo; | backface-visibility: foo; >> ^~~~~~~~~ -amp4email_feature_tests/css_strict.html:48:6 CSS syntax error in tag 'style amp-custom' - invalid property 'backface-visibility'. (see https://amp.dev/documentation/guides-and-tutorials/learn/email-spec/amp-email-css) +amp4email_feature_tests/css_strict.html:33:6 CSS syntax error in tag 'style amp-custom' - invalid property 'backface-visibility'. (see https://amp.dev/documentation/guides-and-tutorials/learn/email-spec/amp-email-css) | background-attachment: foo; | background-blend-mode: foo; | background-clip: foo; @@ -83,7 +68,7 @@ amp4email_feature_tests/css_strict.html:48:6 CSS syntax error in tag 'style amp- | background: foo; | baseline-shift: foo; >> ^~~~~~~~~ -amp4email_feature_tests/css_strict.html:59:6 CSS syntax error in tag 'style amp-custom' - invalid property 'baseline-shift'. (see https://amp.dev/documentation/guides-and-tutorials/learn/email-spec/amp-email-css) +amp4email_feature_tests/css_strict.html:44:6 CSS syntax error in tag 'style amp-custom' - invalid property 'baseline-shift'. (see https://amp.dev/documentation/guides-and-tutorials/learn/email-spec/amp-email-css) | border-bottom-color: foo; | border-bottom-left-radius: foo; | border-bottom-right-radius: foo; @@ -94,22 +79,22 @@ amp4email_feature_tests/css_strict.html:59:6 CSS syntax error in tag 'style amp- | border-color: foo; | border-image-outset: foo; >> ^~~~~~~~~ -amp4email_feature_tests/css_strict.html:68:6 CSS syntax error in tag 'style amp-custom' - invalid property 'border-image-outset'. (see https://amp.dev/documentation/guides-and-tutorials/learn/email-spec/amp-email-css) +amp4email_feature_tests/css_strict.html:53:6 CSS syntax error in tag 'style amp-custom' - invalid property 'border-image-outset'. (see https://amp.dev/documentation/guides-and-tutorials/learn/email-spec/amp-email-css) | border-image-repeat: foo; >> ^~~~~~~~~ -amp4email_feature_tests/css_strict.html:69:6 CSS syntax error in tag 'style amp-custom' - invalid property 'border-image-repeat'. (see https://amp.dev/documentation/guides-and-tutorials/learn/email-spec/amp-email-css) +amp4email_feature_tests/css_strict.html:54:6 CSS syntax error in tag 'style amp-custom' - invalid property 'border-image-repeat'. (see https://amp.dev/documentation/guides-and-tutorials/learn/email-spec/amp-email-css) | border-image-slice: foo; >> ^~~~~~~~~ -amp4email_feature_tests/css_strict.html:70:6 CSS syntax error in tag 'style amp-custom' - invalid property 'border-image-slice'. (see https://amp.dev/documentation/guides-and-tutorials/learn/email-spec/amp-email-css) +amp4email_feature_tests/css_strict.html:55:6 CSS syntax error in tag 'style amp-custom' - invalid property 'border-image-slice'. (see https://amp.dev/documentation/guides-and-tutorials/learn/email-spec/amp-email-css) | border-image-source: foo; >> ^~~~~~~~~ -amp4email_feature_tests/css_strict.html:71:6 CSS syntax error in tag 'style amp-custom' - invalid property 'border-image-source'. (see https://amp.dev/documentation/guides-and-tutorials/learn/email-spec/amp-email-css) +amp4email_feature_tests/css_strict.html:56:6 CSS syntax error in tag 'style amp-custom' - invalid property 'border-image-source'. (see https://amp.dev/documentation/guides-and-tutorials/learn/email-spec/amp-email-css) | border-image-width: foo; >> ^~~~~~~~~ -amp4email_feature_tests/css_strict.html:72:6 CSS syntax error in tag 'style amp-custom' - invalid property 'border-image-width'. (see https://amp.dev/documentation/guides-and-tutorials/learn/email-spec/amp-email-css) +amp4email_feature_tests/css_strict.html:57:6 CSS syntax error in tag 'style amp-custom' - invalid property 'border-image-width'. (see https://amp.dev/documentation/guides-and-tutorials/learn/email-spec/amp-email-css) | border-image: foo; >> ^~~~~~~~~ -amp4email_feature_tests/css_strict.html:73:6 CSS syntax error in tag 'style amp-custom' - invalid property 'border-image'. (see https://amp.dev/documentation/guides-and-tutorials/learn/email-spec/amp-email-css) +amp4email_feature_tests/css_strict.html:58:6 CSS syntax error in tag 'style amp-custom' - invalid property 'border-image'. (see https://amp.dev/documentation/guides-and-tutorials/learn/email-spec/amp-email-css) | border-left-color: foo; | border-left-style: foo; | border-left-width: foo; @@ -132,7 +117,7 @@ amp4email_feature_tests/css_strict.html:73:6 CSS syntax error in tag 'style amp- | bottom: foo; | box-decoration-break: foo; >> ^~~~~~~~~ -amp4email_feature_tests/css_strict.html:94:6 CSS syntax error in tag 'style amp-custom' - invalid property 'box-decoration-break'. (see https://amp.dev/documentation/guides-and-tutorials/learn/email-spec/amp-email-css) +amp4email_feature_tests/css_strict.html:79:6 CSS syntax error in tag 'style amp-custom' - invalid property 'box-decoration-break'. (see https://amp.dev/documentation/guides-and-tutorials/learn/email-spec/amp-email-css) | box-shadow: foo; | box-sizing: foo; | break-after: foo; @@ -143,26 +128,26 @@ amp4email_feature_tests/css_strict.html:94:6 CSS syntax error in tag 'style amp- | clear: foo; | clip-path: foo; >> ^~~~~~~~~ -amp4email_feature_tests/css_strict.html:103:6 CSS syntax error in tag 'style amp-custom' - invalid property 'clip-path'. (see https://amp.dev/documentation/guides-and-tutorials/learn/email-spec/amp-email-css) +amp4email_feature_tests/css_strict.html:88:6 CSS syntax error in tag 'style amp-custom' - invalid property 'clip-path'. (see https://amp.dev/documentation/guides-and-tutorials/learn/email-spec/amp-email-css) | clip-rule: foo; >> ^~~~~~~~~ -amp4email_feature_tests/css_strict.html:104:6 CSS syntax error in tag 'style amp-custom' - invalid property 'clip-rule'. (see https://amp.dev/documentation/guides-and-tutorials/learn/email-spec/amp-email-css) +amp4email_feature_tests/css_strict.html:89:6 CSS syntax error in tag 'style amp-custom' - invalid property 'clip-rule'. (see https://amp.dev/documentation/guides-and-tutorials/learn/email-spec/amp-email-css) | clip: foo; >> ^~~~~~~~~ -amp4email_feature_tests/css_strict.html:105:6 CSS syntax error in tag 'style amp-custom' - invalid property 'clip'. (see https://amp.dev/documentation/guides-and-tutorials/learn/email-spec/amp-email-css) +amp4email_feature_tests/css_strict.html:90:6 CSS syntax error in tag 'style amp-custom' - invalid property 'clip'. (see https://amp.dev/documentation/guides-and-tutorials/learn/email-spec/amp-email-css) | color-adjust: foo; | color-interpolation-filters: foo; >> ^~~~~~~~~ -amp4email_feature_tests/css_strict.html:107:6 CSS syntax error in tag 'style amp-custom' - invalid property 'color-interpolation-filters'. (see https://amp.dev/documentation/guides-and-tutorials/learn/email-spec/amp-email-css) +amp4email_feature_tests/css_strict.html:92:6 CSS syntax error in tag 'style amp-custom' - invalid property 'color-interpolation-filters'. (see https://amp.dev/documentation/guides-and-tutorials/learn/email-spec/amp-email-css) | color-interpolation: foo; >> ^~~~~~~~~ -amp4email_feature_tests/css_strict.html:108:6 CSS syntax error in tag 'style amp-custom' - invalid property 'color-interpolation'. (see https://amp.dev/documentation/guides-and-tutorials/learn/email-spec/amp-email-css) +amp4email_feature_tests/css_strict.html:93:6 CSS syntax error in tag 'style amp-custom' - invalid property 'color-interpolation'. (see https://amp.dev/documentation/guides-and-tutorials/learn/email-spec/amp-email-css) | color-profile: foo; >> ^~~~~~~~~ -amp4email_feature_tests/css_strict.html:109:6 CSS syntax error in tag 'style amp-custom' - invalid property 'color-profile'. (see https://amp.dev/documentation/guides-and-tutorials/learn/email-spec/amp-email-css) +amp4email_feature_tests/css_strict.html:94:6 CSS syntax error in tag 'style amp-custom' - invalid property 'color-profile'. (see https://amp.dev/documentation/guides-and-tutorials/learn/email-spec/amp-email-css) | color-rendering: foo; >> ^~~~~~~~~ -amp4email_feature_tests/css_strict.html:110:6 CSS syntax error in tag 'style amp-custom' - invalid property 'color-rendering'. (see https://amp.dev/documentation/guides-and-tutorials/learn/email-spec/amp-email-css) +amp4email_feature_tests/css_strict.html:95:6 CSS syntax error in tag 'style amp-custom' - invalid property 'color-rendering'. (see https://amp.dev/documentation/guides-and-tutorials/learn/email-spec/amp-email-css) | color: foo; | column-count: foo; | column-fill: foo; @@ -176,34 +161,34 @@ amp4email_feature_tests/css_strict.html:110:6 CSS syntax error in tag 'style amp | columns: foo; | content: foo; >> ^~~~~~~~~ -amp4email_feature_tests/css_strict.html:122:6 CSS syntax error in tag 'style amp-custom' - invalid property 'content'. (see https://amp.dev/documentation/guides-and-tutorials/learn/email-spec/amp-email-css) +amp4email_feature_tests/css_strict.html:107:6 CSS syntax error in tag 'style amp-custom' - invalid property 'content'. (see https://amp.dev/documentation/guides-and-tutorials/learn/email-spec/amp-email-css) | counter-increment: foo; | counter-reset: foo; | cursor: foo; >> ^~~~~~~~~ -amp4email_feature_tests/css_strict.html:125:6 CSS syntax error in tag 'style amp-custom' - the property 'cursor' is set to the disallowed value 'foo'. (see https://amp.dev/documentation/guides-and-tutorials/learn/email-spec/amp-email-css) +amp4email_feature_tests/css_strict.html:110:6 CSS syntax error in tag 'style amp-custom' - the property 'cursor' is set to the disallowed value 'foo'. (see https://amp.dev/documentation/guides-and-tutorials/learn/email-spec/amp-email-css) | direction: foo; | display: foo; | dominant-baseline: foo; >> ^~~~~~~~~ -amp4email_feature_tests/css_strict.html:128:6 CSS syntax error in tag 'style amp-custom' - invalid property 'dominant-baseline'. (see https://amp.dev/documentation/guides-and-tutorials/learn/email-spec/amp-email-css) +amp4email_feature_tests/css_strict.html:113:6 CSS syntax error in tag 'style amp-custom' - invalid property 'dominant-baseline'. (see https://amp.dev/documentation/guides-and-tutorials/learn/email-spec/amp-email-css) | elevation: foo; | empty-cells: foo; | enable-background: foo; >> ^~~~~~~~~ -amp4email_feature_tests/css_strict.html:131:6 CSS syntax error in tag 'style amp-custom' - invalid property 'enable-background'. (see https://amp.dev/documentation/guides-and-tutorials/learn/email-spec/amp-email-css) +amp4email_feature_tests/css_strict.html:116:6 CSS syntax error in tag 'style amp-custom' - invalid property 'enable-background'. (see https://amp.dev/documentation/guides-and-tutorials/learn/email-spec/amp-email-css) | fill-opacity: foo; >> ^~~~~~~~~ -amp4email_feature_tests/css_strict.html:132:6 CSS syntax error in tag 'style amp-custom' - invalid property 'fill-opacity'. (see https://amp.dev/documentation/guides-and-tutorials/learn/email-spec/amp-email-css) +amp4email_feature_tests/css_strict.html:117:6 CSS syntax error in tag 'style amp-custom' - invalid property 'fill-opacity'. (see https://amp.dev/documentation/guides-and-tutorials/learn/email-spec/amp-email-css) | fill-rule: foo; >> ^~~~~~~~~ -amp4email_feature_tests/css_strict.html:133:6 CSS syntax error in tag 'style amp-custom' - invalid property 'fill-rule'. (see https://amp.dev/documentation/guides-and-tutorials/learn/email-spec/amp-email-css) +amp4email_feature_tests/css_strict.html:118:6 CSS syntax error in tag 'style amp-custom' - invalid property 'fill-rule'. (see https://amp.dev/documentation/guides-and-tutorials/learn/email-spec/amp-email-css) | fill: foo; >> ^~~~~~~~~ -amp4email_feature_tests/css_strict.html:134:6 CSS syntax error in tag 'style amp-custom' - invalid property 'fill'. (see https://amp.dev/documentation/guides-and-tutorials/learn/email-spec/amp-email-css) +amp4email_feature_tests/css_strict.html:119:6 CSS syntax error in tag 'style amp-custom' - invalid property 'fill'. (see https://amp.dev/documentation/guides-and-tutorials/learn/email-spec/amp-email-css) | filter: foo; >> ^~~~~~~~~ -amp4email_feature_tests/css_strict.html:135:6 CSS syntax error in tag 'style amp-custom' - the property 'filter' is set to the disallowed value 'foo'. (see https://amp.dev/documentation/guides-and-tutorials/learn/email-spec/amp-email-css) +amp4email_feature_tests/css_strict.html:120:6 CSS syntax error in tag 'style amp-custom' - the property 'filter' is set to the disallowed value 'foo'. (see https://amp.dev/documentation/guides-and-tutorials/learn/email-spec/amp-email-css) | flex-basis: foo; | flex-direction: foo; | flex-flow: foo; @@ -214,16 +199,16 @@ amp4email_feature_tests/css_strict.html:135:6 CSS syntax error in tag 'style amp | float: foo; | flood-color: foo; >> ^~~~~~~~~ -amp4email_feature_tests/css_strict.html:144:6 CSS syntax error in tag 'style amp-custom' - invalid property 'flood-color'. (see https://amp.dev/documentation/guides-and-tutorials/learn/email-spec/amp-email-css) +amp4email_feature_tests/css_strict.html:129:6 CSS syntax error in tag 'style amp-custom' - invalid property 'flood-color'. (see https://amp.dev/documentation/guides-and-tutorials/learn/email-spec/amp-email-css) | flood-opacity: foo; >> ^~~~~~~~~ -amp4email_feature_tests/css_strict.html:145:6 CSS syntax error in tag 'style amp-custom' - invalid property 'flood-opacity'. (see https://amp.dev/documentation/guides-and-tutorials/learn/email-spec/amp-email-css) +amp4email_feature_tests/css_strict.html:130:6 CSS syntax error in tag 'style amp-custom' - invalid property 'flood-opacity'. (see https://amp.dev/documentation/guides-and-tutorials/learn/email-spec/amp-email-css) | font-family: foo; | font-feature-settings: foo; | font-kerning: foo; | font-language-override: foo; >> ^~~~~~~~~ -amp4email_feature_tests/css_strict.html:149:6 CSS syntax error in tag 'style amp-custom' - invalid property 'font-language-override'. (see https://amp.dev/documentation/guides-and-tutorials/learn/email-spec/amp-email-css) +amp4email_feature_tests/css_strict.html:134:6 CSS syntax error in tag 'style amp-custom' - invalid property 'font-language-override'. (see https://amp.dev/documentation/guides-and-tutorials/learn/email-spec/amp-email-css) | font-size-adjust: foo; | font-size: foo; | font-stretch: foo; @@ -236,7 +221,7 @@ amp4email_feature_tests/css_strict.html:149:6 CSS syntax error in tag 'style amp | font-variant-numeric: foo; | font-variant-position: foo; >> ^~~~~~~~~ -amp4email_feature_tests/css_strict.html:160:6 CSS syntax error in tag 'style amp-custom' - invalid property 'font-variant-position'. (see https://amp.dev/documentation/guides-and-tutorials/learn/email-spec/amp-email-css) +amp4email_feature_tests/css_strict.html:145:6 CSS syntax error in tag 'style amp-custom' - invalid property 'font-variant-position'. (see https://amp.dev/documentation/guides-and-tutorials/learn/email-spec/amp-email-css) | font-variant: foo; | font-variation-settings: foo; | font-weight: foo; @@ -244,10 +229,10 @@ amp4email_feature_tests/css_strict.html:160:6 CSS syntax error in tag 'style amp | gap: foo; | glyph-orientation-horizontal: foo; >> ^~~~~~~~~ -amp4email_feature_tests/css_strict.html:166:6 CSS syntax error in tag 'style amp-custom' - invalid property 'glyph-orientation-horizontal'. (see https://amp.dev/documentation/guides-and-tutorials/learn/email-spec/amp-email-css) +amp4email_feature_tests/css_strict.html:151:6 CSS syntax error in tag 'style amp-custom' - invalid property 'glyph-orientation-horizontal'. (see https://amp.dev/documentation/guides-and-tutorials/learn/email-spec/amp-email-css) | glyph-orientation-vertical: foo; >> ^~~~~~~~~ -amp4email_feature_tests/css_strict.html:167:6 CSS syntax error in tag 'style amp-custom' - invalid property 'glyph-orientation-vertical'. (see https://amp.dev/documentation/guides-and-tutorials/learn/email-spec/amp-email-css) +amp4email_feature_tests/css_strict.html:152:6 CSS syntax error in tag 'style amp-custom' - invalid property 'glyph-orientation-vertical'. (see https://amp.dev/documentation/guides-and-tutorials/learn/email-spec/amp-email-css) | grid-area: foo; | grid-auto-columns: foo; | grid-auto-flow: foo; @@ -255,16 +240,16 @@ amp4email_feature_tests/css_strict.html:167:6 CSS syntax error in tag 'style amp | grid-column-end: foo; | grid-column-gap: foo; >> ^~~~~~~~~ -amp4email_feature_tests/css_strict.html:173:6 CSS syntax error in tag 'style amp-custom' - invalid property 'grid-column-gap'. (see https://amp.dev/documentation/guides-and-tutorials/learn/email-spec/amp-email-css) +amp4email_feature_tests/css_strict.html:158:6 CSS syntax error in tag 'style amp-custom' - invalid property 'grid-column-gap'. (see https://amp.dev/documentation/guides-and-tutorials/learn/email-spec/amp-email-css) | grid-column-start: foo; | grid-column: foo; | grid-gap: foo; >> ^~~~~~~~~ -amp4email_feature_tests/css_strict.html:176:6 CSS syntax error in tag 'style amp-custom' - invalid property 'grid-gap'. (see https://amp.dev/documentation/guides-and-tutorials/learn/email-spec/amp-email-css) +amp4email_feature_tests/css_strict.html:161:6 CSS syntax error in tag 'style amp-custom' - invalid property 'grid-gap'. (see https://amp.dev/documentation/guides-and-tutorials/learn/email-spec/amp-email-css) | grid-row-end: foo; | grid-row-gap: foo; >> ^~~~~~~~~ -amp4email_feature_tests/css_strict.html:178:6 CSS syntax error in tag 'style amp-custom' - invalid property 'grid-row-gap'. (see https://amp.dev/documentation/guides-and-tutorials/learn/email-spec/amp-email-css) +amp4email_feature_tests/css_strict.html:163:6 CSS syntax error in tag 'style amp-custom' - invalid property 'grid-row-gap'. (see https://amp.dev/documentation/guides-and-tutorials/learn/email-spec/amp-email-css) | grid-row-start: foo; | grid-row: foo; | grid-template-areas: foo; @@ -274,13 +259,13 @@ amp4email_feature_tests/css_strict.html:178:6 CSS syntax error in tag 'style amp | grid: foo; | hanging-punctuation: foo; >> ^~~~~~~~~ -amp4email_feature_tests/css_strict.html:186:6 CSS syntax error in tag 'style amp-custom' - invalid property 'hanging-punctuation'. (see https://amp.dev/documentation/guides-and-tutorials/learn/email-spec/amp-email-css) +amp4email_feature_tests/css_strict.html:171:6 CSS syntax error in tag 'style amp-custom' - invalid property 'hanging-punctuation'. (see https://amp.dev/documentation/guides-and-tutorials/learn/email-spec/amp-email-css) | height: foo; | hyphens: foo; | image-orientation: foo; | image-rendering: foo; >> ^~~~~~~~~ -amp4email_feature_tests/css_strict.html:190:6 CSS syntax error in tag 'style amp-custom' - invalid property 'image-rendering'. (see https://amp.dev/documentation/guides-and-tutorials/learn/email-spec/amp-email-css) +amp4email_feature_tests/css_strict.html:175:6 CSS syntax error in tag 'style amp-custom' - invalid property 'image-rendering'. (see https://amp.dev/documentation/guides-and-tutorials/learn/email-spec/amp-email-css) | image-resolution: foo; | inline-size: foo; | isolation: foo; @@ -289,17 +274,17 @@ amp4email_feature_tests/css_strict.html:190:6 CSS syntax error in tag 'style amp | justify-self: foo; | kerning: foo; >> ^~~~~~~~~ -amp4email_feature_tests/css_strict.html:197:6 CSS syntax error in tag 'style amp-custom' - invalid property 'kerning'. (see https://amp.dev/documentation/guides-and-tutorials/learn/email-spec/amp-email-css) +amp4email_feature_tests/css_strict.html:182:6 CSS syntax error in tag 'style amp-custom' - invalid property 'kerning'. (see https://amp.dev/documentation/guides-and-tutorials/learn/email-spec/amp-email-css) | left: foo; | letter-spacing: foo; | lighting-color: foo; >> ^~~~~~~~~ -amp4email_feature_tests/css_strict.html:200:6 CSS syntax error in tag 'style amp-custom' - invalid property 'lighting-color'. (see https://amp.dev/documentation/guides-and-tutorials/learn/email-spec/amp-email-css) +amp4email_feature_tests/css_strict.html:185:6 CSS syntax error in tag 'style amp-custom' - invalid property 'lighting-color'. (see https://amp.dev/documentation/guides-and-tutorials/learn/email-spec/amp-email-css) | line-break: foo; | line-height: foo; | list-style-image: foo; >> ^~~~~~~~~ -amp4email_feature_tests/css_strict.html:203:6 CSS syntax error in tag 'style amp-custom' - invalid property 'list-style-image'. (see https://amp.dev/documentation/guides-and-tutorials/learn/email-spec/amp-email-css) +amp4email_feature_tests/css_strict.html:188:6 CSS syntax error in tag 'style amp-custom' - invalid property 'list-style-image'. (see https://amp.dev/documentation/guides-and-tutorials/learn/email-spec/amp-email-css) | list-style-position: foo; | list-style-type: foo; | list-style: foo; @@ -310,19 +295,19 @@ amp4email_feature_tests/css_strict.html:203:6 CSS syntax error in tag 'style amp | margin: foo; | marker-end: foo; >> ^~~~~~~~~ -amp4email_feature_tests/css_strict.html:212:6 CSS syntax error in tag 'style amp-custom' - invalid property 'marker-end'. (see https://amp.dev/documentation/guides-and-tutorials/learn/email-spec/amp-email-css) +amp4email_feature_tests/css_strict.html:197:6 CSS syntax error in tag 'style amp-custom' - invalid property 'marker-end'. (see https://amp.dev/documentation/guides-and-tutorials/learn/email-spec/amp-email-css) | marker-mid: foo; >> ^~~~~~~~~ -amp4email_feature_tests/css_strict.html:213:6 CSS syntax error in tag 'style amp-custom' - invalid property 'marker-mid'. (see https://amp.dev/documentation/guides-and-tutorials/learn/email-spec/amp-email-css) +amp4email_feature_tests/css_strict.html:198:6 CSS syntax error in tag 'style amp-custom' - invalid property 'marker-mid'. (see https://amp.dev/documentation/guides-and-tutorials/learn/email-spec/amp-email-css) | marker-start: foo; >> ^~~~~~~~~ -amp4email_feature_tests/css_strict.html:214:6 CSS syntax error in tag 'style amp-custom' - invalid property 'marker-start'. (see https://amp.dev/documentation/guides-and-tutorials/learn/email-spec/amp-email-css) +amp4email_feature_tests/css_strict.html:199:6 CSS syntax error in tag 'style amp-custom' - invalid property 'marker-start'. (see https://amp.dev/documentation/guides-and-tutorials/learn/email-spec/amp-email-css) | marker: foo; >> ^~~~~~~~~ -amp4email_feature_tests/css_strict.html:215:6 CSS syntax error in tag 'style amp-custom' - invalid property 'marker'. (see https://amp.dev/documentation/guides-and-tutorials/learn/email-spec/amp-email-css) +amp4email_feature_tests/css_strict.html:200:6 CSS syntax error in tag 'style amp-custom' - invalid property 'marker'. (see https://amp.dev/documentation/guides-and-tutorials/learn/email-spec/amp-email-css) | mask: foo; >> ^~~~~~~~~ -amp4email_feature_tests/css_strict.html:216:6 CSS syntax error in tag 'style amp-custom' - invalid property 'mask'. (see https://amp.dev/documentation/guides-and-tutorials/learn/email-spec/amp-email-css) +amp4email_feature_tests/css_strict.html:201:6 CSS syntax error in tag 'style amp-custom' - invalid property 'mask'. (see https://amp.dev/documentation/guides-and-tutorials/learn/email-spec/amp-email-css) | max-height: foo; | max-width: foo; | min-height: foo; @@ -335,7 +320,7 @@ amp4email_feature_tests/css_strict.html:216:6 CSS syntax error in tag 'style amp | order: foo; | orphans: foo; >> ^~~~~~~~~ -amp4email_feature_tests/css_strict.html:227:6 CSS syntax error in tag 'style amp-custom' - invalid property 'orphans'. (see https://amp.dev/documentation/guides-and-tutorials/learn/email-spec/amp-email-css) +amp4email_feature_tests/css_strict.html:212:6 CSS syntax error in tag 'style amp-custom' - invalid property 'orphans'. (see https://amp.dev/documentation/guides-and-tutorials/learn/email-spec/amp-email-css) | outline-color: foo; | outline-offset: foo; | outline-style: foo; @@ -352,13 +337,13 @@ amp4email_feature_tests/css_strict.html:227:6 CSS syntax error in tag 'style amp | padding: foo; | page-break-after: foo; >> ^~~~~~~~~ -amp4email_feature_tests/css_strict.html:242:6 CSS syntax error in tag 'style amp-custom' - invalid property 'page-break-after'. (see https://amp.dev/documentation/guides-and-tutorials/learn/email-spec/amp-email-css) +amp4email_feature_tests/css_strict.html:227:6 CSS syntax error in tag 'style amp-custom' - invalid property 'page-break-after'. (see https://amp.dev/documentation/guides-and-tutorials/learn/email-spec/amp-email-css) | page-break-before: foo; >> ^~~~~~~~~ -amp4email_feature_tests/css_strict.html:243:6 CSS syntax error in tag 'style amp-custom' - invalid property 'page-break-before'. (see https://amp.dev/documentation/guides-and-tutorials/learn/email-spec/amp-email-css) +amp4email_feature_tests/css_strict.html:228:6 CSS syntax error in tag 'style amp-custom' - invalid property 'page-break-before'. (see https://amp.dev/documentation/guides-and-tutorials/learn/email-spec/amp-email-css) | page-break-inside: foo; >> ^~~~~~~~~ -amp4email_feature_tests/css_strict.html:244:6 CSS syntax error in tag 'style amp-custom' - invalid property 'page-break-inside'. (see https://amp.dev/documentation/guides-and-tutorials/learn/email-spec/amp-email-css) +amp4email_feature_tests/css_strict.html:229:6 CSS syntax error in tag 'style amp-custom' - invalid property 'page-break-inside'. (see https://amp.dev/documentation/guides-and-tutorials/learn/email-spec/amp-email-css) | pause: foo; | pause-after: foo; | pause-before: foo; @@ -369,7 +354,7 @@ amp4email_feature_tests/css_strict.html:244:6 CSS syntax error in tag 'style amp | place-items: foo; | pointer-events: foo; >> ^~~~~~~~~ -amp4email_feature_tests/css_strict.html:253:6 CSS syntax error in tag 'style amp-custom' - invalid property 'pointer-events'. (see https://amp.dev/documentation/guides-and-tutorials/learn/email-spec/amp-email-css) +amp4email_feature_tests/css_strict.html:238:6 CSS syntax error in tag 'style amp-custom' - invalid property 'pointer-events'. (see https://amp.dev/documentation/guides-and-tutorials/learn/email-spec/amp-email-css) | /* position has special rules. Don't use `foo` */ | position: initial; | quotes: foo; @@ -379,7 +364,7 @@ amp4email_feature_tests/css_strict.html:253:6 CSS syntax error in tag 'style amp | row-gap: foo; | shape-rendering: foo; >> ^~~~~~~~~ -amp4email_feature_tests/css_strict.html:261:6 CSS syntax error in tag 'style amp-custom' - invalid property 'shape-rendering'. (see https://amp.dev/documentation/guides-and-tutorials/learn/email-spec/amp-email-css) +amp4email_feature_tests/css_strict.html:246:6 CSS syntax error in tag 'style amp-custom' - invalid property 'shape-rendering'. (see https://amp.dev/documentation/guides-and-tutorials/learn/email-spec/amp-email-css) | speak-header: foo; | speak-numeral: foo; | speak-punctuation: foo; @@ -387,50 +372,50 @@ amp4email_feature_tests/css_strict.html:261:6 CSS syntax error in tag 'style amp | speech-rate: foo; | stop-color: foo; >> ^~~~~~~~~ -amp4email_feature_tests/css_strict.html:267:6 CSS syntax error in tag 'style amp-custom' - invalid property 'stop-color'. (see https://amp.dev/documentation/guides-and-tutorials/learn/email-spec/amp-email-css) +amp4email_feature_tests/css_strict.html:252:6 CSS syntax error in tag 'style amp-custom' - invalid property 'stop-color'. (see https://amp.dev/documentation/guides-and-tutorials/learn/email-spec/amp-email-css) | stop-opacity: foo; >> ^~~~~~~~~ -amp4email_feature_tests/css_strict.html:268:6 CSS syntax error in tag 'style amp-custom' - invalid property 'stop-opacity'. (see https://amp.dev/documentation/guides-and-tutorials/learn/email-spec/amp-email-css) +amp4email_feature_tests/css_strict.html:253:6 CSS syntax error in tag 'style amp-custom' - invalid property 'stop-opacity'. (see https://amp.dev/documentation/guides-and-tutorials/learn/email-spec/amp-email-css) | stress: foo; | stroke-dasharray: foo; >> ^~~~~~~~~ -amp4email_feature_tests/css_strict.html:270:6 CSS syntax error in tag 'style amp-custom' - invalid property 'stroke-dasharray'. (see https://amp.dev/documentation/guides-and-tutorials/learn/email-spec/amp-email-css) +amp4email_feature_tests/css_strict.html:255:6 CSS syntax error in tag 'style amp-custom' - invalid property 'stroke-dasharray'. (see https://amp.dev/documentation/guides-and-tutorials/learn/email-spec/amp-email-css) | stroke-dashoffset: foo; >> ^~~~~~~~~ -amp4email_feature_tests/css_strict.html:271:6 CSS syntax error in tag 'style amp-custom' - invalid property 'stroke-dashoffset'. (see https://amp.dev/documentation/guides-and-tutorials/learn/email-spec/amp-email-css) +amp4email_feature_tests/css_strict.html:256:6 CSS syntax error in tag 'style amp-custom' - invalid property 'stroke-dashoffset'. (see https://amp.dev/documentation/guides-and-tutorials/learn/email-spec/amp-email-css) | stroke-linecap: foo; >> ^~~~~~~~~ -amp4email_feature_tests/css_strict.html:272:6 CSS syntax error in tag 'style amp-custom' - invalid property 'stroke-linecap'. (see https://amp.dev/documentation/guides-and-tutorials/learn/email-spec/amp-email-css) +amp4email_feature_tests/css_strict.html:257:6 CSS syntax error in tag 'style amp-custom' - invalid property 'stroke-linecap'. (see https://amp.dev/documentation/guides-and-tutorials/learn/email-spec/amp-email-css) | stroke-linejoin: foo; >> ^~~~~~~~~ -amp4email_feature_tests/css_strict.html:273:6 CSS syntax error in tag 'style amp-custom' - invalid property 'stroke-linejoin'. (see https://amp.dev/documentation/guides-and-tutorials/learn/email-spec/amp-email-css) +amp4email_feature_tests/css_strict.html:258:6 CSS syntax error in tag 'style amp-custom' - invalid property 'stroke-linejoin'. (see https://amp.dev/documentation/guides-and-tutorials/learn/email-spec/amp-email-css) | stroke-miterlimit: foo; >> ^~~~~~~~~ -amp4email_feature_tests/css_strict.html:274:6 CSS syntax error in tag 'style amp-custom' - invalid property 'stroke-miterlimit'. (see https://amp.dev/documentation/guides-and-tutorials/learn/email-spec/amp-email-css) +amp4email_feature_tests/css_strict.html:259:6 CSS syntax error in tag 'style amp-custom' - invalid property 'stroke-miterlimit'. (see https://amp.dev/documentation/guides-and-tutorials/learn/email-spec/amp-email-css) | stroke-opacity: foo; >> ^~~~~~~~~ -amp4email_feature_tests/css_strict.html:275:6 CSS syntax error in tag 'style amp-custom' - invalid property 'stroke-opacity'. (see https://amp.dev/documentation/guides-and-tutorials/learn/email-spec/amp-email-css) +amp4email_feature_tests/css_strict.html:260:6 CSS syntax error in tag 'style amp-custom' - invalid property 'stroke-opacity'. (see https://amp.dev/documentation/guides-and-tutorials/learn/email-spec/amp-email-css) | stroke-width: foo; >> ^~~~~~~~~ -amp4email_feature_tests/css_strict.html:276:6 CSS syntax error in tag 'style amp-custom' - invalid property 'stroke-width'. (see https://amp.dev/documentation/guides-and-tutorials/learn/email-spec/amp-email-css) +amp4email_feature_tests/css_strict.html:261:6 CSS syntax error in tag 'style amp-custom' - invalid property 'stroke-width'. (see https://amp.dev/documentation/guides-and-tutorials/learn/email-spec/amp-email-css) | stroke: foo; >> ^~~~~~~~~ -amp4email_feature_tests/css_strict.html:277:6 CSS syntax error in tag 'style amp-custom' - invalid property 'stroke'. (see https://amp.dev/documentation/guides-and-tutorials/learn/email-spec/amp-email-css) +amp4email_feature_tests/css_strict.html:262:6 CSS syntax error in tag 'style amp-custom' - invalid property 'stroke'. (see https://amp.dev/documentation/guides-and-tutorials/learn/email-spec/amp-email-css) | tab-size: foo; >> ^~~~~~~~~ -amp4email_feature_tests/css_strict.html:278:6 CSS syntax error in tag 'style amp-custom' - invalid property 'tab-size'. (see https://amp.dev/documentation/guides-and-tutorials/learn/email-spec/amp-email-css) +amp4email_feature_tests/css_strict.html:263:6 CSS syntax error in tag 'style amp-custom' - invalid property 'tab-size'. (see https://amp.dev/documentation/guides-and-tutorials/learn/email-spec/amp-email-css) | table-layout: foo; | text-align-last: foo; | text-align: foo; | text-anchor: foo; >> ^~~~~~~~~ -amp4email_feature_tests/css_strict.html:282:6 CSS syntax error in tag 'style amp-custom' - invalid property 'text-anchor'. (see https://amp.dev/documentation/guides-and-tutorials/learn/email-spec/amp-email-css) +amp4email_feature_tests/css_strict.html:267:6 CSS syntax error in tag 'style amp-custom' - invalid property 'text-anchor'. (see https://amp.dev/documentation/guides-and-tutorials/learn/email-spec/amp-email-css) | text-combine-upright: foo; | text-decoration-color: foo; | text-decoration-line: foo; | text-decoration-skip-ink: foo; >> ^~~~~~~~~ -amp4email_feature_tests/css_strict.html:286:6 CSS syntax error in tag 'style amp-custom' - invalid property 'text-decoration-skip-ink'. (see https://amp.dev/documentation/guides-and-tutorials/learn/email-spec/amp-email-css) +amp4email_feature_tests/css_strict.html:271:6 CSS syntax error in tag 'style amp-custom' - invalid property 'text-decoration-skip-ink'. (see https://amp.dev/documentation/guides-and-tutorials/learn/email-spec/amp-email-css) | text-decoration-skip: foo; | text-decoration-style: foo; | text-decoration: foo; @@ -440,24 +425,24 @@ amp4email_feature_tests/css_strict.html:286:6 CSS syntax error in tag 'style amp | text-emphasis: foo; | text-fill-color: foo; >> ^~~~~~~~~ -amp4email_feature_tests/css_strict.html:294:6 CSS syntax error in tag 'style amp-custom' - invalid property 'text-fill-color'. (see https://amp.dev/documentation/guides-and-tutorials/learn/email-spec/amp-email-css) +amp4email_feature_tests/css_strict.html:279:6 CSS syntax error in tag 'style amp-custom' - invalid property 'text-fill-color'. (see https://amp.dev/documentation/guides-and-tutorials/learn/email-spec/amp-email-css) | text-indent: foo; | text-justify: foo; | text-orientation: foo; | text-overflow: foo; | text-rendering: foo; >> ^~~~~~~~~ -amp4email_feature_tests/css_strict.html:299:6 CSS syntax error in tag 'style amp-custom' - invalid property 'text-rendering'. (see https://amp.dev/documentation/guides-and-tutorials/learn/email-spec/amp-email-css) +amp4email_feature_tests/css_strict.html:284:6 CSS syntax error in tag 'style amp-custom' - invalid property 'text-rendering'. (see https://amp.dev/documentation/guides-and-tutorials/learn/email-spec/amp-email-css) | text-shadow: foo; | text-stroke-color: foo; >> ^~~~~~~~~ -amp4email_feature_tests/css_strict.html:301:6 CSS syntax error in tag 'style amp-custom' - invalid property 'text-stroke-color'. (see https://amp.dev/documentation/guides-and-tutorials/learn/email-spec/amp-email-css) +amp4email_feature_tests/css_strict.html:286:6 CSS syntax error in tag 'style amp-custom' - invalid property 'text-stroke-color'. (see https://amp.dev/documentation/guides-and-tutorials/learn/email-spec/amp-email-css) | text-stroke-width: foo; >> ^~~~~~~~~ -amp4email_feature_tests/css_strict.html:302:6 CSS syntax error in tag 'style amp-custom' - invalid property 'text-stroke-width'. (see https://amp.dev/documentation/guides-and-tutorials/learn/email-spec/amp-email-css) +amp4email_feature_tests/css_strict.html:287:6 CSS syntax error in tag 'style amp-custom' - invalid property 'text-stroke-width'. (see https://amp.dev/documentation/guides-and-tutorials/learn/email-spec/amp-email-css) | text-stroke: foo; >> ^~~~~~~~~ -amp4email_feature_tests/css_strict.html:303:6 CSS syntax error in tag 'style amp-custom' - invalid property 'text-stroke'. (see https://amp.dev/documentation/guides-and-tutorials/learn/email-spec/amp-email-css) +amp4email_feature_tests/css_strict.html:288:6 CSS syntax error in tag 'style amp-custom' - invalid property 'text-stroke'. (see https://amp.dev/documentation/guides-and-tutorials/learn/email-spec/amp-email-css) | text-transform: foo; | text-underline-position: foo; | top: foo; @@ -469,24 +454,24 @@ amp4email_feature_tests/css_strict.html:303:6 CSS syntax error in tag 'style amp | transition-duration: foo; | transition-property: foo; >> ^~~~~~~~~ -amp4email_feature_tests/css_strict.html:313:6 CSS syntax error in tag 'style amp-custom' - the property 'transition-property' is set to the disallowed value 'foo'. (see https://amp.dev/documentation/guides-and-tutorials/learn/email-spec/amp-email-css) +amp4email_feature_tests/css_strict.html:298:6 CSS syntax error in tag 'style amp-custom' - the property 'transition-property' is set to the disallowed value 'foo'. (see https://amp.dev/documentation/guides-and-tutorials/learn/email-spec/amp-email-css) | transition-timing-function: foo; | transition: foo; >> ^~~~~~~~~ -amp4email_feature_tests/css_strict.html:315:6 CSS syntax error in tag 'style amp-custom' - the property 'transition' is set to the disallowed value 'foo'. (see https://amp.dev/documentation/guides-and-tutorials/learn/email-spec/amp-email-css) +amp4email_feature_tests/css_strict.html:300:6 CSS syntax error in tag 'style amp-custom' - the property 'transition' is set to the disallowed value 'foo'. (see https://amp.dev/documentation/guides-and-tutorials/learn/email-spec/amp-email-css) | unicode-bidi: foo; | user-select: foo; >> ^~~~~~~~~ -amp4email_feature_tests/css_strict.html:317:6 CSS syntax error in tag 'style amp-custom' - invalid property 'user-select'. (see https://amp.dev/documentation/guides-and-tutorials/learn/email-spec/amp-email-css) +amp4email_feature_tests/css_strict.html:302:6 CSS syntax error in tag 'style amp-custom' - invalid property 'user-select'. (see https://amp.dev/documentation/guides-and-tutorials/learn/email-spec/amp-email-css) | vertical-align: foo; | visibility: foo; >> ^~~~~~~~~ -amp4email_feature_tests/css_strict.html:319:6 CSS syntax error in tag 'style amp-custom' - the property 'visibility' is set to the disallowed value 'foo'. (see https://amp.dev/documentation/guides-and-tutorials/learn/email-spec/amp-email-css) +amp4email_feature_tests/css_strict.html:304:6 CSS syntax error in tag 'style amp-custom' - the property 'visibility' is set to the disallowed value 'foo'. (see https://amp.dev/documentation/guides-and-tutorials/learn/email-spec/amp-email-css) | voice-family: foo; | white-space: foo; | widows: foo; >> ^~~~~~~~~ -amp4email_feature_tests/css_strict.html:322:6 CSS syntax error in tag 'style amp-custom' - invalid property 'widows'. (see https://amp.dev/documentation/guides-and-tutorials/learn/email-spec/amp-email-css) +amp4email_feature_tests/css_strict.html:307:6 CSS syntax error in tag 'style amp-custom' - invalid property 'widows'. (see https://amp.dev/documentation/guides-and-tutorials/learn/email-spec/amp-email-css) | width: foo; | word-break: foo; | word-spacing: foo; @@ -494,22 +479,22 @@ amp4email_feature_tests/css_strict.html:322:6 CSS syntax error in tag 'style amp | writing-mode: foo; | z-index: foo; >> ^~~~~~~~~ -amp4email_feature_tests/css_strict.html:328:6 CSS syntax error in tag 'style amp-custom' - the property 'z-index' is set to the disallowed value 'foo'. (see https://amp.dev/documentation/guides-and-tutorials/learn/email-spec/amp-email-css) +amp4email_feature_tests/css_strict.html:313:6 CSS syntax error in tag 'style amp-custom' - the property 'z-index' is set to the disallowed value 'foo'. (see https://amp.dev/documentation/guides-and-tutorials/learn/email-spec/amp-email-css) | z-index: auto; >> ^~~~~~~~~ -amp4email_feature_tests/css_strict.html:329:6 CSS syntax error in tag 'style amp-custom' - the property 'z-index' is set to the disallowed value 'auto'. (see https://amp.dev/documentation/guides-and-tutorials/learn/email-spec/amp-email-css) +amp4email_feature_tests/css_strict.html:314:6 CSS syntax error in tag 'style amp-custom' - the property 'z-index' is set to the disallowed value 'auto'. (see https://amp.dev/documentation/guides-and-tutorials/learn/email-spec/amp-email-css) | z-index: -1; | } | madeupdecls { | amplitude: foo; >> ^~~~~~~~~ -amp4email_feature_tests/css_strict.html:333:6 CSS syntax error in tag 'style amp-custom' - invalid property 'amplitude'. (see https://amp.dev/documentation/guides-and-tutorials/learn/email-spec/amp-email-css) +amp4email_feature_tests/css_strict.html:318:6 CSS syntax error in tag 'style amp-custom' - invalid property 'amplitude'. (see https://amp.dev/documentation/guides-and-tutorials/learn/email-spec/amp-email-css) | barometric-pressure: foo; >> ^~~~~~~~~ -amp4email_feature_tests/css_strict.html:334:6 CSS syntax error in tag 'style amp-custom' - invalid property 'barometric-pressure'. (see https://amp.dev/documentation/guides-and-tutorials/learn/email-spec/amp-email-css) +amp4email_feature_tests/css_strict.html:319:6 CSS syntax error in tag 'style amp-custom' - invalid property 'barometric-pressure'. (see https://amp.dev/documentation/guides-and-tutorials/learn/email-spec/amp-email-css) | degrees-celsius: foo; >> ^~~~~~~~~ -amp4email_feature_tests/css_strict.html:335:6 CSS syntax error in tag 'style amp-custom' - invalid property 'degrees-celsius'. (see https://amp.dev/documentation/guides-and-tutorials/learn/email-spec/amp-email-css) +amp4email_feature_tests/css_strict.html:320:6 CSS syntax error in tag 'style amp-custom' - invalid property 'degrees-celsius'. (see https://amp.dev/documentation/guides-and-tutorials/learn/email-spec/amp-email-css) | } | /* valid media queries */ | @media all {} @@ -530,44 +515,44 @@ amp4email_feature_tests/css_strict.html:335:6 CSS syntax error in tag 'style amp | /* invalid media queries */ | @media invalid {} >> ^~~~~~~~~ -amp4email_feature_tests/css_strict.html:354:11 CSS syntax error in tag 'style amp-custom' - disallowed media type 'invalid'. +amp4email_feature_tests/css_strict.html:339:11 CSS syntax error in tag 'style amp-custom' - disallowed media type 'invalid'. | @media (invalid: foo) {} >> ^~~~~~~~~ -amp4email_feature_tests/css_strict.html:355:12 CSS syntax error in tag 'style amp-custom' - disallowed media feature 'invalid'. +amp4email_feature_tests/css_strict.html:340:12 CSS syntax error in tag 'style amp-custom' - disallowed media feature 'invalid'. | | /* all other @ rules are banned */ | @supports (display: flex) {} >> ^~~~~~~~~ -amp4email_feature_tests/css_strict.html:358:4 CSS syntax error in tag 'style amp-custom' - saw invalid at rule '@supports'. +amp4email_feature_tests/css_strict.html:343:4 CSS syntax error in tag 'style amp-custom' - saw invalid at rule '@supports'. | @font-face {} >> ^~~~~~~~~ -amp4email_feature_tests/css_strict.html:359:4 CSS syntax error in tag 'style amp-custom' - saw invalid at rule '@font-face'. +amp4email_feature_tests/css_strict.html:344:4 CSS syntax error in tag 'style amp-custom' - saw invalid at rule '@font-face'. | @keyframes slidein {} >> ^~~~~~~~~ -amp4email_feature_tests/css_strict.html:360:4 CSS syntax error in tag 'style amp-custom' - saw invalid at rule '@keyframes'. +amp4email_feature_tests/css_strict.html:345:4 CSS syntax error in tag 'style amp-custom' - saw invalid at rule '@keyframes'. | @notvalid {} >> ^~~~~~~~~ -amp4email_feature_tests/css_strict.html:361:4 CSS syntax error in tag 'style amp-custom' - saw invalid at rule '@notvalid'. +amp4email_feature_tests/css_strict.html:346:4 CSS syntax error in tag 'style amp-custom' - saw invalid at rule '@notvalid'. | @page {} >> ^~~~~~~~~ -amp4email_feature_tests/css_strict.html:362:4 CSS syntax error in tag 'style amp-custom' - saw invalid at rule '@page'. +amp4email_feature_tests/css_strict.html:347:4 CSS syntax error in tag 'style amp-custom' - saw invalid at rule '@page'. | | /* Since data-css-strict is specified, we apply selector rules. */ | .a[notvalid] {} >> ^~~~~~~~~ -amp4email_feature_tests/css_strict.html:365:6 CSS error in tag 'style amp-custom' - disallowed attribute selector 'notvalid'. +amp4email_feature_tests/css_strict.html:350:6 CSS error in tag 'style amp-custom' - disallowed attribute selector 'notvalid'. | .a:notvalid {} >> ^~~~~~~~~ -amp4email_feature_tests/css_strict.html:366:6 CSS error in tag 'style amp-custom' - disallowed pseudo class 'notvalid'. +amp4email_feature_tests/css_strict.html:351:6 CSS error in tag 'style amp-custom' - disallowed pseudo class 'notvalid'. | .a::notvalid {} >> ^~~~~~~~~ -amp4email_feature_tests/css_strict.html:367:6 CSS error in tag 'style amp-custom' - disallowed pseudo element 'notvalid'. +amp4email_feature_tests/css_strict.html:352:6 CSS error in tag 'style amp-custom' - disallowed pseudo element 'notvalid'. | :notvalid {} >> ^~~~~~~~~ -amp4email_feature_tests/css_strict.html:368:4 CSS error in tag 'style amp-custom' - disallowed pseudo class 'notvalid'. +amp4email_feature_tests/css_strict.html:353:4 CSS error in tag 'style amp-custom' - disallowed pseudo class 'notvalid'. | .a[id]:notvalid {} >> ^~~~~~~~~ -amp4email_feature_tests/css_strict.html:369:10 CSS error in tag 'style amp-custom' - disallowed pseudo class 'notvalid'. +amp4email_feature_tests/css_strict.html:354:10 CSS error in tag 'style amp-custom' - disallowed pseudo class 'notvalid'. | | .a[active] {} | .a[alt] {} @@ -640,7 +625,7 @@ amp4email_feature_tests/css_strict.html:369:10 CSS error in tag 'style amp-custo | .a { margin: 1px; } | .a { -webkit-margin: 1px; } >> ^~~~~~~~~ -amp4email_feature_tests/css_strict.html:440:9 CSS syntax error in tag 'style amp-custom' - invalid property '-webkit-margin'. (see https://amp.dev/documentation/guides-and-tutorials/learn/email-spec/amp-email-css) +amp4email_feature_tests/css_strict.html:425:9 CSS syntax error in tag 'style amp-custom' - invalid property '-webkit-margin'. (see https://amp.dev/documentation/guides-and-tutorials/learn/email-spec/amp-email-css) | | /* Three specific prefixes are explicitly allowlisted */ | .a { @@ -652,22 +637,22 @@ amp4email_feature_tests/css_strict.html:440:9 CSS syntax error in tag 'style amp | /* Not all properties are automatically allowed */ | .a { invalid: 1px; } >> ^~~~~~~~~ -amp4email_feature_tests/css_strict.html:450:9 CSS syntax error in tag 'style amp-custom' - invalid property 'invalid'. (see https://amp.dev/documentation/guides-and-tutorials/learn/email-spec/amp-email-css) +amp4email_feature_tests/css_strict.html:435:9 CSS syntax error in tag 'style amp-custom' - invalid property 'invalid'. (see https://amp.dev/documentation/guides-and-tutorials/learn/email-spec/amp-email-css) | | /* Some properties are allowed, but only certain values */ | .a { position: absolute; } | .a { position: invalid; } >> ^~~~~~~~~ -amp4email_feature_tests/css_strict.html:454:9 CSS syntax error in tag 'style amp-custom' - the property 'position' is set to the disallowed value 'invalid'. (see https://amp.dev/documentation/guides-and-tutorials/learn/email-spec/amp-email-css) +amp4email_feature_tests/css_strict.html:439:9 CSS syntax error in tag 'style amp-custom' - the property 'position' is set to the disallowed value 'invalid'. (see https://amp.dev/documentation/guides-and-tutorials/learn/email-spec/amp-email-css) | .a { z-index: -1; } | .a { z-index: invalid; } >> ^~~~~~~~~ -amp4email_feature_tests/css_strict.html:456:9 CSS syntax error in tag 'style amp-custom' - the property 'z-index' is set to the disallowed value 'invalid'. (see https://amp.dev/documentation/guides-and-tutorials/learn/email-spec/amp-email-css) +amp4email_feature_tests/css_strict.html:441:9 CSS syntax error in tag 'style amp-custom' - the property 'z-index' is set to the disallowed value 'invalid'. (see https://amp.dev/documentation/guides-and-tutorials/learn/email-spec/amp-email-css) | | /* Important is not allowed */ | .a { color: red !important; } >> ^~~~~~~~~ -amp4email_feature_tests/css_strict.html:459:20 Usage of the !important CSS qualifier is not allowed. (see https://amp.dev/documentation/guides-and-tutorials/develop/style_and_layout/style_pages/) +amp4email_feature_tests/css_strict.html:444:20 Usage of the !important CSS qualifier is not allowed. (see https://amp.dev/documentation/guides-and-tutorials/develop/style_and_layout/style_pages/) | </style> | </head> | <body> @@ -680,42 +665,42 @@ amp4email_feature_tests/css_strict.html:459:20 Usage of the !important CSS quali | <b style='align-self: foo'></b> | <b style='alignment-baseline: foo'></b> >> ^~~~~~~~~ -amp4email_feature_tests/css_strict.html:470:0 The property 'alignment-baseline' in attribute 'style' in tag 'b' is disallowed. (see https://amp.dev/documentation/guides-and-tutorials/develop/style_and_layout/style_pages/) +amp4email_feature_tests/css_strict.html:455:0 The property 'alignment-baseline' in attribute 'style' in tag 'b' is disallowed. (see https://amp.dev/documentation/guides-and-tutorials/develop/style_and_layout/style_pages/) | <b style='all: foo'></b> >> ^~~~~~~~~ -amp4email_feature_tests/css_strict.html:471:0 The property 'all' in attribute 'style' in tag 'b' is disallowed. (see https://amp.dev/documentation/guides-and-tutorials/develop/style_and_layout/style_pages/) +amp4email_feature_tests/css_strict.html:456:0 The property 'all' in attribute 'style' in tag 'b' is disallowed. (see https://amp.dev/documentation/guides-and-tutorials/develop/style_and_layout/style_pages/) | <b style='animation-delay: foo'></b> >> ^~~~~~~~~ -amp4email_feature_tests/css_strict.html:472:0 The property 'animation-delay' in attribute 'style' in tag 'b' is disallowed. (see https://amp.dev/documentation/guides-and-tutorials/develop/style_and_layout/style_pages/) +amp4email_feature_tests/css_strict.html:457:0 The property 'animation-delay' in attribute 'style' in tag 'b' is disallowed. (see https://amp.dev/documentation/guides-and-tutorials/develop/style_and_layout/style_pages/) | <b style='animation-direction: foo'></b> >> ^~~~~~~~~ -amp4email_feature_tests/css_strict.html:473:0 The property 'animation-direction' in attribute 'style' in tag 'b' is disallowed. (see https://amp.dev/documentation/guides-and-tutorials/develop/style_and_layout/style_pages/) +amp4email_feature_tests/css_strict.html:458:0 The property 'animation-direction' in attribute 'style' in tag 'b' is disallowed. (see https://amp.dev/documentation/guides-and-tutorials/develop/style_and_layout/style_pages/) | <b style='animation-duration: foo'></b> >> ^~~~~~~~~ -amp4email_feature_tests/css_strict.html:474:0 The property 'animation-duration' in attribute 'style' in tag 'b' is disallowed. (see https://amp.dev/documentation/guides-and-tutorials/develop/style_and_layout/style_pages/) +amp4email_feature_tests/css_strict.html:459:0 The property 'animation-duration' in attribute 'style' in tag 'b' is disallowed. (see https://amp.dev/documentation/guides-and-tutorials/develop/style_and_layout/style_pages/) | <b style='animation-fill-mode: foo'></b> >> ^~~~~~~~~ -amp4email_feature_tests/css_strict.html:475:0 The property 'animation-fill-mode' in attribute 'style' in tag 'b' is disallowed. (see https://amp.dev/documentation/guides-and-tutorials/develop/style_and_layout/style_pages/) +amp4email_feature_tests/css_strict.html:460:0 The property 'animation-fill-mode' in attribute 'style' in tag 'b' is disallowed. (see https://amp.dev/documentation/guides-and-tutorials/develop/style_and_layout/style_pages/) | <b style='animation-iteration-count: foo'></b> >> ^~~~~~~~~ -amp4email_feature_tests/css_strict.html:476:0 The property 'animation-iteration-count' in attribute 'style' in tag 'b' is disallowed. (see https://amp.dev/documentation/guides-and-tutorials/develop/style_and_layout/style_pages/) +amp4email_feature_tests/css_strict.html:461:0 The property 'animation-iteration-count' in attribute 'style' in tag 'b' is disallowed. (see https://amp.dev/documentation/guides-and-tutorials/develop/style_and_layout/style_pages/) | <b style='animation-name: foo'></b> >> ^~~~~~~~~ -amp4email_feature_tests/css_strict.html:477:0 The property 'animation-name' in attribute 'style' in tag 'b' is disallowed. (see https://amp.dev/documentation/guides-and-tutorials/develop/style_and_layout/style_pages/) +amp4email_feature_tests/css_strict.html:462:0 The property 'animation-name' in attribute 'style' in tag 'b' is disallowed. (see https://amp.dev/documentation/guides-and-tutorials/develop/style_and_layout/style_pages/) | <b style='animation-play-state: foo'></b> >> ^~~~~~~~~ -amp4email_feature_tests/css_strict.html:478:0 The property 'animation-play-state' in attribute 'style' in tag 'b' is disallowed. (see https://amp.dev/documentation/guides-and-tutorials/develop/style_and_layout/style_pages/) +amp4email_feature_tests/css_strict.html:463:0 The property 'animation-play-state' in attribute 'style' in tag 'b' is disallowed. (see https://amp.dev/documentation/guides-and-tutorials/develop/style_and_layout/style_pages/) | <b style='animation-timing-function: foo'></b> >> ^~~~~~~~~ -amp4email_feature_tests/css_strict.html:479:0 The property 'animation-timing-function' in attribute 'style' in tag 'b' is disallowed. (see https://amp.dev/documentation/guides-and-tutorials/develop/style_and_layout/style_pages/) +amp4email_feature_tests/css_strict.html:464:0 The property 'animation-timing-function' in attribute 'style' in tag 'b' is disallowed. (see https://amp.dev/documentation/guides-and-tutorials/develop/style_and_layout/style_pages/) | <b style='animation: foo'></b> >> ^~~~~~~~~ -amp4email_feature_tests/css_strict.html:480:0 The property 'animation' in attribute 'style' in tag 'b' is disallowed. (see https://amp.dev/documentation/guides-and-tutorials/develop/style_and_layout/style_pages/) +amp4email_feature_tests/css_strict.html:465:0 The property 'animation' in attribute 'style' in tag 'b' is disallowed. (see https://amp.dev/documentation/guides-and-tutorials/develop/style_and_layout/style_pages/) | <b style='appearance: foo'></b> | <b style='azimuth: foo'></b> | <b style='backface-visibility: foo'></b> >> ^~~~~~~~~ -amp4email_feature_tests/css_strict.html:483:0 The property 'backface-visibility' in attribute 'style' in tag 'b' is disallowed. (see https://amp.dev/documentation/guides-and-tutorials/develop/style_and_layout/style_pages/) +amp4email_feature_tests/css_strict.html:468:0 The property 'backface-visibility' in attribute 'style' in tag 'b' is disallowed. (see https://amp.dev/documentation/guides-and-tutorials/develop/style_and_layout/style_pages/) | <b style='background-attachment: foo'></b> | <b style='background-blend-mode: foo'></b> | <b style='background-clip: foo'></b> @@ -728,7 +713,7 @@ amp4email_feature_tests/css_strict.html:483:0 The property 'backface-visibility' | <b style='background: foo'></b> | <b style='baseline-shift: foo'></b> >> ^~~~~~~~~ -amp4email_feature_tests/css_strict.html:494:0 The property 'baseline-shift' in attribute 'style' in tag 'b' is disallowed. (see https://amp.dev/documentation/guides-and-tutorials/develop/style_and_layout/style_pages/) +amp4email_feature_tests/css_strict.html:479:0 The property 'baseline-shift' in attribute 'style' in tag 'b' is disallowed. (see https://amp.dev/documentation/guides-and-tutorials/develop/style_and_layout/style_pages/) | <b style='border-bottom-color: foo'></b> | <b style='border-bottom-left-radius: foo'></b> | <b style='border-bottom-right-radius: foo'></b> @@ -739,22 +724,22 @@ amp4email_feature_tests/css_strict.html:494:0 The property 'baseline-shift' in a | <b style='border-color: foo'></b> | <b style='border-image-outset: foo'></b> >> ^~~~~~~~~ -amp4email_feature_tests/css_strict.html:503:0 The property 'border-image-outset' in attribute 'style' in tag 'b' is disallowed. (see https://amp.dev/documentation/guides-and-tutorials/develop/style_and_layout/style_pages/) +amp4email_feature_tests/css_strict.html:488:0 The property 'border-image-outset' in attribute 'style' in tag 'b' is disallowed. (see https://amp.dev/documentation/guides-and-tutorials/develop/style_and_layout/style_pages/) | <b style='border-image-repeat: foo'></b> >> ^~~~~~~~~ -amp4email_feature_tests/css_strict.html:504:0 The property 'border-image-repeat' in attribute 'style' in tag 'b' is disallowed. (see https://amp.dev/documentation/guides-and-tutorials/develop/style_and_layout/style_pages/) +amp4email_feature_tests/css_strict.html:489:0 The property 'border-image-repeat' in attribute 'style' in tag 'b' is disallowed. (see https://amp.dev/documentation/guides-and-tutorials/develop/style_and_layout/style_pages/) | <b style='border-image-slice: foo'></b> >> ^~~~~~~~~ -amp4email_feature_tests/css_strict.html:505:0 The property 'border-image-slice' in attribute 'style' in tag 'b' is disallowed. (see https://amp.dev/documentation/guides-and-tutorials/develop/style_and_layout/style_pages/) +amp4email_feature_tests/css_strict.html:490:0 The property 'border-image-slice' in attribute 'style' in tag 'b' is disallowed. (see https://amp.dev/documentation/guides-and-tutorials/develop/style_and_layout/style_pages/) | <b style='border-image-source: foo'></b> >> ^~~~~~~~~ -amp4email_feature_tests/css_strict.html:506:0 The property 'border-image-source' in attribute 'style' in tag 'b' is disallowed. (see https://amp.dev/documentation/guides-and-tutorials/develop/style_and_layout/style_pages/) +amp4email_feature_tests/css_strict.html:491:0 The property 'border-image-source' in attribute 'style' in tag 'b' is disallowed. (see https://amp.dev/documentation/guides-and-tutorials/develop/style_and_layout/style_pages/) | <b style='border-image-width: foo'></b> >> ^~~~~~~~~ -amp4email_feature_tests/css_strict.html:507:0 The property 'border-image-width' in attribute 'style' in tag 'b' is disallowed. (see https://amp.dev/documentation/guides-and-tutorials/develop/style_and_layout/style_pages/) +amp4email_feature_tests/css_strict.html:492:0 The property 'border-image-width' in attribute 'style' in tag 'b' is disallowed. (see https://amp.dev/documentation/guides-and-tutorials/develop/style_and_layout/style_pages/) | <b style='border-image: foo'></b> >> ^~~~~~~~~ -amp4email_feature_tests/css_strict.html:508:0 The property 'border-image' in attribute 'style' in tag 'b' is disallowed. (see https://amp.dev/documentation/guides-and-tutorials/develop/style_and_layout/style_pages/) +amp4email_feature_tests/css_strict.html:493:0 The property 'border-image' in attribute 'style' in tag 'b' is disallowed. (see https://amp.dev/documentation/guides-and-tutorials/develop/style_and_layout/style_pages/) | <b style='border-left-color: foo'></b> | <b style='border-left-style: foo'></b> | <b style='border-left-width: foo'></b> @@ -777,7 +762,7 @@ amp4email_feature_tests/css_strict.html:508:0 The property 'border-image' in att | <b style='bottom: foo'></b> | <b style='box-decoration-break: foo'></b> >> ^~~~~~~~~ -amp4email_feature_tests/css_strict.html:529:0 The property 'box-decoration-break' in attribute 'style' in tag 'b' is disallowed. (see https://amp.dev/documentation/guides-and-tutorials/develop/style_and_layout/style_pages/) +amp4email_feature_tests/css_strict.html:514:0 The property 'box-decoration-break' in attribute 'style' in tag 'b' is disallowed. (see https://amp.dev/documentation/guides-and-tutorials/develop/style_and_layout/style_pages/) | <b style='box-shadow: foo'></b> | <b style='box-sizing: foo'></b> | <b style='break-after: foo'></b> @@ -788,26 +773,26 @@ amp4email_feature_tests/css_strict.html:529:0 The property 'box-decoration-break | <b style='clear: foo'></b> | <b style='clip-path: foo'></b> >> ^~~~~~~~~ -amp4email_feature_tests/css_strict.html:538:0 The property 'clip-path' in attribute 'style' in tag 'b' is disallowed. (see https://amp.dev/documentation/guides-and-tutorials/develop/style_and_layout/style_pages/) +amp4email_feature_tests/css_strict.html:523:0 The property 'clip-path' in attribute 'style' in tag 'b' is disallowed. (see https://amp.dev/documentation/guides-and-tutorials/develop/style_and_layout/style_pages/) | <b style='clip-rule: foo'></b> >> ^~~~~~~~~ -amp4email_feature_tests/css_strict.html:539:0 The property 'clip-rule' in attribute 'style' in tag 'b' is disallowed. (see https://amp.dev/documentation/guides-and-tutorials/develop/style_and_layout/style_pages/) +amp4email_feature_tests/css_strict.html:524:0 The property 'clip-rule' in attribute 'style' in tag 'b' is disallowed. (see https://amp.dev/documentation/guides-and-tutorials/develop/style_and_layout/style_pages/) | <b style='clip: foo'></b> >> ^~~~~~~~~ -amp4email_feature_tests/css_strict.html:540:0 The property 'clip' in attribute 'style' in tag 'b' is disallowed. (see https://amp.dev/documentation/guides-and-tutorials/develop/style_and_layout/style_pages/) +amp4email_feature_tests/css_strict.html:525:0 The property 'clip' in attribute 'style' in tag 'b' is disallowed. (see https://amp.dev/documentation/guides-and-tutorials/develop/style_and_layout/style_pages/) | <b style='color-adjust: foo'></b> | <b style='color-interpolation-filters: foo'></b> >> ^~~~~~~~~ -amp4email_feature_tests/css_strict.html:542:0 The property 'color-interpolation-filters' in attribute 'style' in tag 'b' is disallowed. (see https://amp.dev/documentation/guides-and-tutorials/develop/style_and_layout/style_pages/) +amp4email_feature_tests/css_strict.html:527:0 The property 'color-interpolation-filters' in attribute 'style' in tag 'b' is disallowed. (see https://amp.dev/documentation/guides-and-tutorials/develop/style_and_layout/style_pages/) | <b style='color-interpolation: foo'></b> >> ^~~~~~~~~ -amp4email_feature_tests/css_strict.html:543:0 The property 'color-interpolation' in attribute 'style' in tag 'b' is disallowed. (see https://amp.dev/documentation/guides-and-tutorials/develop/style_and_layout/style_pages/) +amp4email_feature_tests/css_strict.html:528:0 The property 'color-interpolation' in attribute 'style' in tag 'b' is disallowed. (see https://amp.dev/documentation/guides-and-tutorials/develop/style_and_layout/style_pages/) | <b style='color-profile: foo'></b> >> ^~~~~~~~~ -amp4email_feature_tests/css_strict.html:544:0 The property 'color-profile' in attribute 'style' in tag 'b' is disallowed. (see https://amp.dev/documentation/guides-and-tutorials/develop/style_and_layout/style_pages/) +amp4email_feature_tests/css_strict.html:529:0 The property 'color-profile' in attribute 'style' in tag 'b' is disallowed. (see https://amp.dev/documentation/guides-and-tutorials/develop/style_and_layout/style_pages/) | <b style='color-rendering: foo'></b> >> ^~~~~~~~~ -amp4email_feature_tests/css_strict.html:545:0 The property 'color-rendering' in attribute 'style' in tag 'b' is disallowed. (see https://amp.dev/documentation/guides-and-tutorials/develop/style_and_layout/style_pages/) +amp4email_feature_tests/css_strict.html:530:0 The property 'color-rendering' in attribute 'style' in tag 'b' is disallowed. (see https://amp.dev/documentation/guides-and-tutorials/develop/style_and_layout/style_pages/) | <b style='color: foo'></b> | <b style='column-count: foo'></b> | <b style='column-fill: foo'></b> @@ -821,36 +806,36 @@ amp4email_feature_tests/css_strict.html:545:0 The property 'color-rendering' in | <b style='columns: foo'></b> | <b style='content: foo'></b> >> ^~~~~~~~~ -amp4email_feature_tests/css_strict.html:557:0 The property 'content' in attribute 'style' in tag 'b' is disallowed. (see https://amp.dev/documentation/guides-and-tutorials/develop/style_and_layout/style_pages/) +amp4email_feature_tests/css_strict.html:542:0 The property 'content' in attribute 'style' in tag 'b' is disallowed. (see https://amp.dev/documentation/guides-and-tutorials/develop/style_and_layout/style_pages/) | <b style='counter-increment: foo'></b> | <b style='counter-reset: foo'></b> | <b style='cursor: initial'></b> | <b style='cursor: foo'></b> >> ^~~~~~~~~ -amp4email_feature_tests/css_strict.html:561:0 CSS syntax error in tag 'b' - the property 'cursor' is set to the disallowed value 'foo'. (see https://amp.dev/documentation/guides-and-tutorials/develop/style_and_layout/style_pages/) +amp4email_feature_tests/css_strict.html:546:0 CSS syntax error in tag 'b' - the property 'cursor' is set to the disallowed value 'foo'. (see https://amp.dev/documentation/guides-and-tutorials/develop/style_and_layout/style_pages/) | <b style='direction: foo'></b> | <b style='display: foo'></b> | <b style='dominant-baseline: foo'></b> >> ^~~~~~~~~ -amp4email_feature_tests/css_strict.html:564:0 The property 'dominant-baseline' in attribute 'style' in tag 'b' is disallowed. (see https://amp.dev/documentation/guides-and-tutorials/develop/style_and_layout/style_pages/) +amp4email_feature_tests/css_strict.html:549:0 The property 'dominant-baseline' in attribute 'style' in tag 'b' is disallowed. (see https://amp.dev/documentation/guides-and-tutorials/develop/style_and_layout/style_pages/) | <b style='elevation: foo'></b> | <b style='empty-cells: foo'></b> | <b style='enable-background: foo'></b> >> ^~~~~~~~~ -amp4email_feature_tests/css_strict.html:567:0 The property 'enable-background' in attribute 'style' in tag 'b' is disallowed. (see https://amp.dev/documentation/guides-and-tutorials/develop/style_and_layout/style_pages/) +amp4email_feature_tests/css_strict.html:552:0 The property 'enable-background' in attribute 'style' in tag 'b' is disallowed. (see https://amp.dev/documentation/guides-and-tutorials/develop/style_and_layout/style_pages/) | <b style='fill-opacity: foo'></b> >> ^~~~~~~~~ -amp4email_feature_tests/css_strict.html:568:0 The property 'fill-opacity' in attribute 'style' in tag 'b' is disallowed. (see https://amp.dev/documentation/guides-and-tutorials/develop/style_and_layout/style_pages/) +amp4email_feature_tests/css_strict.html:553:0 The property 'fill-opacity' in attribute 'style' in tag 'b' is disallowed. (see https://amp.dev/documentation/guides-and-tutorials/develop/style_and_layout/style_pages/) | <b style='fill-rule: foo'></b> >> ^~~~~~~~~ -amp4email_feature_tests/css_strict.html:569:0 The property 'fill-rule' in attribute 'style' in tag 'b' is disallowed. (see https://amp.dev/documentation/guides-and-tutorials/develop/style_and_layout/style_pages/) +amp4email_feature_tests/css_strict.html:554:0 The property 'fill-rule' in attribute 'style' in tag 'b' is disallowed. (see https://amp.dev/documentation/guides-and-tutorials/develop/style_and_layout/style_pages/) | <b style='fill: foo'></b> >> ^~~~~~~~~ -amp4email_feature_tests/css_strict.html:570:0 The property 'fill' in attribute 'style' in tag 'b' is disallowed. (see https://amp.dev/documentation/guides-and-tutorials/develop/style_and_layout/style_pages/) +amp4email_feature_tests/css_strict.html:555:0 The property 'fill' in attribute 'style' in tag 'b' is disallowed. (see https://amp.dev/documentation/guides-and-tutorials/develop/style_and_layout/style_pages/) | <b style='filter: blur(5px)'></b> | <b style='filter: foo'></b> >> ^~~~~~~~~ -amp4email_feature_tests/css_strict.html:572:0 CSS syntax error in tag 'b' - the property 'filter' is set to the disallowed value 'foo'. (see https://amp.dev/documentation/guides-and-tutorials/develop/style_and_layout/style_pages/) +amp4email_feature_tests/css_strict.html:557:0 CSS syntax error in tag 'b' - the property 'filter' is set to the disallowed value 'foo'. (see https://amp.dev/documentation/guides-and-tutorials/develop/style_and_layout/style_pages/) | <b style='flex-basis: foo'></b> | <b style='flex-direction: foo'></b> | <b style='flex-flow: foo'></b> @@ -861,16 +846,16 @@ amp4email_feature_tests/css_strict.html:572:0 CSS syntax error in tag 'b' - the | <b style='float: foo'></b> | <b style='flood-color: foo'></b> >> ^~~~~~~~~ -amp4email_feature_tests/css_strict.html:581:0 The property 'flood-color' in attribute 'style' in tag 'b' is disallowed. (see https://amp.dev/documentation/guides-and-tutorials/develop/style_and_layout/style_pages/) +amp4email_feature_tests/css_strict.html:566:0 The property 'flood-color' in attribute 'style' in tag 'b' is disallowed. (see https://amp.dev/documentation/guides-and-tutorials/develop/style_and_layout/style_pages/) | <b style='flood-opacity: foo'></b> >> ^~~~~~~~~ -amp4email_feature_tests/css_strict.html:582:0 The property 'flood-opacity' in attribute 'style' in tag 'b' is disallowed. (see https://amp.dev/documentation/guides-and-tutorials/develop/style_and_layout/style_pages/) +amp4email_feature_tests/css_strict.html:567:0 The property 'flood-opacity' in attribute 'style' in tag 'b' is disallowed. (see https://amp.dev/documentation/guides-and-tutorials/develop/style_and_layout/style_pages/) | <b style='font-family: foo'></b> | <b style='font-feature-settings: foo'></b> | <b style='font-kerning: foo'></b> | <b style='font-language-override: foo'></b> >> ^~~~~~~~~ -amp4email_feature_tests/css_strict.html:586:0 The property 'font-language-override' in attribute 'style' in tag 'b' is disallowed. (see https://amp.dev/documentation/guides-and-tutorials/develop/style_and_layout/style_pages/) +amp4email_feature_tests/css_strict.html:571:0 The property 'font-language-override' in attribute 'style' in tag 'b' is disallowed. (see https://amp.dev/documentation/guides-and-tutorials/develop/style_and_layout/style_pages/) | <b style='font-size-adjust: foo'></b> | <b style='font-size: foo'></b> | <b style='font-stretch: foo'></b> @@ -883,17 +868,17 @@ amp4email_feature_tests/css_strict.html:586:0 The property 'font-language-overri | <b style='font-variant-numeric: foo'></b> | <b style='font-variant-position: foo'></b> >> ^~~~~~~~~ -amp4email_feature_tests/css_strict.html:597:0 The property 'font-variant-position' in attribute 'style' in tag 'b' is disallowed. (see https://amp.dev/documentation/guides-and-tutorials/develop/style_and_layout/style_pages/) +amp4email_feature_tests/css_strict.html:582:0 The property 'font-variant-position' in attribute 'style' in tag 'b' is disallowed. (see https://amp.dev/documentation/guides-and-tutorials/develop/style_and_layout/style_pages/) | <b style='font-variant: foo'></b> | <b style='font-variation-settings: foo'></b> | <b style='font-weight: foo'></b> | <b style='font: foo'></b> | <b style='glyph-orientation-horizontal: foo'></b> >> ^~~~~~~~~ -amp4email_feature_tests/css_strict.html:602:0 The property 'glyph-orientation-horizontal' in attribute 'style' in tag 'b' is disallowed. (see https://amp.dev/documentation/guides-and-tutorials/develop/style_and_layout/style_pages/) +amp4email_feature_tests/css_strict.html:587:0 The property 'glyph-orientation-horizontal' in attribute 'style' in tag 'b' is disallowed. (see https://amp.dev/documentation/guides-and-tutorials/develop/style_and_layout/style_pages/) | <b style='glyph-orientation-vertical: foo'></b> >> ^~~~~~~~~ -amp4email_feature_tests/css_strict.html:603:0 The property 'glyph-orientation-vertical' in attribute 'style' in tag 'b' is disallowed. (see https://amp.dev/documentation/guides-and-tutorials/develop/style_and_layout/style_pages/) +amp4email_feature_tests/css_strict.html:588:0 The property 'glyph-orientation-vertical' in attribute 'style' in tag 'b' is disallowed. (see https://amp.dev/documentation/guides-and-tutorials/develop/style_and_layout/style_pages/) | <b style='grid-area: foo'></b> | <b style='grid-auto-columns: foo'></b> | <b style='grid-auto-flow: foo'></b> @@ -901,16 +886,16 @@ amp4email_feature_tests/css_strict.html:603:0 The property 'glyph-orientation-ve | <b style='grid-column-end: foo'></b> | <b style='grid-column-gap: foo'></b> >> ^~~~~~~~~ -amp4email_feature_tests/css_strict.html:609:0 The property 'grid-column-gap' in attribute 'style' in tag 'b' is disallowed. (see https://amp.dev/documentation/guides-and-tutorials/develop/style_and_layout/style_pages/) +amp4email_feature_tests/css_strict.html:594:0 The property 'grid-column-gap' in attribute 'style' in tag 'b' is disallowed. (see https://amp.dev/documentation/guides-and-tutorials/develop/style_and_layout/style_pages/) | <b style='grid-column-start: foo'></b> | <b style='grid-column: foo'></b> | <b style='grid-gap: foo'></b> >> ^~~~~~~~~ -amp4email_feature_tests/css_strict.html:612:0 The property 'grid-gap' in attribute 'style' in tag 'b' is disallowed. (see https://amp.dev/documentation/guides-and-tutorials/develop/style_and_layout/style_pages/) +amp4email_feature_tests/css_strict.html:597:0 The property 'grid-gap' in attribute 'style' in tag 'b' is disallowed. (see https://amp.dev/documentation/guides-and-tutorials/develop/style_and_layout/style_pages/) | <b style='grid-row-end: foo'></b> | <b style='grid-row-gap: foo'></b> >> ^~~~~~~~~ -amp4email_feature_tests/css_strict.html:614:0 The property 'grid-row-gap' in attribute 'style' in tag 'b' is disallowed. (see https://amp.dev/documentation/guides-and-tutorials/develop/style_and_layout/style_pages/) +amp4email_feature_tests/css_strict.html:599:0 The property 'grid-row-gap' in attribute 'style' in tag 'b' is disallowed. (see https://amp.dev/documentation/guides-and-tutorials/develop/style_and_layout/style_pages/) | <b style='grid-row-start: foo'></b> | <b style='grid-row: foo'></b> | <b style='grid-template-areas: foo'></b> @@ -920,13 +905,13 @@ amp4email_feature_tests/css_strict.html:614:0 The property 'grid-row-gap' in att | <b style='grid: foo'></b> | <b style='hanging-punctuation: foo'></b> >> ^~~~~~~~~ -amp4email_feature_tests/css_strict.html:622:0 The property 'hanging-punctuation' in attribute 'style' in tag 'b' is disallowed. (see https://amp.dev/documentation/guides-and-tutorials/develop/style_and_layout/style_pages/) +amp4email_feature_tests/css_strict.html:607:0 The property 'hanging-punctuation' in attribute 'style' in tag 'b' is disallowed. (see https://amp.dev/documentation/guides-and-tutorials/develop/style_and_layout/style_pages/) | <b style='height: foo'></b> | <b style='hyphens: foo'></b> | <b style='image-orientation: foo'></b> | <b style='image-rendering: foo'></b> >> ^~~~~~~~~ -amp4email_feature_tests/css_strict.html:626:0 The property 'image-rendering' in attribute 'style' in tag 'b' is disallowed. (see https://amp.dev/documentation/guides-and-tutorials/develop/style_and_layout/style_pages/) +amp4email_feature_tests/css_strict.html:611:0 The property 'image-rendering' in attribute 'style' in tag 'b' is disallowed. (see https://amp.dev/documentation/guides-and-tutorials/develop/style_and_layout/style_pages/) | <b style='image-resolution: foo'></b> | <b style='inline-size: foo'></b> | <b style='isolation: foo'></b> @@ -935,17 +920,17 @@ amp4email_feature_tests/css_strict.html:626:0 The property 'image-rendering' in | <b style='justify-self: foo'></b> | <b style='kerning: foo'></b> >> ^~~~~~~~~ -amp4email_feature_tests/css_strict.html:633:0 The property 'kerning' in attribute 'style' in tag 'b' is disallowed. (see https://amp.dev/documentation/guides-and-tutorials/develop/style_and_layout/style_pages/) +amp4email_feature_tests/css_strict.html:618:0 The property 'kerning' in attribute 'style' in tag 'b' is disallowed. (see https://amp.dev/documentation/guides-and-tutorials/develop/style_and_layout/style_pages/) | <b style='left: foo'></b> | <b style='letter-spacing: foo'></b> | <b style='lighting-color: foo'></b> >> ^~~~~~~~~ -amp4email_feature_tests/css_strict.html:636:0 The property 'lighting-color' in attribute 'style' in tag 'b' is disallowed. (see https://amp.dev/documentation/guides-and-tutorials/develop/style_and_layout/style_pages/) +amp4email_feature_tests/css_strict.html:621:0 The property 'lighting-color' in attribute 'style' in tag 'b' is disallowed. (see https://amp.dev/documentation/guides-and-tutorials/develop/style_and_layout/style_pages/) | <b style='line-break: foo'></b> | <b style='line-height: foo'></b> | <b style='list-style-image: foo'></b> >> ^~~~~~~~~ -amp4email_feature_tests/css_strict.html:639:0 The property 'list-style-image' in attribute 'style' in tag 'b' is disallowed. (see https://amp.dev/documentation/guides-and-tutorials/develop/style_and_layout/style_pages/) +amp4email_feature_tests/css_strict.html:624:0 The property 'list-style-image' in attribute 'style' in tag 'b' is disallowed. (see https://amp.dev/documentation/guides-and-tutorials/develop/style_and_layout/style_pages/) | <b style='list-style-position: foo'></b> | <b style='list-style-type: foo'></b> | <b style='list-style: foo'></b> @@ -956,19 +941,19 @@ amp4email_feature_tests/css_strict.html:639:0 The property 'list-style-image' in | <b style='margin: foo'></b> | <b style='marker-end: foo'></b> >> ^~~~~~~~~ -amp4email_feature_tests/css_strict.html:648:0 The property 'marker-end' in attribute 'style' in tag 'b' is disallowed. (see https://amp.dev/documentation/guides-and-tutorials/develop/style_and_layout/style_pages/) +amp4email_feature_tests/css_strict.html:633:0 The property 'marker-end' in attribute 'style' in tag 'b' is disallowed. (see https://amp.dev/documentation/guides-and-tutorials/develop/style_and_layout/style_pages/) | <b style='marker-mid: foo'></b> >> ^~~~~~~~~ -amp4email_feature_tests/css_strict.html:649:0 The property 'marker-mid' in attribute 'style' in tag 'b' is disallowed. (see https://amp.dev/documentation/guides-and-tutorials/develop/style_and_layout/style_pages/) +amp4email_feature_tests/css_strict.html:634:0 The property 'marker-mid' in attribute 'style' in tag 'b' is disallowed. (see https://amp.dev/documentation/guides-and-tutorials/develop/style_and_layout/style_pages/) | <b style='marker-start: foo'></b> >> ^~~~~~~~~ -amp4email_feature_tests/css_strict.html:650:0 The property 'marker-start' in attribute 'style' in tag 'b' is disallowed. (see https://amp.dev/documentation/guides-and-tutorials/develop/style_and_layout/style_pages/) +amp4email_feature_tests/css_strict.html:635:0 The property 'marker-start' in attribute 'style' in tag 'b' is disallowed. (see https://amp.dev/documentation/guides-and-tutorials/develop/style_and_layout/style_pages/) | <b style='marker: foo'></b> >> ^~~~~~~~~ -amp4email_feature_tests/css_strict.html:651:0 The property 'marker' in attribute 'style' in tag 'b' is disallowed. (see https://amp.dev/documentation/guides-and-tutorials/develop/style_and_layout/style_pages/) +amp4email_feature_tests/css_strict.html:636:0 The property 'marker' in attribute 'style' in tag 'b' is disallowed. (see https://amp.dev/documentation/guides-and-tutorials/develop/style_and_layout/style_pages/) | <b style='mask: foo'></b> >> ^~~~~~~~~ -amp4email_feature_tests/css_strict.html:652:0 The property 'mask' in attribute 'style' in tag 'b' is disallowed. (see https://amp.dev/documentation/guides-and-tutorials/develop/style_and_layout/style_pages/) +amp4email_feature_tests/css_strict.html:637:0 The property 'mask' in attribute 'style' in tag 'b' is disallowed. (see https://amp.dev/documentation/guides-and-tutorials/develop/style_and_layout/style_pages/) | <b style='max-height: foo'></b> | <b style='max-width: foo'></b> | <b style='min-height: foo'></b> @@ -981,7 +966,7 @@ amp4email_feature_tests/css_strict.html:652:0 The property 'mask' in attribute ' | <b style='order: foo'></b> | <b style='orphans: foo'></b> >> ^~~~~~~~~ -amp4email_feature_tests/css_strict.html:663:0 The property 'orphans' in attribute 'style' in tag 'b' is disallowed. (see https://amp.dev/documentation/guides-and-tutorials/develop/style_and_layout/style_pages/) +amp4email_feature_tests/css_strict.html:648:0 The property 'orphans' in attribute 'style' in tag 'b' is disallowed. (see https://amp.dev/documentation/guides-and-tutorials/develop/style_and_layout/style_pages/) | <b style='outline-color: foo'></b> | <b style='outline-offset: foo'></b> | <b style='outline-style: foo'></b> @@ -998,13 +983,13 @@ amp4email_feature_tests/css_strict.html:663:0 The property 'orphans' in attribut | <b style='padding: foo'></b> | <b style='page-break-after: foo'></b> >> ^~~~~~~~~ -amp4email_feature_tests/css_strict.html:678:0 The property 'page-break-after' in attribute 'style' in tag 'b' is disallowed. (see https://amp.dev/documentation/guides-and-tutorials/develop/style_and_layout/style_pages/) +amp4email_feature_tests/css_strict.html:663:0 The property 'page-break-after' in attribute 'style' in tag 'b' is disallowed. (see https://amp.dev/documentation/guides-and-tutorials/develop/style_and_layout/style_pages/) | <b style='page-break-before: foo'></b> >> ^~~~~~~~~ -amp4email_feature_tests/css_strict.html:679:0 The property 'page-break-before' in attribute 'style' in tag 'b' is disallowed. (see https://amp.dev/documentation/guides-and-tutorials/develop/style_and_layout/style_pages/) +amp4email_feature_tests/css_strict.html:664:0 The property 'page-break-before' in attribute 'style' in tag 'b' is disallowed. (see https://amp.dev/documentation/guides-and-tutorials/develop/style_and_layout/style_pages/) | <b style='page-break-inside: foo'></b> >> ^~~~~~~~~ -amp4email_feature_tests/css_strict.html:680:0 The property 'page-break-inside' in attribute 'style' in tag 'b' is disallowed. (see https://amp.dev/documentation/guides-and-tutorials/develop/style_and_layout/style_pages/) +amp4email_feature_tests/css_strict.html:665:0 The property 'page-break-inside' in attribute 'style' in tag 'b' is disallowed. (see https://amp.dev/documentation/guides-and-tutorials/develop/style_and_layout/style_pages/) | <b style='pause: foo'></b> | <b style='pause-after: foo'></b> | <b style='pause-before: foo'></b> @@ -1015,7 +1000,7 @@ amp4email_feature_tests/css_strict.html:680:0 The property 'page-break-inside' i | <b style='place-items: foo'></b> | <b style='pointer-events: foo'></b> >> ^~~~~~~~~ -amp4email_feature_tests/css_strict.html:689:0 The property 'pointer-events' in attribute 'style' in tag 'b' is disallowed. (see https://amp.dev/documentation/guides-and-tutorials/develop/style_and_layout/style_pages/) +amp4email_feature_tests/css_strict.html:674:0 The property 'pointer-events' in attribute 'style' in tag 'b' is disallowed. (see https://amp.dev/documentation/guides-and-tutorials/develop/style_and_layout/style_pages/) | <!-- position has special rules. Don't use `foo` --> | <b style='position: initial'></b> | <b style='quotes: foo'></b> @@ -1025,7 +1010,7 @@ amp4email_feature_tests/css_strict.html:689:0 The property 'pointer-events' in a | <b style='row-gap: foo'></b> | <b style='shape-rendering: foo'></b> >> ^~~~~~~~~ -amp4email_feature_tests/css_strict.html:697:0 The property 'shape-rendering' in attribute 'style' in tag 'b' is disallowed. (see https://amp.dev/documentation/guides-and-tutorials/develop/style_and_layout/style_pages/) +amp4email_feature_tests/css_strict.html:682:0 The property 'shape-rendering' in attribute 'style' in tag 'b' is disallowed. (see https://amp.dev/documentation/guides-and-tutorials/develop/style_and_layout/style_pages/) | <b style='speak-header: foo'></b> | <b style='speak-numeral: foo'></b> | <b style='speak-punctuation: foo'></b> @@ -1033,50 +1018,50 @@ amp4email_feature_tests/css_strict.html:697:0 The property 'shape-rendering' in | <b style='speech-rate: foo'></b> | <b style='stop-color: foo'></b> >> ^~~~~~~~~ -amp4email_feature_tests/css_strict.html:703:0 The property 'stop-color' in attribute 'style' in tag 'b' is disallowed. (see https://amp.dev/documentation/guides-and-tutorials/develop/style_and_layout/style_pages/) +amp4email_feature_tests/css_strict.html:688:0 The property 'stop-color' in attribute 'style' in tag 'b' is disallowed. (see https://amp.dev/documentation/guides-and-tutorials/develop/style_and_layout/style_pages/) | <b style='stop-opacity: foo'></b> >> ^~~~~~~~~ -amp4email_feature_tests/css_strict.html:704:0 The property 'stop-opacity' in attribute 'style' in tag 'b' is disallowed. (see https://amp.dev/documentation/guides-and-tutorials/develop/style_and_layout/style_pages/) +amp4email_feature_tests/css_strict.html:689:0 The property 'stop-opacity' in attribute 'style' in tag 'b' is disallowed. (see https://amp.dev/documentation/guides-and-tutorials/develop/style_and_layout/style_pages/) | <b style='stress: foo'></b> | <b style='stroke-dasharray: foo'></b> >> ^~~~~~~~~ -amp4email_feature_tests/css_strict.html:706:0 The property 'stroke-dasharray' in attribute 'style' in tag 'b' is disallowed. (see https://amp.dev/documentation/guides-and-tutorials/develop/style_and_layout/style_pages/) +amp4email_feature_tests/css_strict.html:691:0 The property 'stroke-dasharray' in attribute 'style' in tag 'b' is disallowed. (see https://amp.dev/documentation/guides-and-tutorials/develop/style_and_layout/style_pages/) | <b style='stroke-dashoffset: foo'></b> >> ^~~~~~~~~ -amp4email_feature_tests/css_strict.html:707:0 The property 'stroke-dashoffset' in attribute 'style' in tag 'b' is disallowed. (see https://amp.dev/documentation/guides-and-tutorials/develop/style_and_layout/style_pages/) +amp4email_feature_tests/css_strict.html:692:0 The property 'stroke-dashoffset' in attribute 'style' in tag 'b' is disallowed. (see https://amp.dev/documentation/guides-and-tutorials/develop/style_and_layout/style_pages/) | <b style='stroke-linecap: foo'></b> >> ^~~~~~~~~ -amp4email_feature_tests/css_strict.html:708:0 The property 'stroke-linecap' in attribute 'style' in tag 'b' is disallowed. (see https://amp.dev/documentation/guides-and-tutorials/develop/style_and_layout/style_pages/) +amp4email_feature_tests/css_strict.html:693:0 The property 'stroke-linecap' in attribute 'style' in tag 'b' is disallowed. (see https://amp.dev/documentation/guides-and-tutorials/develop/style_and_layout/style_pages/) | <b style='stroke-linejoin: foo'></b> >> ^~~~~~~~~ -amp4email_feature_tests/css_strict.html:709:0 The property 'stroke-linejoin' in attribute 'style' in tag 'b' is disallowed. (see https://amp.dev/documentation/guides-and-tutorials/develop/style_and_layout/style_pages/) +amp4email_feature_tests/css_strict.html:694:0 The property 'stroke-linejoin' in attribute 'style' in tag 'b' is disallowed. (see https://amp.dev/documentation/guides-and-tutorials/develop/style_and_layout/style_pages/) | <b style='stroke-miterlimit: foo'></b> >> ^~~~~~~~~ -amp4email_feature_tests/css_strict.html:710:0 The property 'stroke-miterlimit' in attribute 'style' in tag 'b' is disallowed. (see https://amp.dev/documentation/guides-and-tutorials/develop/style_and_layout/style_pages/) +amp4email_feature_tests/css_strict.html:695:0 The property 'stroke-miterlimit' in attribute 'style' in tag 'b' is disallowed. (see https://amp.dev/documentation/guides-and-tutorials/develop/style_and_layout/style_pages/) | <b style='stroke-opacity: foo'></b> >> ^~~~~~~~~ -amp4email_feature_tests/css_strict.html:711:0 The property 'stroke-opacity' in attribute 'style' in tag 'b' is disallowed. (see https://amp.dev/documentation/guides-and-tutorials/develop/style_and_layout/style_pages/) +amp4email_feature_tests/css_strict.html:696:0 The property 'stroke-opacity' in attribute 'style' in tag 'b' is disallowed. (see https://amp.dev/documentation/guides-and-tutorials/develop/style_and_layout/style_pages/) | <b style='stroke-width: foo'></b> >> ^~~~~~~~~ -amp4email_feature_tests/css_strict.html:712:0 The property 'stroke-width' in attribute 'style' in tag 'b' is disallowed. (see https://amp.dev/documentation/guides-and-tutorials/develop/style_and_layout/style_pages/) +amp4email_feature_tests/css_strict.html:697:0 The property 'stroke-width' in attribute 'style' in tag 'b' is disallowed. (see https://amp.dev/documentation/guides-and-tutorials/develop/style_and_layout/style_pages/) | <b style='stroke: foo'></b> >> ^~~~~~~~~ -amp4email_feature_tests/css_strict.html:713:0 The property 'stroke' in attribute 'style' in tag 'b' is disallowed. (see https://amp.dev/documentation/guides-and-tutorials/develop/style_and_layout/style_pages/) +amp4email_feature_tests/css_strict.html:698:0 The property 'stroke' in attribute 'style' in tag 'b' is disallowed. (see https://amp.dev/documentation/guides-and-tutorials/develop/style_and_layout/style_pages/) | <b style='tab-size: foo'></b> >> ^~~~~~~~~ -amp4email_feature_tests/css_strict.html:714:0 The property 'tab-size' in attribute 'style' in tag 'b' is disallowed. (see https://amp.dev/documentation/guides-and-tutorials/develop/style_and_layout/style_pages/) +amp4email_feature_tests/css_strict.html:699:0 The property 'tab-size' in attribute 'style' in tag 'b' is disallowed. (see https://amp.dev/documentation/guides-and-tutorials/develop/style_and_layout/style_pages/) | <b style='table-layout: foo'></b> | <b style='text-align-last: foo'></b> | <b style='text-align: foo'></b> | <b style='text-anchor: foo'></b> >> ^~~~~~~~~ -amp4email_feature_tests/css_strict.html:718:0 The property 'text-anchor' in attribute 'style' in tag 'b' is disallowed. (see https://amp.dev/documentation/guides-and-tutorials/develop/style_and_layout/style_pages/) +amp4email_feature_tests/css_strict.html:703:0 The property 'text-anchor' in attribute 'style' in tag 'b' is disallowed. (see https://amp.dev/documentation/guides-and-tutorials/develop/style_and_layout/style_pages/) | <b style='text-combine-upright: foo'></b> | <b style='text-decoration-color: foo'></b> | <b style='text-decoration-line: foo'></b> | <b style='text-decoration-skip-ink: foo'></b> >> ^~~~~~~~~ -amp4email_feature_tests/css_strict.html:722:0 The property 'text-decoration-skip-ink' in attribute 'style' in tag 'b' is disallowed. (see https://amp.dev/documentation/guides-and-tutorials/develop/style_and_layout/style_pages/) +amp4email_feature_tests/css_strict.html:707:0 The property 'text-decoration-skip-ink' in attribute 'style' in tag 'b' is disallowed. (see https://amp.dev/documentation/guides-and-tutorials/develop/style_and_layout/style_pages/) | <b style='text-decoration-skip: foo'></b> | <b style='text-decoration-style: foo'></b> | <b style='text-decoration: foo'></b> @@ -1086,24 +1071,24 @@ amp4email_feature_tests/css_strict.html:722:0 The property 'text-decoration-skip | <b style='text-emphasis: foo'></b> | <b style='text-fill-color: foo'></b> >> ^~~~~~~~~ -amp4email_feature_tests/css_strict.html:730:0 The property 'text-fill-color' in attribute 'style' in tag 'b' is disallowed. (see https://amp.dev/documentation/guides-and-tutorials/develop/style_and_layout/style_pages/) +amp4email_feature_tests/css_strict.html:715:0 The property 'text-fill-color' in attribute 'style' in tag 'b' is disallowed. (see https://amp.dev/documentation/guides-and-tutorials/develop/style_and_layout/style_pages/) | <b style='text-indent: foo'></b> | <b style='text-justify: foo'></b> | <b style='text-orientation: foo'></b> | <b style='text-overflow: foo'></b> | <b style='text-rendering: foo'></b> >> ^~~~~~~~~ -amp4email_feature_tests/css_strict.html:735:0 The property 'text-rendering' in attribute 'style' in tag 'b' is disallowed. (see https://amp.dev/documentation/guides-and-tutorials/develop/style_and_layout/style_pages/) +amp4email_feature_tests/css_strict.html:720:0 The property 'text-rendering' in attribute 'style' in tag 'b' is disallowed. (see https://amp.dev/documentation/guides-and-tutorials/develop/style_and_layout/style_pages/) | <b style='text-shadow: foo'></b> | <b style='text-stroke-color: foo'></b> >> ^~~~~~~~~ -amp4email_feature_tests/css_strict.html:737:0 The property 'text-stroke-color' in attribute 'style' in tag 'b' is disallowed. (see https://amp.dev/documentation/guides-and-tutorials/develop/style_and_layout/style_pages/) +amp4email_feature_tests/css_strict.html:722:0 The property 'text-stroke-color' in attribute 'style' in tag 'b' is disallowed. (see https://amp.dev/documentation/guides-and-tutorials/develop/style_and_layout/style_pages/) | <b style='text-stroke-width: foo'></b> >> ^~~~~~~~~ -amp4email_feature_tests/css_strict.html:738:0 The property 'text-stroke-width' in attribute 'style' in tag 'b' is disallowed. (see https://amp.dev/documentation/guides-and-tutorials/develop/style_and_layout/style_pages/) +amp4email_feature_tests/css_strict.html:723:0 The property 'text-stroke-width' in attribute 'style' in tag 'b' is disallowed. (see https://amp.dev/documentation/guides-and-tutorials/develop/style_and_layout/style_pages/) | <b style='text-stroke: foo'></b> >> ^~~~~~~~~ -amp4email_feature_tests/css_strict.html:739:0 The property 'text-stroke' in attribute 'style' in tag 'b' is disallowed. (see https://amp.dev/documentation/guides-and-tutorials/develop/style_and_layout/style_pages/) +amp4email_feature_tests/css_strict.html:724:0 The property 'text-stroke' in attribute 'style' in tag 'b' is disallowed. (see https://amp.dev/documentation/guides-and-tutorials/develop/style_and_layout/style_pages/) | <b style='text-transform: foo'></b> | <b style='text-underline-position: foo'></b> | <b style='top: foo'></b> @@ -1115,27 +1100,27 @@ amp4email_feature_tests/css_strict.html:739:0 The property 'text-stroke' in attr | <b style='transition-duration: foo'></b> | <b style='transition-property: foo'></b> >> ^~~~~~~~~ -amp4email_feature_tests/css_strict.html:749:0 CSS syntax error in tag 'b' - the property 'transition-property' is set to the disallowed value 'foo'. (see https://amp.dev/documentation/guides-and-tutorials/develop/style_and_layout/style_pages/) +amp4email_feature_tests/css_strict.html:734:0 CSS syntax error in tag 'b' - the property 'transition-property' is set to the disallowed value 'foo'. (see https://amp.dev/documentation/guides-and-tutorials/develop/style_and_layout/style_pages/) | <b style='transition-property: opacity, transform'></b> | <b style='transition-timing-function: foo'></b> | <b style='transition: foo'></b> >> ^~~~~~~~~ -amp4email_feature_tests/css_strict.html:752:0 CSS syntax error in tag 'b' - the property 'transition' is set to the disallowed value 'foo'. (see https://amp.dev/documentation/guides-and-tutorials/develop/style_and_layout/style_pages/) +amp4email_feature_tests/css_strict.html:737:0 CSS syntax error in tag 'b' - the property 'transition' is set to the disallowed value 'foo'. (see https://amp.dev/documentation/guides-and-tutorials/develop/style_and_layout/style_pages/) | <b style='transition: opacity 4s ease-in-out 1s;'></b> | <b style='unicode-bidi: foo'></b> | <b style='user-select: foo'></b> >> ^~~~~~~~~ -amp4email_feature_tests/css_strict.html:755:0 The property 'user-select' in attribute 'style' in tag 'b' is disallowed. (see https://amp.dev/documentation/guides-and-tutorials/develop/style_and_layout/style_pages/) +amp4email_feature_tests/css_strict.html:740:0 The property 'user-select' in attribute 'style' in tag 'b' is disallowed. (see https://amp.dev/documentation/guides-and-tutorials/develop/style_and_layout/style_pages/) | <b style='vertical-align: foo'></b> | <b style='visibility: foo'></b> >> ^~~~~~~~~ -amp4email_feature_tests/css_strict.html:757:0 CSS syntax error in tag 'b' - the property 'visibility' is set to the disallowed value 'foo'. (see https://amp.dev/documentation/guides-and-tutorials/develop/style_and_layout/style_pages/) +amp4email_feature_tests/css_strict.html:742:0 CSS syntax error in tag 'b' - the property 'visibility' is set to the disallowed value 'foo'. (see https://amp.dev/documentation/guides-and-tutorials/develop/style_and_layout/style_pages/) | <b style='visibility: hidden'></b> | <b style='voice-family: foo'></b> | <b style='white-space: foo'></b> | <b style='widows: foo'></b> >> ^~~~~~~~~ -amp4email_feature_tests/css_strict.html:761:0 The property 'widows' in attribute 'style' in tag 'b' is disallowed. (see https://amp.dev/documentation/guides-and-tutorials/develop/style_and_layout/style_pages/) +amp4email_feature_tests/css_strict.html:746:0 The property 'widows' in attribute 'style' in tag 'b' is disallowed. (see https://amp.dev/documentation/guides-and-tutorials/develop/style_and_layout/style_pages/) | <b style='width: foo'></b> | <b style='word-break: foo'></b> | <b style='word-spacing: foo'></b> @@ -1143,25 +1128,25 @@ amp4email_feature_tests/css_strict.html:761:0 The property 'widows' in attribute | <b style='writing-mode: foo'></b> | <b style='z-index: foo'></b> >> ^~~~~~~~~ -amp4email_feature_tests/css_strict.html:767:0 CSS syntax error in tag 'b' - the property 'z-index' is set to the disallowed value 'foo'. (see https://amp.dev/documentation/guides-and-tutorials/develop/style_and_layout/style_pages/) +amp4email_feature_tests/css_strict.html:752:0 CSS syntax error in tag 'b' - the property 'z-index' is set to the disallowed value 'foo'. (see https://amp.dev/documentation/guides-and-tutorials/develop/style_and_layout/style_pages/) | <b style='z-index: auto'></b> >> ^~~~~~~~~ -amp4email_feature_tests/css_strict.html:768:0 CSS syntax error in tag 'b' - the property 'z-index' is set to the disallowed value 'auto'. (see https://amp.dev/documentation/guides-and-tutorials/develop/style_and_layout/style_pages/) +amp4email_feature_tests/css_strict.html:753:0 CSS syntax error in tag 'b' - the property 'z-index' is set to the disallowed value 'auto'. (see https://amp.dev/documentation/guides-and-tutorials/develop/style_and_layout/style_pages/) | <b style='z-index: 0'></b> | <b style='z-index: +1'></b> | <b style='z-index: -10'></b> | <b style='z-index: -1000'></b> >> ^~~~~~~~~ -amp4email_feature_tests/css_strict.html:772:0 CSS syntax error in tag 'b' - the property 'z-index' is set to the disallowed value '-1000'. (see https://amp.dev/documentation/guides-and-tutorials/develop/style_and_layout/style_pages/) +amp4email_feature_tests/css_strict.html:757:0 CSS syntax error in tag 'b' - the property 'z-index' is set to the disallowed value '-1000'. (see https://amp.dev/documentation/guides-and-tutorials/develop/style_and_layout/style_pages/) | <!-- Made-up decls --> | <b style='amplitude: foo'></b> >> ^~~~~~~~~ -amp4email_feature_tests/css_strict.html:774:0 The property 'amplitude' in attribute 'style' in tag 'b' is disallowed. (see https://amp.dev/documentation/guides-and-tutorials/develop/style_and_layout/style_pages/) +amp4email_feature_tests/css_strict.html:759:0 The property 'amplitude' in attribute 'style' in tag 'b' is disallowed. (see https://amp.dev/documentation/guides-and-tutorials/develop/style_and_layout/style_pages/) | <b style='barometric-pressure: foo'></b> >> ^~~~~~~~~ -amp4email_feature_tests/css_strict.html:775:0 The property 'barometric-pressure' in attribute 'style' in tag 'b' is disallowed. (see https://amp.dev/documentation/guides-and-tutorials/develop/style_and_layout/style_pages/) +amp4email_feature_tests/css_strict.html:760:0 The property 'barometric-pressure' in attribute 'style' in tag 'b' is disallowed. (see https://amp.dev/documentation/guides-and-tutorials/develop/style_and_layout/style_pages/) | <b style='degrees-celsius: foo'></b> >> ^~~~~~~~~ -amp4email_feature_tests/css_strict.html:776:0 The property 'degrees-celsius' in attribute 'style' in tag 'b' is disallowed. (see https://amp.dev/documentation/guides-and-tutorials/develop/style_and_layout/style_pages/) +amp4email_feature_tests/css_strict.html:761:0 The property 'degrees-celsius' in attribute 'style' in tag 'b' is disallowed. (see https://amp.dev/documentation/guides-and-tutorials/develop/style_and_layout/style_pages/) | </body> | </html> diff --git a/validator/testdata/amp4email_feature_tests/min_valid_amp4email.html b/validator/testdata/amp4email_feature_tests/min_valid_amp4email.html index 0d274908c62f..9256d7d2ff69 100644 --- a/validator/testdata/amp4email_feature_tests/min_valid_amp4email.html +++ b/validator/testdata/amp4email_feature_tests/min_valid_amp4email.html @@ -1,18 +1,3 @@ -<!-- - Copyright 2015 The AMP HTML Authors. All Rights Reserved. - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS-IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the license. ---> <!-- Test Description: This is the minimum valid AMP4EMAIL document; it includes all of the required diff --git a/validator/testdata/amp4email_feature_tests/min_valid_amp4email.out b/validator/testdata/amp4email_feature_tests/min_valid_amp4email.out index 80a375866264..7953edc4c122 100644 --- a/validator/testdata/amp4email_feature_tests/min_valid_amp4email.out +++ b/validator/testdata/amp4email_feature_tests/min_valid_amp4email.out @@ -1,20 +1,5 @@ PASS | <!-- -| Copyright 2015 The AMP HTML Authors. All Rights Reserved. -| -| Licensed under the Apache License, Version 2.0 (the "License"); -| you may not use this file except in compliance with the License. -| You may obtain a copy of the License at -| -| http://www.apache.org/licenses/LICENSE-2.0 -| -| Unless required by applicable law or agreed to in writing, software -| distributed under the License is distributed on an "AS-IS" BASIS, -| WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -| See the License for the specific language governing permissions and -| limitations under the license. -| --> -| <!-- | Test Description: | This is the minimum valid AMP4EMAIL document; it includes all of the required | fields from the spec, but nothing else. diff --git a/validator/testdata/amp4email_feature_tests/min_valid_multiline_amp4email.html b/validator/testdata/amp4email_feature_tests/min_valid_multiline_amp4email.html index c5cb6096728c..344d62a2f4e8 100644 --- a/validator/testdata/amp4email_feature_tests/min_valid_multiline_amp4email.html +++ b/validator/testdata/amp4email_feature_tests/min_valid_multiline_amp4email.html @@ -1,18 +1,3 @@ -<!-- - Copyright 2015 The AMP HTML Authors. All Rights Reserved. - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS-IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the license. ---> <!-- Test Description: This is the minimum valid AMP4EMAIL document; it includes all of the required diff --git a/validator/testdata/amp4email_feature_tests/min_valid_multiline_amp4email.out b/validator/testdata/amp4email_feature_tests/min_valid_multiline_amp4email.out index 3be3a6ac1494..fb7126970bc8 100644 --- a/validator/testdata/amp4email_feature_tests/min_valid_multiline_amp4email.out +++ b/validator/testdata/amp4email_feature_tests/min_valid_multiline_amp4email.out @@ -1,20 +1,5 @@ PASS | <!-- -| Copyright 2015 The AMP HTML Authors. All Rights Reserved. -| -| Licensed under the Apache License, Version 2.0 (the "License"); -| you may not use this file except in compliance with the License. -| You may obtain a copy of the License at -| -| http://www.apache.org/licenses/LICENSE-2.0 -| -| Unless required by applicable law or agreed to in writing, software -| distributed under the License is distributed on an "AS-IS" BASIS, -| WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -| See the License for the specific language governing permissions and -| limitations under the license. -| --> -| <!-- | Test Description: | This is the minimum valid AMP4EMAIL document; it includes all of the required | fields from the spec, but nothing else. diff --git a/validator/testdata/amp4email_feature_tests/no_latest_extensions.html b/validator/testdata/amp4email_feature_tests/no_latest_extensions.html index 4d320056a896..8553baacc5e8 100644 --- a/validator/testdata/amp4email_feature_tests/no_latest_extensions.html +++ b/validator/testdata/amp4email_feature_tests/no_latest_extensions.html @@ -1,18 +1,3 @@ -<!-- - Copyright 2015 The AMP HTML Authors. All Rights Reserved. - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS-IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the license. ---> <!-- Test Description: This checks that "latest" versions of extensions are not valid. diff --git a/validator/testdata/amp4email_feature_tests/no_latest_extensions.out b/validator/testdata/amp4email_feature_tests/no_latest_extensions.out index e7b02158520f..3f8b295e505e 100644 --- a/validator/testdata/amp4email_feature_tests/no_latest_extensions.out +++ b/validator/testdata/amp4email_feature_tests/no_latest_extensions.out @@ -1,20 +1,5 @@ FAIL | <!-- -| Copyright 2015 The AMP HTML Authors. All Rights Reserved. -| -| Licensed under the Apache License, Version 2.0 (the "License"); -| you may not use this file except in compliance with the License. -| You may obtain a copy of the License at -| -| http://www.apache.org/licenses/LICENSE-2.0 -| -| Unless required by applicable law or agreed to in writing, software -| distributed under the License is distributed on an "AS-IS" BASIS, -| WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -| See the License for the specific language governing permissions and -| limitations under the license. -| --> -| <!-- | Test Description: | This checks that "latest" versions of extensions are not valid. | --> @@ -26,51 +11,51 @@ FAIL | <script async src="https://cdn.ampproject.org/v0.js"></script> | <script async custom-element="amp-accordion" src="https://cdn.ampproject.org/v0/amp-accordion-latest.js"></script> >> ^~~~~~~~~ -amp4email_feature_tests/no_latest_extensions.html:26:2 The extension 'amp-accordion' is referenced at version 'latest' which is an invalid version. Please use a valid version of this extension. (see https://amp.dev/documentation/components/amp-accordion) +amp4email_feature_tests/no_latest_extensions.html:11:2 The extension 'amp-accordion' is referenced at version 'latest' which is an invalid version. Please use a valid version of this extension. (see https://amp.dev/documentation/components/amp-accordion) | <script async custom-element="amp-anim" src="https://cdn.ampproject.org/v0/amp-anim-latest.js"></script> >> ^~~~~~~~~ -amp4email_feature_tests/no_latest_extensions.html:27:2 The extension 'amp-anim' is referenced at version 'latest' which is an invalid version. Please use a valid version of this extension. (see https://amp.dev/documentation/components/amp-anim) +amp4email_feature_tests/no_latest_extensions.html:12:2 The extension 'amp-anim' is referenced at version 'latest' which is an invalid version. Please use a valid version of this extension. (see https://amp.dev/documentation/components/amp-anim) | <script async custom-element="amp-bind" src="https://cdn.ampproject.org/v0/amp-bind-latest.js"></script> >> ^~~~~~~~~ -amp4email_feature_tests/no_latest_extensions.html:28:2 The extension 'amp-bind' is referenced at version 'latest' which is an invalid version. Please use a valid version of this extension. (see https://amp.dev/documentation/components/amp-bind) +amp4email_feature_tests/no_latest_extensions.html:13:2 The extension 'amp-bind' is referenced at version 'latest' which is an invalid version. Please use a valid version of this extension. (see https://amp.dev/documentation/components/amp-bind) | <script async custom-element="amp-carousel" src="https://cdn.ampproject.org/v0/amp-carousel-latest.js"></script> >> ^~~~~~~~~ -amp4email_feature_tests/no_latest_extensions.html:29:2 The extension 'amp-carousel' is referenced at version 'latest' which is an invalid version. Please use a valid version of this extension. (see https://amp.dev/documentation/components/amp-carousel) +amp4email_feature_tests/no_latest_extensions.html:14:2 The extension 'amp-carousel' is referenced at version 'latest' which is an invalid version. Please use a valid version of this extension. (see https://amp.dev/documentation/components/amp-carousel) | <script async custom-element="amp-fit-text" src="https://cdn.ampproject.org/v0/amp-fit-text-latest.js"></script> >> ^~~~~~~~~ -amp4email_feature_tests/no_latest_extensions.html:30:2 The extension 'amp-fit-text' is referenced at version 'latest' which is an invalid version. Please use a valid version of this extension. (see https://amp.dev/documentation/components/amp-fit-text) +amp4email_feature_tests/no_latest_extensions.html:15:2 The extension 'amp-fit-text' is referenced at version 'latest' which is an invalid version. Please use a valid version of this extension. (see https://amp.dev/documentation/components/amp-fit-text) | <script async custom-element="amp-form" src="https://cdn.ampproject.org/v0/amp-form-latest.js"></script> >> ^~~~~~~~~ -amp4email_feature_tests/no_latest_extensions.html:31:2 The extension 'amp-form' is referenced at version 'latest' which is an invalid version. Please use a valid version of this extension. (see https://amp.dev/documentation/components/amp-form) +amp4email_feature_tests/no_latest_extensions.html:16:2 The extension 'amp-form' is referenced at version 'latest' which is an invalid version. Please use a valid version of this extension. (see https://amp.dev/documentation/components/amp-form) | <script async custom-element="amp-list" src="https://cdn.ampproject.org/v0/amp-list-latest.js"></script> >> ^~~~~~~~~ -amp4email_feature_tests/no_latest_extensions.html:32:2 The extension 'amp-list' is referenced at version 'latest' which is an invalid version. Please use a valid version of this extension. (see https://amp.dev/documentation/components/amp-list) +amp4email_feature_tests/no_latest_extensions.html:17:2 The extension 'amp-list' is referenced at version 'latest' which is an invalid version. Please use a valid version of this extension. (see https://amp.dev/documentation/components/amp-list) | <script async custom-element="amp-selector" src="https://cdn.ampproject.org/v0/amp-selector-latest.js"></script> >> ^~~~~~~~~ -amp4email_feature_tests/no_latest_extensions.html:33:2 The extension 'amp-selector' is referenced at version 'latest' which is an invalid version. Please use a valid version of this extension. (see https://amp.dev/documentation/components/amp-selector) +amp4email_feature_tests/no_latest_extensions.html:18:2 The extension 'amp-selector' is referenced at version 'latest' which is an invalid version. Please use a valid version of this extension. (see https://amp.dev/documentation/components/amp-selector) | <script async custom-element="amp-sidebar" src="https://cdn.ampproject.org/v0/amp-sidebar-latest.js"></script> >> ^~~~~~~~~ -amp4email_feature_tests/no_latest_extensions.html:34:2 The extension 'amp-sidebar' is referenced at version 'latest' which is an invalid version. Please use a valid version of this extension. (see https://amp.dev/documentation/components/amp-sidebar) +amp4email_feature_tests/no_latest_extensions.html:19:2 The extension 'amp-sidebar' is referenced at version 'latest' which is an invalid version. Please use a valid version of this extension. (see https://amp.dev/documentation/components/amp-sidebar) | <script async custom-element="amp-timeago" src="https://cdn.ampproject.org/v0/amp-timeago-latest.js"></script> >> ^~~~~~~~~ -amp4email_feature_tests/no_latest_extensions.html:35:2 The extension 'amp-timeago' is referenced at version 'latest' which is an invalid version. Please use a valid version of this extension. (see https://amp.dev/documentation/components/amp-timeago) +amp4email_feature_tests/no_latest_extensions.html:20:2 The extension 'amp-timeago' is referenced at version 'latest' which is an invalid version. Please use a valid version of this extension. (see https://amp.dev/documentation/components/amp-timeago) | <script async custom-template="amp-mustache" src="https://cdn.ampproject.org/v0/amp-mustache-latest.js"></script> >> ^~~~~~~~~ -amp4email_feature_tests/no_latest_extensions.html:36:2 The extension 'amp-mustache' is referenced at version 'latest' which is an invalid version. Please use a valid version of this extension. (see https://amp.dev/documentation/components/amp-mustache) +amp4email_feature_tests/no_latest_extensions.html:21:2 The extension 'amp-mustache' is referenced at version 'latest' which is an invalid version. Please use a valid version of this extension. (see https://amp.dev/documentation/components/amp-mustache) | </head> | <body> | Hello, world. | </body> | </html> >> ^~~~~~~~~ -amp4email_feature_tests/no_latest_extensions.html:41:6 The extension 'amp-anim' was found on this page, but is unused. Please remove this extension. +amp4email_feature_tests/no_latest_extensions.html:26:6 The extension 'amp-anim' was found on this page, but is unused. Please remove this extension. >> ^~~~~~~~~ -amp4email_feature_tests/no_latest_extensions.html:41:6 The extension 'amp-carousel' was found on this page, but is unused. Please remove this extension. +amp4email_feature_tests/no_latest_extensions.html:26:6 The extension 'amp-carousel' was found on this page, but is unused. Please remove this extension. >> ^~~~~~~~~ -amp4email_feature_tests/no_latest_extensions.html:41:6 The extension 'amp-list' was found on this page, but is unused. Please remove this extension. +amp4email_feature_tests/no_latest_extensions.html:26:6 The extension 'amp-list' was found on this page, but is unused. Please remove this extension. >> ^~~~~~~~~ -amp4email_feature_tests/no_latest_extensions.html:41:6 The extension 'amp-mustache' was found on this page, but is unused. Please remove this extension. +amp4email_feature_tests/no_latest_extensions.html:26:6 The extension 'amp-mustache' was found on this page, but is unused. Please remove this extension. >> ^~~~~~~~~ -amp4email_feature_tests/no_latest_extensions.html:41:6 The extension 'amp-sidebar' was found on this page, but is unused. Please remove this extension. +amp4email_feature_tests/no_latest_extensions.html:26:6 The extension 'amp-sidebar' was found on this page, but is unused. Please remove this extension. >> ^~~~~~~~~ -amp4email_feature_tests/no_latest_extensions.html:41:6 The extension 'amp-timeago' was found on this page, but is unused. Please remove this extension. +amp4email_feature_tests/no_latest_extensions.html:26:6 The extension 'amp-timeago' was found on this page, but is unused. Please remove this extension. diff --git a/validator/testdata/amp4email_feature_tests/nonce_disallowed.html b/validator/testdata/amp4email_feature_tests/nonce_disallowed.html index e093b2e2e16b..53d835a4c151 100644 --- a/validator/testdata/amp4email_feature_tests/nonce_disallowed.html +++ b/validator/testdata/amp4email_feature_tests/nonce_disallowed.html @@ -1,18 +1,3 @@ -<!-- - Copyright 2015 The AMP HTML Authors. All Rights Reserved. - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS-IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the license. ---> <!-- Test Description: This test demonstrates that the "nonce" attribute is not allowed in diff --git a/validator/testdata/amp4email_feature_tests/nonce_disallowed.out b/validator/testdata/amp4email_feature_tests/nonce_disallowed.out index 61f72038c3da..06782b1f8e45 100644 --- a/validator/testdata/amp4email_feature_tests/nonce_disallowed.out +++ b/validator/testdata/amp4email_feature_tests/nonce_disallowed.out @@ -1,20 +1,5 @@ FAIL | <!-- -| Copyright 2015 The AMP HTML Authors. All Rights Reserved. -| -| Licensed under the Apache License, Version 2.0 (the "License"); -| you may not use this file except in compliance with the License. -| You may obtain a copy of the License at -| -| http://www.apache.org/licenses/LICENSE-2.0 -| -| Unless required by applicable law or agreed to in writing, software -| distributed under the License is distributed on an "AS-IS" BASIS, -| WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -| See the License for the specific language governing permissions and -| limitations under the license. -| --> -| <!-- | Test Description: | This test demonstrates that the "nonce" attribute is not allowed in | amp4email. @@ -26,7 +11,7 @@ FAIL | <style amp4email-boilerplate>body{visibility:hidden}</style> | <script async src="https://cdn.ampproject.org/v0.js" nonce="disallowed"></script> >> ^~~~~~~~~ -amp4email_feature_tests/nonce_disallowed.html:26:2 The attribute 'nonce' may not appear in tag 'amphtml engine script'. (see https://amp.dev/documentation/guides-and-tutorials/learn/spec/amphtml/#required-markup) +amp4email_feature_tests/nonce_disallowed.html:11:2 The attribute 'nonce' may not appear in tag 'amphtml engine script'. (see https://amp.dev/documentation/guides-and-tutorials/learn/spec/amphtml/#required-markup) | </head> | <body> | Hello, world. diff --git a/validator/testdata/feature_tests/a_private_click_measurement.html b/validator/testdata/feature_tests/a_private_click_measurement.html index c099f4144de1..be441afae405 100644 --- a/validator/testdata/feature_tests/a_private_click_measurement.html +++ b/validator/testdata/feature_tests/a_private_click_measurement.html @@ -1,18 +1,3 @@ -<!-- - Copyright 2021 The AMP HTML Authors. All Rights Reserved. - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS-IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the license. ---> <!-- Test Description: Tests attributes related to Private Click Measurement. diff --git a/validator/testdata/feature_tests/a_private_click_measurement.out b/validator/testdata/feature_tests/a_private_click_measurement.out index 48da6b6bbd08..719ca4458e20 100644 --- a/validator/testdata/feature_tests/a_private_click_measurement.out +++ b/validator/testdata/feature_tests/a_private_click_measurement.out @@ -1,20 +1,5 @@ PASS | <!-- -| Copyright 2021 The AMP HTML Authors. All Rights Reserved. -| -| Licensed under the Apache License, Version 2.0 (the "License"); -| you may not use this file except in compliance with the License. -| You may obtain a copy of the License at -| -| http://www.apache.org/licenses/LICENSE-2.0 -| -| Unless required by applicable law or agreed to in writing, software -| distributed under the License is distributed on an "AS-IS" BASIS, -| WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -| See the License for the specific language governing permissions and -| limitations under the license. -| --> -| <!-- | Test Description: | Tests attributes related to Private Click Measurement. | --> diff --git a/validator/testdata/feature_tests/a_rel_double_space.html b/validator/testdata/feature_tests/a_rel_double_space.html index 702497cb761a..71a5b8db3577 100644 --- a/validator/testdata/feature_tests/a_rel_double_space.html +++ b/validator/testdata/feature_tests/a_rel_double_space.html @@ -1,18 +1,3 @@ -<!-- - Copyright 2015 The AMP HTML Authors. All Rights Reserved. - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS-IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the license. ---> <!-- Test Description: This is the minimum valid AMP document; it includes all of the required diff --git a/validator/testdata/feature_tests/a_rel_double_space.out b/validator/testdata/feature_tests/a_rel_double_space.out index cfd5f78016cf..cfd67e5ccddd 100644 --- a/validator/testdata/feature_tests/a_rel_double_space.out +++ b/validator/testdata/feature_tests/a_rel_double_space.out @@ -1,20 +1,5 @@ PASS | <!-- -| Copyright 2015 The AMP HTML Authors. All Rights Reserved. -| -| Licensed under the Apache License, Version 2.0 (the "License"); -| you may not use this file except in compliance with the License. -| You may obtain a copy of the License at -| -| http://www.apache.org/licenses/LICENSE-2.0 -| -| Unless required by applicable law or agreed to in writing, software -| distributed under the License is distributed on an "AS-IS" BASIS, -| WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -| See the License for the specific language governing permissions and -| limitations under the license. -| --> -| <!-- | Test Description: | This is the minimum valid AMP document; it includes all of the required | fields from the spec, but nothing else. diff --git a/validator/testdata/feature_tests/ads.html b/validator/testdata/feature_tests/ads.html index 0e9b2f4b035e..30dde67e165c 100644 --- a/validator/testdata/feature_tests/ads.html +++ b/validator/testdata/feature_tests/ads.html @@ -1,18 +1,3 @@ -<!-- - Copyright 2017 The AMP HTML Authors. All Rights Reserved. - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS-IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the license. ---> <!doctype html> <html ⚡> <head> diff --git a/validator/testdata/feature_tests/ads.out b/validator/testdata/feature_tests/ads.out index e044f33ff65a..89dd18eeeba5 100644 --- a/validator/testdata/feature_tests/ads.out +++ b/validator/testdata/feature_tests/ads.out @@ -1,19 +1,4 @@ PASS -| <!-- -| Copyright 2017 The AMP HTML Authors. All Rights Reserved. -| -| Licensed under the Apache License, Version 2.0 (the "License"); -| you may not use this file except in compliance with the License. -| You may obtain a copy of the License at -| -| http://www.apache.org/licenses/LICENSE-2.0 -| -| Unless required by applicable law or agreed to in writing, software -| distributed under the License is distributed on an "AS-IS" BASIS, -| WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -| See the License for the specific language governing permissions and -| limitations under the license. -| --> | <!doctype html> | <html ⚡> | <head> diff --git a/validator/testdata/feature_tests/amp-action-macro.html b/validator/testdata/feature_tests/amp-action-macro.html index dba5f2a6dd34..58a25081adad 100644 --- a/validator/testdata/feature_tests/amp-action-macro.html +++ b/validator/testdata/feature_tests/amp-action-macro.html @@ -1,18 +1,3 @@ -<!-- - Copyright 2019 The AMP HTML Authors. All Rights Reserved. - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS-IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the license. ---> <!doctype html> <html ⚡> <head> diff --git a/validator/testdata/feature_tests/amp-action-macro.out b/validator/testdata/feature_tests/amp-action-macro.out index 9424b5ee2b33..420a11511ce0 100644 --- a/validator/testdata/feature_tests/amp-action-macro.out +++ b/validator/testdata/feature_tests/amp-action-macro.out @@ -1,19 +1,4 @@ FAIL -| <!-- -| Copyright 2019 The AMP HTML Authors. All Rights Reserved. -| -| Licensed under the Apache License, Version 2.0 (the "License"); -| you may not use this file except in compliance with the License. -| You may obtain a copy of the License at -| -| http://www.apache.org/licenses/LICENSE-2.0 -| -| Unless required by applicable law or agreed to in writing, software -| distributed under the License is distributed on an "AS-IS" BASIS, -| WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -| See the License for the specific language governing permissions and -| limitations under the license. -| --> | <!doctype html> | <html ⚡> | <head> @@ -46,13 +31,13 @@ FAIL | <!-- Invalid, requires ID --> | <amp-action-macro execute="amp-component.doSomething()"> >> ^~~~~~~~~ -feature_tests/amp-action-macro.html:46:2 The mandatory attribute 'id' is missing in tag 'amp-action-macro'. (see https://amp.dev/documentation/components/amp-action-macro/) +feature_tests/amp-action-macro.html:31:2 The mandatory attribute 'id' is missing in tag 'amp-action-macro'. (see https://amp.dev/documentation/components/amp-action-macro/) | </amp-action-macro> | | <!-- Invalid, requires execute --> | <amp-action-macro id="action-macro-id"> >> ^~~~~~~~~ -feature_tests/amp-action-macro.html:50:2 The mandatory attribute 'execute' is missing in tag 'amp-action-macro'. (see https://amp.dev/documentation/components/amp-action-macro/) +feature_tests/amp-action-macro.html:35:2 The mandatory attribute 'execute' is missing in tag 'amp-action-macro'. (see https://amp.dev/documentation/components/amp-action-macro/) | </amp-action-macro> | | </body> diff --git a/validator/testdata/feature_tests/amp-image-slider.html b/validator/testdata/feature_tests/amp-image-slider.html index 8631af6455f4..07d472db2ceb 100644 --- a/validator/testdata/feature_tests/amp-image-slider.html +++ b/validator/testdata/feature_tests/amp-image-slider.html @@ -1,18 +1,3 @@ -<!-- - Copyright 2018 The AMP HTML Authors. All Rights Reserved. - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS-IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the license. ---> <!doctype html> <html ⚡> <head> diff --git a/validator/testdata/feature_tests/amp-image-slider.out b/validator/testdata/feature_tests/amp-image-slider.out index 45b96c66bcb3..d0888ffc258b 100644 --- a/validator/testdata/feature_tests/amp-image-slider.out +++ b/validator/testdata/feature_tests/amp-image-slider.out @@ -1,19 +1,4 @@ FAIL -| <!-- -| Copyright 2018 The AMP HTML Authors. All Rights Reserved. -| -| Licensed under the Apache License, Version 2.0 (the "License"); -| you may not use this file except in compliance with the License. -| You may obtain a copy of the License at -| -| http://www.apache.org/licenses/LICENSE-2.0 -| -| Unless required by applicable law or agreed to in writing, software -| distributed under the License is distributed on an "AS-IS" BASIS, -| WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -| See the License for the specific language governing permissions and -| limitations under the license. -| --> | <!doctype html> | <html ⚡> | <head> @@ -44,7 +29,7 @@ FAIL | <!-- Invalid, requires at least 2 children --> | <amp-image-slider tabindex="0" layout="responsive" width="200" height="100"> >> ^~~~~~~~~ -feature_tests/amp-image-slider.html:44:2 Tag 'amp-image-slider' must have a minimum of 2 child tags - saw 1 child tags. (see https://amp.dev/documentation/components/amp-image-slider/) +feature_tests/amp-image-slider.html:29:2 Tag 'amp-image-slider' must have a minimum of 2 child tags - saw 1 child tags. (see https://amp.dev/documentation/components/amp-image-slider/) | <amp-img src="/1.jpg" layout="fill"></amp-img> | </amp-image-slider> | @@ -52,7 +37,7 @@ feature_tests/amp-image-slider.html:44:2 Tag 'amp-image-slider' must have a mini | <amp-image-slider tabindex="0" layout="responsive" width="200" height="100"> | <span>BAD CONTENT</span> >> ^~~~~~~~~ -feature_tests/amp-image-slider.html:50:4 Tag 'span' is disallowed as child of tag 'amp-image-slider'. Child tag must be one of ['amp-img', 'div']. (see https://amp.dev/documentation/components/amp-image-slider/) +feature_tests/amp-image-slider.html:35:4 Tag 'span' is disallowed as child of tag 'amp-image-slider'. Child tag must be one of ['amp-img', 'div']. (see https://amp.dev/documentation/components/amp-image-slider/) | <amp-img src="/1.jpg" layout="fill"></amp-img> | <amp-img src="/2.jpg" layout="fill"></amp-img> | <div first class="red">BEFORE</div> @@ -62,10 +47,10 @@ feature_tests/amp-image-slider.html:50:4 Tag 'span' is disallowed as child of ta | <!-- Invalid, first and second attribute should only exist inside of amp-image-slider --> | <div first>Should not be exposed</div> >> ^~~~~~~~~ -feature_tests/amp-image-slider.html:58:2 The attribute 'first' may not appear in tag 'div'. +feature_tests/amp-image-slider.html:43:2 The attribute 'first' may not appear in tag 'div'. | <div second>Should not be exposed</div> >> ^~~~~~~~~ -feature_tests/amp-image-slider.html:59:2 The attribute 'second' may not appear in tag 'div'. +feature_tests/amp-image-slider.html:44:2 The attribute 'second' may not appear in tag 'div'. | | <!-- Valid, testing disable-hint-reappear --> | <amp-image-slider tabindex="0" layout="responsive" width="200" height="100" disable-hint-reappear> @@ -82,9 +67,9 @@ feature_tests/amp-image-slider.html:59:2 The attribute 'second' may not appear i | <!-- Invalid, both initial-slider-position and step-size should not be more than 1 --> | <amp-image-slider tabindex="0" layout="responsive" width="200" height="100" initial-slider-position="1.5" step-size="1.5"> >> ^~~~~~~~~ -feature_tests/amp-image-slider.html:74:2 The attribute 'initial-slider-position' in tag 'amp-image-slider' is set to the invalid value '1.5'. (see https://amp.dev/documentation/components/amp-image-slider/) +feature_tests/amp-image-slider.html:59:2 The attribute 'initial-slider-position' in tag 'amp-image-slider' is set to the invalid value '1.5'. (see https://amp.dev/documentation/components/amp-image-slider/) >> ^~~~~~~~~ -feature_tests/amp-image-slider.html:74:2 The attribute 'step-size' in tag 'amp-image-slider' is set to the invalid value '1.5'. (see https://amp.dev/documentation/components/amp-image-slider/) +feature_tests/amp-image-slider.html:59:2 The attribute 'step-size' in tag 'amp-image-slider' is set to the invalid value '1.5'. (see https://amp.dev/documentation/components/amp-image-slider/) | <amp-img src="/1.jpg" layout="fill"></amp-img> | <amp-img src="/2.jpg" layout="fill"></amp-img> | </amp-image-slider> diff --git a/validator/testdata/feature_tests/amp-yotpo.html b/validator/testdata/feature_tests/amp-yotpo.html index fcc0c1c9c711..652fced73e4a 100644 --- a/validator/testdata/feature_tests/amp-yotpo.html +++ b/validator/testdata/feature_tests/amp-yotpo.html @@ -1,18 +1,3 @@ -<!-- - Copyright 2018 The AMP HTML Authors. All Rights Reserved. - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS-IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the license. ---> <!doctype html> <html ⚡> <head> diff --git a/validator/testdata/feature_tests/amp-yotpo.out b/validator/testdata/feature_tests/amp-yotpo.out index 2a7a0e8ac9a0..fc3d72d2da0f 100644 --- a/validator/testdata/feature_tests/amp-yotpo.out +++ b/validator/testdata/feature_tests/amp-yotpo.out @@ -1,19 +1,4 @@ PASS -| <!-- -| Copyright 2018 The AMP HTML Authors. All Rights Reserved. -| -| Licensed under the Apache License, Version 2.0 (the "License"); -| you may not use this file except in compliance with the License. -| You may obtain a copy of the License at -| -| http://www.apache.org/licenses/LICENSE-2.0 -| -| Unless required by applicable law or agreed to in writing, software -| distributed under the License is distributed on an "AS-IS" BASIS, -| WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -| See the License for the specific language governing permissions and -| limitations under the license. -| --> | <!doctype html> | <html ⚡> | <head> diff --git a/validator/testdata/feature_tests/amp_identification_missing.html b/validator/testdata/feature_tests/amp_identification_missing.html index b88a725e4f5b..aed643c06594 100644 --- a/validator/testdata/feature_tests/amp_identification_missing.html +++ b/validator/testdata/feature_tests/amp_identification_missing.html @@ -1,18 +1,3 @@ -<!-- - Copyright 2015 The AMP HTML Authors. All Rights Reserved. - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS-IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the license. ---> <!-- Test Description: The only thing that's wrong with this AMP doc is that it is not identifying diff --git a/validator/testdata/feature_tests/amp_identification_missing.out b/validator/testdata/feature_tests/amp_identification_missing.out index 32b5b9f75689..cd399a1f0c33 100644 --- a/validator/testdata/feature_tests/amp_identification_missing.out +++ b/validator/testdata/feature_tests/amp_identification_missing.out @@ -1,20 +1,5 @@ FAIL | <!-- -| Copyright 2015 The AMP HTML Authors. All Rights Reserved. -| -| Licensed under the Apache License, Version 2.0 (the "License"); -| you may not use this file except in compliance with the License. -| You may obtain a copy of the License at -| -| http://www.apache.org/licenses/LICENSE-2.0 -| -| Unless required by applicable law or agreed to in writing, software -| distributed under the License is distributed on an "AS-IS" BASIS, -| WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -| See the License for the specific language governing permissions and -| limitations under the license. -| --> -| <!-- | Test Description: | The only thing that's wrong with this AMP doc is that it is not identifying | itself as AMP. @@ -22,7 +7,7 @@ FAIL | <!doctype html> | <html> >> ^~~~~~~~~ -feature_tests/amp_identification_missing.html:22:0 The mandatory attribute '⚡' is missing in tag 'html'. (see https://amp.dev/documentation/guides-and-tutorials/learn/spec/amphtml#required-markup) +feature_tests/amp_identification_missing.html:7:0 The mandatory attribute '⚡' is missing in tag 'html'. (see https://amp.dev/documentation/guides-and-tutorials/learn/spec/amphtml#required-markup) | <head> | <meta charset="utf-8"> | <link rel="canonical" href="./regular-html-version.html"> diff --git a/validator/testdata/feature_tests/amp_layouts.html b/validator/testdata/feature_tests/amp_layouts.html index 39a776d32d5e..b570fc01b8d5 100644 --- a/validator/testdata/feature_tests/amp_layouts.html +++ b/validator/testdata/feature_tests/amp_layouts.html @@ -1,18 +1,3 @@ -<!-- - Copyright 2015 The AMP HTML Authors. All Rights Reserved. - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS-IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the license. ---> <!-- Test Description: This is a (partial) transcription from test/unit/test-layout.js. diff --git a/validator/testdata/feature_tests/amp_layouts.out b/validator/testdata/feature_tests/amp_layouts.out index 543511107a93..9773e67d9973 100644 --- a/validator/testdata/feature_tests/amp_layouts.out +++ b/validator/testdata/feature_tests/amp_layouts.out @@ -1,20 +1,5 @@ FAIL | <!-- -| Copyright 2015 The AMP HTML Authors. All Rights Reserved. -| -| Licensed under the Apache License, Version 2.0 (the "License"); -| you may not use this file except in compliance with the License. -| You may obtain a copy of the License at -| -| http://www.apache.org/licenses/LICENSE-2.0 -| -| Unless required by applicable law or agreed to in writing, software -| distributed under the License is distributed on an "AS-IS" BASIS, -| WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -| See the License for the specific language governing permissions and -| limitations under the license. -| --> -| <!-- | Test Description: | This is a (partial) transcription from test/unit/test-layout.js. | --> @@ -41,7 +26,7 @@ FAIL | <!-- invalid: layout=fixed - requires width/height --> | <amp-img layout="fixed" src="itshappening.gif"></amp-img> >> ^~~~~~~~~ -feature_tests/amp_layouts.html:41:2 The mandatory attribute 'height' is missing in tag 'amp-img'. (see https://amp.dev/documentation/components/amp-img/) +feature_tests/amp_layouts.html:26:2 The mandatory attribute 'height' is missing in tag 'amp-img'. (see https://amp.dev/documentation/components/amp-img/) | | <!-- valid: layout=fixed-height --> | <amp-img layout="fixed-height" height="200" src="itshappening.gif"></amp-img> @@ -49,12 +34,12 @@ feature_tests/amp_layouts.html:41:2 The mandatory attribute 'height' is missing | <!-- invalid: layout value must be lower case --> | <amp-img layout="FIXED-HEIGHT" height="200" src="itshappening.gif"></amp-img> >> ^~~~~~~~~ -feature_tests/amp_layouts.html:47:2 The attribute 'layout' in tag 'amp-img' is set to the invalid value 'FIXED-HEIGHT'. (see https://amp.dev/documentation/components/amp-img/) +feature_tests/amp_layouts.html:32:2 The attribute 'layout' in tag 'amp-img' is set to the invalid value 'FIXED-HEIGHT'. (see https://amp.dev/documentation/components/amp-img/) | | <!-- invalid: layout value must use hyphen rather than underscore --> | <amp-img layout="fixed_height" height="200" src="itshappening.gif"></amp-img> >> ^~~~~~~~~ -feature_tests/amp_layouts.html:50:2 The attribute 'layout' in tag 'amp-img' is set to the invalid value 'fixed_height'. (see https://amp.dev/documentation/components/amp-img/) +feature_tests/amp_layouts.html:35:2 The attribute 'layout' in tag 'amp-img' is set to the invalid value 'fixed_height'. (see https://amp.dev/documentation/components/amp-img/) | | <!-- valid: layout=fixed-height, with width=auto --> | <amp-img layout="fixed-height" height="200" width="auto" @@ -63,7 +48,7 @@ feature_tests/amp_layouts.html:50:2 The attribute 'layout' in tag 'amp-img' is s | <!-- invalid: layout=fixed-height, prohibit width!=auto --> | <amp-img layout="fixed-height" height="200" width="300" >> ^~~~~~~~~ -feature_tests/amp_layouts.html:57:2 Invalid value '300' for attribute 'width' in tag 'amp-img' - for layout 'FIXED_HEIGHT', set the attribute 'width' to value 'auto'. (see https://amp.dev/documentation/components/amp-img/) +feature_tests/amp_layouts.html:42:2 Invalid value '300' for attribute 'width' in tag 'amp-img' - for layout 'FIXED_HEIGHT', set the attribute 'width' to value 'auto'. (see https://amp.dev/documentation/components/amp-img/) | src="itshappening.gif"></amp-img> | | <!-- valid: layout=fixed-height - default with height --> @@ -75,7 +60,7 @@ feature_tests/amp_layouts.html:57:2 Invalid value '300' for attribute 'width' in | <!-- invalid: layout=fixed-height - requires height --> | <amp-img layout="fixed-height" src="itshappening.gif"></amp-img> >> ^~~~~~~~~ -feature_tests/amp_layouts.html:67:2 The mandatory attribute 'height' is missing in tag 'amp-img'. (see https://amp.dev/documentation/components/amp-img/) +feature_tests/amp_layouts.html:52:2 The mandatory attribute 'height' is missing in tag 'amp-img'. (see https://amp.dev/documentation/components/amp-img/) | | <!-- valid: layout=responsive --> | <amp-img layout="responsive" width="100" height="200" @@ -92,7 +77,7 @@ feature_tests/amp_layouts.html:67:2 The mandatory attribute 'height' is missing | for flex-item --> | <amp-img layout="fill" width="50" height="auto"></amp-img> >> ^~~~~~~~~ -feature_tests/amp_layouts.html:82:2 The attribute 'height' in tag 'amp-img' is set to the invalid value 'auto'. (see https://amp.dev/documentation/components/amp-img/) +feature_tests/amp_layouts.html:67:2 The attribute 'height' in tag 'amp-img' is set to the invalid value 'auto'. (see https://amp.dev/documentation/components/amp-img/) | | <!-- valid: layout=flex-item --> | <amp-img layout="flex-item" src="itshappening.gif"></amp-img> @@ -114,12 +99,12 @@ feature_tests/amp_layouts.html:82:2 The attribute 'height' in tag 'amp-img' is s | --> | <amp-img layout="container" src="itshappening.gif"></amp-img> >> ^~~~~~~~~ -feature_tests/amp_layouts.html:102:2 The specified layout 'CONTAINER' is not supported by tag 'amp-img'. (see https://amp.dev/documentation/components/amp-img/) +feature_tests/amp_layouts.html:87:2 The specified layout 'CONTAINER' is not supported by tag 'amp-img'. (see https://amp.dev/documentation/components/amp-img/) | | <!-- invalid: layout=unknown --> | <amp-img layout="unknown" src="itshappening.gif"></amp-img> >> ^~~~~~~~~ -feature_tests/amp_layouts.html:105:2 The attribute 'layout' in tag 'amp-img' is set to the invalid value 'unknown'. (see https://amp.dev/documentation/components/amp-img/) +feature_tests/amp_layouts.html:90:2 The attribute 'layout' in tag 'amp-img' is set to the invalid value 'unknown'. (see https://amp.dev/documentation/components/amp-img/) | | <!-- valid: should configure natural dimensions; default layout --> | <amp-pixel src="https://www.example.com/make-my-visit-count"></amp-pixel> @@ -151,19 +136,19 @@ feature_tests/amp_layouts.html:105:2 The attribute 'layout' in tag 'amp-img' is | support fixed-height layout. --> | <amp-pixel src="https://www.example.com/make-my-visit-count" >> ^~~~~~~~~ -feature_tests/amp_layouts.html:135:2 The implied layout 'FIXED_HEIGHT' is not supported by tag 'amp-pixel'. (see https://amp.dev/documentation/components/amp-pixel/) +feature_tests/amp_layouts.html:120:2 The implied layout 'FIXED_HEIGHT' is not supported by tag 'amp-pixel'. (see https://amp.dev/documentation/components/amp-pixel/) | width="auto" height="1px"></amp-pixel> | | <!-- invalid: width=X. --> | <amp-pixel src="https://www.example.com/make-my-visit-count" >> ^~~~~~~~~ -feature_tests/amp_layouts.html:139:2 The attribute 'width' in tag 'amp-pixel' is set to the invalid value 'X'. (see https://amp.dev/documentation/components/amp-pixel/) +feature_tests/amp_layouts.html:124:2 The attribute 'width' in tag 'amp-pixel' is set to the invalid value 'X'. (see https://amp.dev/documentation/components/amp-pixel/) | width="X" height="1px"></amp-pixel> | | <!-- invalid: height=X. --> | <amp-pixel src="https://www.example.com/make-my-visit-count" >> ^~~~~~~~~ -feature_tests/amp_layouts.html:143:2 The attribute 'height' in tag 'amp-pixel' is set to the invalid value 'X'. (see https://amp.dev/documentation/components/amp-pixel/) +feature_tests/amp_layouts.html:128:2 The attribute 'height' in tag 'amp-pixel' is set to the invalid value 'X'. (see https://amp.dev/documentation/components/amp-pixel/) | height="X" width="1px"></amp-pixel> | | <!-- valid responsive layout with heights --> @@ -177,33 +162,33 @@ feature_tests/amp_layouts.html:143:2 The attribute 'height' in tag 'amp-pixel' i | <!-- invalid: can't have heights with specified layout fixed --> | <amp-img src="https://lh3.googleusercontent.com/5rcQ32ml8E5ONp9f9-Rf78IofLb9QjS5_0mqsY1zEFc=w400-h300-no-n" width=400 height=300 layout="fixed" >> ^~~~~~~~~ -feature_tests/amp_layouts.html:155:2 The attribute 'heights' in tag 'amp-img' is disallowed by specified layout 'FIXED'. (see https://amp.dev/documentation/components/amp-img/) +feature_tests/amp_layouts.html:140:2 The attribute 'heights' in tag 'amp-img' is disallowed by specified layout 'FIXED'. (see https://amp.dev/documentation/components/amp-img/) | heights="(min-width:760px) 33%, (min-width:500px) 75%, 125%" ></amp-img> | | <!-- invalid: can't have heights with implied layout fixed_height --> | <amp-img src="https://lh3.googleusercontent.com/5rcQ32ml8E5ONp9f9-Rf78IofLb9QjS5_0mqsY1zEFc=w400-h300-no-n" height=300 >> ^~~~~~~~~ -feature_tests/amp_layouts.html:159:2 The attribute 'heights' in tag 'amp-img' is disallowed by implied layout 'FIXED_HEIGHT'. (see https://amp.dev/documentation/components/amp-img/) +feature_tests/amp_layouts.html:144:2 The attribute 'heights' in tag 'amp-img' is disallowed by implied layout 'FIXED_HEIGHT'. (see https://amp.dev/documentation/components/amp-img/) | heights="(min-width:760px) 33%, (min-width:500px) 75%, 125%" ></amp-img> | <!-- valid: intrinsic has height and width set with same units --> | <amp-img src="img.png" height="30px" width="300px" layout="intrinsic"></amp-img> | <!-- invalid: intrinsic has height and width set with different units --> | <amp-img src="img.png" height="30px" width="300em" layout="intrinsic"></amp-img> >> ^~~~~~~~~ -feature_tests/amp_layouts.html:164:2 Inconsistent units for width and height in tag 'amp-img' - width is specified in 'em' whereas height is specified in 'px'. (see https://amp.dev/documentation/components/amp-img/) +feature_tests/amp_layouts.html:149:2 Inconsistent units for width and height in tag 'amp-img' - width is specified in 'em' whereas height is specified in 'px'. (see https://amp.dev/documentation/components/amp-img/) | <!-- invalid: intrinsic height and width can not be auto --> | <amp-img src="img.png" height="auto" width="300px" layout="intrinsic"></amp-img> >> ^~~~~~~~~ -feature_tests/amp_layouts.html:166:2 The attribute 'height' in tag 'amp-img' is set to the invalid value 'auto'. (see https://amp.dev/documentation/components/amp-img/) +feature_tests/amp_layouts.html:151:2 The attribute 'height' in tag 'amp-img' is set to the invalid value 'auto'. (see https://amp.dev/documentation/components/amp-img/) | <amp-img src="img.png" height="30px" width="auto" layout="intrinsic"></amp-img> >> ^~~~~~~~~ -feature_tests/amp_layouts.html:167:2 The attribute 'width' in tag 'amp-img' is set to the invalid value 'auto'. (see https://amp.dev/documentation/components/amp-img/) +feature_tests/amp_layouts.html:152:2 The attribute 'width' in tag 'amp-img' is set to the invalid value 'auto'. (see https://amp.dev/documentation/components/amp-img/) | <!-- invalid: intrinsic height and width must be set --> | <amp-img src="img.png" height="30px" layout="intrinsic"></amp-img> >> ^~~~~~~~~ -feature_tests/amp_layouts.html:169:2 The mandatory attribute 'width' is missing in tag 'amp-img'. (see https://amp.dev/documentation/components/amp-img/) +feature_tests/amp_layouts.html:154:2 The mandatory attribute 'width' is missing in tag 'amp-img'. (see https://amp.dev/documentation/components/amp-img/) | <amp-img src="img.png" width="300px" layout="intrinsic"></amp-img> >> ^~~~~~~~~ -feature_tests/amp_layouts.html:170:2 The mandatory attribute 'height' is missing in tag 'amp-img'. (see https://amp.dev/documentation/components/amp-img/) +feature_tests/amp_layouts.html:155:2 The mandatory attribute 'height' is missing in tag 'amp-img'. (see https://amp.dev/documentation/components/amp-img/) | </body> | </html> diff --git a/validator/testdata/feature_tests/amp_meta_tags.html b/validator/testdata/feature_tests/amp_meta_tags.html index 5ae652393ea6..743e22f69931 100644 --- a/validator/testdata/feature_tests/amp_meta_tags.html +++ b/validator/testdata/feature_tests/amp_meta_tags.html @@ -1,18 +1,3 @@ -<!-- - Copyright 2015 The AMP HTML Authors. All Rights Reserved. - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS-IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the license. ---> <!-- Test Description: This tests various meta tags related to AMP. diff --git a/validator/testdata/feature_tests/amp_meta_tags.out b/validator/testdata/feature_tests/amp_meta_tags.out index 92e740dcecd8..7757a0a936d8 100644 --- a/validator/testdata/feature_tests/amp_meta_tags.out +++ b/validator/testdata/feature_tests/amp_meta_tags.out @@ -1,20 +1,5 @@ FAIL | <!-- -| Copyright 2015 The AMP HTML Authors. All Rights Reserved. -| -| Licensed under the Apache License, Version 2.0 (the "License"); -| you may not use this file except in compliance with the License. -| You may obtain a copy of the License at -| -| http://www.apache.org/licenses/LICENSE-2.0 -| -| Unless required by applicable law or agreed to in writing, software -| distributed under the License is distributed on an "AS-IS" BASIS, -| WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -| See the License for the specific language governing permissions and -| limitations under the license. -| --> -| <!-- | Test Description: | This tests various meta tags related to AMP. | --> @@ -39,7 +24,7 @@ FAIL | AMP documents. This should produce an error. --> | <meta name=amp-tag-does-not-exist content="..."> >> ^~~~~~~~~ -feature_tests/amp_meta_tags.html:39:2 The attribute 'name' in tag 'meta' is set to the invalid value 'amp-tag-does-not-exist'. +feature_tests/amp_meta_tags.html:24:2 The attribute 'name' in tag 'meta' is set to the invalid value 'amp-tag-does-not-exist'. | | </head> | <body> diff --git a/validator/testdata/feature_tests/amp_rtc.html b/validator/testdata/feature_tests/amp_rtc.html index 3ac32018621c..1500a83d8170 100644 --- a/validator/testdata/feature_tests/amp_rtc.html +++ b/validator/testdata/feature_tests/amp_rtc.html @@ -1,18 +1,3 @@ -<!-- - Copyright 2015 The AMP HTML Authors. All Rights Reserved. - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS-IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the license. ---> <!-- Test Description: Test of the amp-rtc script tag. diff --git a/validator/testdata/feature_tests/amp_rtc.out b/validator/testdata/feature_tests/amp_rtc.out index e9427c27b7e6..13b9e9bdf89b 100644 --- a/validator/testdata/feature_tests/amp_rtc.out +++ b/validator/testdata/feature_tests/amp_rtc.out @@ -1,20 +1,5 @@ FAIL | <!-- -| Copyright 2015 The AMP HTML Authors. All Rights Reserved. -| -| Licensed under the Apache License, Version 2.0 (the "License"); -| you may not use this file except in compliance with the License. -| You may obtain a copy of the License at -| -| http://www.apache.org/licenses/LICENSE-2.0 -| -| Unless required by applicable law or agreed to in writing, software -| distributed under the License is distributed on an "AS-IS" BASIS, -| WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -| See the License for the specific language governing permissions and -| limitations under the license. -| --> -| <!-- | Test Description: | Test of the amp-rtc script tag. | --> @@ -44,7 +29,7 @@ FAIL | <!-- Invalid: found in body, duplicate --> | <script type="application/json" id="amp-rtc"> >> ^~~~~~~~~ -feature_tests/amp_rtc.html:44:2 The parent tag of tag 'script' is 'body', but it can only be 'head'. +feature_tests/amp_rtc.html:29:2 The parent tag of tag 'script' is 'body', but it can only be 'head'. | { | "doubleclick": { | "url": "https://pub.com/rtc-endpoint", diff --git a/validator/testdata/feature_tests/aria.html b/validator/testdata/feature_tests/aria.html index c04bb038d75e..a3ade7f7bed3 100644 --- a/validator/testdata/feature_tests/aria.html +++ b/validator/testdata/feature_tests/aria.html @@ -1,18 +1,3 @@ -<!-- - Copyright 2015 The AMP HTML Authors. All Rights Reserved. - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS-IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the license. ---> <!-- Test Description: This tests looks at specific errors related to ARIA rules. diff --git a/validator/testdata/feature_tests/aria.out b/validator/testdata/feature_tests/aria.out index 00f78b4863b5..1f291e614e7e 100644 --- a/validator/testdata/feature_tests/aria.out +++ b/validator/testdata/feature_tests/aria.out @@ -1,20 +1,5 @@ FAIL | <!-- -| Copyright 2015 The AMP HTML Authors. All Rights Reserved. -| -| Licensed under the Apache License, Version 2.0 (the "License"); -| you may not use this file except in compliance with the License. -| You may obtain a copy of the License at -| -| http://www.apache.org/licenses/LICENSE-2.0 -| -| Unless required by applicable law or agreed to in writing, software -| distributed under the License is distributed on an "AS-IS" BASIS, -| WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -| See the License for the specific language governing permissions and -| limitations under the license. -| --> -| <!-- | Test Description: | This tests looks at specific errors related to ARIA rules. | --> @@ -37,16 +22,16 @@ FAIL | <!-- invalid: missing role --> | <amp-img on="tap:lightbox" tabindex="1" layout="fill" src="img"></amp-img> >> ^~~~~~~~~ -feature_tests/aria.html:37:2 The attribute 'role' in tag 'amp-img' is missing or incorrect, but required by attribute 'on'. (see https://amp.dev/documentation/components/amp-img/) +feature_tests/aria.html:22:2 The attribute 'role' in tag 'amp-img' is missing or incorrect, but required by attribute 'on'. (see https://amp.dev/documentation/components/amp-img/) | <!-- invalid: missing tabindex --> | <amp-img on="tap:lightbox" role="button" layout="fill" src="img"></amp-img> >> ^~~~~~~~~ -feature_tests/aria.html:39:2 The attribute 'tabindex' in tag 'amp-img' is missing or incorrect, but required by attribute 'on'. (see https://amp.dev/documentation/components/amp-img/) +feature_tests/aria.html:24:2 The attribute 'tabindex' in tag 'amp-img' is missing or incorrect, but required by attribute 'on'. (see https://amp.dev/documentation/components/amp-img/) | <!-- invalid: missing both role and tabindex --> | <amp-img on="tap:lightbox" layout="fill" src="img"></amp-img> >> ^~~~~~~~~ -feature_tests/aria.html:41:2 The attribute 'role' in tag 'amp-img' is missing or incorrect, but required by attribute 'on'. (see https://amp.dev/documentation/components/amp-img/) +feature_tests/aria.html:26:2 The attribute 'role' in tag 'amp-img' is missing or incorrect, but required by attribute 'on'. (see https://amp.dev/documentation/components/amp-img/) >> ^~~~~~~~~ -feature_tests/aria.html:41:2 The attribute 'tabindex' in tag 'amp-img' is missing or incorrect, but required by attribute 'on'. (see https://amp.dev/documentation/components/amp-img/) +feature_tests/aria.html:26:2 The attribute 'tabindex' in tag 'amp-img' is missing or incorrect, but required by attribute 'on'. (see https://amp.dev/documentation/components/amp-img/) | </body> | </html> diff --git a/validator/testdata/feature_tests/article-json-ld.html b/validator/testdata/feature_tests/article-json-ld.html index c5ff2735d4b8..92f16e2aa31f 100644 --- a/validator/testdata/feature_tests/article-json-ld.html +++ b/validator/testdata/feature_tests/article-json-ld.html @@ -1,18 +1,3 @@ -<!-- - Copyright 2017 The AMP HTML Authors. All Rights Reserved. - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS-IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the license. ---> <!doctype html> <!-- This sample AMP HTML file aims to be a minimalist document that diff --git a/validator/testdata/feature_tests/article-json-ld.out b/validator/testdata/feature_tests/article-json-ld.out index a980a841d0f7..28e4f021fd6f 100644 --- a/validator/testdata/feature_tests/article-json-ld.out +++ b/validator/testdata/feature_tests/article-json-ld.out @@ -1,19 +1,4 @@ PASS -| <!-- -| Copyright 2017 The AMP HTML Authors. All Rights Reserved. -| -| Licensed under the Apache License, Version 2.0 (the "License"); -| you may not use this file except in compliance with the License. -| You may obtain a copy of the License at -| -| http://www.apache.org/licenses/LICENSE-2.0 -| -| Unless required by applicable law or agreed to in writing, software -| distributed under the License is distributed on an "AS-IS" BASIS, -| WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -| See the License for the specific language governing permissions and -| limitations under the license. -| --> | <!doctype html> | <!-- | This sample AMP HTML file aims to be a minimalist document that diff --git a/validator/testdata/feature_tests/article-microdata.html b/validator/testdata/feature_tests/article-microdata.html index de497343ff4c..6d59cdb0ca80 100644 --- a/validator/testdata/feature_tests/article-microdata.html +++ b/validator/testdata/feature_tests/article-microdata.html @@ -1,18 +1,3 @@ -<!-- - Copyright 2017 The AMP HTML Authors. All Rights Reserved. - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS-IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the license. ---> <!doctype html> <!-- This sample AMP HTML file aims to be a minimalist document that diff --git a/validator/testdata/feature_tests/article-microdata.out b/validator/testdata/feature_tests/article-microdata.out index f1cbaa37dd4f..64a512438b63 100644 --- a/validator/testdata/feature_tests/article-microdata.out +++ b/validator/testdata/feature_tests/article-microdata.out @@ -1,19 +1,4 @@ PASS -| <!-- -| Copyright 2017 The AMP HTML Authors. All Rights Reserved. -| -| Licensed under the Apache License, Version 2.0 (the "License"); -| you may not use this file except in compliance with the License. -| You may obtain a copy of the License at -| -| http://www.apache.org/licenses/LICENSE-2.0 -| -| Unless required by applicable law or agreed to in writing, software -| distributed under the License is distributed on an "AS-IS" BASIS, -| WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -| See the License for the specific language governing permissions and -| limitations under the license. -| --> | <!doctype html> | <!-- | This sample AMP HTML file aims to be a minimalist document that diff --git a/validator/testdata/feature_tests/article.html b/validator/testdata/feature_tests/article.html index 00d278f3e1d8..0617d3727a1b 100644 --- a/validator/testdata/feature_tests/article.html +++ b/validator/testdata/feature_tests/article.html @@ -1,18 +1,3 @@ -<!-- - Copyright 2017 The AMP HTML Authors. All Rights Reserved. - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS-IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the license. ---> <!doctype html> <html ⚡> <head> diff --git a/validator/testdata/feature_tests/article.out b/validator/testdata/feature_tests/article.out index fbdc9873eb4c..b9fb1bc25532 100644 --- a/validator/testdata/feature_tests/article.out +++ b/validator/testdata/feature_tests/article.out @@ -1,19 +1,4 @@ FAIL -| <!-- -| Copyright 2017 The AMP HTML Authors. All Rights Reserved. -| -| Licensed under the Apache License, Version 2.0 (the "License"); -| you may not use this file except in compliance with the License. -| You may obtain a copy of the License at -| -| http://www.apache.org/licenses/LICENSE-2.0 -| -| Unless required by applicable law or agreed to in writing, software -| distributed under the License is distributed on an "AS-IS" BASIS, -| WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -| See the License for the specific language governing permissions and -| limitations under the license. -| --> | <!doctype html> | <html ⚡> | <head> @@ -288,7 +273,7 @@ FAIL | --> | <content> >> ^~~~~~~~~ -feature_tests/article.html:288:2 The tag 'content' is disallowed. +feature_tests/article.html:273:2 The tag 'content' is disallowed. | <div class="slot-fallback"> | This is a slot fallback. | </div> diff --git a/validator/testdata/feature_tests/bad_viewport.html b/validator/testdata/feature_tests/bad_viewport.html index 4ea0b0591e48..cd6fc019ab85 100644 --- a/validator/testdata/feature_tests/bad_viewport.html +++ b/validator/testdata/feature_tests/bad_viewport.html @@ -1,18 +1,3 @@ -<!-- - Copyright 2015 The AMP HTML Authors. All Rights Reserved. - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS-IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the license. ---> <!doctype html> <html ⚡> <head> diff --git a/validator/testdata/feature_tests/bad_viewport.out b/validator/testdata/feature_tests/bad_viewport.out index 18233ea00e58..c8af29fa437f 100644 --- a/validator/testdata/feature_tests/bad_viewport.out +++ b/validator/testdata/feature_tests/bad_viewport.out @@ -1,19 +1,4 @@ FAIL -| <!-- -| Copyright 2015 The AMP HTML Authors. All Rights Reserved. -| -| Licensed under the Apache License, Version 2.0 (the "License"); -| you may not use this file except in compliance with the License. -| You may obtain a copy of the License at -| -| http://www.apache.org/licenses/LICENSE-2.0 -| -| Unless required by applicable law or agreed to in writing, software -| distributed under the License is distributed on an "AS-IS" BASIS, -| WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -| See the License for the specific language governing permissions and -| limitations under the license. -| --> | <!doctype html> | <html ⚡> | <head> @@ -25,9 +10,9 @@ FAIL | --> | <meta name="viewport" content="foo=bar"> >> ^~~~~~~~~ -feature_tests/bad_viewport.html:25:2 The property 'foo' in attribute 'content' in tag 'meta name=viewport' is disallowed. (see https://amp.dev/documentation/guides-and-tutorials/learn/spec/amphtml/#required-markup) +feature_tests/bad_viewport.html:10:2 The property 'foo' in attribute 'content' in tag 'meta name=viewport' is disallowed. (see https://amp.dev/documentation/guides-and-tutorials/learn/spec/amphtml/#required-markup) >> ^~~~~~~~~ -feature_tests/bad_viewport.html:25:2 The property 'width' is missing from attribute 'content' in tag 'meta name=viewport'. (see https://amp.dev/documentation/guides-and-tutorials/learn/spec/amphtml/#required-markup) +feature_tests/bad_viewport.html:10:2 The property 'width' is missing from attribute 'content' in tag 'meta name=viewport'. (see https://amp.dev/documentation/guides-and-tutorials/learn/spec/amphtml/#required-markup) | <style amp-boilerplate>body{-webkit-animation:-amp-start 8s steps(1,end) 0s 1 normal both;-moz-animation:-amp-start 8s steps(1,end) 0s 1 normal both;-ms-animation:-amp-start 8s steps(1,end) 0s 1 normal both;animation:-amp-start 8s steps(1,end) 0s 1 normal both}@-webkit-keyframes -amp-start{from{visibility:hidden}to{visibility:visible}}@-moz-keyframes -amp-start{from{visibility:hidden}to{visibility:visible}}@-ms-keyframes -amp-start{from{visibility:hidden}to{visibility:visible}}@-o-keyframes -amp-start{from{visibility:hidden}to{visibility:visible}}@keyframes -amp-start{from{visibility:hidden}to{visibility:visible}}</style><noscript><style amp-boilerplate>body{-webkit-animation:none;-moz-animation:none;-ms-animation:none;animation:none}</style></noscript> | <script async src="https://cdn.ampproject.org/v0.js"></script> | </head> diff --git a/validator/testdata/feature_tests/base_href.html b/validator/testdata/feature_tests/base_href.html index 9159728d3a1c..c0cc43faf714 100644 --- a/validator/testdata/feature_tests/base_href.html +++ b/validator/testdata/feature_tests/base_href.html @@ -1,18 +1,3 @@ -<!-- - Copyright 2015 The AMP HTML Authors. All Rights Reserved. - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS-IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the license. ---> <!-- Test Description: This tests that a <base href> tag must be present before any URLs in the diff --git a/validator/testdata/feature_tests/base_href.out b/validator/testdata/feature_tests/base_href.out index bf3345c1ea8f..b21f0f97c103 100644 --- a/validator/testdata/feature_tests/base_href.out +++ b/validator/testdata/feature_tests/base_href.out @@ -1,20 +1,5 @@ FAIL | <!-- -| Copyright 2015 The AMP HTML Authors. All Rights Reserved. -| -| Licensed under the Apache License, Version 2.0 (the "License"); -| you may not use this file except in compliance with the License. -| You may obtain a copy of the License at -| -| http://www.apache.org/licenses/LICENSE-2.0 -| -| Unless required by applicable law or agreed to in writing, software -| distributed under the License is distributed on an "AS-IS" BASIS, -| WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -| See the License for the specific language governing permissions and -| limitations under the license. -| --> -| <!-- | Test Description: | This tests that a <base href> tag must be present before any URLs in the | document. @@ -26,7 +11,7 @@ FAIL | <link rel="canonical" href="./regular-html-version.html"> | <base href="https://example.com/"> >> ^~~~~~~~~ -feature_tests/base_href.html:26:2 The attribute 'href' in tag 'base' is set to the invalid value 'https://example.com/'. +feature_tests/base_href.html:11:2 The attribute 'href' in tag 'base' is set to the invalid value 'https://example.com/'. | <meta name="viewport" content="width=device-width,minimum-scale=1"> | <style amp-boilerplate>body{-webkit-animation:-amp-start 8s steps(1,end) 0s 1 normal both;-moz-animation:-amp-start 8s steps(1,end) 0s 1 normal both;-ms-animation:-amp-start 8s steps(1,end) 0s 1 normal both;animation:-amp-start 8s steps(1,end) 0s 1 normal both}@-webkit-keyframes -amp-start{from{visibility:hidden}to{visibility:visible}}@-moz-keyframes -amp-start{from{visibility:hidden}to{visibility:visible}}@-ms-keyframes -amp-start{from{visibility:hidden}to{visibility:visible}}@-o-keyframes -amp-start{from{visibility:hidden}to{visibility:visible}}@keyframes -amp-start{from{visibility:hidden}to{visibility:visible}}</style><noscript><style amp-boilerplate>body{-webkit-animation:none;-moz-animation:none;-ms-animation:none;animation:none}</style></noscript> | <script async src="https://cdn.ampproject.org/v0.js"></script> diff --git a/validator/testdata/feature_tests/comment_tags.html b/validator/testdata/feature_tests/comment_tags.html index 74844b9b49c0..ecae04194ca0 100644 --- a/validator/testdata/feature_tests/comment_tags.html +++ b/validator/testdata/feature_tests/comment_tags.html @@ -1,18 +1,3 @@ -<!-- - Copyright 2015 The AMP HTML Authors. All Rights Reserved. - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS-IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the license. ---> <!-- Test Description: This tests parsing of various comment tag formats. diff --git a/validator/testdata/feature_tests/comment_tags.out b/validator/testdata/feature_tests/comment_tags.out index 7b4120f8da3e..6da2e2b7e9db 100644 --- a/validator/testdata/feature_tests/comment_tags.out +++ b/validator/testdata/feature_tests/comment_tags.out @@ -1,20 +1,5 @@ FAIL | <!-- -| Copyright 2015 The AMP HTML Authors. All Rights Reserved. -| -| Licensed under the Apache License, Version 2.0 (the "License"); -| you may not use this file except in compliance with the License. -| You may obtain a copy of the License at -| -| http://www.apache.org/licenses/LICENSE-2.0 -| -| Unless required by applicable law or agreed to in writing, software -| distributed under the License is distributed on an "AS-IS" BASIS, -| WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -| See the License for the specific language governing permissions and -| limitations under the license. -| --> -| <!-- | Test Description: | This tests parsing of various comment tag formats. | --> @@ -40,6 +25,6 @@ FAIL | as closing the comment. --> | <!-- --!><script></script> >> ^~~~~~~~~ -feature_tests/comment_tags.html:40:11 Custom JavaScript is not allowed. (see https://amp.dev/documentation/guides-and-tutorials/learn/validation-workflow/validation_errors/#custom-javascript-is-not-allowed) +feature_tests/comment_tags.html:25:11 Custom JavaScript is not allowed. (see https://amp.dev/documentation/guides-and-tutorials/learn/validation-workflow/validation_errors/#custom-javascript-is-not-allowed) | </body> | </html> diff --git a/validator/testdata/feature_tests/crossorigin_anonymous_script.html b/validator/testdata/feature_tests/crossorigin_anonymous_script.html index 00a422dd3af8..5d2caa9ed470 100644 --- a/validator/testdata/feature_tests/crossorigin_anonymous_script.html +++ b/validator/testdata/feature_tests/crossorigin_anonymous_script.html @@ -1,18 +1,3 @@ -<!-- - Copyright 2019 The AMP HTML Authors. All Rights Reserved. - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS-IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the license. ---> <!-- Test Description: This tests that the crossorigin=anonymous attribute is valid on the engine diff --git a/validator/testdata/feature_tests/crossorigin_anonymous_script.out b/validator/testdata/feature_tests/crossorigin_anonymous_script.out index 0986e588d957..e4f8e1285bdc 100644 --- a/validator/testdata/feature_tests/crossorigin_anonymous_script.out +++ b/validator/testdata/feature_tests/crossorigin_anonymous_script.out @@ -1,20 +1,5 @@ PASS | <!-- -| Copyright 2019 The AMP HTML Authors. All Rights Reserved. -| -| Licensed under the Apache License, Version 2.0 (the "License"); -| you may not use this file except in compliance with the License. -| You may obtain a copy of the License at -| -| http://www.apache.org/licenses/LICENSE-2.0 -| -| Unless required by applicable law or agreed to in writing, software -| distributed under the License is distributed on an "AS-IS" BASIS, -| WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -| See the License for the specific language governing permissions and -| limitations under the license. -| --> -| <!-- | Test Description: | This tests that the crossorigin=anonymous attribute is valid on the engine | script and extension scripts. diff --git a/validator/testdata/feature_tests/css-moz-document.html b/validator/testdata/feature_tests/css-moz-document.html index 02f7530513dd..66c5358aa460 100644 --- a/validator/testdata/feature_tests/css-moz-document.html +++ b/validator/testdata/feature_tests/css-moz-document.html @@ -1,18 +1,3 @@ -<!-- - Copyright 2021 The AMP HTML Authors. All Rights Reserved. - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS-IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the license. ---> <!-- Test Description: Tests usage of `@-moz-document` in the style tag CSS. See diff --git a/validator/testdata/feature_tests/css-moz-document.out b/validator/testdata/feature_tests/css-moz-document.out index 0a0b2db4e6dc..bb38f2252912 100644 --- a/validator/testdata/feature_tests/css-moz-document.out +++ b/validator/testdata/feature_tests/css-moz-document.out @@ -1,20 +1,5 @@ FAIL | <!-- -| Copyright 2021 The AMP HTML Authors. All Rights Reserved. -| -| Licensed under the Apache License, Version 2.0 (the "License"); -| you may not use this file except in compliance with the License. -| You may obtain a copy of the License at -| -| http://www.apache.org/licenses/LICENSE-2.0 -| -| Unless required by applicable law or agreed to in writing, software -| distributed under the License is distributed on an "AS-IS" BASIS, -| WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -| See the License for the specific language governing permissions and -| limitations under the license. -| --> -| <!-- | Test Description: | Tests usage of `@-moz-document` in the style tag CSS. See | https://github.com/ampproject/amphtml/issues/26406 for the original context. @@ -32,10 +17,10 @@ FAIL | /* Invalid: Only -moz- prefix supported */ | @-ms-document url-prefix() {} >> ^~~~~~~~~ -feature_tests/css-moz-document.html:32:4 CSS syntax error in tag 'style amp-custom' - saw invalid at rule '@-ms-document'. +feature_tests/css-moz-document.html:17:4 CSS syntax error in tag 'style amp-custom' - saw invalid at rule '@-ms-document'. | @document url-prefix() {} >> ^~~~~~~~~ -feature_tests/css-moz-document.html:33:4 CSS syntax error in tag 'style amp-custom' - saw invalid at rule '@document'. +feature_tests/css-moz-document.html:18:4 CSS syntax error in tag 'style amp-custom' - saw invalid at rule '@document'. | </style> | <style amp-boilerplate>body{-webkit-animation:-amp-start 8s steps(1,end) 0s 1 normal both;-moz-animation:-amp-start 8s steps(1,end) 0s 1 normal both;-ms-animation:-amp-start 8s steps(1,end) 0s 1 normal both;animation:-amp-start 8s steps(1,end) 0s 1 normal both}@-webkit-keyframes -amp-start{from{visibility:hidden}to{visibility:visible}}@-moz-keyframes -amp-start{from{visibility:hidden}to{visibility:visible}}@-ms-keyframes -amp-start{from{visibility:hidden}to{visibility:visible}}@-o-keyframes -amp-start{from{visibility:hidden}to{visibility:visible}}@keyframes -amp-start{from{visibility:hidden}to{visibility:visible}}</style><noscript><style amp-boilerplate>body{-webkit-animation:none;-moz-animation:none;-ms-animation:none;animation:none}</style></noscript> | <script src="https://cdn.ampproject.org/v0.js" async></script> diff --git a/validator/testdata/feature_tests/css_declarations.html b/validator/testdata/feature_tests/css_declarations.html index 43ce361572e8..f8857488ec8e 100644 --- a/validator/testdata/feature_tests/css_declarations.html +++ b/validator/testdata/feature_tests/css_declarations.html @@ -1,18 +1,3 @@ -<!-- - Copyright 2020 The AMP HTML Authors. All Rights Reserved. - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS-IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the license. ---> <!-- Test Description: Tests various CSS declarations and in what contexts they are valid. diff --git a/validator/testdata/feature_tests/css_declarations.out b/validator/testdata/feature_tests/css_declarations.out index 08e984a70edd..858d633445f3 100644 --- a/validator/testdata/feature_tests/css_declarations.out +++ b/validator/testdata/feature_tests/css_declarations.out @@ -1,20 +1,5 @@ PASS | <!-- -| Copyright 2020 The AMP HTML Authors. All Rights Reserved. -| -| Licensed under the Apache License, Version 2.0 (the "License"); -| you may not use this file except in compliance with the License. -| You may obtain a copy of the License at -| -| http://www.apache.org/licenses/LICENSE-2.0 -| -| Unless required by applicable law or agreed to in writing, software -| distributed under the License is distributed on an "AS-IS" BASIS, -| WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -| See the License for the specific language governing permissions and -| limitations under the license. -| --> -| <!-- | Test Description: | Tests various CSS declarations and in what contexts they are valid. | The same list of declarations is present 3x: diff --git a/validator/testdata/feature_tests/css_errors.html b/validator/testdata/feature_tests/css_errors.html index 5328fd4203f7..982e9c363121 100644 --- a/validator/testdata/feature_tests/css_errors.html +++ b/validator/testdata/feature_tests/css_errors.html @@ -1,18 +1,3 @@ -<!-- - Copyright 2015 The AMP HTML Authors. All Rights Reserved. - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS-IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the license. ---> <!-- Test Description: Tests syntax errors in the author stylesheet. diff --git a/validator/testdata/feature_tests/css_errors.out b/validator/testdata/feature_tests/css_errors.out index b318293158cf..394cfd9b8850 100644 --- a/validator/testdata/feature_tests/css_errors.out +++ b/validator/testdata/feature_tests/css_errors.out @@ -1,20 +1,5 @@ FAIL | <!-- -| Copyright 2015 The AMP HTML Authors. All Rights Reserved. -| -| Licensed under the Apache License, Version 2.0 (the "License"); -| you may not use this file except in compliance with the License. -| You may obtain a copy of the License at -| -| http://www.apache.org/licenses/LICENSE-2.0 -| -| Unless required by applicable law or agreed to in writing, software -| distributed under the License is distributed on an "AS-IS" BASIS, -| WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -| See the License for the specific language governing permissions and -| limitations under the license. -| --> -| <!-- | Test Description: | Tests syntax errors in the author stylesheet. | --> @@ -31,23 +16,23 @@ FAIL | two: 2; | b { >> ^~~~~~~~~ -feature_tests/css_errors.html:31:8 CSS syntax error in tag 'style amp-custom' - incomplete declaration. +feature_tests/css_errors.html:16:8 CSS syntax error in tag 'style amp-custom' - incomplete declaration. | three: 3; | } >> ^~~~~~~~~ -feature_tests/css_errors.html:33:8 CSS syntax error in tag 'style amp-custom' - invalid declaration. +feature_tests/css_errors.html:18:8 CSS syntax error in tag 'style amp-custom' - invalid declaration. | } | url("an unterminated string) >> ^~~~~~~~~ -feature_tests/css_errors.html:35:4 CSS syntax error in tag 'style amp-custom' - end of stylesheet encountered in prelude of a qualified rule. +feature_tests/css_errors.html:20:4 CSS syntax error in tag 'style amp-custom' - end of stylesheet encountered in prelude of a qualified rule. >> ^~~~~~~~~ -feature_tests/css_errors.html:35:8 CSS syntax error in tag 'style amp-custom' - unterminated string. +feature_tests/css_errors.html:20:8 CSS syntax error in tag 'style amp-custom' - unterminated string. | A trailing backslash \ >> ^~~~~~~~~ -feature_tests/css_errors.html:36:25 CSS syntax error in tag 'style amp-custom' - stray trailing backslash. +feature_tests/css_errors.html:21:25 CSS syntax error in tag 'style amp-custom' - stray trailing backslash. | url(foo"bar) >> ^~~~~~~~~ -feature_tests/css_errors.html:37:4 CSS syntax error in tag 'style amp-custom' - bad url. +feature_tests/css_errors.html:22:4 CSS syntax error in tag 'style amp-custom' - bad url. | </style> | </head> | <body> diff --git a/validator/testdata/feature_tests/css_i_amphtml.html b/validator/testdata/feature_tests/css_i_amphtml.html index 4f958ecd2bc2..c0b9a19e75fb 100644 --- a/validator/testdata/feature_tests/css_i_amphtml.html +++ b/validator/testdata/feature_tests/css_i_amphtml.html @@ -1,18 +1,3 @@ -<!-- - Copyright 2021 The AMP HTML Authors. All Rights Reserved. - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS-IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the license. ---> <!-- Test Description: Tests for excluded `i-amphtml` in the author stylesheet and inline style. diff --git a/validator/testdata/feature_tests/css_i_amphtml.out b/validator/testdata/feature_tests/css_i_amphtml.out index 946b9f70b734..6210699cc873 100644 --- a/validator/testdata/feature_tests/css_i_amphtml.out +++ b/validator/testdata/feature_tests/css_i_amphtml.out @@ -1,20 +1,5 @@ FAIL | <!-- -| Copyright 2021 The AMP HTML Authors. All Rights Reserved. -| -| Licensed under the Apache License, Version 2.0 (the "License"); -| you may not use this file except in compliance with the License. -| You may obtain a copy of the License at -| -| http://www.apache.org/licenses/LICENSE-2.0 -| -| Unless required by applicable law or agreed to in writing, software -| distributed under the License is distributed on an "AS-IS" BASIS, -| WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -| See the License for the specific language governing permissions and -| limitations under the license. -| --> -| <!-- | Test Description: | Tests for excluded `i-amphtml` in the author stylesheet and inline style. | --> @@ -28,7 +13,7 @@ FAIL | <script async src="https://cdn.ampproject.org/v0.js"></script> | <style amp-custom> >> ^~~~~~~~~ -feature_tests/css_i_amphtml.html:28:2 The text inside tag 'style amp-custom' contains 'CSS i-amphtml- name prefix', which is disallowed. (see https://amp.dev/documentation/guides-and-tutorials/learn/spec/amphtml/#stylesheets) +feature_tests/css_i_amphtml.html:13:2 The text inside tag 'style amp-custom' contains 'CSS i-amphtml- name prefix', which is disallowed. (see https://amp.dev/documentation/guides-and-tutorials/learn/spec/amphtml/#stylesheets) | i-amphtml-sizer {} | .i-amphtml-hidden {} | #i-amphtml-wrapper {} @@ -39,9 +24,9 @@ feature_tests/css_i_amphtml.html:28:2 The text inside tag 'style amp-custom' con | Hello, world. | <div style="i-amphtml-hidden: none;"></div> >> ^~~~~~~~~ -feature_tests/css_i_amphtml.html:37:2 The property 'i-amphtml-hidden' in attribute 'style' in tag 'div' is disallowed. (see https://amp.dev/documentation/guides-and-tutorials/develop/style_and_layout/style_pages/) +feature_tests/css_i_amphtml.html:22:2 The property 'i-amphtml-hidden' in attribute 'style' in tag 'div' is disallowed. (see https://amp.dev/documentation/guides-and-tutorials/develop/style_and_layout/style_pages/) | <div style="--i-amphtml-clr: #ccc;"></div> >> ^~~~~~~~~ -feature_tests/css_i_amphtml.html:38:2 The property '--i-amphtml-clr' in attribute 'style' in tag 'div' is disallowed. (see https://amp.dev/documentation/guides-and-tutorials/develop/style_and_layout/style_pages/) +feature_tests/css_i_amphtml.html:23:2 The property '--i-amphtml-clr' in attribute 'style' in tag 'div' is disallowed. (see https://amp.dev/documentation/guides-and-tutorials/develop/style_and_layout/style_pages/) | </body> | </html> diff --git a/validator/testdata/feature_tests/custom_element_case.html b/validator/testdata/feature_tests/custom_element_case.html index cc8c657688c0..26903b947c9a 100644 --- a/validator/testdata/feature_tests/custom_element_case.html +++ b/validator/testdata/feature_tests/custom_element_case.html @@ -1,18 +1,3 @@ -<!-- - Copyright 2015 The AMP HTML Authors. All Rights Reserved. - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS-IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the license. ---> <!-- Test Description: This tests that the custom-element value must be matched case-sensitively. diff --git a/validator/testdata/feature_tests/custom_element_case.out b/validator/testdata/feature_tests/custom_element_case.out index 87471648a374..cb5d81815934 100644 --- a/validator/testdata/feature_tests/custom_element_case.out +++ b/validator/testdata/feature_tests/custom_element_case.out @@ -1,20 +1,5 @@ FAIL | <!-- -| Copyright 2015 The AMP HTML Authors. All Rights Reserved. -| -| Licensed under the Apache License, Version 2.0 (the "License"); -| you may not use this file except in compliance with the License. -| You may obtain a copy of the License at -| -| http://www.apache.org/licenses/LICENSE-2.0 -| -| Unless required by applicable law or agreed to in writing, software -| distributed under the License is distributed on an "AS-IS" BASIS, -| WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -| See the License for the specific language governing permissions and -| limitations under the license. -| --> -| <!-- | Test Description: | This tests that the custom-element value must be matched case-sensitively. | --> @@ -30,7 +15,7 @@ FAIL | <!-- Invalid: custom-element value is case-sensitive --> | <script async custom-element='Amp-Analytics' >> ^~~~~~~~~ -feature_tests/custom_element_case.html:30:2 The attribute 'custom-element' may not appear in tag 'amp-analytics extension script'. (see https://amp.dev/documentation/components/amp-analytics) +feature_tests/custom_element_case.html:15:2 The attribute 'custom-element' may not appear in tag 'amp-analytics extension script'. (see https://amp.dev/documentation/components/amp-analytics) | src='https://cdn.ampproject.org/v0/amp-analytics-0.1.js'></script> | | </runhead> diff --git a/validator/testdata/feature_tests/data_attrs.html b/validator/testdata/feature_tests/data_attrs.html index e343a9304a7c..de6289417233 100644 --- a/validator/testdata/feature_tests/data_attrs.html +++ b/validator/testdata/feature_tests/data_attrs.html @@ -1,18 +1,3 @@ -<!-- - Copyright 2017 The AMP HTML Authors. All Rights Reserved. - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS-IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the license. ---> <!-- Test Description: This demonstrates the allowed set of data-* attributes. diff --git a/validator/testdata/feature_tests/data_attrs.out b/validator/testdata/feature_tests/data_attrs.out index ac7f29d5a1fb..0d92cbdb9762 100644 --- a/validator/testdata/feature_tests/data_attrs.out +++ b/validator/testdata/feature_tests/data_attrs.out @@ -1,20 +1,5 @@ FAIL | <!-- -| Copyright 2017 The AMP HTML Authors. All Rights Reserved. -| -| Licensed under the Apache License, Version 2.0 (the "License"); -| you may not use this file except in compliance with the License. -| You may obtain a copy of the License at -| -| http://www.apache.org/licenses/LICENSE-2.0 -| -| Unless required by applicable law or agreed to in writing, software -| distributed under the License is distributed on an "AS-IS" BASIS, -| WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -| See the License for the specific language governing permissions and -| limitations under the license. -| --> -| <!-- | Test Description: | This demonstrates the allowed set of data-* attributes. | --> @@ -31,11 +16,11 @@ FAIL | <div data->allowed</div> | <div data>not allowed</div> >> ^~~~~~~~~ -feature_tests/data_attrs.html:31:2 The attribute 'data' may not appear in tag 'div'. +feature_tests/data_attrs.html:16:2 The attribute 'data' may not appear in tag 'div'. | <div data-foo>allowed</div> | <div data_foo>not allowed</div> >> ^~~~~~~~~ -feature_tests/data_attrs.html:33:2 The attribute 'data_foo' may not appear in tag 'div'. +feature_tests/data_attrs.html:18:2 The attribute 'data_foo' may not appear in tag 'div'. | <div data-foo_bar>allowed</div> | <div data-foo:bar>allowed</div> | <div data-foo.bar>allowed</div> @@ -43,18 +28,18 @@ feature_tests/data_attrs.html:33:2 The attribute 'data_foo' may not appear in ta | <div data-UPPER>allowed</div> | <div data-foo&bar>not allowed</div> >> ^~~~~~~~~ -feature_tests/data_attrs.html:39:2 The attribute 'data-foo&bar' may not appear in tag 'div'. +feature_tests/data_attrs.html:24:2 The attribute 'data-foo&bar' may not appear in tag 'div'. | <div data-foo?bar>not allowed</div> >> ^~~~~~~~~ -feature_tests/data_attrs.html:40:2 The attribute 'data-foo?bar' may not appear in tag 'div'. +feature_tests/data_attrs.html:25:2 The attribute 'data-foo?bar' may not appear in tag 'div'. | <div data-foo;bar>not allowed</div> >> ^~~~~~~~~ -feature_tests/data_attrs.html:41:2 The attribute 'data-foo;bar' may not appear in tag 'div'. +feature_tests/data_attrs.html:26:2 The attribute 'data-foo;bar' may not appear in tag 'div'. | <div data-foo"bar>not allowed</div> >> ^~~~~~~~~ -feature_tests/data_attrs.html:42:2 The attribute 'data-foo"bar' may not appear in tag 'div'. +feature_tests/data_attrs.html:27:2 The attribute 'data-foo"bar' may not appear in tag 'div'. | <div data-foo<bar>not allowed</div> >> ^~~~~~~~~ -feature_tests/data_attrs.html:43:2 The attribute 'data-foo<bar' may not appear in tag 'div'. +feature_tests/data_attrs.html:28:2 The attribute 'data-foo<bar' may not appear in tag 'div'. | </body> | </html> diff --git a/validator/testdata/feature_tests/deprecation_warnings_and_errors.html b/validator/testdata/feature_tests/deprecation_warnings_and_errors.html index ef0cea9b70a2..43e7abf7a97b 100644 --- a/validator/testdata/feature_tests/deprecation_warnings_and_errors.html +++ b/validator/testdata/feature_tests/deprecation_warnings_and_errors.html @@ -1,18 +1,3 @@ -<!-- - Copyright 2015 The AMP HTML Authors. All Rights Reserved. - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS-IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the license. ---> <!-- Test Description: This test contains the old, opacity-based boilerplate and an invalid tag. diff --git a/validator/testdata/feature_tests/deprecation_warnings_and_errors.out b/validator/testdata/feature_tests/deprecation_warnings_and_errors.out index 96743d7f5956..3a4fa40c3550 100644 --- a/validator/testdata/feature_tests/deprecation_warnings_and_errors.out +++ b/validator/testdata/feature_tests/deprecation_warnings_and_errors.out @@ -1,20 +1,5 @@ FAIL | <!-- -| Copyright 2015 The AMP HTML Authors. All Rights Reserved. -| -| Licensed under the Apache License, Version 2.0 (the "License"); -| you may not use this file except in compliance with the License. -| You may obtain a copy of the License at -| -| http://www.apache.org/licenses/LICENSE-2.0 -| -| Unless required by applicable law or agreed to in writing, software -| distributed under the License is distributed on an "AS-IS" BASIS, -| WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -| See the License for the specific language governing permissions and -| limitations under the license. -| --> -| <!-- | Test Description: | This test contains the old, opacity-based boilerplate and an invalid tag. | It is used for testing deprecation warnings and errors. @@ -29,19 +14,19 @@ FAIL | <meta name="viewport" content="width=device-width,minimum-scale=1"> | <style>body {opacity: 0}</style> >> ^~~~~~~~~ -feature_tests/deprecation_warnings_and_errors.html:29:2 The mandatory attribute 'amp-custom' is missing in tag 'style amp-custom'. (see https://amp.dev/documentation/guides-and-tutorials/learn/spec/amphtml/#stylesheets) +feature_tests/deprecation_warnings_and_errors.html:14:2 The mandatory attribute 'amp-custom' is missing in tag 'style amp-custom'. (see https://amp.dev/documentation/guides-and-tutorials/learn/spec/amphtml/#stylesheets) | <noscript><style>body {opacity: 1}</style></noscript> >> ^~~~~~~~~ -feature_tests/deprecation_warnings_and_errors.html:30:12 The parent tag of tag 'style amp-custom' is 'noscript', but it can only be 'head'. (see https://amp.dev/documentation/guides-and-tutorials/learn/spec/amphtml/#stylesheets) +feature_tests/deprecation_warnings_and_errors.html:15:12 The parent tag of tag 'style amp-custom' is 'noscript', but it can only be 'head'. (see https://amp.dev/documentation/guides-and-tutorials/learn/spec/amphtml/#stylesheets) | <script async src="https://cdn.ampproject.org/v0.js"></script> | </head> | <body> | <disallowed-tag>This tag is disallowed.</disallowed-tag> >> ^~~~~~~~~ -feature_tests/deprecation_warnings_and_errors.html:34:0 The tag 'disallowed-tag' is disallowed. +feature_tests/deprecation_warnings_and_errors.html:19:0 The tag 'disallowed-tag' is disallowed. | </body> | </html> >> ^~~~~~~~~ -feature_tests/deprecation_warnings_and_errors.html:36:6 The mandatory tag 'head > style[amp-boilerplate]' is missing or incorrect. (see https://amp.dev/documentation/guides-and-tutorials/learn/spec/amp-boilerplate/?format=websites) +feature_tests/deprecation_warnings_and_errors.html:21:6 The mandatory tag 'head > style[amp-boilerplate]' is missing or incorrect. (see https://amp.dev/documentation/guides-and-tutorials/learn/spec/amp-boilerplate/?format=websites) >> ^~~~~~~~~ -feature_tests/deprecation_warnings_and_errors.html:36:6 The mandatory tag 'noscript > style[amp-boilerplate]' is missing or incorrect. (see https://amp.dev/documentation/guides-and-tutorials/learn/spec/amp-boilerplate/?format=websites) +feature_tests/deprecation_warnings_and_errors.html:21:6 The mandatory tag 'noscript > style[amp-boilerplate]' is missing or incorrect. (see https://amp.dev/documentation/guides-and-tutorials/learn/spec/amp-boilerplate/?format=websites) diff --git a/validator/testdata/feature_tests/dev_mode.html b/validator/testdata/feature_tests/dev_mode.html index 6a563d390a6a..9a2030413505 100644 --- a/validator/testdata/feature_tests/dev_mode.html +++ b/validator/testdata/feature_tests/dev_mode.html @@ -1,18 +1,3 @@ -<!-- - Copyright 2019 The AMP HTML Authors. All Rights Reserved. - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS-IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the license. ---> <!-- Test Description: This tests the logic for data-ampdevmode attributes. diff --git a/validator/testdata/feature_tests/dev_mode.out b/validator/testdata/feature_tests/dev_mode.out index 83f04fa0d572..27d029591e19 100644 --- a/validator/testdata/feature_tests/dev_mode.out +++ b/validator/testdata/feature_tests/dev_mode.out @@ -1,20 +1,5 @@ FAIL | <!-- -| Copyright 2019 The AMP HTML Authors. All Rights Reserved. -| -| Licensed under the Apache License, Version 2.0 (the "License"); -| you may not use this file except in compliance with the License. -| You may obtain a copy of the License at -| -| http://www.apache.org/licenses/LICENSE-2.0 -| -| Unless required by applicable law or agreed to in writing, software -| distributed under the License is distributed on an "AS-IS" BASIS, -| WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -| See the License for the specific language governing permissions and -| limitations under the license. -| --> -| <!-- | Test Description: | This tests the logic for data-ampdevmode attributes. | See https://github.com/ampproject/amphtml/issues/20974 for the @@ -26,7 +11,7 @@ FAIL | <!doctype html> | <html ⚡ data-ampdevmode> >> ^~~~~~~~~ -feature_tests/dev_mode.html:26:0 Tag 'html' marked with attribute 'data-ampdevmode'. Validator will suppress errors regarding any other tag with this attribute. +feature_tests/dev_mode.html:11:0 Tag 'html' marked with attribute 'data-ampdevmode'. Validator will suppress errors regarding any other tag with this attribute. | <head> | <meta charset="utf-8"> | <link rel="canonical" href="./regular-html-version.html"> @@ -40,10 +25,10 @@ feature_tests/dev_mode.html:26:0 Tag 'html' marked with attribute 'data-ampdevmo | <!-- Still produces an error --> | <faketag></faketag> >> ^~~~~~~~~ -feature_tests/dev_mode.html:38:2 The tag 'faketag' is disallowed. +feature_tests/dev_mode.html:23:2 The tag 'faketag' is disallowed. | <anotherfaketag></anotherfaketag> >> ^~~~~~~~~ -feature_tests/dev_mode.html:39:2 The tag 'anotherfaketag' is disallowed. +feature_tests/dev_mode.html:24:2 The tag 'anotherfaketag' is disallowed. | | <!-- Tagged with data-ampdevmode, so errors are suppressed. --> | <faketag data-ampdevmode></faketag> diff --git a/validator/testdata/feature_tests/doctype_lang.html b/validator/testdata/feature_tests/doctype_lang.html index 46a3494599b2..724006c4355e 100644 --- a/validator/testdata/feature_tests/doctype_lang.html +++ b/validator/testdata/feature_tests/doctype_lang.html @@ -1,18 +1,3 @@ -<!-- - Copyright 2021 The AMP HTML Authors. All Rights Reserved. - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS-IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the license. ---> <!-- Test Description: This tests what the validator outputs if the doctype uses a lang attribute. diff --git a/validator/testdata/feature_tests/doctype_lang.out b/validator/testdata/feature_tests/doctype_lang.out index db942bbf77fc..706aed1dcfbd 100644 --- a/validator/testdata/feature_tests/doctype_lang.out +++ b/validator/testdata/feature_tests/doctype_lang.out @@ -1,27 +1,12 @@ PASS | <!-- -| Copyright 2021 The AMP HTML Authors. All Rights Reserved. -| -| Licensed under the Apache License, Version 2.0 (the "License"); -| you may not use this file except in compliance with the License. -| You may obtain a copy of the License at -| -| http://www.apache.org/licenses/LICENSE-2.0 -| -| Unless required by applicable law or agreed to in writing, software -| distributed under the License is distributed on an "AS-IS" BASIS, -| WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -| See the License for the specific language governing permissions and -| limitations under the license. -| --> -| <!-- | Test Description: | This tests what the validator outputs if the doctype uses a lang attribute. | https://github.com/ampproject/amphtml/issues/25926 | --> | <!doctype html lang=en> >> ^~~~~~~~~ -feature_tests/doctype_lang.html:21:0 The attribute 'lang' in tag 'html !doctype' is deprecated - use 'html' instead. (see https://github.com/ampproject/amphtml/issues/25926) +feature_tests/doctype_lang.html:6:0 The attribute 'lang' in tag 'html !doctype' is deprecated - use 'html' instead. (see https://github.com/ampproject/amphtml/issues/25926) | <html ⚡> | <head> | <meta charset="utf-8"> @@ -33,4 +18,4 @@ feature_tests/doctype_lang.html:21:0 The attribute 'lang' in tag 'html !doctype' | <body> | Hello, world. | </body> -| </html> +| </html> \ No newline at end of file diff --git a/validator/testdata/feature_tests/doctype_lang.out.cpponly b/validator/testdata/feature_tests/doctype_lang.out.cpponly index 251a907572b8..08cff67011d1 100644 --- a/validator/testdata/feature_tests/doctype_lang.out.cpponly +++ b/validator/testdata/feature_tests/doctype_lang.out.cpponly @@ -1,20 +1,5 @@ PASS | <!-- -| Copyright 2021 The AMP HTML Authors. All Rights Reserved. -| -| Licensed under the Apache License, Version 2.0 (the "License"); -| you may not use this file except in compliance with the License. -| You may obtain a copy of the License at -| -| http://www.apache.org/licenses/LICENSE-2.0 -| -| Unless required by applicable law or agreed to in writing, software -| distributed under the License is distributed on an "AS-IS" BASIS, -| WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -| See the License for the specific language governing permissions and -| limitations under the license. -| --> -| <!-- | Test Description: | This tests what the validator outputs if the doctype uses a lang attribute. | https://github.com/ampproject/amphtml/issues/25926 diff --git a/validator/testdata/feature_tests/duplicate_attribute.html b/validator/testdata/feature_tests/duplicate_attribute.html index 50f1501430bc..2d05c256ccd7 100644 --- a/validator/testdata/feature_tests/duplicate_attribute.html +++ b/validator/testdata/feature_tests/duplicate_attribute.html @@ -1,18 +1,3 @@ -<!-- - Copyright 2015 The AMP HTML Authors. All Rights Reserved. - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS-IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the license. ---> <!-- Test Description: This is the minimum valid AMP document; it includes all of the required diff --git a/validator/testdata/feature_tests/duplicate_attribute.out b/validator/testdata/feature_tests/duplicate_attribute.out index c324b777580a..9f77f9206be5 100644 --- a/validator/testdata/feature_tests/duplicate_attribute.out +++ b/validator/testdata/feature_tests/duplicate_attribute.out @@ -1,20 +1,5 @@ FAIL | <!-- -| Copyright 2015 The AMP HTML Authors. All Rights Reserved. -| -| Licensed under the Apache License, Version 2.0 (the "License"); -| you may not use this file except in compliance with the License. -| You may obtain a copy of the License at -| -| http://www.apache.org/licenses/LICENSE-2.0 -| -| Unless required by applicable law or agreed to in writing, software -| distributed under the License is distributed on an "AS-IS" BASIS, -| WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -| See the License for the specific language governing permissions and -| limitations under the license. -| --> -| <!-- | Test Description: | This is the minimum valid AMP document; it includes all of the required | fields from the spec, but nothing else. @@ -30,12 +15,12 @@ FAIL | <!-- These two duplicate a custom-element attribute used as a dispatch key --> | <script async custom-element="amp-image-lightbox" custom-element="duplicate" src="https://cdn.ampproject.org/v0/amp-image-lightbox-0.1.js"></script> >> ^~~~~~~~~ -feature_tests/duplicate_attribute.html:30:2 The tag 'script' contains the attribute 'custom-element' repeated multiple times. +feature_tests/duplicate_attribute.html:15:2 The tag 'script' contains the attribute 'custom-element' repeated multiple times. | <script async custom-element="duplicate" custom-element="amp-youtube" src="https://cdn.ampproject.org/v0/amp-youtube-0.1.js"></script> >> ^~~~~~~~~ -feature_tests/duplicate_attribute.html:31:2 The tag 'script' contains the attribute 'custom-element' repeated multiple times. +feature_tests/duplicate_attribute.html:16:2 The tag 'script' contains the attribute 'custom-element' repeated multiple times. >> ^~~~~~~~~ -feature_tests/duplicate_attribute.html:31:2 Custom JavaScript is not allowed. (see https://amp.dev/documentation/guides-and-tutorials/learn/validation-workflow/validation_errors/#custom-javascript-is-not-allowed) +feature_tests/duplicate_attribute.html:16:2 Custom JavaScript is not allowed. (see https://amp.dev/documentation/guides-and-tutorials/learn/validation-workflow/validation_errors/#custom-javascript-is-not-allowed) | | </head> | <body> @@ -43,22 +28,22 @@ feature_tests/duplicate_attribute.html:31:2 Custom JavaScript is not allowed. (s | <!-- 600 width is legal given the implied layout, but 100% is not --> | <amp-img src="a.png" width='100%' width=600 height=800></amp-img> >> ^~~~~~~~~ -feature_tests/duplicate_attribute.html:37:3 The tag 'amp-img' contains the attribute 'width' repeated multiple times. +feature_tests/duplicate_attribute.html:22:3 The tag 'amp-img' contains the attribute 'width' repeated multiple times. >> ^~~~~~~~~ -feature_tests/duplicate_attribute.html:37:3 The attribute 'width' in tag 'amp-img' is set to the invalid value '100%'. (see https://amp.dev/documentation/components/amp-img/) +feature_tests/duplicate_attribute.html:22:3 The attribute 'width' in tag 'amp-img' is set to the invalid value '100%'. (see https://amp.dev/documentation/components/amp-img/) | <amp-img src="a.png" width=600 width='100%' height=800></amp-img> >> ^~~~~~~~~ -feature_tests/duplicate_attribute.html:38:3 The tag 'amp-img' contains the attribute 'width' repeated multiple times. +feature_tests/duplicate_attribute.html:23:3 The tag 'amp-img' contains the attribute 'width' repeated multiple times. | | <!-- Let's make sure the script type can't be overridden --> | <script type="application/ld+json" type="text/javascript">{}</script> >> ^~~~~~~~~ -feature_tests/duplicate_attribute.html:41:3 The tag 'script' contains the attribute 'type' repeated multiple times. +feature_tests/duplicate_attribute.html:26:3 The tag 'script' contains the attribute 'type' repeated multiple times. | <script type="text/javascript" type="application/ld+json">{}</script> >> ^~~~~~~~~ -feature_tests/duplicate_attribute.html:42:3 The tag 'script' contains the attribute 'type' repeated multiple times. +feature_tests/duplicate_attribute.html:27:3 The tag 'script' contains the attribute 'type' repeated multiple times. >> ^~~~~~~~~ -feature_tests/duplicate_attribute.html:42:3 Custom JavaScript is not allowed. (see https://amp.dev/documentation/guides-and-tutorials/learn/validation-workflow/validation_errors/#custom-javascript-is-not-allowed) +feature_tests/duplicate_attribute.html:27:3 Custom JavaScript is not allowed. (see https://amp.dev/documentation/guides-and-tutorials/learn/validation-workflow/validation_errors/#custom-javascript-is-not-allowed) | | </body> -| </html> +| </html> \ No newline at end of file diff --git a/validator/testdata/feature_tests/duplicate_attribute.out.cpponly b/validator/testdata/feature_tests/duplicate_attribute.out.cpponly index b521476a1cc2..77fb6e2ad6d3 100644 --- a/validator/testdata/feature_tests/duplicate_attribute.out.cpponly +++ b/validator/testdata/feature_tests/duplicate_attribute.out.cpponly @@ -1,20 +1,5 @@ FAIL | <!-- -| Copyright 2015 The AMP HTML Authors. All Rights Reserved. -| -| Licensed under the Apache License, Version 2.0 (the "License"); -| you may not use this file except in compliance with the License. -| You may obtain a copy of the License at -| -| http://www.apache.org/licenses/LICENSE-2.0 -| -| Unless required by applicable law or agreed to in writing, software -| distributed under the License is distributed on an "AS-IS" BASIS, -| WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -| See the License for the specific language governing permissions and -| limitations under the license. -| --> -| <!-- | Test Description: | This is the minimum valid AMP document; it includes all of the required | fields from the spec, but nothing else. @@ -30,12 +15,12 @@ FAIL | <!-- These two duplicate a custom-element attribute used as a dispatch key --> | <script async custom-element="amp-image-lightbox" custom-element="duplicate" src="https://cdn.ampproject.org/v0/amp-image-lightbox-0.1.js"></script> >> ^~~~~~~~~ -feature_tests/duplicate_attribute.html:30:2 The tag 'script' contains the attribute 'custom-element' repeated multiple times. +feature_tests/duplicate_attribute.html:15:2 The tag 'script' contains the attribute 'custom-element' repeated multiple times. | <script async custom-element="duplicate" custom-element="amp-youtube" src="https://cdn.ampproject.org/v0/amp-youtube-0.1.js"></script> >> ^~~~~~~~~ -feature_tests/duplicate_attribute.html:31:2 The tag 'script' contains the attribute 'custom-element' repeated multiple times. +feature_tests/duplicate_attribute.html:16:2 The tag 'script' contains the attribute 'custom-element' repeated multiple times. >> ^~~~~~~~~ -feature_tests/duplicate_attribute.html:31:2 The attribute 'custom-element' may not appear in tag 'amp-youtube v0.1 extension script'. (see https://amp.dev/documentation/components/amp-youtube) +feature_tests/duplicate_attribute.html:16:2 The attribute 'custom-element' may not appear in tag 'amp-youtube v0.1 extension script'. (see https://amp.dev/documentation/components/amp-youtube) | | </head> | <body> @@ -43,22 +28,22 @@ feature_tests/duplicate_attribute.html:31:2 The attribute 'custom-element' may n | <!-- 600 width is legal given the implied layout, but 100% is not --> | <amp-img src="a.png" width='100%' width=600 height=800></amp-img> >> ^~~~~~~~~ -feature_tests/duplicate_attribute.html:37:3 The tag 'amp-img' contains the attribute 'width' repeated multiple times. +feature_tests/duplicate_attribute.html:22:3 The tag 'amp-img' contains the attribute 'width' repeated multiple times. >> ^~~~~~~~~ -feature_tests/duplicate_attribute.html:37:3 The attribute 'width' in tag 'amp-img' is set to the invalid value '100%'. (see https://amp.dev/documentation/components/amp-img/) +feature_tests/duplicate_attribute.html:22:3 The attribute 'width' in tag 'amp-img' is set to the invalid value '100%'. (see https://amp.dev/documentation/components/amp-img/) | <amp-img src="a.png" width=600 width='100%' height=800></amp-img> >> ^~~~~~~~~ -feature_tests/duplicate_attribute.html:38:3 The tag 'amp-img' contains the attribute 'width' repeated multiple times. +feature_tests/duplicate_attribute.html:23:3 The tag 'amp-img' contains the attribute 'width' repeated multiple times. | | <!-- Let's make sure the script type can't be overridden --> | <script type="application/ld+json" type="text/javascript">{}</script> >> ^~~~~~~~~ -feature_tests/duplicate_attribute.html:41:3 The tag 'script' contains the attribute 'type' repeated multiple times. +feature_tests/duplicate_attribute.html:26:3 The tag 'script' contains the attribute 'type' repeated multiple times. | <script type="text/javascript" type="application/ld+json">{}</script> >> ^~~~~~~~~ -feature_tests/duplicate_attribute.html:42:3 The tag 'script' contains the attribute 'type' repeated multiple times. +feature_tests/duplicate_attribute.html:27:3 The tag 'script' contains the attribute 'type' repeated multiple times. >> ^~~~~~~~~ -feature_tests/duplicate_attribute.html:42:3 The attribute 'type' in tag 'script type=application/ld+json' is set to the invalid value 'text/javascript'. +feature_tests/duplicate_attribute.html:27:3 The attribute 'type' in tag 'script type=application/ld+json' is set to the invalid value 'text/javascript'. | | </body> | </html> diff --git a/validator/testdata/feature_tests/duplicate_unique_tags_and_wrong_parents.html b/validator/testdata/feature_tests/duplicate_unique_tags_and_wrong_parents.html index 7dc26b706af4..095c309ccd63 100644 --- a/validator/testdata/feature_tests/duplicate_unique_tags_and_wrong_parents.html +++ b/validator/testdata/feature_tests/duplicate_unique_tags_and_wrong_parents.html @@ -1,18 +1,3 @@ -<!-- - Copyright 2015 The AMP HTML Authors. All Rights Reserved. - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS-IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the license. ---> <!-- Test Description: This example exercises tag spec rules that allow only one instance of a tag diff --git a/validator/testdata/feature_tests/duplicate_unique_tags_and_wrong_parents.out b/validator/testdata/feature_tests/duplicate_unique_tags_and_wrong_parents.out index 49af7b5cf741..5c43dd9e77f5 100644 --- a/validator/testdata/feature_tests/duplicate_unique_tags_and_wrong_parents.out +++ b/validator/testdata/feature_tests/duplicate_unique_tags_and_wrong_parents.out @@ -1,20 +1,5 @@ FAIL | <!-- -| Copyright 2015 The AMP HTML Authors. All Rights Reserved. -| -| Licensed under the Apache License, Version 2.0 (the "License"); -| you may not use this file except in compliance with the License. -| You may obtain a copy of the License at -| -| http://www.apache.org/licenses/LICENSE-2.0 -| -| Unless required by applicable law or agreed to in writing, software -| distributed under the License is distributed on an "AS-IS" BASIS, -| WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -| See the License for the specific language governing permissions and -| limitations under the license. -| --> -| <!-- | Test Description: | This example exercises tag spec rules that allow only one instance of a tag | per doc, and rules that require specific parent tags. @@ -31,12 +16,12 @@ FAIL | <!-- This tag is duplicate, but must be unique. --> | <style amp-custom>a { second: style; }</style> >> ^~~~~~~~~ -feature_tests/duplicate_unique_tags_and_wrong_parents.html:31:2 The tag 'style amp-custom' appears more than once in the document. (see https://amp.dev/documentation/guides-and-tutorials/learn/spec/amphtml/#stylesheets) +feature_tests/duplicate_unique_tags_and_wrong_parents.html:16:2 The tag 'style amp-custom' appears more than once in the document. (see https://amp.dev/documentation/guides-and-tutorials/learn/spec/amphtml/#stylesheets) | </head> | <body> | <!-- Style isn't allowed inside body --> | <style amp-custom>Wrong parent tag.</style> >> ^~~~~~~~~ -feature_tests/duplicate_unique_tags_and_wrong_parents.html:35:0 The parent tag of tag 'style amp-custom' is 'body', but it can only be 'head'. (see https://amp.dev/documentation/guides-and-tutorials/learn/spec/amphtml/#stylesheets) +feature_tests/duplicate_unique_tags_and_wrong_parents.html:20:0 The parent tag of tag 'style amp-custom' is 'body', but it can only be 'head'. (see https://amp.dev/documentation/guides-and-tutorials/learn/spec/amphtml/#stylesheets) | </body> | </html> diff --git a/validator/testdata/feature_tests/empty_stylesheet.html b/validator/testdata/feature_tests/empty_stylesheet.html index f4c8ec862fbb..ea9ddc0c70c6 100644 --- a/validator/testdata/feature_tests/empty_stylesheet.html +++ b/validator/testdata/feature_tests/empty_stylesheet.html @@ -1,18 +1,3 @@ -<!-- - Copyright 2015 The AMP HTML Authors. All Rights Reserved. - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS-IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the license. ---> <!doctype html> <html ⚡> <head> diff --git a/validator/testdata/feature_tests/empty_stylesheet.out b/validator/testdata/feature_tests/empty_stylesheet.out index e63eb1cd2456..9954f10371e9 100644 --- a/validator/testdata/feature_tests/empty_stylesheet.out +++ b/validator/testdata/feature_tests/empty_stylesheet.out @@ -1,19 +1,4 @@ PASS -| <!-- -| Copyright 2015 The AMP HTML Authors. All Rights Reserved. -| -| Licensed under the Apache License, Version 2.0 (the "License"); -| you may not use this file except in compliance with the License. -| You may obtain a copy of the License at -| -| http://www.apache.org/licenses/LICENSE-2.0 -| -| Unless required by applicable law or agreed to in writing, software -| distributed under the License is distributed on an "AS-IS" BASIS, -| WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -| See the License for the specific language governing permissions and -| limitations under the license. -| --> | <!doctype html> | <html ⚡> | <head> diff --git a/validator/testdata/feature_tests/error_and_unique.html b/validator/testdata/feature_tests/error_and_unique.html index 12af29d874f2..45c85875b6e4 100644 --- a/validator/testdata/feature_tests/error_and_unique.html +++ b/validator/testdata/feature_tests/error_and_unique.html @@ -1,18 +1,3 @@ -<!-- - Copyright 2019 The AMP HTML Authors. All Rights Reserved. - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS-IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the license. ---> <!-- Test Description: This test includes two <style> tags. The first produces an error because diff --git a/validator/testdata/feature_tests/error_and_unique.out b/validator/testdata/feature_tests/error_and_unique.out index 738b6630ed3f..8a7981450827 100644 --- a/validator/testdata/feature_tests/error_and_unique.out +++ b/validator/testdata/feature_tests/error_and_unique.out @@ -1,20 +1,5 @@ FAIL | <!-- -| Copyright 2019 The AMP HTML Authors. All Rights Reserved. -| -| Licensed under the Apache License, Version 2.0 (the "License"); -| you may not use this file except in compliance with the License. -| You may obtain a copy of the License at -| -| http://www.apache.org/licenses/LICENSE-2.0 -| -| Unless required by applicable law or agreed to in writing, software -| distributed under the License is distributed on an "AS-IS" BASIS, -| WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -| See the License for the specific language governing permissions and -| limitations under the license. -| --> -| <!-- | Test Description: | This test includes two <style> tags. The first produces an error because | it is missing the amp-custom attribute. The second has the amp-custom but @@ -32,7 +17,7 @@ FAIL | | <style>.bar {}</style> >> ^~~~~~~~~ -feature_tests/error_and_unique.html:32:2 The mandatory attribute 'amp-custom' is missing in tag 'style amp-custom'. (see https://amp.dev/documentation/guides-and-tutorials/learn/spec/amphtml/#stylesheets) +feature_tests/error_and_unique.html:17:2 The mandatory attribute 'amp-custom' is missing in tag 'style amp-custom'. (see https://amp.dev/documentation/guides-and-tutorials/learn/spec/amphtml/#stylesheets) | <style amp-custom>.foo {}</style> | | </head> diff --git a/validator/testdata/feature_tests/everything.html b/validator/testdata/feature_tests/everything.html index 067536b5c0b4..db33d615ce59 100644 --- a/validator/testdata/feature_tests/everything.html +++ b/validator/testdata/feature_tests/everything.html @@ -1,18 +1,3 @@ -<!-- - Copyright 2017 The AMP HTML Authors. All Rights Reserved. - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS-IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the license. ---> <!doctype html> <html ⚡> <head> diff --git a/validator/testdata/feature_tests/everything.out b/validator/testdata/feature_tests/everything.out index 3a66d2e1cc66..b491be8c03fd 100644 --- a/validator/testdata/feature_tests/everything.out +++ b/validator/testdata/feature_tests/everything.out @@ -1,19 +1,4 @@ PASS -| <!-- -| Copyright 2017 The AMP HTML Authors. All Rights Reserved. -| -| Licensed under the Apache License, Version 2.0 (the "License"); -| you may not use this file except in compliance with the License. -| You may obtain a copy of the License at -| -| http://www.apache.org/licenses/LICENSE-2.0 -| -| Unless required by applicable law or agreed to in writing, software -| distributed under the License is distributed on an "AS-IS" BASIS, -| WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -| See the License for the specific language governing permissions and -| limitations under the license. -| --> | <!doctype html> | <html ⚡> | <head> diff --git a/validator/testdata/feature_tests/extensions.html b/validator/testdata/feature_tests/extensions.html index 7ff591ac7bf2..ef5aaedd0d7b 100644 --- a/validator/testdata/feature_tests/extensions.html +++ b/validator/testdata/feature_tests/extensions.html @@ -1,18 +1,3 @@ -<!-- - Copyright 2015 The AMP HTML Authors. All Rights Reserved. - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS-IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the license. ---> <!-- Test Description: This test demonstrates the error message for various extension-related errors. diff --git a/validator/testdata/feature_tests/extensions.out b/validator/testdata/feature_tests/extensions.out index c23faac7ad0d..8f01ed58950b 100644 --- a/validator/testdata/feature_tests/extensions.out +++ b/validator/testdata/feature_tests/extensions.out @@ -1,20 +1,5 @@ FAIL | <!-- -| Copyright 2015 The AMP HTML Authors. All Rights Reserved. -| -| Licensed under the Apache License, Version 2.0 (the "License"); -| you may not use this file except in compliance with the License. -| You may obtain a copy of the License at -| -| http://www.apache.org/licenses/LICENSE-2.0 -| -| Unless required by applicable law or agreed to in writing, software -| distributed under the License is distributed on an "AS-IS" BASIS, -| WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -| See the License for the specific language governing permissions and -| limitations under the license. -| --> -| <!-- | Test Description: | This test demonstrates the error message for various extension-related errors. | --> @@ -42,14 +27,14 @@ FAIL | <!-- Extension missing. Produces error. --> | <amp-analytics type="googleanalytics"> >> ^~~~~~~~~ -feature_tests/extensions.html:42:2 The tag 'amp-analytics' requires including the 'amp-analytics' extension JavaScript. (see https://amp.dev/documentation/components/amp-analytics/) +feature_tests/extensions.html:27:2 The tag 'amp-analytics' requires including the 'amp-analytics' extension JavaScript. (see https://amp.dev/documentation/components/amp-analytics/) | <script type="application/json">{}</script> >> ^~~~~~~~~ -feature_tests/extensions.html:43:4 The tag 'amp-analytics extension .json script' requires including the 'amp-analytics' extension JavaScript. (see https://amp.dev/documentation/components/amp-analytics/) +feature_tests/extensions.html:28:4 The tag 'amp-analytics extension .json script' requires including the 'amp-analytics' extension JavaScript. (see https://amp.dev/documentation/components/amp-analytics/) | </amp-analytics> | | Hello, world. | </body> | </html> >> ^~~~~~~~~ -feature_tests/extensions.html:48:6 The extension 'amp-timeago' was found on this page, but is unused. Please remove this extension. +feature_tests/extensions.html:33:6 The extension 'amp-timeago' was found on this page, but is unused. Please remove this extension. diff --git a/validator/testdata/feature_tests/forms.html b/validator/testdata/feature_tests/forms.html index b5ed5912b417..e4e9ca557049 100644 --- a/validator/testdata/feature_tests/forms.html +++ b/validator/testdata/feature_tests/forms.html @@ -1,18 +1,3 @@ -<!-- - Copyright 2016 The AMP HTML Authors. All Rights Reserved. - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS-IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the license. ---> <!-- Test Description: This tests looks at specific errors related to forms. diff --git a/validator/testdata/feature_tests/forms.out b/validator/testdata/feature_tests/forms.out index 4dade7cb0287..31275df78b9d 100644 --- a/validator/testdata/feature_tests/forms.out +++ b/validator/testdata/feature_tests/forms.out @@ -1,20 +1,5 @@ FAIL | <!-- -| Copyright 2016 The AMP HTML Authors. All Rights Reserved. -| -| Licensed under the Apache License, Version 2.0 (the "License"); -| you may not use this file except in compliance with the License. -| You may obtain a copy of the License at -| -| http://www.apache.org/licenses/LICENSE-2.0 -| -| Unless required by applicable law or agreed to in writing, software -| distributed under the License is distributed on an "AS-IS" BASIS, -| WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -| See the License for the specific language governing permissions and -| limitations under the license. -| --> -| <!-- | Test Description: | This tests looks at specific errors related to forms. | --> @@ -109,7 +94,7 @@ FAIL | <!-- Invalid: form action must be https. --> | <form method="post" action-xhr="http://example.com/subscribe" target="_blank"> >> ^~~~~~~~~ -feature_tests/forms.html:109:2 Invalid URL protocol 'http:' for attribute 'action-xhr' in tag 'form'. (see https://amp.dev/documentation/components/amp-form) +feature_tests/forms.html:94:2 Invalid URL protocol 'http:' for attribute 'action-xhr' in tag 'form'. (see https://amp.dev/documentation/components/amp-form) | <input type="submit" value="Subscribe"> | </form> | <!-- Invalid: form action must be a non-cdn link. --> @@ -131,7 +116,7 @@ feature_tests/forms.html:109:2 Invalid URL protocol 'http:' for attribute 'actio | <!-- Invalid: form target must be _blank or _top --> | <form method="post" action-xhr="https://example/subscribe" target="_new"> >> ^~~~~~~~~ -feature_tests/forms.html:129:2 The attribute 'target' in tag 'form' is set to the invalid value '_new'. (see https://amp.dev/documentation/components/amp-form) +feature_tests/forms.html:114:2 The attribute 'target' in tag 'form' is set to the invalid value '_new'. (see https://amp.dev/documentation/components/amp-form) | <input type="submit" value="Subscribe"> | </form> | <!-- Invalid: input, select, option and textarea must be children of form. --> @@ -144,7 +129,7 @@ feature_tests/forms.html:129:2 The attribute 'target' in tag 'form' is set to th | <form method="post" action-xhr="https://example.com/subscribe" target="_blank"> | <input type="image" name="image"> >> ^~~~~~~~~ -feature_tests/forms.html:140:4 The attribute 'type' in tag 'input' is set to the invalid value 'image'. (see https://amp.dev/documentation/components/amp-form/) +feature_tests/forms.html:125:4 The attribute 'type' in tag 'input' is set to the invalid value 'image'. (see https://amp.dev/documentation/components/amp-form/) | </form> | <!-- Valid: input can be type="password" or type="file" in a post xhr form. --> | <form method="post" action-xhr="https://example.com/subscribe" target="_blank"> @@ -155,39 +140,39 @@ feature_tests/forms.html:140:4 The attribute 'type' in tag 'input' is set to the | <form method="get" action="https://example.com/subscribe" action-xhr="https://example.com/subscribe" target="_blank"> | <input type="password" name="password"> >> ^~~~~~~~~ -feature_tests/forms.html:149:4 The tag 'input' may only appear as a descendant of tag 'form [method=post]'. (see https://amp.dev/documentation/components/amp-form/) +feature_tests/forms.html:134:4 The tag 'input' may only appear as a descendant of tag 'form [method=post]'. (see https://amp.dev/documentation/components/amp-form/) | </form> | <!-- Invalid: if validation-for is set on an element, then --> | <!-- visible-when-invalid must also be set and vice versa. --> | <form action="/foo" target="_blank"> | <div validation-for="bar"></div> >> ^~~~~~~~~ -feature_tests/forms.html:154:4 The attribute 'visible-when-invalid' in tag 'div' is missing or incorrect, but required by attribute 'validation-for'. +feature_tests/forms.html:139:4 The attribute 'visible-when-invalid' in tag 'div' is missing or incorrect, but required by attribute 'validation-for'. | <div visibile-when-invalid="valueMissing"></div> >> ^~~~~~~~~ -feature_tests/forms.html:155:4 The attribute 'visibile-when-invalid' may not appear in tag 'div'. +feature_tests/forms.html:140:4 The attribute 'visibile-when-invalid' may not appear in tag 'div'. | </form> | <!-- Invalid: submit-success must be a div --> | <form method="post" action-xhr="https://example.com/subscribe" target="_blank" | custom-validation-reporting="as-you-go"> | <span submit-success><template type="amp-mustache">Success</template></span> >> ^~~~~~~~~ -feature_tests/forms.html:160:4 The attribute 'submit-success' may not appear in tag 'span'. +feature_tests/forms.html:145:4 The attribute 'submit-success' may not appear in tag 'span'. | </form> | <!-- Invalid: post implies action-xhr --> | <form method="post" action="https://example.com/subscribe" target="_top"> >> ^~~~~~~~~ -feature_tests/forms.html:163:2 The attribute 'action' may not appear in tag 'form'. (see https://amp.dev/documentation/components/amp-form) +feature_tests/forms.html:148:2 The attribute 'action' may not appear in tag 'form'. (see https://amp.dev/documentation/components/amp-form) | </form> | <!-- Invalid: get implies action --> | <form method="get" action-xhr="https://example.com/subscribe" target="_top"> >> ^~~~~~~~~ -feature_tests/forms.html:166:2 The mandatory attribute 'action' is missing in tag 'form'. (see https://amp.dev/documentation/components/amp-form) +feature_tests/forms.html:151:2 The mandatory attribute 'action' is missing in tag 'form'. (see https://amp.dev/documentation/components/amp-form) | </form> | <!-- Invalid: get implies action, default method is get --> | <form action-xhr="https://example.com/subscribe" target="_top"> >> ^~~~~~~~~ -feature_tests/forms.html:169:2 The mandatory attribute 'action' is missing in tag 'form'. (see https://amp.dev/documentation/components/amp-form) +feature_tests/forms.html:154:2 The mandatory attribute 'action' is missing in tag 'form'. (see https://amp.dev/documentation/components/amp-form) | </form> | <!-- Valid: inlined template, referenced template --> | <template type="amp-mustache" id="submit_success_template"> @@ -208,22 +193,22 @@ feature_tests/forms.html:169:2 The mandatory attribute 'action' is missing in ta | <div submitting template="submitting_template"> | <template type="amp-mustache">Submitting in inlined template</template> >> ^~~~~~~~~ -feature_tests/forms.html:188:6 The tag 'template' may not appear as a descendant of tag 'form div [submitting][template]'. (see https://amp.dev/documentation/components/amp-mustache) +feature_tests/forms.html:173:6 The tag 'template' may not appear as a descendant of tag 'form div [submitting][template]'. (see https://amp.dev/documentation/components/amp-mustache) | </div> | <div submit-success template="submit_success_template"> | <template type="amp-mustache">Success in inlined template</template> >> ^~~~~~~~~ -feature_tests/forms.html:191:6 The tag 'template' may not appear as a descendant of tag 'form div [submit-success][template]'. (see https://amp.dev/documentation/components/amp-mustache) +feature_tests/forms.html:176:6 The tag 'template' may not appear as a descendant of tag 'form div [submit-success][template]'. (see https://amp.dev/documentation/components/amp-mustache) | </div> | <div submit-error template="submit_error_template"> | <template type="amp-mustache">Error in inlined template</template> >> ^~~~~~~~~ -feature_tests/forms.html:194:6 The tag 'template' may not appear as a descendant of tag 'form div [submit-error][template]'. (see https://amp.dev/documentation/components/amp-mustache) +feature_tests/forms.html:179:6 The tag 'template' may not appear as a descendant of tag 'form div [submit-error][template]'. (see https://amp.dev/documentation/components/amp-mustache) | </div> | <div verify-error template="verify_error_template"> | <template type="amp-mustache">Verify in inlined template</template> >> ^~~~~~~~~ -feature_tests/forms.html:197:6 The tag 'template' may not appear as a descendant of tag 'form div [verify-error][template]'. (see https://amp.dev/documentation/components/amp-mustache) +feature_tests/forms.html:182:6 The tag 'template' may not appear as a descendant of tag 'form div [verify-error][template]'. (see https://amp.dev/documentation/components/amp-mustache) | </div> | </form> | <!-- Valid: form with verify-xhr and input with no-verify--> @@ -235,7 +220,7 @@ feature_tests/forms.html:197:6 The tag 'template' may not appear as a descendant | <form method="post" action-xhr="https://example.com/subscribe" target="_blank"> | <input mask="L0L_0L0" type="tel"> >> ^~~~~~~~~ -feature_tests/forms.html:207:4 The tag 'input' requires including the 'amp-inputmask' extension JavaScript. (see https://amp.dev/documentation/components/amp-inputmask/) +feature_tests/forms.html:192:4 The tag 'input' requires including the 'amp-inputmask' extension JavaScript. (see https://amp.dev/documentation/components/amp-inputmask/) | </form> | <!-- Valid: textarea within form --> | <form method="post" action-xhr="https://example.com/subscribe" target="_blank"> diff --git a/validator/testdata/feature_tests/incorrect_custom_style.html b/validator/testdata/feature_tests/incorrect_custom_style.html index 0c95430df4e2..ee1a7aff661d 100644 --- a/validator/testdata/feature_tests/incorrect_custom_style.html +++ b/validator/testdata/feature_tests/incorrect_custom_style.html @@ -1,18 +1,3 @@ -<!-- - Copyright 2015 The AMP HTML Authors. All Rights Reserved. - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS-IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the license. ---> <!-- Test Description: Tests what happens when the custom style made by the author diff --git a/validator/testdata/feature_tests/incorrect_custom_style.out b/validator/testdata/feature_tests/incorrect_custom_style.out index 038689068da3..a89636f50b94 100644 --- a/validator/testdata/feature_tests/incorrect_custom_style.out +++ b/validator/testdata/feature_tests/incorrect_custom_style.out @@ -1,20 +1,5 @@ FAIL | <!-- -| Copyright 2015 The AMP HTML Authors. All Rights Reserved. -| -| Licensed under the Apache License, Version 2.0 (the "License"); -| you may not use this file except in compliance with the License. -| You may obtain a copy of the License at -| -| http://www.apache.org/licenses/LICENSE-2.0 -| -| Unless required by applicable law or agreed to in writing, software -| distributed under the License is distributed on an "AS-IS" BASIS, -| WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -| See the License for the specific language governing permissions and -| limitations under the license. -| --> -| <!-- | Test Description: | Tests what happens when the custom style made by the author | of the document contains things that we disallow. @@ -29,31 +14,31 @@ FAIL | /* These CSS Rules violate essential CSS validation */ | @import url("http://somewhere/on/the/internet.css"); >> ^~~~~~~~~ -feature_tests/incorrect_custom_style.html:29:4 CSS syntax error in tag 'style amp-custom' - saw invalid at rule '@import'. +feature_tests/incorrect_custom_style.html:14:4 CSS syntax error in tag 'style amp-custom' - saw invalid at rule '@import'. | foo.i-amp-class {} | foo.amp-class {} | foo { b: red !important; } >> ^~~~~~~~~ -feature_tests/incorrect_custom_style.html:32:17 Usage of the !important CSS qualifier is not allowed. (see https://amp.dev/documentation/guides-and-tutorials/develop/style_and_layout/style_pages/) +feature_tests/incorrect_custom_style.html:17:17 Usage of the !important CSS qualifier is not allowed. (see https://amp.dev/documentation/guides-and-tutorials/develop/style_and_layout/style_pages/) | foo { b: red ! important; } >> ^~~~~~~~~ -feature_tests/incorrect_custom_style.html:33:17 Usage of the !important CSS qualifier is not allowed. (see https://amp.dev/documentation/guides-and-tutorials/develop/style_and_layout/style_pages/) +feature_tests/incorrect_custom_style.html:18:17 Usage of the !important CSS qualifier is not allowed. (see https://amp.dev/documentation/guides-and-tutorials/develop/style_and_layout/style_pages/) | /* This is ok though, since it's a comment: { b: red !important } */ | | @viewport (mumble mumble) { } >> ^~~~~~~~~ -feature_tests/incorrect_custom_style.html:36:4 CSS syntax error in tag 'style amp-custom' - saw invalid at rule '@viewport'. +feature_tests/incorrect_custom_style.html:21:4 CSS syntax error in tag 'style amp-custom' - saw invalid at rule '@viewport'. | @media (whatever) { @notallowednested } >> ^~~~~~~~~ -feature_tests/incorrect_custom_style.html:37:12 CSS syntax error in tag 'style amp-custom' - disallowed media feature 'whatever'. +feature_tests/incorrect_custom_style.html:22:12 CSS syntax error in tag 'style amp-custom' - disallowed media feature 'whatever'. >> ^~~~~~~~~ -feature_tests/incorrect_custom_style.html:37:24 CSS syntax error in tag 'style amp-custom' - saw invalid at rule '@notallowednested'. +feature_tests/incorrect_custom_style.html:22:24 CSS syntax error in tag 'style amp-custom' - saw invalid at rule '@notallowednested'. | | /* some tests for url verification - images */ | foo { background-image: url('') } /* allowed for now */ | foo { background-image: url('invalid://invalid.com/1.jpg') } >> ^~~~~~~~~ -feature_tests/incorrect_custom_style.html:41:28 CSS syntax error in tag 'style amp-custom' - invalid url protocol 'invalid:'. (see https://amp.dev/documentation/guides-and-tutorials/learn/spec/amphtml/#stylesheets) +feature_tests/incorrect_custom_style.html:26:28 CSS syntax error in tag 'style amp-custom' - invalid url protocol 'invalid:'. (see https://amp.dev/documentation/guides-and-tutorials/learn/spec/amphtml/#stylesheets) | foo { background-image: url('https://valid.com/1.jpg') } | foo { background-image: url('http://valid.com/1.jpg') } | foo { background-image: url('://valid.jpg') } @@ -63,7 +48,7 @@ feature_tests/incorrect_custom_style.html:41:28 CSS syntax error in tag 'style a | @font-face { src: url(''); } /* allowed for now */ | @font-face { src: url('invalid://invalid.com/1.ttf') } >> ^~~~~~~~~ -feature_tests/incorrect_custom_style.html:49:22 CSS syntax error in tag 'style amp-custom' - invalid url protocol 'invalid:'. (see https://amp.dev/documentation/guides-and-tutorials/learn/spec/amphtml/#stylesheets) +feature_tests/incorrect_custom_style.html:34:22 CSS syntax error in tag 'style amp-custom' - invalid url protocol 'invalid:'. (see https://amp.dev/documentation/guides-and-tutorials/learn/spec/amphtml/#stylesheets) | @font-face { src: url('https://valid.com/1.ttf') } | @font-face { src: url('http://valid.com/1.ttf') } | @font-face { src: url('://valid.ttf') } @@ -76,6 +61,6 @@ feature_tests/incorrect_custom_style.html:49:22 CSS syntax error in tag 'style a | <!-- Invalid due to !important --> | <b style="color: red !important"></div> >> ^~~~~~~~~ -feature_tests/incorrect_custom_style.html:60:2 Usage of the !important CSS qualifier is not allowed. (see https://amp.dev/documentation/guides-and-tutorials/develop/style_and_layout/style_pages/) +feature_tests/incorrect_custom_style.html:45:2 Usage of the !important CSS qualifier is not allowed. (see https://amp.dev/documentation/guides-and-tutorials/develop/style_and_layout/style_pages/) | </body> | </html> diff --git a/validator/testdata/feature_tests/incorrect_mandatory_style.html b/validator/testdata/feature_tests/incorrect_mandatory_style.html index e0fc5db5f7ec..ce52dea4b355 100644 --- a/validator/testdata/feature_tests/incorrect_mandatory_style.html +++ b/validator/testdata/feature_tests/incorrect_mandatory_style.html @@ -1,18 +1,3 @@ -<!-- - Copyright 2015 The AMP HTML Authors. All Rights Reserved. - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS-IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the license. ---> <!-- Test Description: Tests what happens when the contents of the mandatory style tags diff --git a/validator/testdata/feature_tests/incorrect_mandatory_style.out b/validator/testdata/feature_tests/incorrect_mandatory_style.out index 2ccb73586b11..f441e21e645d 100644 --- a/validator/testdata/feature_tests/incorrect_mandatory_style.out +++ b/validator/testdata/feature_tests/incorrect_mandatory_style.out @@ -1,20 +1,5 @@ FAIL | <!-- -| Copyright 2015 The AMP HTML Authors. All Rights Reserved. -| -| Licensed under the Apache License, Version 2.0 (the "License"); -| you may not use this file except in compliance with the License. -| You may obtain a copy of the License at -| -| http://www.apache.org/licenses/LICENSE-2.0 -| -| Unless required by applicable law or agreed to in writing, software -| distributed under the License is distributed on an "AS-IS" BASIS, -| WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -| See the License for the specific language governing permissions and -| limitations under the license. -| --> -| <!-- | Test Description: | Tests what happens when the contents of the mandatory style tags | are specified incorrectly - as in, wrong cdata content which @@ -28,9 +13,9 @@ FAIL | <meta name="viewport" content="width=device-width,initial-scale=1,minimum-scale=1,maximum-scale=1,user-scalable=no,minimal-ui"> | <style amp-boilerplate>incorrect cdata</style><noscript><style amp-boilerplate>incorrect cdata</style></noscript> >> ^~~~~~~~~ -feature_tests/incorrect_mandatory_style.html:28:2 The mandatory text inside tag 'head > style[amp-boilerplate]' is missing or incorrect. (see https://amp.dev/documentation/guides-and-tutorials/learn/spec/amp-boilerplate/?format=websites) +feature_tests/incorrect_mandatory_style.html:13:2 The mandatory text inside tag 'head > style[amp-boilerplate]' is missing or incorrect. (see https://amp.dev/documentation/guides-and-tutorials/learn/spec/amp-boilerplate/?format=websites) >> ^~~~~~~~~ -feature_tests/incorrect_mandatory_style.html:28:58 The mandatory text inside tag 'noscript > style[amp-boilerplate]' is missing or incorrect. (see https://amp.dev/documentation/guides-and-tutorials/learn/spec/amp-boilerplate/?format=websites) +feature_tests/incorrect_mandatory_style.html:13:58 The mandatory text inside tag 'noscript > style[amp-boilerplate]' is missing or incorrect. (see https://amp.dev/documentation/guides-and-tutorials/learn/spec/amp-boilerplate/?format=websites) | <script async src="https://cdn.ampproject.org/v0.js"></script> | </head> | <body> diff --git a/validator/testdata/feature_tests/inline_style.html b/validator/testdata/feature_tests/inline_style.html index 1f4ea89fe575..fe24c33016de 100644 --- a/validator/testdata/feature_tests/inline_style.html +++ b/validator/testdata/feature_tests/inline_style.html @@ -1,18 +1,3 @@ -<!-- - Copyright 2018 The AMP HTML Authors. All Rights Reserved. - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS-IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the license. ---> <!-- Test Description: Tests style attributes on tags (inline style). diff --git a/validator/testdata/feature_tests/inline_style.out b/validator/testdata/feature_tests/inline_style.out index 9244bee9260a..ecdd667901d8 100644 --- a/validator/testdata/feature_tests/inline_style.out +++ b/validator/testdata/feature_tests/inline_style.out @@ -1,20 +1,5 @@ FAIL | <!-- -| Copyright 2018 The AMP HTML Authors. All Rights Reserved. -| -| Licensed under the Apache License, Version 2.0 (the "License"); -| you may not use this file except in compliance with the License. -| You may obtain a copy of the License at -| -| http://www.apache.org/licenses/LICENSE-2.0 -| -| Unless required by applicable law or agreed to in writing, software -| distributed under the License is distributed on an "AS-IS" BASIS, -| WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -| See the License for the specific language governing permissions and -| limitations under the license. -| --> -| <!-- | Test Description: | Tests style attributes on tags (inline style). | --> @@ -40,19 +25,19 @@ FAIL | <!-- Invalid: !important is not allowed --> | <amp-img layout=fill src=lemur.png style="display:block !important; width:100px;"></amp-img> >> ^~~~~~~~~ -feature_tests/inline_style.html:40:2 Usage of the !important CSS qualifier is not allowed. (see https://amp.dev/documentation/guides-and-tutorials/develop/style_and_layout/style_pages/) +feature_tests/inline_style.html:25:2 Usage of the !important CSS qualifier is not allowed. (see https://amp.dev/documentation/guides-and-tutorials/develop/style_and_layout/style_pages/) | <amp-img layout=fill src=lemur.png style="display:block ! important; width:100px;"></amp-img> >> ^~~~~~~~~ -feature_tests/inline_style.html:41:2 Usage of the !important CSS qualifier is not allowed. (see https://amp.dev/documentation/guides-and-tutorials/develop/style_and_layout/style_pages/) +feature_tests/inline_style.html:26:2 Usage of the !important CSS qualifier is not allowed. (see https://amp.dev/documentation/guides-and-tutorials/develop/style_and_layout/style_pages/) | | <!-- Invalid: attribute [style] is not allowed --> | <amp-img layout=fill src=lemur.png style="display:block;" [style]="display:block;"></amp-img> >> ^~~~~~~~~ -feature_tests/inline_style.html:44:2 The attribute '[style]' may not appear in tag 'amp-img'. (see https://amp.dev/documentation/components/amp-img/) +feature_tests/inline_style.html:29:2 The attribute '[style]' may not appear in tag 'amp-img'. (see https://amp.dev/documentation/components/amp-img/) | | <!-- Invalid: mailto protocol not allowed in URLs --> | <b style="background-image: url('mailto:foo@bar.com')"></b> >> ^~~~~~~~~ -feature_tests/inline_style.html:47:2 CSS syntax error in tag 'b' - invalid url protocol 'mailto:'. +feature_tests/inline_style.html:32:2 CSS syntax error in tag 'b' - invalid url protocol 'mailto:'. | </body> | </html> diff --git a/validator/testdata/feature_tests/javascript_xss.html b/validator/testdata/feature_tests/javascript_xss.html index 61559aed9216..8de5eddd7759 100644 --- a/validator/testdata/feature_tests/javascript_xss.html +++ b/validator/testdata/feature_tests/javascript_xss.html @@ -1,19 +1,3 @@ -<!-- - Copyright 2015 The AMP HTML Authors. All Rights Reserved. - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS-IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the license. ---> - <!doctype html> <html ⚡> <head> diff --git a/validator/testdata/feature_tests/javascript_xss.out b/validator/testdata/feature_tests/javascript_xss.out index 598bc30e4dba..e3b8baecf237 100644 --- a/validator/testdata/feature_tests/javascript_xss.out +++ b/validator/testdata/feature_tests/javascript_xss.out @@ -1,20 +1,4 @@ FAIL -| <!-- -| Copyright 2015 The AMP HTML Authors. All Rights Reserved. -| -| Licensed under the Apache License, Version 2.0 (the "License"); -| you may not use this file except in compliance with the License. -| You may obtain a copy of the License at -| -| http://www.apache.org/licenses/LICENSE-2.0 -| -| Unless required by applicable law or agreed to in writing, software -| distributed under the License is distributed on an "AS-IS" BASIS, -| WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -| See the License for the specific language governing permissions and -| limitations under the license. -| --> -| | <!doctype html> | <html ⚡> | <head> @@ -27,15 +11,15 @@ FAIL | <body> | <a href="javascript:alert('boo')">Click here to see an important message.</a> >> ^~~~~~~~~ -feature_tests/javascript_xss.html:27:2 Invalid URL protocol 'javascript:' for attribute 'href' in tag 'a'. (see https://amp.dev/documentation/guides-and-tutorials/learn/spec/amphtml/#links) +feature_tests/javascript_xss.html:11:2 Invalid URL protocol 'javascript:' for attribute 'href' in tag 'a'. (see https://amp.dev/documentation/guides-and-tutorials/learn/spec/amphtml/#links) | <a href="JavaScript:alert('boo')">It's CAse inSenSitive.</a> >> ^~~~~~~~~ -feature_tests/javascript_xss.html:28:2 Invalid URL protocol 'javascript:' for attribute 'href' in tag 'a'. (see https://amp.dev/documentation/guides-and-tutorials/learn/spec/amphtml/#links) +feature_tests/javascript_xss.html:12:2 Invalid URL protocol 'javascript:' for attribute 'href' in tag 'a'. (see https://amp.dev/documentation/guides-and-tutorials/learn/spec/amphtml/#links) | <a href="vbscript:bar">vbscript is also dangerous</a> >> ^~~~~~~~~ -feature_tests/javascript_xss.html:29:2 Invalid URL protocol 'vbscript:' for attribute 'href' in tag 'a'. (see https://amp.dev/documentation/guides-and-tutorials/learn/spec/amphtml/#links) +feature_tests/javascript_xss.html:13:2 Invalid URL protocol 'vbscript:' for attribute 'href' in tag 'a'. (see https://amp.dev/documentation/guides-and-tutorials/learn/spec/amphtml/#links) | <a href="data:baz">data urls have some risks</a> >> ^~~~~~~~~ -feature_tests/javascript_xss.html:30:2 Invalid URL protocol 'data:' for attribute 'href' in tag 'a'. (see https://amp.dev/documentation/guides-and-tutorials/learn/spec/amphtml/#links) +feature_tests/javascript_xss.html:14:2 Invalid URL protocol 'data:' for attribute 'href' in tag 'a'. (see https://amp.dev/documentation/guides-and-tutorials/learn/spec/amphtml/#links) | </body> | </html> diff --git a/validator/testdata/feature_tests/json-parsing-invalid.html b/validator/testdata/feature_tests/json-parsing-invalid.html index 58dbc747b055..c8660aac6c95 100644 --- a/validator/testdata/feature_tests/json-parsing-invalid.html +++ b/validator/testdata/feature_tests/json-parsing-invalid.html @@ -1,18 +1,3 @@ -<!-- - Copyright 2020 The AMP HTML Authors. All Rights Reserved. - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS-IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the license. ---> <!-- Test Description: Test JSON parsing. diff --git a/validator/testdata/feature_tests/json-parsing-invalid.out b/validator/testdata/feature_tests/json-parsing-invalid.out index e2fa57d35fdc..211550bf8a1c 100644 --- a/validator/testdata/feature_tests/json-parsing-invalid.out +++ b/validator/testdata/feature_tests/json-parsing-invalid.out @@ -1,20 +1,5 @@ PASS | <!-- -| Copyright 2020 The AMP HTML Authors. All Rights Reserved. -| -| Licensed under the Apache License, Version 2.0 (the "License"); -| you may not use this file except in compliance with the License. -| You may obtain a copy of the License at -| -| http://www.apache.org/licenses/LICENSE-2.0 -| -| Unless required by applicable law or agreed to in writing, software -| distributed under the License is distributed on an "AS-IS" BASIS, -| WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -| See the License for the specific language governing permissions and -| limitations under the license. -| --> -| <!-- | Test Description: | Test JSON parsing. | --> @@ -34,7 +19,7 @@ PASS | <amp-state id="td_amp_menu_state"> | <script type="application/json"> >> ^~~~~~~~~ -feature_tests/json-parsing-invalid.html:34:0 The script tag contains invalid JSON that cannot be parsed. +feature_tests/json-parsing-invalid.html:19:0 The script tag contains invalid JSON that cannot be parsed. | {"visible": true, | "display": "none", | "background": @@ -45,7 +30,7 @@ feature_tests/json-parsing-invalid.html:34:0 The script tag contains invalid JSO | <amp-state id="td_amp_menu_state"> | <script type="application/json">{"visible": >> ^~~~~~~~~ -feature_tests/json-parsing-invalid.html:43:0 The script tag contains invalid JSON that cannot be parsed. +feature_tests/json-parsing-invalid.html:28:0 The script tag contains invalid JSON that cannot be parsed. | # visibility hidden. | false}</script> | </amp-state> @@ -53,26 +38,26 @@ feature_tests/json-parsing-invalid.html:43:0 The script tag contains invalid JSO | <amp-state id="td_amp_menu_state"> | <script type="application/json">{"visible": >> ^~~~~~~~~ -feature_tests/json-parsing-invalid.html:49:0 The script tag contains invalid JSON that cannot be parsed. +feature_tests/json-parsing-invalid.html:34:0 The script tag contains invalid JSON that cannot be parsed. | False}</script> | </amp-state> | | <amp-state id="td_amp_menu_state"> | <script type="application/json">{"visible": hidden}</script> >> ^~~~~~~~~ -feature_tests/json-parsing-invalid.html:54:0 The script tag contains invalid JSON that cannot be parsed. +feature_tests/json-parsing-invalid.html:39:0 The script tag contains invalid JSON that cannot be parsed. | </amp-state> | | <amp-state id="td_amp_menu_state"> | <script type="application/json">ohmygod</script> >> ^~~~~~~~~ -feature_tests/json-parsing-invalid.html:58:2 The script tag contains invalid JSON that cannot be parsed. +feature_tests/json-parsing-invalid.html:43:2 The script tag contains invalid JSON that cannot be parsed. | </amp-state> | | <amp-state id="td_amp_menu_state"> | <script type="application/json"> >> ^~~~~~~~~ -feature_tests/json-parsing-invalid.html:62:2 The script tag contains invalid JSON that cannot be parsed. +feature_tests/json-parsing-invalid.html:47:2 The script tag contains invalid JSON that cannot be parsed. | | | @@ -83,7 +68,7 @@ feature_tests/json-parsing-invalid.html:62:2 The script tag contains invalid JSO | <amp-state id="td_amp_menu_state"> | <script type="application/json"> >> ^~~~~~~~~ -feature_tests/json-parsing-invalid.html:71:2 The script tag contains invalid JSON that cannot be parsed. +feature_tests/json-parsing-invalid.html:56:2 The script tag contains invalid JSON that cannot be parsed. | | | @@ -96,6 +81,6 @@ feature_tests/json-parsing-invalid.html:71:2 The script tag contains invalid JSO | <!-- Invalid: JSON-LD can not be parsed. --> | <script type="application/ld+json">lemur</script> >> ^~~~~~~~~ -feature_tests/json-parsing-invalid.html:82:2 The script tag contains invalid JSON that cannot be parsed. +feature_tests/json-parsing-invalid.html:67:2 The script tag contains invalid JSON that cannot be parsed. | </body> -| </html> +| </html> \ No newline at end of file diff --git a/validator/testdata/feature_tests/json-parsing-invalid.out.cpponly b/validator/testdata/feature_tests/json-parsing-invalid.out.cpponly index 558249d5249e..effc70f3e7f0 100644 --- a/validator/testdata/feature_tests/json-parsing-invalid.out.cpponly +++ b/validator/testdata/feature_tests/json-parsing-invalid.out.cpponly @@ -1,20 +1,5 @@ PASS | <!-- -| Copyright 2020 The AMP HTML Authors. All Rights Reserved. -| -| Licensed under the Apache License, Version 2.0 (the "License"); -| you may not use this file except in compliance with the License. -| You may obtain a copy of the License at -| -| http://www.apache.org/licenses/LICENSE-2.0 -| -| Unless required by applicable law or agreed to in writing, software -| distributed under the License is distributed on an "AS-IS" BASIS, -| WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -| See the License for the specific language governing permissions and -| limitations under the license. -| --> -| <!-- | Test Description: | Test JSON parsing. | --> @@ -38,7 +23,7 @@ PASS | "background": | red} >> ^~~~~~~~~ -feature_tests/json-parsing-invalid.html:38:1 The script tag contains invalid JSON that cannot be parsed. +feature_tests/json-parsing-invalid.html:23:1 The script tag contains invalid JSON that cannot be parsed. | </script> | </amp-state> | @@ -46,7 +31,7 @@ feature_tests/json-parsing-invalid.html:38:1 The script tag contains invalid JSO | <script type="application/json">{"visible": | # visibility hidden. >> ^~~~~~~~~ -feature_tests/json-parsing-invalid.html:44:0 The script tag contains invalid JSON that cannot be parsed. +feature_tests/json-parsing-invalid.html:29:0 The script tag contains invalid JSON that cannot be parsed. | false}</script> | </amp-state> | @@ -54,19 +39,19 @@ feature_tests/json-parsing-invalid.html:44:0 The script tag contains invalid JSO | <script type="application/json">{"visible": | False}</script> >> ^~~~~~~~~ -feature_tests/json-parsing-invalid.html:50:20 The script tag contains invalid JSON that cannot be parsed. +feature_tests/json-parsing-invalid.html:35:20 The script tag contains invalid JSON that cannot be parsed. | </amp-state> | | <amp-state id="td_amp_menu_state"> | <script type="application/json">{"visible": hidden}</script> >> ^~~~~~~~~ -feature_tests/json-parsing-invalid.html:54:54 The script tag contains invalid JSON that cannot be parsed. +feature_tests/json-parsing-invalid.html:39:54 The script tag contains invalid JSON that cannot be parsed. | </amp-state> | | <amp-state id="td_amp_menu_state"> | <script type="application/json">ohmygod</script> >> ^~~~~~~~~ -feature_tests/json-parsing-invalid.html:58:34 The script tag contains invalid JSON that cannot be parsed. +feature_tests/json-parsing-invalid.html:43:34 The script tag contains invalid JSON that cannot be parsed. | </amp-state> | | <amp-state id="td_amp_menu_state"> @@ -77,7 +62,7 @@ feature_tests/json-parsing-invalid.html:58:34 The script tag contains invalid JS | | ohmygod</script> >> ^~~~~~~~~ -feature_tests/json-parsing-invalid.html:67:15 The script tag contains invalid JSON that cannot be parsed. +feature_tests/json-parsing-invalid.html:52:15 The script tag contains invalid JSON that cannot be parsed. | </amp-state> | | <amp-state id="td_amp_menu_state"> @@ -90,12 +75,12 @@ feature_tests/json-parsing-invalid.html:67:15 The script tag contains invalid JS | | // This is comment >> ^~~~~~~~~ -feature_tests/json-parsing-invalid.html:78:4 The script tag contains invalid JSON that cannot be parsed. +feature_tests/json-parsing-invalid.html:63:4 The script tag contains invalid JSON that cannot be parsed. | "foo": "bar"}</script> | </amp-state> | <!-- Invalid: JSON-LD can not be parsed. --> | <script type="application/ld+json">lemur</script> >> ^~~~~~~~~ -feature_tests/json-parsing-invalid.html:82:37 The script tag contains invalid JSON that cannot be parsed. +feature_tests/json-parsing-invalid.html:67:37 The script tag contains invalid JSON that cannot be parsed. | </body> | </html> diff --git a/validator/testdata/feature_tests/json-parsing.html b/validator/testdata/feature_tests/json-parsing.html index 95a89d446e51..1c0f79de266a 100644 --- a/validator/testdata/feature_tests/json-parsing.html +++ b/validator/testdata/feature_tests/json-parsing.html @@ -1,18 +1,3 @@ -<!-- - Copyright 2020 The AMP HTML Authors. All Rights Reserved. - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS-IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the license. ---> <!-- Test Description: Test JSON parsing. diff --git a/validator/testdata/feature_tests/json-parsing.out b/validator/testdata/feature_tests/json-parsing.out index 7a2175517321..925e4cae29d5 100644 --- a/validator/testdata/feature_tests/json-parsing.out +++ b/validator/testdata/feature_tests/json-parsing.out @@ -1,20 +1,5 @@ PASS | <!-- -| Copyright 2020 The AMP HTML Authors. All Rights Reserved. -| -| Licensed under the Apache License, Version 2.0 (the "License"); -| you may not use this file except in compliance with the License. -| You may obtain a copy of the License at -| -| http://www.apache.org/licenses/LICENSE-2.0 -| -| Unless required by applicable law or agreed to in writing, software -| distributed under the License is distributed on an "AS-IS" BASIS, -| WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -| See the License for the specific language governing permissions and -| limitations under the license. -| --> -| <!-- | Test Description: | Test JSON parsing. | --> diff --git a/validator/testdata/feature_tests/lang_attr.html b/validator/testdata/feature_tests/lang_attr.html index 5eb34ff258aa..71c386be97b8 100644 --- a/validator/testdata/feature_tests/lang_attr.html +++ b/validator/testdata/feature_tests/lang_attr.html @@ -1,18 +1,3 @@ -<!-- - Copyright 2015 The AMP HTML Authors. All Rights Reserved. - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS-IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the license. ---> <!doctype html> <!-- Test Description: diff --git a/validator/testdata/feature_tests/lang_attr.out b/validator/testdata/feature_tests/lang_attr.out index a961c3fe2df3..115059eb035e 100644 --- a/validator/testdata/feature_tests/lang_attr.out +++ b/validator/testdata/feature_tests/lang_attr.out @@ -1,19 +1,4 @@ PASS -| <!-- -| Copyright 2015 The AMP HTML Authors. All Rights Reserved. -| -| Licensed under the Apache License, Version 2.0 (the "License"); -| you may not use this file except in compliance with the License. -| You may obtain a copy of the License at -| -| http://www.apache.org/licenses/LICENSE-2.0 -| -| Unless required by applicable law or agreed to in writing, software -| distributed under the License is distributed on an "AS-IS" BASIS, -| WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -| See the License for the specific language governing permissions and -| limitations under the license. -| --> | <!doctype html> | <!-- | Test Description: diff --git a/validator/testdata/feature_tests/leaks.html b/validator/testdata/feature_tests/leaks.html index eef56ea6cb87..63678e259232 100644 --- a/validator/testdata/feature_tests/leaks.html +++ b/validator/testdata/feature_tests/leaks.html @@ -1,18 +1,3 @@ -<!-- - Copyright 2018 The AMP HTML Authors. All Rights Reserved. - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS-IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the license. ---> <!-- Test Description: This tests a bunch of cases that might allow AMP pages to leak network diff --git a/validator/testdata/feature_tests/leaks.out b/validator/testdata/feature_tests/leaks.out index 2d8a707e0eb8..bc0a7fc70091 100644 --- a/validator/testdata/feature_tests/leaks.out +++ b/validator/testdata/feature_tests/leaks.out @@ -1,20 +1,5 @@ FAIL | <!-- -| Copyright 2018 The AMP HTML Authors. All Rights Reserved. -| -| Licensed under the Apache License, Version 2.0 (the "License"); -| you may not use this file except in compliance with the License. -| You may obtain a copy of the License at -| -| http://www.apache.org/licenses/LICENSE-2.0 -| -| Unless required by applicable law or agreed to in writing, software -| distributed under the License is distributed on an "AS-IS" BASIS, -| WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -| See the License for the specific language governing permissions and -| limitations under the license. -| --> -| <!-- | Test Description: | This tests a bunch of cases that might allow AMP pages to leak network | requests during a browser prefetch from a search result page. These are @@ -24,15 +9,15 @@ FAIL | --> | <!doctype html SYSTEM "https://leaking.via/doctype"> >> ^~~~~~~~~ -feature_tests/leaks.html:24:0 Invalid or missing doctype declaration. Should be '!doctype html'. (see https://amp.dev/documentation/guides-and-tutorials/start/create/basic_markup/) +feature_tests/leaks.html:9:0 Invalid or missing doctype declaration. Should be '!doctype html'. (see https://amp.dev/documentation/guides-and-tutorials/start/create/basic_markup/) >> ^~~~~~~~~ -feature_tests/leaks.html:24:0 The attribute '"https://leaking.via/doctype"' may not appear in tag 'html !doctype'. (see https://amp.dev/documentation/guides-and-tutorials/learn/spec/amphtml/#required-markup) +feature_tests/leaks.html:9:0 The attribute '"https://leaking.via/doctype"' may not appear in tag 'html !doctype'. (see https://amp.dev/documentation/guides-and-tutorials/learn/spec/amphtml/#required-markup) >> ^~~~~~~~~ -feature_tests/leaks.html:24:0 The attribute 'system' may not appear in tag 'html !doctype'. (see https://amp.dev/documentation/guides-and-tutorials/learn/spec/amphtml/#required-markup) +feature_tests/leaks.html:9:0 The attribute 'system' may not appear in tag 'html !doctype'. (see https://amp.dev/documentation/guides-and-tutorials/learn/spec/amphtml/#required-markup) | | <html ⚡ manifest="https://leaking.via/html-manifest"> >> ^~~~~~~~~ -feature_tests/leaks.html:26:0 The attribute 'manifest' may not appear in tag 'html'. (see https://amp.dev/documentation/guides-and-tutorials/learn/spec/amphtml/#required-markup) +feature_tests/leaks.html:11:0 The attribute 'manifest' may not appear in tag 'html'. (see https://amp.dev/documentation/guides-and-tutorials/learn/spec/amphtml/#required-markup) | | | <!-- AMP boilerplate which should not produce errors --> @@ -46,7 +31,7 @@ feature_tests/leaks.html:26:0 The attribute 'manifest' may not appear in tag 'ht | | <base href="https://leaking.via/base-href/"> >> ^~~~~~~~~ -feature_tests/leaks.html:38:0 The attribute 'href' in tag 'base' is set to the invalid value 'https://leaking.via/base-href/'. +feature_tests/leaks.html:23:0 The attribute 'href' in tag 'base' is set to the invalid value 'https://leaking.via/base-href/'. | | <!-- | %CSS @@ -54,10 +39,10 @@ feature_tests/leaks.html:38:0 The attribute 'href' in tag 'base' is set to the i | <style amp-custom> | @import 'https://leaking.via/css-import-string'; >> ^~~~~~~~~ -feature_tests/leaks.html:44:4 CSS syntax error in tag 'style amp-custom' - saw invalid at rule '@import'. +feature_tests/leaks.html:29:4 CSS syntax error in tag 'style amp-custom' - saw invalid at rule '@import'. | @import url(https://leaking.via/css-import-url); >> ^~~~~~~~~ -feature_tests/leaks.html:45:4 CSS syntax error in tag 'style amp-custom' - saw invalid at rule '@import'. +feature_tests/leaks.html:30:4 CSS syntax error in tag 'style amp-custom' - saw invalid at rule '@import'. | </style> | | <!-- @@ -65,42 +50,42 @@ feature_tests/leaks.html:45:4 CSS syntax error in tag 'style amp-custom' - saw i | --> | <meta http-equiv="refresh" content="10; url=http://leaking.via/meta-refresh"> >> ^~~~~~~~~ -feature_tests/leaks.html:51:0 The attribute 'http-equiv' may not appear in tag 'meta'. +feature_tests/leaks.html:36:0 The attribute 'http-equiv' may not appear in tag 'meta'. | | <!-- | %CSP | --> | <meta http-equiv="Content-Security-Policy" content="script-src 'self'; report-uri http://leaking.via/meta-csp-report-uri"> >> ^~~~~~~~~ -feature_tests/leaks.html:56:0 The attribute 'http-equiv' may not appear in tag 'meta'. +feature_tests/leaks.html:41:0 The attribute 'http-equiv' may not appear in tag 'meta'. | <meta http-equiv="Content-Security-Policy-Report-Only" content="script-src 'self'; report-uri http://leaking.via/meta-csp-report-uri-2"> >> ^~~~~~~~~ -feature_tests/leaks.html:57:0 The attribute 'http-equiv' may not appear in tag 'meta'. +feature_tests/leaks.html:42:0 The attribute 'http-equiv' may not appear in tag 'meta'. | | <!-- | %Links | --> | <link rel="stylesheet" href="https://leaking.via/link-stylesheet" /> >> ^~~~~~~~~ -feature_tests/leaks.html:62:0 The attribute 'href' in tag 'link rel=stylesheet for fonts' is set to the invalid value 'https://leaking.via/link-stylesheet'. (see https://amp.dev/documentation/guides-and-tutorials/learn/spec/amphtml/#custom-fonts) +feature_tests/leaks.html:47:0 The attribute 'href' in tag 'link rel=stylesheet for fonts' is set to the invalid value 'https://leaking.via/link-stylesheet'. (see https://amp.dev/documentation/guides-and-tutorials/learn/spec/amphtml/#custom-fonts) | <link rel="alternate stylesheet" href="https://leaking.via/link-alternate-stylesheet" /> >> ^~~~~~~~~ -feature_tests/leaks.html:63:0 The attribute 'rel' in tag 'link' is set to the invalid value 'alternate stylesheet'. (see https://amp.dev/documentation/guides-and-tutorials/learn/spec/amphtml/#html-tags) +feature_tests/leaks.html:48:0 The attribute 'rel' in tag 'link' is set to the invalid value 'alternate stylesheet'. (see https://amp.dev/documentation/guides-and-tutorials/learn/spec/amphtml/#html-tags) | <link rel="import" href="https://leaking.via/link-import" /> >> ^~~~~~~~~ -feature_tests/leaks.html:64:0 The attribute 'rel' in tag 'link' is set to the invalid value 'import'. (see https://amp.dev/documentation/guides-and-tutorials/learn/spec/amphtml/#html-tags) +feature_tests/leaks.html:49:0 The attribute 'rel' in tag 'link' is set to the invalid value 'import'. (see https://amp.dev/documentation/guides-and-tutorials/learn/spec/amphtml/#html-tags) | <link rel="subresource" href="https://leaking.via/link-subresource"> >> ^~~~~~~~~ -feature_tests/leaks.html:65:0 The attribute 'rel' in tag 'link' is set to the invalid value 'subresource'. (see https://amp.dev/documentation/guides-and-tutorials/learn/spec/amphtml/#html-tags) +feature_tests/leaks.html:50:0 The attribute 'rel' in tag 'link' is set to the invalid value 'subresource'. (see https://amp.dev/documentation/guides-and-tutorials/learn/spec/amphtml/#html-tags) | | <!-- | %MSIE Imports | --> | <IMPORT namespace="myNS" implementation="https://leaking.via/import-implementation-2" /></IMPORT> >> ^~~~~~~~~ -feature_tests/leaks.html:70:0 Tag or text which is only allowed inside the body section found outside of the body section. +feature_tests/leaks.html:55:0 Tag or text which is only allowed inside the body section found outside of the body section. >> ^~~~~~~~~ -feature_tests/leaks.html:70:0 The tag 'import' is disallowed. +feature_tests/leaks.html:55:0 The tag 'import' is disallowed. | | </head> | <body> @@ -110,11 +95,11 @@ feature_tests/leaks.html:70:0 The tag 'import' is disallowed. | --> | <table background="https://leaking.via/table-background"> >> ^~~~~~~~~ -feature_tests/leaks.html:78:0 The attribute 'background' may not appear in tag 'table'. +feature_tests/leaks.html:63:0 The attribute 'background' may not appear in tag 'table'. | <tr> | <td background="https://leaking.via/td-background"></td> >> ^~~~~~~~~ -feature_tests/leaks.html:80:8 The attribute 'background' may not appear in tag 'td'. +feature_tests/leaks.html:65:8 The attribute 'background' may not appear in tag 'td'. | </tr> | </table> | @@ -123,42 +108,42 @@ feature_tests/leaks.html:80:8 The attribute 'background' may not appear in tag ' | --> | <img src="https://leaking.via/img-src"> >> ^~~~~~~~~ -feature_tests/leaks.html:87:0 The tag 'img' may only appear as a descendant of tag 'noscript'. Did you mean 'amp-img'? (see https://amp.dev/documentation/components/amp-img/) +feature_tests/leaks.html:72:0 The tag 'img' may only appear as a descendant of tag 'noscript'. Did you mean 'amp-img'? (see https://amp.dev/documentation/components/amp-img/) | <img dynsrc="https://leaking.via/img-dynsrc"> >> ^~~~~~~~~ -feature_tests/leaks.html:88:0 The tag 'img' may only appear as a descendant of tag 'noscript'. Did you mean 'amp-img'? (see https://amp.dev/documentation/components/amp-img/) +feature_tests/leaks.html:73:0 The tag 'img' may only appear as a descendant of tag 'noscript'. Did you mean 'amp-img'? (see https://amp.dev/documentation/components/amp-img/) | <img lowsrc="https://leaking.via/img-lowsrc"> >> ^~~~~~~~~ -feature_tests/leaks.html:89:0 The tag 'img' may only appear as a descendant of tag 'noscript'. Did you mean 'amp-img'? (see https://amp.dev/documentation/components/amp-img/) +feature_tests/leaks.html:74:0 The tag 'img' may only appear as a descendant of tag 'noscript'. Did you mean 'amp-img'? (see https://amp.dev/documentation/components/amp-img/) | <img src="data:image/svg+xml,<svg%20xmlns='%68ttp:%2f/www.w3.org/2000/svg'%20xmlns:xlink='%68ttp:%2f/www.w3.org/1999/xlink'><image%20xlink:hr%65f='%68ttp:%2f/leaking.via/svg-via-data'></image></svg>"> >> ^~~~~~~~~ -feature_tests/leaks.html:90:0 The tag 'img' may only appear as a descendant of tag 'noscript'. Did you mean 'amp-img'? (see https://amp.dev/documentation/components/amp-img/) +feature_tests/leaks.html:75:0 The tag 'img' may only appear as a descendant of tag 'noscript'. Did you mean 'amp-img'? (see https://amp.dev/documentation/components/amp-img/) | | <image src="https://leaking.via/image-src"></image> >> ^~~~~~~~~ -feature_tests/leaks.html:92:0 The tag 'image' may only appear as a descendant of tag 'svg'. (see https://amp.dev/documentation/guides-and-tutorials/learn/spec/amphtml/#svg) +feature_tests/leaks.html:77:0 The tag 'image' may only appear as a descendant of tag 'svg'. (see https://amp.dev/documentation/guides-and-tutorials/learn/spec/amphtml/#svg) | <image href="https://leaking.via/image-href"></image> >> ^~~~~~~~~ -feature_tests/leaks.html:93:0 The tag 'image' may only appear as a descendant of tag 'svg'. (see https://amp.dev/documentation/guides-and-tutorials/learn/spec/amphtml/#svg) +feature_tests/leaks.html:78:0 The tag 'image' may only appear as a descendant of tag 'svg'. (see https://amp.dev/documentation/guides-and-tutorials/learn/spec/amphtml/#svg) | | <picture> >> ^~~~~~~~~ -feature_tests/leaks.html:95:0 The parent tag of tag 'picture' is 'body', but it can only be 'noscript'. (see https://amp.dev/documentation/components/amp-img/) +feature_tests/leaks.html:80:0 The parent tag of tag 'picture' is 'body', but it can only be 'noscript'. (see https://amp.dev/documentation/components/amp-img/) | <source srcset="https://leaking.via/picture-source-srcset"> | </picture> | <picture> >> ^~~~~~~~~ -feature_tests/leaks.html:98:0 The parent tag of tag 'picture' is 'body', but it can only be 'noscript'. (see https://amp.dev/documentation/components/amp-img/) +feature_tests/leaks.html:83:0 The parent tag of tag 'picture' is 'body', but it can only be 'noscript'. (see https://amp.dev/documentation/components/amp-img/) | <img srcset="https://leaking.via/picture-img-srcset"> >> ^~~~~~~~~ -feature_tests/leaks.html:99:4 The tag 'img' may only appear as a descendant of tag 'noscript'. Did you mean 'amp-img'? (see https://amp.dev/documentation/components/amp-img/) +feature_tests/leaks.html:84:4 The tag 'img' may only appear as a descendant of tag 'noscript'. Did you mean 'amp-img'? (see https://amp.dev/documentation/components/amp-img/) | </picture> | <img srcset=",,,,,https://leaking.via/img-srcset"> >> ^~~~~~~~~ -feature_tests/leaks.html:101:0 The tag 'img' may only appear as a descendant of tag 'noscript'. Did you mean 'amp-img'? (see https://amp.dev/documentation/components/amp-img/) +feature_tests/leaks.html:86:0 The tag 'img' may only appear as a descendant of tag 'noscript'. Did you mean 'amp-img'? (see https://amp.dev/documentation/components/amp-img/) | <img src="#" longdesc="https://leaking.via/img-longdesc"> >> ^~~~~~~~~ -feature_tests/leaks.html:102:0 The tag 'img' may only appear as a descendant of tag 'noscript'. Did you mean 'amp-img'? (see https://amp.dev/documentation/components/amp-img/) +feature_tests/leaks.html:87:0 The tag 'img' may only appear as a descendant of tag 'noscript'. Did you mean 'amp-img'? (see https://amp.dev/documentation/components/amp-img/) | <!-- longdesc works on Firefox but requires right-click, "View Description" --> | | <!-- @@ -166,92 +151,92 @@ feature_tests/leaks.html:102:0 The tag 'img' may only appear as a descendant of | --> | <input type="image" src="https://leaking.via/input-src" name="test" value="test"> >> ^~~~~~~~~ -feature_tests/leaks.html:108:0 The attribute 'src' may not appear in tag 'input'. (see https://amp.dev/documentation/components/amp-form/) +feature_tests/leaks.html:93:0 The attribute 'src' may not appear in tag 'input'. (see https://amp.dev/documentation/components/amp-form/) | <isindex src="https://leaking.via/isindex-src" type="image"> >> ^~~~~~~~~ -feature_tests/leaks.html:109:0 The tag 'isindex' is disallowed. +feature_tests/leaks.html:94:0 The tag 'isindex' is disallowed. | <isindex action="https://leaking.via/isindex-action"></isindex> >> ^~~~~~~~~ -feature_tests/leaks.html:110:0 The tag 'isindex' is disallowed. +feature_tests/leaks.html:95:0 The tag 'isindex' is disallowed. | <form id="test2"></form><isindex type="submit" formaction="https://leaking.via/isindex-formaction" form="test2"></isindex> >> ^~~~~~~~~ -feature_tests/leaks.html:111:0 The mandatory attribute 'action' is missing in tag 'form'. (see https://amp.dev/documentation/components/amp-form) +feature_tests/leaks.html:96:0 The mandatory attribute 'action' is missing in tag 'form'. (see https://amp.dev/documentation/components/amp-form) >> ^~~~~~~~~ -feature_tests/leaks.html:111:0 The mandatory attribute 'target' is missing in tag 'form'. (see https://amp.dev/documentation/components/amp-form) +feature_tests/leaks.html:96:0 The mandatory attribute 'target' is missing in tag 'form'. (see https://amp.dev/documentation/components/amp-form) >> ^~~~~~~~~ -feature_tests/leaks.html:111:0 The tag 'form' requires including the 'amp-form' extension JavaScript. (see https://amp.dev/documentation/components/amp-form) +feature_tests/leaks.html:96:0 The tag 'form' requires including the 'amp-form' extension JavaScript. (see https://amp.dev/documentation/components/amp-form) >> ^~~~~~~~~ -feature_tests/leaks.html:111:24 The tag 'isindex' is disallowed. +feature_tests/leaks.html:96:24 The tag 'isindex' is disallowed. | | <!-- | %Media | --> | <bgsound src="https://leaking.via/bgsound-src"></bgsound> >> ^~~~~~~~~ -feature_tests/leaks.html:116:0 The tag 'bgsound' is disallowed. +feature_tests/leaks.html:101:0 The tag 'bgsound' is disallowed. | <video src="https://leaking.via/video-src"> >> ^~~~~~~~~ -feature_tests/leaks.html:117:0 The tag 'video' may only appear as a descendant of tag 'noscript'. Did you mean 'amp-video'? (see https://amp.dev/documentation/components/amp-video/) +feature_tests/leaks.html:102:0 The tag 'video' may only appear as a descendant of tag 'noscript'. Did you mean 'amp-video'? (see https://amp.dev/documentation/components/amp-video/) | <track kind="subtitles" label="English subtitles" src="https://leaking.via/track-src" srclang="en" default></track> | </video> | <video controls> >> ^~~~~~~~~ -feature_tests/leaks.html:120:0 The tag 'video' may only appear as a descendant of tag 'noscript'. Did you mean 'amp-video'? (see https://amp.dev/documentation/components/amp-video/) +feature_tests/leaks.html:105:0 The tag 'video' may only appear as a descendant of tag 'noscript'. Did you mean 'amp-video'? (see https://amp.dev/documentation/components/amp-video/) | <source src="https://leaking.via/video-source-src" type="video/mp4"> | </video> | <audio src="https://leaking.via/audio-src"></audio> >> ^~~~~~~~~ -feature_tests/leaks.html:123:0 The tag 'audio' may only appear as a descendant of tag 'noscript'. Did you mean 'amp-audio'? (see https://amp.dev/documentation/components/amp-audio/) +feature_tests/leaks.html:108:0 The tag 'audio' may only appear as a descendant of tag 'noscript'. Did you mean 'amp-audio'? (see https://amp.dev/documentation/components/amp-audio/) | <audio controls> >> ^~~~~~~~~ -feature_tests/leaks.html:124:0 The tag 'audio' may only appear as a descendant of tag 'noscript'. Did you mean 'amp-audio'? (see https://amp.dev/documentation/components/amp-audio/) +feature_tests/leaks.html:109:0 The tag 'audio' may only appear as a descendant of tag 'noscript'. Did you mean 'amp-audio'? (see https://amp.dev/documentation/components/amp-audio/) | <source src="https://leaking.via/audio-source-src" type="video/mp4"> | </audio> | <video poster="https://leaking.via/video-poster" src="https://leaking.via/video-poster-2"></video> >> ^~~~~~~~~ -feature_tests/leaks.html:127:0 The tag 'video' may only appear as a descendant of tag 'noscript'. Did you mean 'amp-video'? (see https://amp.dev/documentation/components/amp-video/) +feature_tests/leaks.html:112:0 The tag 'video' may only appear as a descendant of tag 'noscript'. Did you mean 'amp-video'? (see https://amp.dev/documentation/components/amp-video/) | | <!-- | %Object & Embed | --> | <object data="https://leaking.via/object-data"></object> >> ^~~~~~~~~ -feature_tests/leaks.html:132:0 The tag 'object' is disallowed. +feature_tests/leaks.html:117:0 The tag 'object' is disallowed. | <object type="text/x-scriptlet" data="https://leaking.via/object-data-x-scriptlet"></object> >> ^~~~~~~~~ -feature_tests/leaks.html:133:0 The tag 'object' is disallowed. +feature_tests/leaks.html:118:0 The tag 'object' is disallowed. | <object movie="https://leaking.via/object-movie" type="application/x-shockwave-flash"></object> >> ^~~~~~~~~ -feature_tests/leaks.html:134:0 The tag 'object' is disallowed. +feature_tests/leaks.html:119:0 The tag 'object' is disallowed. | <object movie="https://leaking.via/object-movie"> >> ^~~~~~~~~ -feature_tests/leaks.html:135:0 The tag 'object' is disallowed. +feature_tests/leaks.html:120:0 The tag 'object' is disallowed. | <param name="type" value="application/x-shockwave-flash"></param> >> ^~~~~~~~~ -feature_tests/leaks.html:136:4 The tag 'param' is disallowed. +feature_tests/leaks.html:121:4 The tag 'param' is disallowed. | </object> | <object codebase="https://leaking.via/object-codebase"></object> >> ^~~~~~~~~ -feature_tests/leaks.html:138:0 The tag 'object' is disallowed. +feature_tests/leaks.html:123:0 The tag 'object' is disallowed. | <embed src="https://leaking.via/embed-src"></embed> >> ^~~~~~~~~ -feature_tests/leaks.html:139:0 The tag 'embed' is disallowed. +feature_tests/leaks.html:124:0 The tag 'embed' is disallowed. | <embed code="https://leaking.via/embed-code"></embed> >> ^~~~~~~~~ -feature_tests/leaks.html:140:0 The tag 'embed' is disallowed. +feature_tests/leaks.html:125:0 The tag 'embed' is disallowed. | <object classid="clsid:333C7BC4-460F-11D0-BC04-0080C7055A83"> >> ^~~~~~~~~ -feature_tests/leaks.html:141:0 The tag 'object' is disallowed. +feature_tests/leaks.html:126:0 The tag 'object' is disallowed. | <param name="DataURL" value="https://leaking.via/object-param-dataurl"> >> ^~~~~~~~~ -feature_tests/leaks.html:142:4 The tag 'param' is disallowed. +feature_tests/leaks.html:127:4 The tag 'param' is disallowed. | </object> | <object classid="clsid:6BF52A52-394A-11d3-B153-00C04F79FAA6"> >> ^~~~~~~~~ -feature_tests/leaks.html:144:0 The tag 'object' is disallowed. +feature_tests/leaks.html:129:0 The tag 'object' is disallowed. | <param name="URL" value="https://leaking.via/object-param-url"> >> ^~~~~~~~~ -feature_tests/leaks.html:145:4 The tag 'param' is disallowed. +feature_tests/leaks.html:130:4 The tag 'param' is disallowed. | </object> | | @@ -260,16 +245,16 @@ feature_tests/leaks.html:145:4 The tag 'param' is disallowed. | --> | <script src="https://leaking.via/script-src"></script> >> ^~~~~~~~~ -feature_tests/leaks.html:152:0 Custom JavaScript is not allowed. (see https://amp.dev/documentation/guides-and-tutorials/learn/validation-workflow/validation_errors/#custom-javascript-is-not-allowed) +feature_tests/leaks.html:137:0 Custom JavaScript is not allowed. (see https://amp.dev/documentation/guides-and-tutorials/learn/validation-workflow/validation_errors/#custom-javascript-is-not-allowed) | <svg><script href="https://leaking.via/svg-script-href"></script></svg> >> ^~~~~~~~~ -feature_tests/leaks.html:153:5 Custom JavaScript is not allowed. (see https://amp.dev/documentation/guides-and-tutorials/learn/validation-workflow/validation_errors/#custom-javascript-is-not-allowed) +feature_tests/leaks.html:138:5 Custom JavaScript is not allowed. (see https://amp.dev/documentation/guides-and-tutorials/learn/validation-workflow/validation_errors/#custom-javascript-is-not-allowed) | <svg><script xlink:href="https://leaking.via/svg-script-xlink-href"></script></svg> >> ^~~~~~~~~ -feature_tests/leaks.html:154:5 Custom JavaScript is not allowed. (see https://amp.dev/documentation/guides-and-tutorials/learn/validation-workflow/validation_errors/#custom-javascript-is-not-allowed) +feature_tests/leaks.html:139:5 Custom JavaScript is not allowed. (see https://amp.dev/documentation/guides-and-tutorials/learn/validation-workflow/validation_errors/#custom-javascript-is-not-allowed) | <script> >> ^~~~~~~~~ -feature_tests/leaks.html:155:0 Custom JavaScript is not allowed. (see https://amp.dev/documentation/guides-and-tutorials/learn/validation-workflow/validation_errors/#custom-javascript-is-not-allowed) +feature_tests/leaks.html:140:0 Custom JavaScript is not allowed. (see https://amp.dev/documentation/guides-and-tutorials/learn/validation-workflow/validation_errors/#custom-javascript-is-not-allowed) | //# sourceMappingURL=https://leaking.via/javascript-source-map | </script> | @@ -278,38 +263,38 @@ feature_tests/leaks.html:155:0 Custom JavaScript is not allowed. (see https://am | --> | <iframe src="https://leaking.via/iframe-src"></iframe> >> ^~~~~~~~~ -feature_tests/leaks.html:162:0 The tag 'iframe' may only appear as a descendant of tag 'noscript'. Did you mean 'amp-iframe'? (see https://amp.dev/documentation/components/amp-iframe/) +feature_tests/leaks.html:147:0 The tag 'iframe' may only appear as a descendant of tag 'noscript'. Did you mean 'amp-iframe'? (see https://amp.dev/documentation/components/amp-iframe/) | <iframe src="data:image/svg+xml,<svg%20xmlns='%68ttp:%2f/www.w3.org/2000/svg'%20xmlns:xlink='%68ttp:%2f/www.w3.org/1999/xlink'><image%20xlink:hr%65f='%68ttps:%2f/leaking.via/svg-via-data'></image></svg>"></iframe> >> ^~~~~~~~~ -feature_tests/leaks.html:163:0 The tag 'iframe' may only appear as a descendant of tag 'noscript'. Did you mean 'amp-iframe'? (see https://amp.dev/documentation/components/amp-iframe/) +feature_tests/leaks.html:148:0 The tag 'iframe' may only appear as a descendant of tag 'noscript'. Did you mean 'amp-iframe'? (see https://amp.dev/documentation/components/amp-iframe/) | <iframe srcdoc="<img src=https://leaking.via/iframe-srcdoc-img-src>"></iframe> >> ^~~~~~~~~ -feature_tests/leaks.html:164:0 The tag 'iframe' may only appear as a descendant of tag 'noscript'. Did you mean 'amp-iframe'? (see https://amp.dev/documentation/components/amp-iframe/) +feature_tests/leaks.html:149:0 The tag 'iframe' may only appear as a descendant of tag 'noscript'. Did you mean 'amp-iframe'? (see https://amp.dev/documentation/components/amp-iframe/) | <iframe src="view-source:https://leaking.via/iframe-src-viewsource"></iframe> >> ^~~~~~~~~ -feature_tests/leaks.html:165:0 The tag 'iframe' may only appear as a descendant of tag 'noscript'. Did you mean 'amp-iframe'? (see https://amp.dev/documentation/components/amp-iframe/) +feature_tests/leaks.html:150:0 The tag 'iframe' may only appear as a descendant of tag 'noscript'. Did you mean 'amp-iframe'? (see https://amp.dev/documentation/components/amp-iframe/) | <iframe src="javascript:'<img src=https://leaking.via/iframe-javascript-src>'"></iframe> >> ^~~~~~~~~ -feature_tests/leaks.html:166:0 The tag 'iframe' may only appear as a descendant of tag 'noscript'. Did you mean 'amp-iframe'? (see https://amp.dev/documentation/components/amp-iframe/) +feature_tests/leaks.html:151:0 The tag 'iframe' may only appear as a descendant of tag 'noscript'. Did you mean 'amp-iframe'? (see https://amp.dev/documentation/components/amp-iframe/) | <iframe src="javascript:'<iframe src="javascript:\'<img src=https://leaking.via/iframe-javascript-src-2>\'"></iframe>'"></iframe> >> ^~~~~~~~~ -feature_tests/leaks.html:167:0 The tag 'iframe' may only appear as a descendant of tag 'noscript'. Did you mean 'amp-iframe'? (see https://amp.dev/documentation/components/amp-iframe/) +feature_tests/leaks.html:152:0 The tag 'iframe' may only appear as a descendant of tag 'noscript'. Did you mean 'amp-iframe'? (see https://amp.dev/documentation/components/amp-iframe/) | <iframe src="javascript:atob('PGltZyBzcmM9Imh0dHBzOi8vbGVha2luZy52aWEvaWZyYW1lLWphdmFzY3JpcHQtc3JjLTMiPg==')"></iframe> >> ^~~~~~~~~ -feature_tests/leaks.html:168:0 The tag 'iframe' may only appear as a descendant of tag 'noscript'. Did you mean 'amp-iframe'? (see https://amp.dev/documentation/components/amp-iframe/) +feature_tests/leaks.html:153:0 The tag 'iframe' may only appear as a descendant of tag 'noscript'. Did you mean 'amp-iframe'? (see https://amp.dev/documentation/components/amp-iframe/) | | <!-- | %Menu | --> | <p contextmenu="a">Right Click</p> >> ^~~~~~~~~ -feature_tests/leaks.html:173:0 The attribute 'contextmenu' may not appear in tag 'p'. +feature_tests/leaks.html:158:0 The attribute 'contextmenu' may not appear in tag 'p'. | <menu type="context" id="a"> >> ^~~~~~~~~ -feature_tests/leaks.html:174:0 The tag 'menu' is disallowed. +feature_tests/leaks.html:159:0 The tag 'menu' is disallowed. | <menuitem label="a" icon="https://leaking.via/menuitem-icon"></menuitem> >> ^~~~~~~~~ -feature_tests/leaks.html:175:4 The tag 'menuitem' is disallowed. +feature_tests/leaks.html:160:4 The tag 'menuitem' is disallowed. | </menu> | | @@ -318,26 +303,26 @@ feature_tests/leaks.html:175:4 The tag 'menuitem' is disallowed. | --> | <applet code="Test" codebase="https://leaking.via/applet-codebase"></applet> >> ^~~~~~~~~ -feature_tests/leaks.html:182:0 The tag 'applet' is disallowed. +feature_tests/leaks.html:167:0 The tag 'applet' is disallowed. | <applet code="Test" archive="https://leaking.via/applet-archive"></applet> >> ^~~~~~~~~ -feature_tests/leaks.html:183:0 The tag 'applet' is disallowed. +feature_tests/leaks.html:168:0 The tag 'applet' is disallowed. | <applet code="Test" object="https://leaking.via/applet-object"></applet> >> ^~~~~~~~~ -feature_tests/leaks.html:184:0 The tag 'applet' is disallowed. +feature_tests/leaks.html:169:0 The tag 'applet' is disallowed. | | <svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink"> | <image xmlns:xlink="http://www.w3.org/1999/xlink"> | <animate attributeName="xlink:href" begin="0s" from="#" to="https://leaking.via/svg-image-animate" /> >> ^~~~~~~~~ -feature_tests/leaks.html:188:8 The tag 'animate' is disallowed. +feature_tests/leaks.html:173:8 The tag 'animate' is disallowed. | </image> | </svg> | | <svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink"> | <feImage xlink:href="https://leaking.via/svg-feimage" /> >> ^~~~~~~~~ -feature_tests/leaks.html:193:4 The tag 'feimage' is disallowed. +feature_tests/leaks.html:178:4 The tag 'feimage' is disallowed. | </svg> | | <!-- @@ -345,45 +330,45 @@ feature_tests/leaks.html:193:4 The tag 'feimage' is disallowed. | --> | <?xml-stylesheet type="text/xsl" href="https://leaking.via/xslt-stylesheet" ?> >> ^~~~~~~~~ -feature_tests/leaks.html:199:0 The tag '?xml-stylesheet' is disallowed. +feature_tests/leaks.html:184:0 The tag '?xml-stylesheet' is disallowed. | | <!-- | %Data Islands | --> | <xml src="https://leaking.via/xml-src" id="xml"></xml> >> ^~~~~~~~~ -feature_tests/leaks.html:204:0 The tag 'xml' is disallowed. +feature_tests/leaks.html:189:0 The tag 'xml' is disallowed. | <div datasrc="#xml" datafld="$text" dataformatas="html"></div> >> ^~~~~~~~~ -feature_tests/leaks.html:205:0 The attribute 'datafld' may not appear in tag 'div'. +feature_tests/leaks.html:190:0 The attribute 'datafld' may not appear in tag 'div'. >> ^~~~~~~~~ -feature_tests/leaks.html:205:0 The attribute 'dataformatas' may not appear in tag 'div'. +feature_tests/leaks.html:190:0 The attribute 'dataformatas' may not appear in tag 'div'. >> ^~~~~~~~~ -feature_tests/leaks.html:205:0 The attribute 'datasrc' may not appear in tag 'div'. +feature_tests/leaks.html:190:0 The attribute 'datasrc' may not appear in tag 'div'. | | <!-- | %VML | --> | <line xmlns="urn:schemas-microsoft-com:vml"> >> ^~~~~~~~~ -feature_tests/leaks.html:210:0 The tag 'line' may only appear as a descendant of tag 'svg'. (see https://amp.dev/documentation/guides-and-tutorials/learn/spec/amphtml/#svg) +feature_tests/leaks.html:195:0 The tag 'line' may only appear as a descendant of tag 'svg'. (see https://amp.dev/documentation/guides-and-tutorials/learn/spec/amphtml/#svg) | <fill style="behavior:url(#default#vml)" src="https://leaking.via/vml-line-fill-src" /> >> ^~~~~~~~~ -feature_tests/leaks.html:211:4 The tag 'fill' is disallowed. +feature_tests/leaks.html:196:4 The tag 'fill' is disallowed. | <stroke style="behavior:url(#default#vml)" src="https://leaking.via/vml-line-stroke-src" /> >> ^~~~~~~~~ -feature_tests/leaks.html:212:4 The tag 'stroke' is disallowed. +feature_tests/leaks.html:197:4 The tag 'stroke' is disallowed. | <imageData style="behavior:url(#default#vml)" src="https://leaking.via/vml-line-imgdata-src" /> >> ^~~~~~~~~ -feature_tests/leaks.html:213:4 The tag 'imagedata' is disallowed. +feature_tests/leaks.html:198:4 The tag 'imagedata' is disallowed. | </line> | <vmlframe >> ^~~~~~~~~ -feature_tests/leaks.html:215:0 The tag 'vmlframe' is disallowed. +feature_tests/leaks.html:200:0 The tag 'vmlframe' is disallowed. | xmlns="urn:schemas-microsoft-com:vml" | style="behavior:url(#default#vml);position:absolute;width:100%;height:100%" | src="https://leaking.via/vmlframe-src#xss"> | </vmlframe> | | </body> -| </html> +| </html> \ No newline at end of file diff --git a/validator/testdata/feature_tests/leaks.out.cpponly b/validator/testdata/feature_tests/leaks.out.cpponly index 80be8157c244..8b7ca41fcd53 100644 --- a/validator/testdata/feature_tests/leaks.out.cpponly +++ b/validator/testdata/feature_tests/leaks.out.cpponly @@ -1,20 +1,5 @@ FAIL | <!-- -| Copyright 2018 The AMP HTML Authors. All Rights Reserved. -| -| Licensed under the Apache License, Version 2.0 (the "License"); -| you may not use this file except in compliance with the License. -| You may obtain a copy of the License at -| -| http://www.apache.org/licenses/LICENSE-2.0 -| -| Unless required by applicable law or agreed to in writing, software -| distributed under the License is distributed on an "AS-IS" BASIS, -| WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -| See the License for the specific language governing permissions and -| limitations under the license. -| --> -| <!-- | Test Description: | This tests a bunch of cases that might allow AMP pages to leak network | requests during a browser prefetch from a search result page. These are @@ -24,13 +9,13 @@ FAIL | --> | <!doctype html SYSTEM "https://leaking.via/doctype"> >> ^~~~~~~~~ -feature_tests/leaks.html:24:10 Invalid or missing doctype declaration. Should be '!doctype html'. (see https://amp.dev/documentation/guides-and-tutorials/start/create/basic_markup/) +feature_tests/leaks.html:9:10 Invalid or missing doctype declaration. Should be '!doctype html'. (see https://amp.dev/documentation/guides-and-tutorials/start/create/basic_markup/) >> ^~~~~~~~~ -feature_tests/leaks.html:24:10 The attribute 'system' may not appear in tag 'html !doctype'. (see https://amp.dev/documentation/guides-and-tutorials/learn/spec/amphtml/#required-markup) +feature_tests/leaks.html:9:10 The attribute 'system' may not appear in tag 'html !doctype'. (see https://amp.dev/documentation/guides-and-tutorials/learn/spec/amphtml/#required-markup) | | <html ⚡ manifest="https://leaking.via/html-manifest"> >> ^~~~~~~~~ -feature_tests/leaks.html:26:0 The attribute 'manifest' may not appear in tag 'html'. (see https://amp.dev/documentation/guides-and-tutorials/learn/spec/amphtml/#required-markup) +feature_tests/leaks.html:11:0 The attribute 'manifest' may not appear in tag 'html'. (see https://amp.dev/documentation/guides-and-tutorials/learn/spec/amphtml/#required-markup) | | | <!-- AMP boilerplate which should not produce errors --> @@ -44,7 +29,7 @@ feature_tests/leaks.html:26:0 The attribute 'manifest' may not appear in tag 'ht | | <base href="https://leaking.via/base-href/"> >> ^~~~~~~~~ -feature_tests/leaks.html:38:0 The attribute 'href' in tag 'base' is set to the invalid value 'https://leaking.via/base-href/'. +feature_tests/leaks.html:23:0 The attribute 'href' in tag 'base' is set to the invalid value 'https://leaking.via/base-href/'. | | <!-- | %CSS @@ -52,10 +37,10 @@ feature_tests/leaks.html:38:0 The attribute 'href' in tag 'base' is set to the i | <style amp-custom> | @import 'https://leaking.via/css-import-string'; >> ^~~~~~~~~ -feature_tests/leaks.html:44:4 CSS syntax error in tag 'style amp-custom' - saw invalid at rule '@import'. +feature_tests/leaks.html:29:4 CSS syntax error in tag 'style amp-custom' - saw invalid at rule '@import'. | @import url(https://leaking.via/css-import-url); >> ^~~~~~~~~ -feature_tests/leaks.html:45:4 CSS syntax error in tag 'style amp-custom' - saw invalid at rule '@import'. +feature_tests/leaks.html:30:4 CSS syntax error in tag 'style amp-custom' - saw invalid at rule '@import'. | </style> | | <!-- @@ -63,42 +48,42 @@ feature_tests/leaks.html:45:4 CSS syntax error in tag 'style amp-custom' - saw i | --> | <meta http-equiv="refresh" content="10; url=http://leaking.via/meta-refresh"> >> ^~~~~~~~~ -feature_tests/leaks.html:51:0 The attribute 'http-equiv' may not appear in tag 'meta'. +feature_tests/leaks.html:36:0 The attribute 'http-equiv' may not appear in tag 'meta'. | | <!-- | %CSP | --> | <meta http-equiv="Content-Security-Policy" content="script-src 'self'; report-uri http://leaking.via/meta-csp-report-uri"> >> ^~~~~~~~~ -feature_tests/leaks.html:56:0 The attribute 'http-equiv' may not appear in tag 'meta'. +feature_tests/leaks.html:41:0 The attribute 'http-equiv' may not appear in tag 'meta'. | <meta http-equiv="Content-Security-Policy-Report-Only" content="script-src 'self'; report-uri http://leaking.via/meta-csp-report-uri-2"> >> ^~~~~~~~~ -feature_tests/leaks.html:57:0 The attribute 'http-equiv' may not appear in tag 'meta'. +feature_tests/leaks.html:42:0 The attribute 'http-equiv' may not appear in tag 'meta'. | | <!-- | %Links | --> | <link rel="stylesheet" href="https://leaking.via/link-stylesheet" /> >> ^~~~~~~~~ -feature_tests/leaks.html:62:0 The attribute 'href' in tag 'link rel=stylesheet for fonts' is set to the invalid value 'https://leaking.via/link-stylesheet'. (see https://amp.dev/documentation/guides-and-tutorials/learn/spec/amphtml/#custom-fonts) +feature_tests/leaks.html:47:0 The attribute 'href' in tag 'link rel=stylesheet for fonts' is set to the invalid value 'https://leaking.via/link-stylesheet'. (see https://amp.dev/documentation/guides-and-tutorials/learn/spec/amphtml/#custom-fonts) | <link rel="alternate stylesheet" href="https://leaking.via/link-alternate-stylesheet" /> >> ^~~~~~~~~ -feature_tests/leaks.html:63:0 The attribute 'rel' in tag 'link' is set to the invalid value 'alternate stylesheet'. (see https://amp.dev/documentation/guides-and-tutorials/learn/spec/amphtml/#html-tags) +feature_tests/leaks.html:48:0 The attribute 'rel' in tag 'link' is set to the invalid value 'alternate stylesheet'. (see https://amp.dev/documentation/guides-and-tutorials/learn/spec/amphtml/#html-tags) | <link rel="import" href="https://leaking.via/link-import" /> >> ^~~~~~~~~ -feature_tests/leaks.html:64:0 The attribute 'rel' in tag 'link' is set to the invalid value 'import'. (see https://amp.dev/documentation/guides-and-tutorials/learn/spec/amphtml/#html-tags) +feature_tests/leaks.html:49:0 The attribute 'rel' in tag 'link' is set to the invalid value 'import'. (see https://amp.dev/documentation/guides-and-tutorials/learn/spec/amphtml/#html-tags) | <link rel="subresource" href="https://leaking.via/link-subresource"> >> ^~~~~~~~~ -feature_tests/leaks.html:65:0 The attribute 'rel' in tag 'link' is set to the invalid value 'subresource'. (see https://amp.dev/documentation/guides-and-tutorials/learn/spec/amphtml/#html-tags) +feature_tests/leaks.html:50:0 The attribute 'rel' in tag 'link' is set to the invalid value 'subresource'. (see https://amp.dev/documentation/guides-and-tutorials/learn/spec/amphtml/#html-tags) | | <!-- | %MSIE Imports | --> | <IMPORT namespace="myNS" implementation="https://leaking.via/import-implementation-2" /></IMPORT> >> ^~~~~~~~~ -feature_tests/leaks.html:70:0 Tag or text which is only allowed inside the body section found outside of the body section. +feature_tests/leaks.html:55:0 Tag or text which is only allowed inside the body section found outside of the body section. >> ^~~~~~~~~ -feature_tests/leaks.html:70:0 The tag 'import' is disallowed. +feature_tests/leaks.html:55:0 The tag 'import' is disallowed. | | </head> | <body> @@ -108,11 +93,11 @@ feature_tests/leaks.html:70:0 The tag 'import' is disallowed. | --> | <table background="https://leaking.via/table-background"> >> ^~~~~~~~~ -feature_tests/leaks.html:78:0 The attribute 'background' may not appear in tag 'table'. +feature_tests/leaks.html:63:0 The attribute 'background' may not appear in tag 'table'. | <tr> | <td background="https://leaking.via/td-background"></td> >> ^~~~~~~~~ -feature_tests/leaks.html:80:8 The attribute 'background' may not appear in tag 'td'. +feature_tests/leaks.html:65:8 The attribute 'background' may not appear in tag 'td'. | </tr> | </table> | @@ -121,42 +106,42 @@ feature_tests/leaks.html:80:8 The attribute 'background' may not appear in tag ' | --> | <img src="https://leaking.via/img-src"> >> ^~~~~~~~~ -feature_tests/leaks.html:87:0 The tag 'img' may only appear as a descendant of tag 'noscript'. Did you mean 'amp-img'? (see https://amp.dev/documentation/components/amp-img/) +feature_tests/leaks.html:72:0 The tag 'img' may only appear as a descendant of tag 'noscript'. Did you mean 'amp-img'? (see https://amp.dev/documentation/components/amp-img/) | <img dynsrc="https://leaking.via/img-dynsrc"> >> ^~~~~~~~~ -feature_tests/leaks.html:88:0 The tag 'img' may only appear as a descendant of tag 'noscript'. Did you mean 'amp-img'? (see https://amp.dev/documentation/components/amp-img/) +feature_tests/leaks.html:73:0 The tag 'img' may only appear as a descendant of tag 'noscript'. Did you mean 'amp-img'? (see https://amp.dev/documentation/components/amp-img/) | <img lowsrc="https://leaking.via/img-lowsrc"> >> ^~~~~~~~~ -feature_tests/leaks.html:89:0 The tag 'img' may only appear as a descendant of tag 'noscript'. Did you mean 'amp-img'? (see https://amp.dev/documentation/components/amp-img/) +feature_tests/leaks.html:74:0 The tag 'img' may only appear as a descendant of tag 'noscript'. Did you mean 'amp-img'? (see https://amp.dev/documentation/components/amp-img/) | <img src="data:image/svg+xml,<svg%20xmlns='%68ttp:%2f/www.w3.org/2000/svg'%20xmlns:xlink='%68ttp:%2f/www.w3.org/1999/xlink'><image%20xlink:hr%65f='%68ttp:%2f/leaking.via/svg-via-data'></image></svg>"> >> ^~~~~~~~~ -feature_tests/leaks.html:90:0 The tag 'img' may only appear as a descendant of tag 'noscript'. Did you mean 'amp-img'? (see https://amp.dev/documentation/components/amp-img/) +feature_tests/leaks.html:75:0 The tag 'img' may only appear as a descendant of tag 'noscript'. Did you mean 'amp-img'? (see https://amp.dev/documentation/components/amp-img/) | | <image src="https://leaking.via/image-src"></image> >> ^~~~~~~~~ -feature_tests/leaks.html:92:0 The tag 'img' may only appear as a descendant of tag 'noscript'. Did you mean 'amp-img'? (see https://amp.dev/documentation/components/amp-img/) +feature_tests/leaks.html:77:0 The tag 'img' may only appear as a descendant of tag 'noscript'. Did you mean 'amp-img'? (see https://amp.dev/documentation/components/amp-img/) | <image href="https://leaking.via/image-href"></image> >> ^~~~~~~~~ -feature_tests/leaks.html:93:0 The tag 'img' may only appear as a descendant of tag 'noscript'. Did you mean 'amp-img'? (see https://amp.dev/documentation/components/amp-img/) +feature_tests/leaks.html:78:0 The tag 'img' may only appear as a descendant of tag 'noscript'. Did you mean 'amp-img'? (see https://amp.dev/documentation/components/amp-img/) | | <picture> >> ^~~~~~~~~ -feature_tests/leaks.html:95:0 The parent tag of tag 'picture' is 'body', but it can only be 'noscript'. (see https://amp.dev/documentation/components/amp-img/) +feature_tests/leaks.html:80:0 The parent tag of tag 'picture' is 'body', but it can only be 'noscript'. (see https://amp.dev/documentation/components/amp-img/) | <source srcset="https://leaking.via/picture-source-srcset"> | </picture> | <picture> >> ^~~~~~~~~ -feature_tests/leaks.html:98:0 The parent tag of tag 'picture' is 'body', but it can only be 'noscript'. (see https://amp.dev/documentation/components/amp-img/) +feature_tests/leaks.html:83:0 The parent tag of tag 'picture' is 'body', but it can only be 'noscript'. (see https://amp.dev/documentation/components/amp-img/) | <img srcset="https://leaking.via/picture-img-srcset"> >> ^~~~~~~~~ -feature_tests/leaks.html:99:4 The tag 'img' may only appear as a descendant of tag 'noscript'. Did you mean 'amp-img'? (see https://amp.dev/documentation/components/amp-img/) +feature_tests/leaks.html:84:4 The tag 'img' may only appear as a descendant of tag 'noscript'. Did you mean 'amp-img'? (see https://amp.dev/documentation/components/amp-img/) | </picture> | <img srcset=",,,,,https://leaking.via/img-srcset"> >> ^~~~~~~~~ -feature_tests/leaks.html:101:0 The tag 'img' may only appear as a descendant of tag 'noscript'. Did you mean 'amp-img'? (see https://amp.dev/documentation/components/amp-img/) +feature_tests/leaks.html:86:0 The tag 'img' may only appear as a descendant of tag 'noscript'. Did you mean 'amp-img'? (see https://amp.dev/documentation/components/amp-img/) | <img src="#" longdesc="https://leaking.via/img-longdesc"> >> ^~~~~~~~~ -feature_tests/leaks.html:102:0 The tag 'img' may only appear as a descendant of tag 'noscript'. Did you mean 'amp-img'? (see https://amp.dev/documentation/components/amp-img/) +feature_tests/leaks.html:87:0 The tag 'img' may only appear as a descendant of tag 'noscript'. Did you mean 'amp-img'? (see https://amp.dev/documentation/components/amp-img/) | <!-- longdesc works on Firefox but requires right-click, "View Description" --> | | <!-- @@ -164,92 +149,92 @@ feature_tests/leaks.html:102:0 The tag 'img' may only appear as a descendant of | --> | <input type="image" src="https://leaking.via/input-src" name="test" value="test"> >> ^~~~~~~~~ -feature_tests/leaks.html:108:0 The attribute 'src' may not appear in tag 'input'. (see https://amp.dev/documentation/components/amp-form/) +feature_tests/leaks.html:93:0 The attribute 'src' may not appear in tag 'input'. (see https://amp.dev/documentation/components/amp-form/) | <isindex src="https://leaking.via/isindex-src" type="image"> >> ^~~~~~~~~ -feature_tests/leaks.html:109:0 The tag 'isindex' is disallowed. +feature_tests/leaks.html:94:0 The tag 'isindex' is disallowed. | <isindex action="https://leaking.via/isindex-action"></isindex> >> ^~~~~~~~~ -feature_tests/leaks.html:110:0 The tag 'isindex' is disallowed. +feature_tests/leaks.html:95:0 The tag 'isindex' is disallowed. | <form id="test2"></form><isindex type="submit" formaction="https://leaking.via/isindex-formaction" form="test2"></isindex> >> ^~~~~~~~~ -feature_tests/leaks.html:111:0 The mandatory attribute 'action' is missing in tag 'form'. (see https://amp.dev/documentation/components/amp-form) +feature_tests/leaks.html:96:0 The mandatory attribute 'action' is missing in tag 'form'. (see https://amp.dev/documentation/components/amp-form) >> ^~~~~~~~~ -feature_tests/leaks.html:111:0 The mandatory attribute 'target' is missing in tag 'form'. (see https://amp.dev/documentation/components/amp-form) +feature_tests/leaks.html:96:0 The mandatory attribute 'target' is missing in tag 'form'. (see https://amp.dev/documentation/components/amp-form) >> ^~~~~~~~~ -feature_tests/leaks.html:111:0 The tag 'form' requires including the 'amp-form' extension JavaScript. (see https://amp.dev/documentation/components/amp-form) +feature_tests/leaks.html:96:0 The tag 'form' requires including the 'amp-form' extension JavaScript. (see https://amp.dev/documentation/components/amp-form) >> ^~~~~~~~~ -feature_tests/leaks.html:111:24 The tag 'isindex' is disallowed. +feature_tests/leaks.html:96:24 The tag 'isindex' is disallowed. | | <!-- | %Media | --> | <bgsound src="https://leaking.via/bgsound-src"></bgsound> >> ^~~~~~~~~ -feature_tests/leaks.html:116:0 The tag 'bgsound' is disallowed. +feature_tests/leaks.html:101:0 The tag 'bgsound' is disallowed. | <video src="https://leaking.via/video-src"> >> ^~~~~~~~~ -feature_tests/leaks.html:117:0 The tag 'video' may only appear as a descendant of tag 'noscript'. Did you mean 'amp-video'? (see https://amp.dev/documentation/components/amp-video/) +feature_tests/leaks.html:102:0 The tag 'video' may only appear as a descendant of tag 'noscript'. Did you mean 'amp-video'? (see https://amp.dev/documentation/components/amp-video/) | <track kind="subtitles" label="English subtitles" src="https://leaking.via/track-src" srclang="en" default></track> | </video> | <video controls> >> ^~~~~~~~~ -feature_tests/leaks.html:120:0 The tag 'video' may only appear as a descendant of tag 'noscript'. Did you mean 'amp-video'? (see https://amp.dev/documentation/components/amp-video/) +feature_tests/leaks.html:105:0 The tag 'video' may only appear as a descendant of tag 'noscript'. Did you mean 'amp-video'? (see https://amp.dev/documentation/components/amp-video/) | <source src="https://leaking.via/video-source-src" type="video/mp4"> | </video> | <audio src="https://leaking.via/audio-src"></audio> >> ^~~~~~~~~ -feature_tests/leaks.html:123:0 The tag 'audio' may only appear as a descendant of tag 'noscript'. Did you mean 'amp-audio'? (see https://amp.dev/documentation/components/amp-audio/) +feature_tests/leaks.html:108:0 The tag 'audio' may only appear as a descendant of tag 'noscript'. Did you mean 'amp-audio'? (see https://amp.dev/documentation/components/amp-audio/) | <audio controls> >> ^~~~~~~~~ -feature_tests/leaks.html:124:0 The tag 'audio' may only appear as a descendant of tag 'noscript'. Did you mean 'amp-audio'? (see https://amp.dev/documentation/components/amp-audio/) +feature_tests/leaks.html:109:0 The tag 'audio' may only appear as a descendant of tag 'noscript'. Did you mean 'amp-audio'? (see https://amp.dev/documentation/components/amp-audio/) | <source src="https://leaking.via/audio-source-src" type="video/mp4"> | </audio> | <video poster="https://leaking.via/video-poster" src="https://leaking.via/video-poster-2"></video> >> ^~~~~~~~~ -feature_tests/leaks.html:127:0 The tag 'video' may only appear as a descendant of tag 'noscript'. Did you mean 'amp-video'? (see https://amp.dev/documentation/components/amp-video/) +feature_tests/leaks.html:112:0 The tag 'video' may only appear as a descendant of tag 'noscript'. Did you mean 'amp-video'? (see https://amp.dev/documentation/components/amp-video/) | | <!-- | %Object & Embed | --> | <object data="https://leaking.via/object-data"></object> >> ^~~~~~~~~ -feature_tests/leaks.html:132:0 The tag 'object' is disallowed. +feature_tests/leaks.html:117:0 The tag 'object' is disallowed. | <object type="text/x-scriptlet" data="https://leaking.via/object-data-x-scriptlet"></object> >> ^~~~~~~~~ -feature_tests/leaks.html:133:0 The tag 'object' is disallowed. +feature_tests/leaks.html:118:0 The tag 'object' is disallowed. | <object movie="https://leaking.via/object-movie" type="application/x-shockwave-flash"></object> >> ^~~~~~~~~ -feature_tests/leaks.html:134:0 The tag 'object' is disallowed. +feature_tests/leaks.html:119:0 The tag 'object' is disallowed. | <object movie="https://leaking.via/object-movie"> >> ^~~~~~~~~ -feature_tests/leaks.html:135:0 The tag 'object' is disallowed. +feature_tests/leaks.html:120:0 The tag 'object' is disallowed. | <param name="type" value="application/x-shockwave-flash"></param> >> ^~~~~~~~~ -feature_tests/leaks.html:136:4 The tag 'param' is disallowed. +feature_tests/leaks.html:121:4 The tag 'param' is disallowed. | </object> | <object codebase="https://leaking.via/object-codebase"></object> >> ^~~~~~~~~ -feature_tests/leaks.html:138:0 The tag 'object' is disallowed. +feature_tests/leaks.html:123:0 The tag 'object' is disallowed. | <embed src="https://leaking.via/embed-src"></embed> >> ^~~~~~~~~ -feature_tests/leaks.html:139:0 The tag 'embed' is disallowed. +feature_tests/leaks.html:124:0 The tag 'embed' is disallowed. | <embed code="https://leaking.via/embed-code"></embed> >> ^~~~~~~~~ -feature_tests/leaks.html:140:0 The tag 'embed' is disallowed. +feature_tests/leaks.html:125:0 The tag 'embed' is disallowed. | <object classid="clsid:333C7BC4-460F-11D0-BC04-0080C7055A83"> >> ^~~~~~~~~ -feature_tests/leaks.html:141:0 The tag 'object' is disallowed. +feature_tests/leaks.html:126:0 The tag 'object' is disallowed. | <param name="DataURL" value="https://leaking.via/object-param-dataurl"> >> ^~~~~~~~~ -feature_tests/leaks.html:142:4 The tag 'param' is disallowed. +feature_tests/leaks.html:127:4 The tag 'param' is disallowed. | </object> | <object classid="clsid:6BF52A52-394A-11d3-B153-00C04F79FAA6"> >> ^~~~~~~~~ -feature_tests/leaks.html:144:0 The tag 'object' is disallowed. +feature_tests/leaks.html:129:0 The tag 'object' is disallowed. | <param name="URL" value="https://leaking.via/object-param-url"> >> ^~~~~~~~~ -feature_tests/leaks.html:145:4 The tag 'param' is disallowed. +feature_tests/leaks.html:130:4 The tag 'param' is disallowed. | </object> | | @@ -258,16 +243,16 @@ feature_tests/leaks.html:145:4 The tag 'param' is disallowed. | --> | <script src="https://leaking.via/script-src"></script> >> ^~~~~~~~~ -feature_tests/leaks.html:152:0 Custom JavaScript is not allowed. (see https://amp.dev/documentation/guides-and-tutorials/learn/validation-workflow/validation_errors/#custom-javascript-is-not-allowed) +feature_tests/leaks.html:137:0 Custom JavaScript is not allowed. (see https://amp.dev/documentation/guides-and-tutorials/learn/validation-workflow/validation_errors/#custom-javascript-is-not-allowed) | <svg><script href="https://leaking.via/svg-script-href"></script></svg> >> ^~~~~~~~~ -feature_tests/leaks.html:153:5 Custom JavaScript is not allowed. (see https://amp.dev/documentation/guides-and-tutorials/learn/validation-workflow/validation_errors/#custom-javascript-is-not-allowed) +feature_tests/leaks.html:138:5 Custom JavaScript is not allowed. (see https://amp.dev/documentation/guides-and-tutorials/learn/validation-workflow/validation_errors/#custom-javascript-is-not-allowed) | <svg><script xlink:href="https://leaking.via/svg-script-xlink-href"></script></svg> >> ^~~~~~~~~ -feature_tests/leaks.html:154:5 Custom JavaScript is not allowed. (see https://amp.dev/documentation/guides-and-tutorials/learn/validation-workflow/validation_errors/#custom-javascript-is-not-allowed) +feature_tests/leaks.html:139:5 Custom JavaScript is not allowed. (see https://amp.dev/documentation/guides-and-tutorials/learn/validation-workflow/validation_errors/#custom-javascript-is-not-allowed) | <script> >> ^~~~~~~~~ -feature_tests/leaks.html:155:0 Custom JavaScript is not allowed. (see https://amp.dev/documentation/guides-and-tutorials/learn/validation-workflow/validation_errors/#custom-javascript-is-not-allowed) +feature_tests/leaks.html:140:0 Custom JavaScript is not allowed. (see https://amp.dev/documentation/guides-and-tutorials/learn/validation-workflow/validation_errors/#custom-javascript-is-not-allowed) | //# sourceMappingURL=https://leaking.via/javascript-source-map | </script> | @@ -276,38 +261,38 @@ feature_tests/leaks.html:155:0 Custom JavaScript is not allowed. (see https://am | --> | <iframe src="https://leaking.via/iframe-src"></iframe> >> ^~~~~~~~~ -feature_tests/leaks.html:162:0 The tag 'iframe' may only appear as a descendant of tag 'noscript'. Did you mean 'amp-iframe'? (see https://amp.dev/documentation/components/amp-iframe/) +feature_tests/leaks.html:147:0 The tag 'iframe' may only appear as a descendant of tag 'noscript'. Did you mean 'amp-iframe'? (see https://amp.dev/documentation/components/amp-iframe/) | <iframe src="data:image/svg+xml,<svg%20xmlns='%68ttp:%2f/www.w3.org/2000/svg'%20xmlns:xlink='%68ttp:%2f/www.w3.org/1999/xlink'><image%20xlink:hr%65f='%68ttps:%2f/leaking.via/svg-via-data'></image></svg>"></iframe> >> ^~~~~~~~~ -feature_tests/leaks.html:163:0 The tag 'iframe' may only appear as a descendant of tag 'noscript'. Did you mean 'amp-iframe'? (see https://amp.dev/documentation/components/amp-iframe/) +feature_tests/leaks.html:148:0 The tag 'iframe' may only appear as a descendant of tag 'noscript'. Did you mean 'amp-iframe'? (see https://amp.dev/documentation/components/amp-iframe/) | <iframe srcdoc="<img src=https://leaking.via/iframe-srcdoc-img-src>"></iframe> >> ^~~~~~~~~ -feature_tests/leaks.html:164:0 The tag 'iframe' may only appear as a descendant of tag 'noscript'. Did you mean 'amp-iframe'? (see https://amp.dev/documentation/components/amp-iframe/) +feature_tests/leaks.html:149:0 The tag 'iframe' may only appear as a descendant of tag 'noscript'. Did you mean 'amp-iframe'? (see https://amp.dev/documentation/components/amp-iframe/) | <iframe src="view-source:https://leaking.via/iframe-src-viewsource"></iframe> >> ^~~~~~~~~ -feature_tests/leaks.html:165:0 The tag 'iframe' may only appear as a descendant of tag 'noscript'. Did you mean 'amp-iframe'? (see https://amp.dev/documentation/components/amp-iframe/) +feature_tests/leaks.html:150:0 The tag 'iframe' may only appear as a descendant of tag 'noscript'. Did you mean 'amp-iframe'? (see https://amp.dev/documentation/components/amp-iframe/) | <iframe src="javascript:'<img src=https://leaking.via/iframe-javascript-src>'"></iframe> >> ^~~~~~~~~ -feature_tests/leaks.html:166:0 The tag 'iframe' may only appear as a descendant of tag 'noscript'. Did you mean 'amp-iframe'? (see https://amp.dev/documentation/components/amp-iframe/) +feature_tests/leaks.html:151:0 The tag 'iframe' may only appear as a descendant of tag 'noscript'. Did you mean 'amp-iframe'? (see https://amp.dev/documentation/components/amp-iframe/) | <iframe src="javascript:'<iframe src="javascript:\'<img src=https://leaking.via/iframe-javascript-src-2>\'"></iframe>'"></iframe> >> ^~~~~~~~~ -feature_tests/leaks.html:167:0 The tag 'iframe' may only appear as a descendant of tag 'noscript'. Did you mean 'amp-iframe'? (see https://amp.dev/documentation/components/amp-iframe/) +feature_tests/leaks.html:152:0 The tag 'iframe' may only appear as a descendant of tag 'noscript'. Did you mean 'amp-iframe'? (see https://amp.dev/documentation/components/amp-iframe/) | <iframe src="javascript:atob('PGltZyBzcmM9Imh0dHBzOi8vbGVha2luZy52aWEvaWZyYW1lLWphdmFzY3JpcHQtc3JjLTMiPg==')"></iframe> >> ^~~~~~~~~ -feature_tests/leaks.html:168:0 The tag 'iframe' may only appear as a descendant of tag 'noscript'. Did you mean 'amp-iframe'? (see https://amp.dev/documentation/components/amp-iframe/) +feature_tests/leaks.html:153:0 The tag 'iframe' may only appear as a descendant of tag 'noscript'. Did you mean 'amp-iframe'? (see https://amp.dev/documentation/components/amp-iframe/) | | <!-- | %Menu | --> | <p contextmenu="a">Right Click</p> >> ^~~~~~~~~ -feature_tests/leaks.html:173:0 The attribute 'contextmenu' may not appear in tag 'p'. +feature_tests/leaks.html:158:0 The attribute 'contextmenu' may not appear in tag 'p'. | <menu type="context" id="a"> >> ^~~~~~~~~ -feature_tests/leaks.html:174:0 The tag 'menu' is disallowed. +feature_tests/leaks.html:159:0 The tag 'menu' is disallowed. | <menuitem label="a" icon="https://leaking.via/menuitem-icon"></menuitem> >> ^~~~~~~~~ -feature_tests/leaks.html:175:4 The tag 'menuitem' is disallowed. +feature_tests/leaks.html:160:4 The tag 'menuitem' is disallowed. | </menu> | | @@ -316,26 +301,26 @@ feature_tests/leaks.html:175:4 The tag 'menuitem' is disallowed. | --> | <applet code="Test" codebase="https://leaking.via/applet-codebase"></applet> >> ^~~~~~~~~ -feature_tests/leaks.html:182:0 The tag 'applet' is disallowed. +feature_tests/leaks.html:167:0 The tag 'applet' is disallowed. | <applet code="Test" archive="https://leaking.via/applet-archive"></applet> >> ^~~~~~~~~ -feature_tests/leaks.html:183:0 The tag 'applet' is disallowed. +feature_tests/leaks.html:168:0 The tag 'applet' is disallowed. | <applet code="Test" object="https://leaking.via/applet-object"></applet> >> ^~~~~~~~~ -feature_tests/leaks.html:184:0 The tag 'applet' is disallowed. +feature_tests/leaks.html:169:0 The tag 'applet' is disallowed. | | <svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink"> | <image xmlns:xlink="http://www.w3.org/1999/xlink"> | <animate attributeName="xlink:href" begin="0s" from="#" to="https://leaking.via/svg-image-animate" /> >> ^~~~~~~~~ -feature_tests/leaks.html:188:8 The tag 'animate' is disallowed. +feature_tests/leaks.html:173:8 The tag 'animate' is disallowed. | </image> | </svg> | | <svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink"> | <feImage xlink:href="https://leaking.via/svg-feimage" /> >> ^~~~~~~~~ -feature_tests/leaks.html:193:4 The tag 'feimage' is disallowed. +feature_tests/leaks.html:178:4 The tag 'feimage' is disallowed. | </svg> | | <!-- @@ -344,40 +329,40 @@ feature_tests/leaks.html:193:4 The tag 'feimage' is disallowed. | <?xml-stylesheet type="text/xsl" href="https://leaking.via/xslt-stylesheet" ?> | >> ^~~~~~~~~ -feature_tests/leaks.html:200:2 The tag '<?' is disallowed. +feature_tests/leaks.html:185:2 The tag '<?' is disallowed. | <!-- | %Data Islands | --> | <xml src="https://leaking.via/xml-src" id="xml"></xml> >> ^~~~~~~~~ -feature_tests/leaks.html:204:0 The tag 'xml' is disallowed. +feature_tests/leaks.html:189:0 The tag 'xml' is disallowed. | <div datasrc="#xml" datafld="$text" dataformatas="html"></div> >> ^~~~~~~~~ -feature_tests/leaks.html:205:0 The attribute 'datafld' may not appear in tag 'div'. +feature_tests/leaks.html:190:0 The attribute 'datafld' may not appear in tag 'div'. >> ^~~~~~~~~ -feature_tests/leaks.html:205:0 The attribute 'dataformatas' may not appear in tag 'div'. +feature_tests/leaks.html:190:0 The attribute 'dataformatas' may not appear in tag 'div'. >> ^~~~~~~~~ -feature_tests/leaks.html:205:0 The attribute 'datasrc' may not appear in tag 'div'. +feature_tests/leaks.html:190:0 The attribute 'datasrc' may not appear in tag 'div'. | | <!-- | %VML | --> | <line xmlns="urn:schemas-microsoft-com:vml"> >> ^~~~~~~~~ -feature_tests/leaks.html:210:0 The tag 'line' may only appear as a descendant of tag 'svg'. (see https://amp.dev/documentation/guides-and-tutorials/learn/spec/amphtml/#svg) +feature_tests/leaks.html:195:0 The tag 'line' may only appear as a descendant of tag 'svg'. (see https://amp.dev/documentation/guides-and-tutorials/learn/spec/amphtml/#svg) | <fill style="behavior:url(#default#vml)" src="https://leaking.via/vml-line-fill-src" /> >> ^~~~~~~~~ -feature_tests/leaks.html:211:4 The tag 'fill' is disallowed. +feature_tests/leaks.html:196:4 The tag 'fill' is disallowed. | <stroke style="behavior:url(#default#vml)" src="https://leaking.via/vml-line-stroke-src" /> >> ^~~~~~~~~ -feature_tests/leaks.html:212:4 The tag 'stroke' is disallowed. +feature_tests/leaks.html:197:4 The tag 'stroke' is disallowed. | <imageData style="behavior:url(#default#vml)" src="https://leaking.via/vml-line-imgdata-src" /> >> ^~~~~~~~~ -feature_tests/leaks.html:213:4 The tag 'imagedata' is disallowed. +feature_tests/leaks.html:198:4 The tag 'imagedata' is disallowed. | </line> | <vmlframe >> ^~~~~~~~~ -feature_tests/leaks.html:215:0 The tag 'vmlframe' is disallowed. +feature_tests/leaks.html:200:0 The tag 'vmlframe' is disallowed. | xmlns="urn:schemas-microsoft-com:vml" | style="behavior:url(#default#vml);position:absolute;width:100%;height:100%" | src="https://leaking.via/vmlframe-src#xss"> diff --git a/validator/testdata/feature_tests/link_meta_values.html b/validator/testdata/feature_tests/link_meta_values.html index c030189a5aa8..0e284cfa6d1a 100644 --- a/validator/testdata/feature_tests/link_meta_values.html +++ b/validator/testdata/feature_tests/link_meta_values.html @@ -1,18 +1,3 @@ -<!-- - Copyright 2015 The AMP HTML Authors. All Rights Reserved. - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS-IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the license. ---> <!doctype html> <html ⚡> <head> diff --git a/validator/testdata/feature_tests/link_meta_values.out b/validator/testdata/feature_tests/link_meta_values.out index 83196135c272..f80429ca2722 100644 --- a/validator/testdata/feature_tests/link_meta_values.out +++ b/validator/testdata/feature_tests/link_meta_values.out @@ -1,19 +1,4 @@ FAIL -| <!-- -| Copyright 2015 The AMP HTML Authors. All Rights Reserved. -| -| Licensed under the Apache License, Version 2.0 (the "License"); -| you may not use this file except in compliance with the License. -| You may obtain a copy of the License at -| -| http://www.apache.org/licenses/LICENSE-2.0 -| -| Unless required by applicable law or agreed to in writing, software -| distributed under the License is distributed on an "AS-IS" BASIS, -| WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -| See the License for the specific language governing permissions and -| limitations under the license. -| --> | <!doctype html> | <html ⚡> | <head> @@ -30,7 +15,7 @@ FAIL | <link rel="manifest" href="foo"> | <link rel="manifest foo" href="foo"> >> ^~~~~~~~~ -feature_tests/link_meta_values.html:30:2 The attribute 'rel' in tag 'link' is set to the invalid value 'manifest foo'. (see https://amp.dev/documentation/guides-and-tutorials/learn/spec/amphtml/#html-tags) +feature_tests/link_meta_values.html:15:2 The attribute 'rel' in tag 'link' is set to the invalid value 'manifest foo'. (see https://amp.dev/documentation/guides-and-tutorials/learn/spec/amphtml/#html-tags) | <link rel="preload" as="script" href="https://cdn.ampproject.org/v0.js"> | <link rel="shortcut icon" type="a" href="b" sizes="c"> | <link rel="author" href="me"> @@ -38,10 +23,10 @@ feature_tests/link_meta_values.html:30:2 The attribute 'rel' in tag 'link' is se | | <meta name="content-disposition" content="any"> >> ^~~~~~~~~ -feature_tests/link_meta_values.html:36:2 The attribute 'name' in tag 'meta' is set to the invalid value 'content-disposition'. +feature_tests/link_meta_values.html:21:2 The attribute 'name' in tag 'meta' is set to the invalid value 'content-disposition'. | <meta name=viewport content=invalid> >> ^~~~~~~~~ -feature_tests/link_meta_values.html:37:2 The property 'width' is missing from attribute 'content' in tag 'meta name=viewport'. (see https://amp.dev/documentation/guides-and-tutorials/learn/spec/amphtml/#required-markup) +feature_tests/link_meta_values.html:22:2 The property 'width' is missing from attribute 'content' in tag 'meta name=viewport'. (see https://amp.dev/documentation/guides-and-tutorials/learn/spec/amphtml/#required-markup) | <link rel="unknown" href="foo"> | | <link rel="comment cite map" href="foo"> @@ -54,7 +39,7 @@ feature_tests/link_meta_values.html:37:2 The property 'width' is missing from at | <!-- Invalid as we need some additional attributes e.g. "rel=canonical" --> | <link href="foo"> >> ^~~~~~~~~ -feature_tests/link_meta_values.html:48:2 The mandatory attribute 'rel' is missing in tag 'link'. (see https://amp.dev/documentation/guides-and-tutorials/learn/spec/amphtml/#html-tags) +feature_tests/link_meta_values.html:33:2 The mandatory attribute 'rel' is missing in tag 'link'. (see https://amp.dev/documentation/guides-and-tutorials/learn/spec/amphtml/#html-tags) | </head> | <body> | Hello, world. diff --git a/validator/testdata/feature_tests/lts_extension_without_lts_runtime.html b/validator/testdata/feature_tests/lts_extension_without_lts_runtime.html index d06ec698ec95..e31708ab42a0 100644 --- a/validator/testdata/feature_tests/lts_extension_without_lts_runtime.html +++ b/validator/testdata/feature_tests/lts_extension_without_lts_runtime.html @@ -1,18 +1,3 @@ -<!-- - Copyright 2019 The AMP HTML Authors. All Rights Reserved. - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS-IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the license. ---> <!-- Test Description: This test demonstrates that an LTS version of an extension may not be used with the standard diff --git a/validator/testdata/feature_tests/lts_extension_without_lts_runtime.out b/validator/testdata/feature_tests/lts_extension_without_lts_runtime.out index 2a0f5c4a973d..25955204cf4e 100644 --- a/validator/testdata/feature_tests/lts_extension_without_lts_runtime.out +++ b/validator/testdata/feature_tests/lts_extension_without_lts_runtime.out @@ -1,20 +1,5 @@ FAIL | <!-- -| Copyright 2019 The AMP HTML Authors. All Rights Reserved. -| -| Licensed under the Apache License, Version 2.0 (the "License"); -| you may not use this file except in compliance with the License. -| You may obtain a copy of the License at -| -| http://www.apache.org/licenses/LICENSE-2.0 -| -| Unless required by applicable law or agreed to in writing, software -| distributed under the License is distributed on an "AS-IS" BASIS, -| WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -| See the License for the specific language governing permissions and -| limitations under the license. -| --> -| <!-- | Test Description: | This test demonstrates that an LTS version of an extension may not be used with the standard | runtime. @@ -32,7 +17,7 @@ FAIL | <!-- Invalid: LTS extension is included. --> | <script async custom-element='amp-ad' src='https://cdn.ampproject.org/lts/v0/amp-ad-0.1.js'></script> >> ^~~~~~~~~ -feature_tests/lts_extension_without_lts_runtime.html:32:2 The script version for 'amp-ad' is a LTS version which mismatches with the first script on the page using the standard version. (see https://amp.dev/documentation/guides-and-tutorials/learn/spec/amphtml#required-markup) +feature_tests/lts_extension_without_lts_runtime.html:17:2 The script version for 'amp-ad' is a LTS version which mismatches with the first script on the page using the standard version. (see https://amp.dev/documentation/guides-and-tutorials/learn/spec/amphtml#required-markup) | <!-- Valid: Non-LTS extension is included and used. --> | <script async custom-element='amp-font' src='https://cdn.ampproject.org/v0/amp-font-0.1.js'></script> | </head> diff --git a/validator/testdata/feature_tests/lts_runtime_after_extension.html b/validator/testdata/feature_tests/lts_runtime_after_extension.html index 86595ca13c6f..ccf7f7552ec8 100644 --- a/validator/testdata/feature_tests/lts_runtime_after_extension.html +++ b/validator/testdata/feature_tests/lts_runtime_after_extension.html @@ -1,18 +1,3 @@ -<!-- - Copyright 2019 The AMP HTML Authors. All Rights Reserved. - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS-IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the license. ---> <!-- Test Description: This test demonstrates that an LTS version of an extension may not be used with the standard diff --git a/validator/testdata/feature_tests/lts_runtime_after_extension.out b/validator/testdata/feature_tests/lts_runtime_after_extension.out index 4b16b00a24bc..ab3d5c051767 100644 --- a/validator/testdata/feature_tests/lts_runtime_after_extension.out +++ b/validator/testdata/feature_tests/lts_runtime_after_extension.out @@ -1,20 +1,5 @@ FAIL | <!-- -| Copyright 2019 The AMP HTML Authors. All Rights Reserved. -| -| Licensed under the Apache License, Version 2.0 (the "License"); -| you may not use this file except in compliance with the License. -| You may obtain a copy of the License at -| -| http://www.apache.org/licenses/LICENSE-2.0 -| -| Unless required by applicable law or agreed to in writing, software -| distributed under the License is distributed on an "AS-IS" BASIS, -| WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -| See the License for the specific language governing permissions and -| limitations under the license. -| --> -| <!-- | Test Description: | This test demonstrates that an LTS version of an extension may not be used with the standard | runtime when the runtime is included after the extensions. @@ -32,7 +17,7 @@ FAIL | <!-- Invalid: Non-LTS extension is included and used. Produces error. --> | <script async custom-element='amp-font' src='https://cdn.ampproject.org/v0/amp-font-0.1.js'></script> >> ^~~~~~~~~ -feature_tests/lts_runtime_after_extension.html:32:2 The script version for 'amp-font' is a standard version which mismatches with the first script on the page using the LTS version. (see https://amp.dev/documentation/guides-and-tutorials/learn/spec/amphtml#required-markup) +feature_tests/lts_runtime_after_extension.html:17:2 The script version for 'amp-font' is a standard version which mismatches with the first script on the page using the LTS version. (see https://amp.dev/documentation/guides-and-tutorials/learn/spec/amphtml#required-markup) | <!-- Valid: LTS runtime is included at the end. --> | <script async src="https://cdn.ampproject.org/lts/v0.js"></script> | </head> diff --git a/validator/testdata/feature_tests/lts_runtime_and_extensions.html b/validator/testdata/feature_tests/lts_runtime_and_extensions.html index 0d7dbd85982e..480d0c23508c 100644 --- a/validator/testdata/feature_tests/lts_runtime_and_extensions.html +++ b/validator/testdata/feature_tests/lts_runtime_and_extensions.html @@ -1,18 +1,3 @@ -<!-- - Copyright 2019 The AMP HTML Authors. All Rights Reserved. - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS-IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the license. ---> <!-- Test Description: This test demonstrates that the standard version of an extension may not be used with the LTS diff --git a/validator/testdata/feature_tests/lts_runtime_and_extensions.out b/validator/testdata/feature_tests/lts_runtime_and_extensions.out index 39a9b93329c5..51058a1e0661 100644 --- a/validator/testdata/feature_tests/lts_runtime_and_extensions.out +++ b/validator/testdata/feature_tests/lts_runtime_and_extensions.out @@ -1,20 +1,5 @@ FAIL | <!-- -| Copyright 2019 The AMP HTML Authors. All Rights Reserved. -| -| Licensed under the Apache License, Version 2.0 (the "License"); -| you may not use this file except in compliance with the License. -| You may obtain a copy of the License at -| -| http://www.apache.org/licenses/LICENSE-2.0 -| -| Unless required by applicable law or agreed to in writing, software -| distributed under the License is distributed on an "AS-IS" BASIS, -| WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -| See the License for the specific language governing permissions and -| limitations under the license. -| --> -| <!-- | Test Description: | This test demonstrates that the standard version of an extension may not be used with the LTS | runtime. @@ -32,7 +17,7 @@ FAIL | <!-- Invalid: Non-LTS extension is included. --> | <script async custom-element='amp-ad' src='https://cdn.ampproject.org/v0/amp-ad-0.1.js'></script> >> ^~~~~~~~~ -feature_tests/lts_runtime_and_extensions.html:32:2 The script version for 'amp-ad' is a standard version which mismatches with the first script on the page using the LTS version. (see https://amp.dev/documentation/guides-and-tutorials/learn/spec/amphtml#required-markup) +feature_tests/lts_runtime_and_extensions.html:17:2 The script version for 'amp-ad' is a standard version which mismatches with the first script on the page using the LTS version. (see https://amp.dev/documentation/guides-and-tutorials/learn/spec/amphtml#required-markup) | <!-- Valid: LTS extension is included and used. --> | <script async custom-element='amp-font' src='https://cdn.ampproject.org/lts/v0/amp-font-0.1.js'></script> | </head> diff --git a/validator/testdata/feature_tests/mandatory_dimensions.html b/validator/testdata/feature_tests/mandatory_dimensions.html index 4229746de0cc..592ca2b13245 100644 --- a/validator/testdata/feature_tests/mandatory_dimensions.html +++ b/validator/testdata/feature_tests/mandatory_dimensions.html @@ -1,18 +1,3 @@ -<!-- - Copyright 2015 The AMP HTML Authors. All Rights Reserved. - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS-IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the license. ---> <!-- Test Description: This test validates the complex rules around mandatory dimensions for diff --git a/validator/testdata/feature_tests/mandatory_dimensions.out b/validator/testdata/feature_tests/mandatory_dimensions.out index 98ab56357295..c44048088f7c 100644 --- a/validator/testdata/feature_tests/mandatory_dimensions.out +++ b/validator/testdata/feature_tests/mandatory_dimensions.out @@ -1,20 +1,5 @@ FAIL | <!-- -| Copyright 2015 The AMP HTML Authors. All Rights Reserved. -| -| Licensed under the Apache License, Version 2.0 (the "License"); -| you may not use this file except in compliance with the License. -| You may obtain a copy of the License at -| -| http://www.apache.org/licenses/LICENSE-2.0 -| -| Unless required by applicable law or agreed to in writing, software -| distributed under the License is distributed on an "AS-IS" BASIS, -| WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -| See the License for the specific language governing permissions and -| limitations under the license. -| --> -| <!-- | Test Description: | This test validates the complex rules around mandatory dimensions for | responsive amp custom elements. See @@ -72,18 +57,18 @@ FAIL | <!-- amp-audio/pixel/lightbox have relaxed width/heigh constraints --> | <amp-audio src="https://example.com/audio" layout="fixed" width="42"></amp-audio> >> ^~~~~~~~~ -feature_tests/mandatory_dimensions.html:72:4 The tag 'amp-audio' requires including the 'amp-audio' extension JavaScript. (see https://amp.dev/documentation/components/amp-audio/) +feature_tests/mandatory_dimensions.html:57:4 The tag 'amp-audio' requires including the 'amp-audio' extension JavaScript. (see https://amp.dev/documentation/components/amp-audio/) | <amp-audio src="https://example.com/audio" layout="fixed"></amp-audio> >> ^~~~~~~~~ -feature_tests/mandatory_dimensions.html:73:4 The tag 'amp-audio' requires including the 'amp-audio' extension JavaScript. (see https://amp.dev/documentation/components/amp-audio/) +feature_tests/mandatory_dimensions.html:58:4 The tag 'amp-audio' requires including the 'amp-audio' extension JavaScript. (see https://amp.dev/documentation/components/amp-audio/) | <amp-pixel src="https://example.com/pixel" layout="fixed" width="42"></amp-pixel> | <amp-pixel src="https://example.com/pixel" layout="fixed"></amp-pixel> | <amp-lightbox layout="nodisplay" width="42"></amp-lightbox> >> ^~~~~~~~~ -feature_tests/mandatory_dimensions.html:76:4 The tag 'amp-lightbox' requires including the 'amp-lightbox' extension JavaScript. (see https://amp.dev/documentation/components/amp-lightbox) +feature_tests/mandatory_dimensions.html:61:4 The tag 'amp-lightbox' requires including the 'amp-lightbox' extension JavaScript. (see https://amp.dev/documentation/components/amp-lightbox) | <amp-lightbox layout="nodisplay"></amp-lightbox> >> ^~~~~~~~~ -feature_tests/mandatory_dimensions.html:77:4 The tag 'amp-lightbox' requires including the 'amp-lightbox' extension JavaScript. (see https://amp.dev/documentation/components/amp-lightbox) +feature_tests/mandatory_dimensions.html:62:4 The tag 'amp-lightbox' requires including the 'amp-lightbox' extension JavaScript. (see https://amp.dev/documentation/components/amp-lightbox) | | <!-- src or srcset or both are all valid --> | <amp-img width="42" height="42" src="img"></amp-img> @@ -91,21 +76,21 @@ feature_tests/mandatory_dimensions.html:77:4 The tag 'amp-lightbox' requires inc | <amp-img width="42" height="42" src="img" srcset="img 1x, img2 2x"></amp-img> | <amp-anim width="42" height="42" src="anim"></amp-anim> >> ^~~~~~~~~ -feature_tests/mandatory_dimensions.html:83:4 The tag 'amp-anim' requires including the 'amp-anim' extension JavaScript. (see https://amp.dev/documentation/components/amp-anim/) +feature_tests/mandatory_dimensions.html:68:4 The tag 'amp-anim' requires including the 'amp-anim' extension JavaScript. (see https://amp.dev/documentation/components/amp-anim/) | <amp-anim width="42" height="42" srcset="img 1x, img2 2x"></amp-anim> >> ^~~~~~~~~ -feature_tests/mandatory_dimensions.html:84:4 The tag 'amp-anim' requires including the 'amp-anim' extension JavaScript. (see https://amp.dev/documentation/components/amp-anim/) +feature_tests/mandatory_dimensions.html:69:4 The tag 'amp-anim' requires including the 'amp-anim' extension JavaScript. (see https://amp.dev/documentation/components/amp-anim/) | <amp-anim width="42" height="42" src="anim" srcset="img 1x, img2 2x"></amp-anim> >> ^~~~~~~~~ -feature_tests/mandatory_dimensions.html:85:4 The tag 'amp-anim' requires including the 'amp-anim' extension JavaScript. (see https://amp.dev/documentation/components/amp-anim/) +feature_tests/mandatory_dimensions.html:70:4 The tag 'amp-anim' requires including the 'amp-anim' extension JavaScript. (see https://amp.dev/documentation/components/amp-anim/) | | <!-- src optional --> | <amp-audio src="https://example.com/audio"></amp-audio> >> ^~~~~~~~~ -feature_tests/mandatory_dimensions.html:88:4 The tag 'amp-audio' requires including the 'amp-audio' extension JavaScript. (see https://amp.dev/documentation/components/amp-audio/) +feature_tests/mandatory_dimensions.html:73:4 The tag 'amp-audio' requires including the 'amp-audio' extension JavaScript. (see https://amp.dev/documentation/components/amp-audio/) | <amp-audio></amp-audio> >> ^~~~~~~~~ -feature_tests/mandatory_dimensions.html:89:4 The tag 'amp-audio' requires including the 'amp-audio' extension JavaScript. (see https://amp.dev/documentation/components/amp-audio/) +feature_tests/mandatory_dimensions.html:74:4 The tag 'amp-audio' requires including the 'amp-audio' extension JavaScript. (see https://amp.dev/documentation/components/amp-audio/) | <amp-video width="42" height="42" src="https://example.com/video"></amp-video> | <amp-video width="42" height="42"></amp-video> | <amp-ad width="42" height="42" type="" src="https://example.com/ad"></amp-ad> @@ -114,139 +99,139 @@ feature_tests/mandatory_dimensions.html:89:4 The tag 'amp-audio' requires includ | <!-- src or srcdoc required --> | <amp-iframe width="42" height="42" src="https://example.com/iframe"></amp-iframe> >> ^~~~~~~~~ -feature_tests/mandatory_dimensions.html:96:4 The tag 'amp-iframe' requires including the 'amp-iframe' extension JavaScript. (see https://amp.dev/documentation/components/amp-iframe) +feature_tests/mandatory_dimensions.html:81:4 The tag 'amp-iframe' requires including the 'amp-iframe' extension JavaScript. (see https://amp.dev/documentation/components/amp-iframe) | <amp-iframe width="42" height="42" srcdoc="<p>Hello, world!</p>"></amp-iframe> >> ^~~~~~~~~ -feature_tests/mandatory_dimensions.html:97:4 The tag 'amp-iframe' requires including the 'amp-iframe' extension JavaScript. (see https://amp.dev/documentation/components/amp-iframe) +feature_tests/mandatory_dimensions.html:82:4 The tag 'amp-iframe' requires including the 'amp-iframe' extension JavaScript. (see https://amp.dev/documentation/components/amp-iframe) | <amp-pixel src="https://example.com/pixel"></amp-pixel> | | <!-- disallow a src or srcset --> | <amp-fit-text height="42"></amp-fit-text> >> ^~~~~~~~~ -feature_tests/mandatory_dimensions.html:101:4 The tag 'amp-fit-text' requires including the 'amp-fit-text' extension JavaScript. (see https://amp.dev/documentation/components/amp-fit-text) +feature_tests/mandatory_dimensions.html:86:4 The tag 'amp-fit-text' requires including the 'amp-fit-text' extension JavaScript. (see https://amp.dev/documentation/components/amp-fit-text) | <amp-carousel height="42"></amp-carousel> >> ^~~~~~~~~ -feature_tests/mandatory_dimensions.html:102:4 The tag 'amp-carousel' requires including the 'amp-carousel' extension JavaScript. (see https://amp.dev/documentation/components/amp-carousel/) +feature_tests/mandatory_dimensions.html:87:4 The tag 'amp-carousel' requires including the 'amp-carousel' extension JavaScript. (see https://amp.dev/documentation/components/amp-carousel/) | <amp-youtube data-videoid="dQw4w9WgXcQ" height="42"></amp-youtube> >> ^~~~~~~~~ -feature_tests/mandatory_dimensions.html:103:4 The tag 'amp-youtube' requires including the 'amp-youtube' extension JavaScript. (see https://amp.dev/documentation/components/amp-youtube) +feature_tests/mandatory_dimensions.html:88:4 The tag 'amp-youtube' requires including the 'amp-youtube' extension JavaScript. (see https://amp.dev/documentation/components/amp-youtube) | <amp-twitter data-tweetid="" height="42"></amp-twitter> >> ^~~~~~~~~ -feature_tests/mandatory_dimensions.html:104:4 The tag 'amp-twitter' requires including the 'amp-twitter' extension JavaScript. (see https://amp.dev/documentation/components/amp-twitter) +feature_tests/mandatory_dimensions.html:89:4 The tag 'amp-twitter' requires including the 'amp-twitter' extension JavaScript. (see https://amp.dev/documentation/components/amp-twitter) | <amp-instagram data-shortcode="" height="42"></amp-instagram> >> ^~~~~~~~~ -feature_tests/mandatory_dimensions.html:105:4 The tag 'amp-instagram' requires including the 'amp-instagram' extension JavaScript. (see https://amp.dev/documentation/components/amp-instagram) +feature_tests/mandatory_dimensions.html:90:4 The tag 'amp-instagram' requires including the 'amp-instagram' extension JavaScript. (see https://amp.dev/documentation/components/amp-instagram) | <amp-lightbox layout="nodisplay"></amp-lightbox> >> ^~~~~~~~~ -feature_tests/mandatory_dimensions.html:106:4 The tag 'amp-lightbox' requires including the 'amp-lightbox' extension JavaScript. (see https://amp.dev/documentation/components/amp-lightbox) +feature_tests/mandatory_dimensions.html:91:4 The tag 'amp-lightbox' requires including the 'amp-lightbox' extension JavaScript. (see https://amp.dev/documentation/components/amp-lightbox) | <!-- /Valid Examples --> | | <!-- Invalid Examples --> | <!-- Container layout isn't supported by amp-img. --> | <amp-img src="img" layout="container"> >> ^~~~~~~~~ -feature_tests/mandatory_dimensions.html:111:4 The specified layout 'CONTAINER' is not supported by tag 'amp-img'. (see https://amp.dev/documentation/components/amp-img/) +feature_tests/mandatory_dimensions.html:96:4 The specified layout 'CONTAINER' is not supported by tag 'amp-img'. (see https://amp.dev/documentation/components/amp-img/) | <amp-img src="img" layout="container" width="42" height="42"> >> ^~~~~~~~~ -feature_tests/mandatory_dimensions.html:112:4 The specified layout 'CONTAINER' is not supported by tag 'amp-img'. (see https://amp.dev/documentation/components/amp-img/) +feature_tests/mandatory_dimensions.html:97:4 The specified layout 'CONTAINER' is not supported by tag 'amp-img'. (see https://amp.dev/documentation/components/amp-img/) | <amp-img src="img"> >> ^~~~~~~~~ -feature_tests/mandatory_dimensions.html:113:4 Incomplete layout attributes specified for tag 'amp-img'. For example, provide attributes 'width' and 'height'. (see https://amp.dev/documentation/components/amp-img/) +feature_tests/mandatory_dimensions.html:98:4 Incomplete layout attributes specified for tag 'amp-img'. For example, provide attributes 'width' and 'height'. (see https://amp.dev/documentation/components/amp-img/) | | <!-- Layout of responsive/fixed without width/height --> | <amp-img src="img" layout="responsive"> >> ^~~~~~~~~ -feature_tests/mandatory_dimensions.html:116:4 The mandatory attribute 'height' is missing in tag 'amp-img'. (see https://amp.dev/documentation/components/amp-img/) +feature_tests/mandatory_dimensions.html:101:4 The mandatory attribute 'height' is missing in tag 'amp-img'. (see https://amp.dev/documentation/components/amp-img/) | <amp-img src="img" layout="fixed"> >> ^~~~~~~~~ -feature_tests/mandatory_dimensions.html:117:4 The mandatory attribute 'height' is missing in tag 'amp-img'. (see https://amp.dev/documentation/components/amp-img/) +feature_tests/mandatory_dimensions.html:102:4 The mandatory attribute 'height' is missing in tag 'amp-img'. (see https://amp.dev/documentation/components/amp-img/) | <amp-img src="img" layout="responsive" width="42"> >> ^~~~~~~~~ -feature_tests/mandatory_dimensions.html:118:4 The mandatory attribute 'height' is missing in tag 'amp-img'. (see https://amp.dev/documentation/components/amp-img/) +feature_tests/mandatory_dimensions.html:103:4 The mandatory attribute 'height' is missing in tag 'amp-img'. (see https://amp.dev/documentation/components/amp-img/) | <amp-img src="img" layout="fixed" height="42"> >> ^~~~~~~~~ -feature_tests/mandatory_dimensions.html:119:4 The mandatory attribute 'width' is missing in tag 'amp-img'. (see https://amp.dev/documentation/components/amp-img/) +feature_tests/mandatory_dimensions.html:104:4 The mandatory attribute 'width' is missing in tag 'amp-img'. (see https://amp.dev/documentation/components/amp-img/) | <amp-img src="img" layout="fixed" height="auto"> >> ^~~~~~~~~ -feature_tests/mandatory_dimensions.html:120:4 The attribute 'height' in tag 'amp-img' is set to the invalid value 'auto'. (see https://amp.dev/documentation/components/amp-img/) +feature_tests/mandatory_dimensions.html:105:4 The attribute 'height' in tag 'amp-img' is set to the invalid value 'auto'. (see https://amp.dev/documentation/components/amp-img/) | <amp-img src="img" layout="fixed" width="auto" height="42"> >> ^~~~~~~~~ -feature_tests/mandatory_dimensions.html:121:4 The attribute 'width' in tag 'amp-img' is set to the invalid value 'auto'. (see https://amp.dev/documentation/components/amp-img/) +feature_tests/mandatory_dimensions.html:106:4 The attribute 'width' in tag 'amp-img' is set to the invalid value 'auto'. (see https://amp.dev/documentation/components/amp-img/) | | <!-- Inconsistent units --> | <amp-img src="img" layout="responsive" width="42px" height="42rem"> >> ^~~~~~~~~ -feature_tests/mandatory_dimensions.html:124:4 Inconsistent units for width and height in tag 'amp-img' - width is specified in 'px' whereas height is specified in 'rem'. (see https://amp.dev/documentation/components/amp-img/) +feature_tests/mandatory_dimensions.html:109:4 Inconsistent units for width and height in tag 'amp-img' - width is specified in 'px' whereas height is specified in 'rem'. (see https://amp.dev/documentation/components/amp-img/) | | <!-- src or srcset or both are all valid --> | <amp-img width="42" height="42"></amp-img> >> ^~~~~~~~~ -feature_tests/mandatory_dimensions.html:127:4 The mandatory attribute 'src' is missing in tag 'amp-img'. (see https://amp.dev/documentation/components/amp-img/) +feature_tests/mandatory_dimensions.html:112:4 The mandatory attribute 'src' is missing in tag 'amp-img'. (see https://amp.dev/documentation/components/amp-img/) | <amp-anim width="42" height="42"></amp-anim> >> ^~~~~~~~~ -feature_tests/mandatory_dimensions.html:128:4 The mandatory attribute 'src' is missing in tag 'amp-anim'. (see https://amp.dev/documentation/components/amp-anim/) +feature_tests/mandatory_dimensions.html:113:4 The mandatory attribute 'src' is missing in tag 'amp-anim'. (see https://amp.dev/documentation/components/amp-anim/) >> ^~~~~~~~~ -feature_tests/mandatory_dimensions.html:128:4 The tag 'amp-anim' requires including the 'amp-anim' extension JavaScript. (see https://amp.dev/documentation/components/amp-anim/) +feature_tests/mandatory_dimensions.html:113:4 The tag 'amp-anim' requires including the 'amp-anim' extension JavaScript. (see https://amp.dev/documentation/components/amp-anim/) | | <!-- src optional --> | <amp-audio srcset="img 1x, img2 2x"></amp-audio> >> ^~~~~~~~~ -feature_tests/mandatory_dimensions.html:131:4 The attribute 'srcset' may not appear in tag 'amp-audio'. (see https://amp.dev/documentation/components/amp-audio/) +feature_tests/mandatory_dimensions.html:116:4 The attribute 'srcset' may not appear in tag 'amp-audio'. (see https://amp.dev/documentation/components/amp-audio/) >> ^~~~~~~~~ -feature_tests/mandatory_dimensions.html:131:4 The tag 'amp-audio' requires including the 'amp-audio' extension JavaScript. (see https://amp.dev/documentation/components/amp-audio/) +feature_tests/mandatory_dimensions.html:116:4 The tag 'amp-audio' requires including the 'amp-audio' extension JavaScript. (see https://amp.dev/documentation/components/amp-audio/) | <amp-ad height="42" type="" srcset="img 1x, img2 2x"></amp-ad> >> ^~~~~~~~~ -feature_tests/mandatory_dimensions.html:132:4 The attribute 'srcset' may not appear in tag 'amp-ad'. (see https://amp.dev/documentation/components/amp-ad/) +feature_tests/mandatory_dimensions.html:117:4 The attribute 'srcset' may not appear in tag 'amp-ad'. (see https://amp.dev/documentation/components/amp-ad/) | | <!-- src or srcdoc required --> | <amp-iframe height="42"></amp-iframe> >> ^~~~~~~~~ -feature_tests/mandatory_dimensions.html:135:4 The tag 'amp-iframe' is missing a mandatory attribute - pick one of ['src', 'srcdoc']. (see https://amp.dev/documentation/components/amp-iframe) +feature_tests/mandatory_dimensions.html:120:4 The tag 'amp-iframe' is missing a mandatory attribute - pick one of ['src', 'srcdoc']. (see https://amp.dev/documentation/components/amp-iframe) >> ^~~~~~~~~ -feature_tests/mandatory_dimensions.html:135:4 The tag 'amp-iframe' requires including the 'amp-iframe' extension JavaScript. (see https://amp.dev/documentation/components/amp-iframe) +feature_tests/mandatory_dimensions.html:120:4 The tag 'amp-iframe' requires including the 'amp-iframe' extension JavaScript. (see https://amp.dev/documentation/components/amp-iframe) | <amp-pixel></amp-pixel> >> ^~~~~~~~~ -feature_tests/mandatory_dimensions.html:136:4 The mandatory attribute 'src' is missing in tag 'amp-pixel'. (see https://amp.dev/documentation/components/amp-pixel/) +feature_tests/mandatory_dimensions.html:121:4 The mandatory attribute 'src' is missing in tag 'amp-pixel'. (see https://amp.dev/documentation/components/amp-pixel/) | | <!-- disallow a src or srcset --> | <amp-fit-text height="42" src="fit-text"></amp-fit-text> >> ^~~~~~~~~ -feature_tests/mandatory_dimensions.html:139:4 The attribute 'src' may not appear in tag 'amp-fit-text'. (see https://amp.dev/documentation/components/amp-fit-text) +feature_tests/mandatory_dimensions.html:124:4 The attribute 'src' may not appear in tag 'amp-fit-text'. (see https://amp.dev/documentation/components/amp-fit-text) >> ^~~~~~~~~ -feature_tests/mandatory_dimensions.html:139:4 The tag 'amp-fit-text' requires including the 'amp-fit-text' extension JavaScript. (see https://amp.dev/documentation/components/amp-fit-text) +feature_tests/mandatory_dimensions.html:124:4 The tag 'amp-fit-text' requires including the 'amp-fit-text' extension JavaScript. (see https://amp.dev/documentation/components/amp-fit-text) | <amp-carousel height="42" src="carousel"></amp-carousel> >> ^~~~~~~~~ -feature_tests/mandatory_dimensions.html:140:4 The attribute 'src' may not appear in tag 'amp-carousel'. (see https://amp.dev/documentation/components/amp-carousel/) +feature_tests/mandatory_dimensions.html:125:4 The attribute 'src' may not appear in tag 'amp-carousel'. (see https://amp.dev/documentation/components/amp-carousel/) >> ^~~~~~~~~ -feature_tests/mandatory_dimensions.html:140:4 The tag 'amp-carousel' requires including the 'amp-carousel' extension JavaScript. (see https://amp.dev/documentation/components/amp-carousel/) +feature_tests/mandatory_dimensions.html:125:4 The tag 'amp-carousel' requires including the 'amp-carousel' extension JavaScript. (see https://amp.dev/documentation/components/amp-carousel/) | <amp-youtube height="42" data-videoid="dQw4w9WgXcQ" srcset="img 1x, img2 2x"></amp-youtube> >> ^~~~~~~~~ -feature_tests/mandatory_dimensions.html:141:4 The attribute 'srcset' may not appear in tag 'amp-youtube'. (see https://amp.dev/documentation/components/amp-youtube) +feature_tests/mandatory_dimensions.html:126:4 The attribute 'srcset' may not appear in tag 'amp-youtube'. (see https://amp.dev/documentation/components/amp-youtube) >> ^~~~~~~~~ -feature_tests/mandatory_dimensions.html:141:4 The tag 'amp-youtube' requires including the 'amp-youtube' extension JavaScript. (see https://amp.dev/documentation/components/amp-youtube) +feature_tests/mandatory_dimensions.html:126:4 The tag 'amp-youtube' requires including the 'amp-youtube' extension JavaScript. (see https://amp.dev/documentation/components/amp-youtube) | <amp-twitter height="42" data-tweetid="" srcset="img 1x, img2 2x"></amp-twitter> >> ^~~~~~~~~ -feature_tests/mandatory_dimensions.html:142:4 The attribute 'srcset' may not appear in tag 'amp-twitter'. (see https://amp.dev/documentation/components/amp-twitter) +feature_tests/mandatory_dimensions.html:127:4 The attribute 'srcset' may not appear in tag 'amp-twitter'. (see https://amp.dev/documentation/components/amp-twitter) >> ^~~~~~~~~ -feature_tests/mandatory_dimensions.html:142:4 The tag 'amp-twitter' requires including the 'amp-twitter' extension JavaScript. (see https://amp.dev/documentation/components/amp-twitter) +feature_tests/mandatory_dimensions.html:127:4 The tag 'amp-twitter' requires including the 'amp-twitter' extension JavaScript. (see https://amp.dev/documentation/components/amp-twitter) | <amp-instagram height="42" data-shortcode="" srcset="img 1x, img2 2x"></amp-instagram> >> ^~~~~~~~~ -feature_tests/mandatory_dimensions.html:143:4 The attribute 'srcset' may not appear in tag 'amp-instagram'. (see https://amp.dev/documentation/components/amp-instagram) +feature_tests/mandatory_dimensions.html:128:4 The attribute 'srcset' may not appear in tag 'amp-instagram'. (see https://amp.dev/documentation/components/amp-instagram) >> ^~~~~~~~~ -feature_tests/mandatory_dimensions.html:143:4 The tag 'amp-instagram' requires including the 'amp-instagram' extension JavaScript. (see https://amp.dev/documentation/components/amp-instagram) +feature_tests/mandatory_dimensions.html:128:4 The tag 'amp-instagram' requires including the 'amp-instagram' extension JavaScript. (see https://amp.dev/documentation/components/amp-instagram) | <amp-lightbox layout="nodisplay" src="lightbox"></amp-lightbox> >> ^~~~~~~~~ -feature_tests/mandatory_dimensions.html:144:4 The attribute 'src' may not appear in tag 'amp-lightbox'. (see https://amp.dev/documentation/components/amp-lightbox) +feature_tests/mandatory_dimensions.html:129:4 The attribute 'src' may not appear in tag 'amp-lightbox'. (see https://amp.dev/documentation/components/amp-lightbox) >> ^~~~~~~~~ -feature_tests/mandatory_dimensions.html:144:4 The tag 'amp-lightbox' requires including the 'amp-lightbox' extension JavaScript. (see https://amp.dev/documentation/components/amp-lightbox) +feature_tests/mandatory_dimensions.html:129:4 The tag 'amp-lightbox' requires including the 'amp-lightbox' extension JavaScript. (see https://amp.dev/documentation/components/amp-lightbox) | | <!-- Not-allowlisted attributes --> | <amp-img height="42" src="img" foo="bar"></amp-img> >> ^~~~~~~~~ -feature_tests/mandatory_dimensions.html:147:4 The attribute 'foo' may not appear in tag 'amp-img'. (see https://amp.dev/documentation/components/amp-img/) +feature_tests/mandatory_dimensions.html:132:4 The attribute 'foo' may not appear in tag 'amp-img'. (see https://amp.dev/documentation/components/amp-img/) | <!-- /Invalid Examples --> | | </body> | </html> >> ^~~~~~~~~ -feature_tests/mandatory_dimensions.html:151:6 The tag 'amp-ad extension script' is missing or incorrect, but required by 'amp-ad'. This will soon be an error. (see https://amp.dev/documentation/components/amp-ad/) +feature_tests/mandatory_dimensions.html:136:6 The tag 'amp-ad extension script' is missing or incorrect, but required by 'amp-ad'. This will soon be an error. (see https://amp.dev/documentation/components/amp-ad/) diff --git a/validator/testdata/feature_tests/manufactured_body.html b/validator/testdata/feature_tests/manufactured_body.html index 96dad00cc35d..30e5cc46c019 100644 --- a/validator/testdata/feature_tests/manufactured_body.html +++ b/validator/testdata/feature_tests/manufactured_body.html @@ -1,18 +1,3 @@ -<!-- - Copyright 2019 The AMP HTML Authors. All Rights Reserved. - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS-IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the license. ---> <!-- Test Description: This test shows what happens if elements allowed only in the body are placed diff --git a/validator/testdata/feature_tests/manufactured_body.out b/validator/testdata/feature_tests/manufactured_body.out index 30987f739739..2932da0a5e29 100644 --- a/validator/testdata/feature_tests/manufactured_body.out +++ b/validator/testdata/feature_tests/manufactured_body.out @@ -1,20 +1,5 @@ FAIL | <!-- -| Copyright 2019 The AMP HTML Authors. All Rights Reserved. -| -| Licensed under the Apache License, Version 2.0 (the "License"); -| you may not use this file except in compliance with the License. -| You may obtain a copy of the License at -| -| http://www.apache.org/licenses/LICENSE-2.0 -| -| Unless required by applicable law or agreed to in writing, software -| distributed under the License is distributed on an "AS-IS" BASIS, -| WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -| See the License for the specific language governing permissions and -| limitations under the license. -| --> -| <!-- | Test Description: | This test shows what happens if elements allowed only in the body are placed | before the body tag. @@ -32,5 +17,5 @@ FAIL | </head> | <amp-analytics></amp-analytics> >> ^~~~~~~~~ -feature_tests/manufactured_body.html:32:0 Tag or text which is only allowed inside the body section found outside of the body section. +feature_tests/manufactured_body.html:17:0 Tag or text which is only allowed inside the body section found outside of the body section. | </html> diff --git a/validator/testdata/feature_tests/manufactured_body_whitespace.html b/validator/testdata/feature_tests/manufactured_body_whitespace.html index b68f0540c1ca..137833f38698 100644 --- a/validator/testdata/feature_tests/manufactured_body_whitespace.html +++ b/validator/testdata/feature_tests/manufactured_body_whitespace.html @@ -1,18 +1,3 @@ -<!-- - Copyright 2019 The AMP HTML Authors. All Rights Reserved. - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS-IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the license. ---> <!-- Test Description: This contains a U+3000 IDEOGRAPHIC SPACE in the <head> element (before the diff --git a/validator/testdata/feature_tests/manufactured_body_whitespace.out b/validator/testdata/feature_tests/manufactured_body_whitespace.out index ee4dc9c51827..3da8fd13f1c8 100644 --- a/validator/testdata/feature_tests/manufactured_body_whitespace.out +++ b/validator/testdata/feature_tests/manufactured_body_whitespace.out @@ -1,20 +1,5 @@ FAIL | <!-- -| Copyright 2019 The AMP HTML Authors. All Rights Reserved. -| -| Licensed under the Apache License, Version 2.0 (the "License"); -| you may not use this file except in compliance with the License. -| You may obtain a copy of the License at -| -| http://www.apache.org/licenses/LICENSE-2.0 -| -| Unless required by applicable law or agreed to in writing, software -| distributed under the License is distributed on an "AS-IS" BASIS, -| WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -| See the License for the specific language governing permissions and -| limitations under the license. -| --> -| <!-- | Test Description: | This contains a U+3000 IDEOGRAPHIC SPACE in the <head> element (before the | <meta name="viewport">), which causes an implicit <body> tag to be @@ -26,7 +11,7 @@ FAIL | <meta charset="utf-8"> | <link rel="canonical" href="./regular-html-version.html"> >> ^~~~~~~~~ -feature_tests/manufactured_body_whitespace.html:26:59 Tag or text which is only allowed inside the body section found outside of the body section. +feature_tests/manufactured_body_whitespace.html:11:59 Tag or text which is only allowed inside the body section found outside of the body section. | <meta name="viewport" content="width=device-width"> | <style amp-boilerplate>body{-webkit-animation:-amp-start 8s steps(1,end) 0s 1 normal both;-moz-animation:-amp-start 8s steps(1,end) 0s 1 normal both;-ms-animation:-amp-start 8s steps(1,end) 0s 1 normal both;animation:-amp-start 8s steps(1,end) 0s 1 normal both}@-webkit-keyframes -amp-start{from{visibility:hidden}to{visibility:visible}}@-moz-keyframes -amp-start{from{visibility:hidden}to{visibility:visible}}@-ms-keyframes -amp-start{from{visibility:hidden}to{visibility:visible}}@-o-keyframes -amp-start{from{visibility:hidden}to{visibility:visible}}@keyframes -amp-start{from{visibility:hidden}to{visibility:visible}}</style><noscript><style amp-boilerplate>body{-webkit-animation:none;-moz-animation:none;-ms-animation:none;animation:none}</style></noscript> | <script async src="https://cdn.ampproject.org/v0.js"></script> @@ -34,4 +19,4 @@ feature_tests/manufactured_body_whitespace.html:26:59 Tag or text which is only | <body> | Hello, world. | </body> -| </html> +| </html> \ No newline at end of file diff --git a/validator/testdata/feature_tests/manufactured_body_whitespace.out.cpponly b/validator/testdata/feature_tests/manufactured_body_whitespace.out.cpponly index 875e7064464e..a30c6f6a6c20 100644 --- a/validator/testdata/feature_tests/manufactured_body_whitespace.out.cpponly +++ b/validator/testdata/feature_tests/manufactured_body_whitespace.out.cpponly @@ -1,20 +1,5 @@ FAIL | <!-- -| Copyright 2019 The AMP HTML Authors. All Rights Reserved. -| -| Licensed under the Apache License, Version 2.0 (the "License"); -| you may not use this file except in compliance with the License. -| You may obtain a copy of the License at -| -| http://www.apache.org/licenses/LICENSE-2.0 -| -| Unless required by applicable law or agreed to in writing, software -| distributed under the License is distributed on an "AS-IS" BASIS, -| WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -| See the License for the specific language governing permissions and -| limitations under the license. -| --> -| <!-- | Test Description: | This contains a U+3000 IDEOGRAPHIC SPACE in the <head> element (before the | <meta name="viewport">), which causes an implicit <body> tag to be @@ -26,24 +11,24 @@ FAIL | <meta charset="utf-8"> | <link rel="canonical" href="./regular-html-version.html"> >> ^~~~~~~~~ -feature_tests/manufactured_body_whitespace.html:26:57 Tag or text which is only allowed inside the body section found outside of the body section. +feature_tests/manufactured_body_whitespace.html:11:57 Tag or text which is only allowed inside the body section found outside of the body section. | <meta name="viewport" content="width=device-width"> >> ^~~~~~~~~ -feature_tests/manufactured_body_whitespace.html:27:1 The parent tag of tag 'meta name=viewport' is 'body', but it can only be 'head'. (see https://amp.dev/documentation/guides-and-tutorials/learn/spec/amphtml/#required-markup) +feature_tests/manufactured_body_whitespace.html:12:1 The parent tag of tag 'meta name=viewport' is 'body', but it can only be 'head'. (see https://amp.dev/documentation/guides-and-tutorials/learn/spec/amphtml/#required-markup) | <style amp-boilerplate>body{-webkit-animation:-amp-start 8s steps(1,end) 0s 1 normal both;-moz-animation:-amp-start 8s steps(1,end) 0s 1 normal both;-ms-animation:-amp-start 8s steps(1,end) 0s 1 normal both;animation:-amp-start 8s steps(1,end) 0s 1 normal both}@-webkit-keyframes -amp-start{from{visibility:hidden}to{visibility:visible}}@-moz-keyframes -amp-start{from{visibility:hidden}to{visibility:visible}}@-ms-keyframes -amp-start{from{visibility:hidden}to{visibility:visible}}@-o-keyframes -amp-start{from{visibility:hidden}to{visibility:visible}}@keyframes -amp-start{from{visibility:hidden}to{visibility:visible}}</style><noscript><style amp-boilerplate>body{-webkit-animation:none;-moz-animation:none;-ms-animation:none;animation:none}</style></noscript> >> ^~~~~~~~~ -feature_tests/manufactured_body_whitespace.html:28:2 The parent tag of tag 'style amp-custom' is 'body', but it can only be 'head'. (see https://amp.dev/documentation/guides-and-tutorials/learn/spec/amphtml/#stylesheets) +feature_tests/manufactured_body_whitespace.html:13:2 The parent tag of tag 'style amp-custom' is 'body', but it can only be 'head'. (see https://amp.dev/documentation/guides-and-tutorials/learn/spec/amphtml/#stylesheets) >> ^~~~~~~~~ -feature_tests/manufactured_body_whitespace.html:28:641 The tag 'noscript > style[amp-boilerplate]' may only appear as a descendant of tag 'head'. (see https://amp.dev/documentation/guides-and-tutorials/learn/spec/amp-boilerplate/?format=websites) +feature_tests/manufactured_body_whitespace.html:13:641 The tag 'noscript > style[amp-boilerplate]' may only appear as a descendant of tag 'head'. (see https://amp.dev/documentation/guides-and-tutorials/learn/spec/amp-boilerplate/?format=websites) | <script async src="https://cdn.ampproject.org/v0.js"></script> >> ^~~~~~~~~ -feature_tests/manufactured_body_whitespace.html:29:2 The parent tag of tag 'amphtml engine script' is 'body', but it can only be 'head'. (see https://amp.dev/documentation/guides-and-tutorials/learn/spec/amphtml/#required-markup) +feature_tests/manufactured_body_whitespace.html:14:2 The parent tag of tag 'amphtml engine script' is 'body', but it can only be 'head'. (see https://amp.dev/documentation/guides-and-tutorials/learn/spec/amphtml/#required-markup) | </head> | <body> | Hello, world. | </body> | </html> >> ^~~~~~~~~ -feature_tests/manufactured_body_whitespace.html:34:6 The mandatory tag 'noscript enclosure for boilerplate' is missing or incorrect. (see https://amp.dev/documentation/guides-and-tutorials/learn/spec/amp-boilerplate/?format=websites) +feature_tests/manufactured_body_whitespace.html:19:6 The mandatory tag 'noscript enclosure for boilerplate' is missing or incorrect. (see https://amp.dev/documentation/guides-and-tutorials/learn/spec/amp-boilerplate/?format=websites) >> ^~~~~~~~~ -feature_tests/manufactured_body_whitespace.html:34:6 The mandatory tag 'head > style[amp-boilerplate]' is missing or incorrect. (see https://amp.dev/documentation/guides-and-tutorials/learn/spec/amp-boilerplate/?format=websites) +feature_tests/manufactured_body_whitespace.html:19:6 The mandatory tag 'head > style[amp-boilerplate]' is missing or incorrect. (see https://amp.dev/documentation/guides-and-tutorials/learn/spec/amp-boilerplate/?format=websites) diff --git a/validator/testdata/feature_tests/mask-icon.html b/validator/testdata/feature_tests/mask-icon.html index ccdb63917e6c..515ba8793cf6 100644 --- a/validator/testdata/feature_tests/mask-icon.html +++ b/validator/testdata/feature_tests/mask-icon.html @@ -1,18 +1,3 @@ -<!-- - Copyright 2015 The AMP HTML Authors. All Rights Reserved. - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS-IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the license. ---> <!-- Test Description: Test for `link rel="mask-icon` tagsepc, due to the non-standard color attr. diff --git a/validator/testdata/feature_tests/mask-icon.out b/validator/testdata/feature_tests/mask-icon.out index d633b12fc2de..c1c05383221d 100644 --- a/validator/testdata/feature_tests/mask-icon.out +++ b/validator/testdata/feature_tests/mask-icon.out @@ -1,20 +1,5 @@ PASS | <!-- -| Copyright 2015 The AMP HTML Authors. All Rights Reserved. -| -| Licensed under the Apache License, Version 2.0 (the "License"); -| you may not use this file except in compliance with the License. -| You may obtain a copy of the License at -| -| http://www.apache.org/licenses/LICENSE-2.0 -| -| Unless required by applicable law or agreed to in writing, software -| distributed under the License is distributed on an "AS-IS" BASIS, -| WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -| See the License for the specific language governing permissions and -| limitations under the license. -| --> -| <!-- | Test Description: | Test for `link rel="mask-icon` tagsepc, due to the non-standard color attr. | --> diff --git a/validator/testdata/feature_tests/media_queries.html b/validator/testdata/feature_tests/media_queries.html index e9e12fd66bea..9d4360ab36af 100644 --- a/validator/testdata/feature_tests/media_queries.html +++ b/validator/testdata/feature_tests/media_queries.html @@ -1,18 +1,3 @@ -<!-- - Copyright 2018 The AMP HTML Authors. All Rights Reserved. - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS-IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the license. ---> <!-- Test Description: Tests several invalid media queries in the custom CSS style. diff --git a/validator/testdata/feature_tests/media_queries.out b/validator/testdata/feature_tests/media_queries.out index 58de1e701a58..84b5b080ff64 100644 --- a/validator/testdata/feature_tests/media_queries.out +++ b/validator/testdata/feature_tests/media_queries.out @@ -1,20 +1,5 @@ PASS | <!-- -| Copyright 2018 The AMP HTML Authors. All Rights Reserved. -| -| Licensed under the Apache License, Version 2.0 (the "License"); -| you may not use this file except in compliance with the License. -| You may obtain a copy of the License at -| -| http://www.apache.org/licenses/LICENSE-2.0 -| -| Unless required by applicable law or agreed to in writing, software -| distributed under the License is distributed on an "AS-IS" BASIS, -| WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -| See the License for the specific language governing permissions and -| limitations under the license. -| --> -| <!-- | Test Description: | Tests several invalid media queries in the custom CSS style. | --> @@ -30,11 +15,11 @@ PASS | /* Invalid media type */ | @media holodeck {} >> ^~~~~~~~~ -feature_tests/media_queries.html:30:9 CSS syntax error in tag 'style amp-custom' - disallowed media type 'holodeck'. +feature_tests/media_queries.html:15:9 CSS syntax error in tag 'style amp-custom' - disallowed media type 'holodeck'. | /* Valid and Invalid media type */ | @media screen, holodeck {} >> ^~~~~~~~~ -feature_tests/media_queries.html:32:17 CSS syntax error in tag 'style amp-custom' - disallowed media type 'holodeck'. +feature_tests/media_queries.html:17:17 CSS syntax error in tag 'style amp-custom' - disallowed media type 'holodeck'. | /* Valid variants of pixel-ratio feature */ | @media (-webkit-min-device-pixel-ratio:1.5) {} | @media (min-device-pixel-ratio:1.5) {} @@ -42,23 +27,23 @@ feature_tests/media_queries.html:32:17 CSS syntax error in tag 'style amp-custom | /* Invalid variants of pixel-ratio */ | @media (min-webkit-device-pixel-ratio:1.5) {} >> ^~~~~~~~~ -feature_tests/media_queries.html:38:10 CSS syntax error in tag 'style amp-custom' - disallowed media feature 'min-webkit-device-pixel-ratio'. +feature_tests/media_queries.html:23:10 CSS syntax error in tag 'style amp-custom' - disallowed media feature 'min-webkit-device-pixel-ratio'. | @media (min--webkit-device-pixel-ratio:1.5) {} >> ^~~~~~~~~ -feature_tests/media_queries.html:39:10 CSS syntax error in tag 'style amp-custom' - disallowed media feature 'min--webkit-device-pixel-ratio'. +feature_tests/media_queries.html:24:10 CSS syntax error in tag 'style amp-custom' - disallowed media feature 'min--webkit-device-pixel-ratio'. | /* Invalid media feature */ | @media (invalid-media-feature:1.5) {} >> ^~~~~~~~~ -feature_tests/media_queries.html:41:10 CSS syntax error in tag 'style amp-custom' - disallowed media feature 'invalid-media-feature'. +feature_tests/media_queries.html:26:10 CSS syntax error in tag 'style amp-custom' - disallowed media feature 'invalid-media-feature'. | /* All together now, this is valid */ | @media only screen and (max-width: 800px) {} | /* All together now, these are not */ | @media not holodeck and (max-width: 800px) {} >> ^~~~~~~~~ -feature_tests/media_queries.html:45:13 CSS syntax error in tag 'style amp-custom' - disallowed media type 'holodeck'. +feature_tests/media_queries.html:30:13 CSS syntax error in tag 'style amp-custom' - disallowed media type 'holodeck'. | @media screen and (-webkit-max-degrees-celsius: 14) {} >> ^~~~~~~~~ -feature_tests/media_queries.html:46:21 CSS syntax error in tag 'style amp-custom' - disallowed media feature '-webkit-max-degrees-celsius'. +feature_tests/media_queries.html:31:21 CSS syntax error in tag 'style amp-custom' - disallowed media feature '-webkit-max-degrees-celsius'. | </style> | <style amp-boilerplate>body{-webkit-animation:-amp-start 8s steps(1,end) 0s 1 normal both;-moz-animation:-amp-start 8s steps(1,end) 0s 1 normal both;-ms-animation:-amp-start 8s steps(1,end) 0s 1 normal both;animation:-amp-start 8s steps(1,end) 0s 1 normal both}@-webkit-keyframes -amp-start{from{visibility:hidden}to{visibility:visible}}@-moz-keyframes -amp-start{from{visibility:hidden}to{visibility:visible}}@-ms-keyframes -amp-start{from{visibility:hidden}to{visibility:visible}}@-o-keyframes -amp-start{from{visibility:hidden}to{visibility:visible}}@keyframes -amp-start{from{visibility:hidden}to{visibility:visible}}</style><noscript><style amp-boilerplate>body{-webkit-animation:none;-moz-animation:none;-ms-animation:none;animation:none}</style></noscript> | <script src="https://cdn.ampproject.org/v0.js" async></script> diff --git a/validator/testdata/feature_tests/meta_viewport.html b/validator/testdata/feature_tests/meta_viewport.html index 45ec62f4c104..7322042b1c6f 100644 --- a/validator/testdata/feature_tests/meta_viewport.html +++ b/validator/testdata/feature_tests/meta_viewport.html @@ -1,18 +1,3 @@ -<!-- - Copyright 2020 The AMP HTML Authors. All Rights Reserved. - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS-IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the license. ---> <!-- Test Description: Tests values for meta name=viewport. diff --git a/validator/testdata/feature_tests/meta_viewport.out b/validator/testdata/feature_tests/meta_viewport.out index 688fc9164c70..602e552f3153 100644 --- a/validator/testdata/feature_tests/meta_viewport.out +++ b/validator/testdata/feature_tests/meta_viewport.out @@ -1,20 +1,5 @@ PASS | <!-- -| Copyright 2020 The AMP HTML Authors. All Rights Reserved. -| -| Licensed under the Apache License, Version 2.0 (the "License"); -| you may not use this file except in compliance with the License. -| You may obtain a copy of the License at -| -| http://www.apache.org/licenses/LICENSE-2.0 -| -| Unless required by applicable law or agreed to in writing, software -| distributed under the License is distributed on an "AS-IS" BASIS, -| WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -| See the License for the specific language governing permissions and -| limitations under the license. -| --> -| <!-- | Test Description: | Tests values for meta name=viewport. | --> diff --git a/validator/testdata/feature_tests/minimum_valid_amp.html b/validator/testdata/feature_tests/minimum_valid_amp.html index e9cb9afb2466..8ec00d26b5a9 100644 --- a/validator/testdata/feature_tests/minimum_valid_amp.html +++ b/validator/testdata/feature_tests/minimum_valid_amp.html @@ -1,18 +1,3 @@ -<!-- - Copyright 2015 The AMP HTML Authors. All Rights Reserved. - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS-IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the license. ---> <!-- Test Description: This is the minimum valid AMP document; it includes all of the required diff --git a/validator/testdata/feature_tests/minimum_valid_amp.out b/validator/testdata/feature_tests/minimum_valid_amp.out index f8d021217537..1459a316fae0 100644 --- a/validator/testdata/feature_tests/minimum_valid_amp.out +++ b/validator/testdata/feature_tests/minimum_valid_amp.out @@ -1,20 +1,5 @@ PASS | <!-- -| Copyright 2015 The AMP HTML Authors. All Rights Reserved. -| -| Licensed under the Apache License, Version 2.0 (the "License"); -| you may not use this file except in compliance with the License. -| You may obtain a copy of the License at -| -| http://www.apache.org/licenses/LICENSE-2.0 -| -| Unless required by applicable law or agreed to in writing, software -| distributed under the License is distributed on an "AS-IS" BASIS, -| WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -| See the License for the specific language governing permissions and -| limitations under the license. -| --> -| <!-- | Test Description: | This is the minimum valid AMP document; it includes all of the required | fields from the spec, but nothing else. diff --git a/validator/testdata/feature_tests/multiple_body_tags.html b/validator/testdata/feature_tests/multiple_body_tags.html index a98ff3ec1de9..4d9b6411a25e 100644 --- a/validator/testdata/feature_tests/multiple_body_tags.html +++ b/validator/testdata/feature_tests/multiple_body_tags.html @@ -1,18 +1,3 @@ -<!-- - Copyright 2015 The AMP HTML Authors. All Rights Reserved. - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS-IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the license. ---> <!-- Test Description: Tests errors generated for multiple body tags. This is useful because diff --git a/validator/testdata/feature_tests/multiple_body_tags.out b/validator/testdata/feature_tests/multiple_body_tags.out index 3588d7bcf8a9..c342d1c980a6 100644 --- a/validator/testdata/feature_tests/multiple_body_tags.out +++ b/validator/testdata/feature_tests/multiple_body_tags.out @@ -1,20 +1,5 @@ FAIL | <!-- -| Copyright 2015 The AMP HTML Authors. All Rights Reserved. -| -| Licensed under the Apache License, Version 2.0 (the "License"); -| you may not use this file except in compliance with the License. -| You may obtain a copy of the License at -| -| http://www.apache.org/licenses/LICENSE-2.0 -| -| Unless required by applicable law or agreed to in writing, software -| distributed under the License is distributed on an "AS-IS" BASIS, -| WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -| See the License for the specific language governing permissions and -| limitations under the license. -| --> -| <!-- | Test Description: | Tests errors generated for multiple body tags. This is useful because | body tags are treated special - the attributes from all of them are merged @@ -31,7 +16,7 @@ FAIL | </head> | <body class="foo"> >> ^~~~~~~~~ -feature_tests/multiple_body_tags.html:31:0 The tag 'BODY' appears more than once in the document. +feature_tests/multiple_body_tags.html:16:0 The tag 'BODY' appears more than once in the document. | <body class="bar" style="background-color:red"></body> | </body> -| </html> +| </html> \ No newline at end of file diff --git a/validator/testdata/feature_tests/multiple_body_tags.out.cpponly b/validator/testdata/feature_tests/multiple_body_tags.out.cpponly index f1ba70080f82..63c2140c43ee 100644 --- a/validator/testdata/feature_tests/multiple_body_tags.out.cpponly +++ b/validator/testdata/feature_tests/multiple_body_tags.out.cpponly @@ -1,20 +1,5 @@ PASS | <!-- -| Copyright 2015 The AMP HTML Authors. All Rights Reserved. -| -| Licensed under the Apache License, Version 2.0 (the "License"); -| you may not use this file except in compliance with the License. -| You may obtain a copy of the License at -| -| http://www.apache.org/licenses/LICENSE-2.0 -| -| Unless required by applicable law or agreed to in writing, software -| distributed under the License is distributed on an "AS-IS" BASIS, -| WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -| See the License for the specific language governing permissions and -| limitations under the license. -| --> -| <!-- | Test Description: | Tests errors generated for multiple body tags. This is useful because | body tags are treated special - the attributes from all of them are merged diff --git a/validator/testdata/feature_tests/multiple_body_tags_2.html b/validator/testdata/feature_tests/multiple_body_tags_2.html index 3f446f6dda89..ec62c3bd0453 100644 --- a/validator/testdata/feature_tests/multiple_body_tags_2.html +++ b/validator/testdata/feature_tests/multiple_body_tags_2.html @@ -1,18 +1,3 @@ -<!-- - Copyright 2015 The AMP HTML Authors. All Rights Reserved. - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS-IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the license. ---> <!-- Test Description: Tests errors generated for multiple body tags. This is useful because diff --git a/validator/testdata/feature_tests/multiple_body_tags_2.out b/validator/testdata/feature_tests/multiple_body_tags_2.out index 394f28d0c52c..31bd2065d31a 100644 --- a/validator/testdata/feature_tests/multiple_body_tags_2.out +++ b/validator/testdata/feature_tests/multiple_body_tags_2.out @@ -1,20 +1,5 @@ FAIL | <!-- -| Copyright 2015 The AMP HTML Authors. All Rights Reserved. -| -| Licensed under the Apache License, Version 2.0 (the "License"); -| you may not use this file except in compliance with the License. -| You may obtain a copy of the License at -| -| http://www.apache.org/licenses/LICENSE-2.0 -| -| Unless required by applicable law or agreed to in writing, software -| distributed under the License is distributed on an "AS-IS" BASIS, -| WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -| See the License for the specific language governing permissions and -| limitations under the license. -| --> -| <!-- | Test Description: | Tests errors generated for multiple body tags. This is useful because | body tags are treated special - the attributes from all of them are merged @@ -33,7 +18,7 @@ FAIL | </head> | <body class="foo"> >> ^~~~~~~~~ -feature_tests/multiple_body_tags_2.html:33:0 The tag 'BODY' appears more than once in the document. +feature_tests/multiple_body_tags_2.html:18:0 The tag 'BODY' appears more than once in the document. | <body class="foo"></body> | </body> -| </html> +| </html> \ No newline at end of file diff --git a/validator/testdata/feature_tests/multiple_body_tags_2.out.cpponly b/validator/testdata/feature_tests/multiple_body_tags_2.out.cpponly index a56c42952f6b..472a51669667 100644 --- a/validator/testdata/feature_tests/multiple_body_tags_2.out.cpponly +++ b/validator/testdata/feature_tests/multiple_body_tags_2.out.cpponly @@ -1,20 +1,5 @@ PASS | <!-- -| Copyright 2015 The AMP HTML Authors. All Rights Reserved. -| -| Licensed under the Apache License, Version 2.0 (the "License"); -| you may not use this file except in compliance with the License. -| You may obtain a copy of the License at -| -| http://www.apache.org/licenses/LICENSE-2.0 -| -| Unless required by applicable law or agreed to in writing, software -| distributed under the License is distributed on an "AS-IS" BASIS, -| WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -| See the License for the specific language governing permissions and -| limitations under the license. -| --> -| <!-- | Test Description: | Tests errors generated for multiple body tags. This is useful because | body tags are treated special - the attributes from all of them are merged diff --git a/validator/testdata/feature_tests/multiple_body_tags_3.html b/validator/testdata/feature_tests/multiple_body_tags_3.html index 9e65706f8ea9..bb7a17b3f2c3 100644 --- a/validator/testdata/feature_tests/multiple_body_tags_3.html +++ b/validator/testdata/feature_tests/multiple_body_tags_3.html @@ -1,18 +1,3 @@ -<!-- - Copyright 2015 The AMP HTML Authors. All Rights Reserved. - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS-IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the license. ---> <!-- Test Description: Tests errors generated for multiple body tags. This is useful because diff --git a/validator/testdata/feature_tests/multiple_body_tags_3.out b/validator/testdata/feature_tests/multiple_body_tags_3.out index 939af705cb1a..ab4d68a75c01 100644 --- a/validator/testdata/feature_tests/multiple_body_tags_3.out +++ b/validator/testdata/feature_tests/multiple_body_tags_3.out @@ -1,20 +1,5 @@ FAIL | <!-- -| Copyright 2015 The AMP HTML Authors. All Rights Reserved. -| -| Licensed under the Apache License, Version 2.0 (the "License"); -| you may not use this file except in compliance with the License. -| You may obtain a copy of the License at -| -| http://www.apache.org/licenses/LICENSE-2.0 -| -| Unless required by applicable law or agreed to in writing, software -| distributed under the License is distributed on an "AS-IS" BASIS, -| WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -| See the License for the specific language governing permissions and -| limitations under the license. -| --> -| <!-- | Test Description: | Tests errors generated for multiple body tags. This is useful because | body tags are treated special - the attributes from all of them are merged @@ -32,17 +17,17 @@ FAIL | <meta name="viewport" | content="width=device-width,minimum-scale=1">some stray text >> ^~~~~~~~~ -feature_tests/multiple_body_tags_3.html:32:53 Tag or text which is only allowed inside the body section found outside of the body section. +feature_tests/multiple_body_tags_3.html:17:53 Tag or text which is only allowed inside the body section found outside of the body section. >> ^~~~~~~~~ -feature_tests/multiple_body_tags_3.html:32:53 The tag 'BODY' appears more than once in the document. +feature_tests/multiple_body_tags_3.html:17:53 The tag 'BODY' appears more than once in the document. | <style amp-boilerplate>body{-webkit-animation:-amp-start 8s steps(1,end) 0s 1 normal both;-moz-animation:-amp-start 8s steps(1,end) 0s 1 normal both;-ms-animation:-amp-start 8s steps(1,end) 0s 1 normal both;animation:-amp-start 8s steps(1,end) 0s 1 normal both}@-webkit-keyframes -amp-start{from{visibility:hidden}to{visibility:visible}}@-moz-keyframes -amp-start{from{visibility:hidden}to{visibility:visible}}@-ms-keyframes -amp-start{from{visibility:hidden}to{visibility:visible}}@-o-keyframes -amp-start{from{visibility:hidden}to{visibility:visible}}@keyframes -amp-start{from{visibility:hidden}to{visibility:visible}}</style><noscript><style amp-boilerplate>body{-webkit-animation:none;-moz-animation:none;-ms-animation:none;animation:none}</style></noscript> >> ^~~~~~~~~ -feature_tests/multiple_body_tags_3.html:33:2 The parent tag of tag 'style amp-custom' is 'body', but it can only be 'head'. (see https://amp.dev/documentation/guides-and-tutorials/learn/spec/amphtml/#stylesheets) +feature_tests/multiple_body_tags_3.html:18:2 The parent tag of tag 'style amp-custom' is 'body', but it can only be 'head'. (see https://amp.dev/documentation/guides-and-tutorials/learn/spec/amphtml/#stylesheets) >> ^~~~~~~~~ -feature_tests/multiple_body_tags_3.html:33:641 The tag 'noscript > style[amp-boilerplate]' may only appear as a descendant of tag 'head'. (see https://amp.dev/documentation/guides-and-tutorials/learn/spec/amp-boilerplate/?format=websites) +feature_tests/multiple_body_tags_3.html:18:641 The tag 'noscript > style[amp-boilerplate]' may only appear as a descendant of tag 'head'. (see https://amp.dev/documentation/guides-and-tutorials/learn/spec/amp-boilerplate/?format=websites) | <script async src="https://cdn.ampproject.org/v0.js"></script> >> ^~~~~~~~~ -feature_tests/multiple_body_tags_3.html:34:2 The parent tag of tag 'amphtml engine script' is 'body', but it can only be 'head'. (see https://amp.dev/documentation/guides-and-tutorials/learn/spec/amphtml/#required-markup) +feature_tests/multiple_body_tags_3.html:19:2 The parent tag of tag 'amphtml engine script' is 'body', but it can only be 'head'. (see https://amp.dev/documentation/guides-and-tutorials/learn/spec/amphtml/#required-markup) | </head> | <body class="foo"> | <!-- You might think there's only one body in this doc, but this is @@ -51,6 +36,6 @@ feature_tests/multiple_body_tags_3.html:34:2 The parent tag of tag 'amphtml engi | </body> | </html> >> ^~~~~~~~~ -feature_tests/multiple_body_tags_3.html:41:6 The mandatory tag 'noscript enclosure for boilerplate' is missing or incorrect. (see https://amp.dev/documentation/guides-and-tutorials/learn/spec/amp-boilerplate/?format=websites) +feature_tests/multiple_body_tags_3.html:26:6 The mandatory tag 'noscript enclosure for boilerplate' is missing or incorrect. (see https://amp.dev/documentation/guides-and-tutorials/learn/spec/amp-boilerplate/?format=websites) >> ^~~~~~~~~ -feature_tests/multiple_body_tags_3.html:41:6 The mandatory tag 'head > style[amp-boilerplate]' is missing or incorrect. (see https://amp.dev/documentation/guides-and-tutorials/learn/spec/amp-boilerplate/?format=websites) +feature_tests/multiple_body_tags_3.html:26:6 The mandatory tag 'head > style[amp-boilerplate]' is missing or incorrect. (see https://amp.dev/documentation/guides-and-tutorials/learn/spec/amp-boilerplate/?format=websites) \ No newline at end of file diff --git a/validator/testdata/feature_tests/multiple_body_tags_3.out.cpponly b/validator/testdata/feature_tests/multiple_body_tags_3.out.cpponly index 44f60650985a..791889a8f0a9 100644 --- a/validator/testdata/feature_tests/multiple_body_tags_3.out.cpponly +++ b/validator/testdata/feature_tests/multiple_body_tags_3.out.cpponly @@ -1,20 +1,5 @@ FAIL | <!-- -| Copyright 2015 The AMP HTML Authors. All Rights Reserved. -| -| Licensed under the Apache License, Version 2.0 (the "License"); -| you may not use this file except in compliance with the License. -| You may obtain a copy of the License at -| -| http://www.apache.org/licenses/LICENSE-2.0 -| -| Unless required by applicable law or agreed to in writing, software -| distributed under the License is distributed on an "AS-IS" BASIS, -| WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -| See the License for the specific language governing permissions and -| limitations under the license. -| --> -| <!-- | Test Description: | Tests errors generated for multiple body tags. This is useful because | body tags are treated special - the attributes from all of them are merged @@ -32,15 +17,15 @@ FAIL | <meta name="viewport" | content="width=device-width,minimum-scale=1">some stray text >> ^~~~~~~~~ -feature_tests/multiple_body_tags_3.html:32:53 Tag or text which is only allowed inside the body section found outside of the body section. +feature_tests/multiple_body_tags_3.html:17:53 Tag or text which is only allowed inside the body section found outside of the body section. | <style amp-boilerplate>body{-webkit-animation:-amp-start 8s steps(1,end) 0s 1 normal both;-moz-animation:-amp-start 8s steps(1,end) 0s 1 normal both;-ms-animation:-amp-start 8s steps(1,end) 0s 1 normal both;animation:-amp-start 8s steps(1,end) 0s 1 normal both}@-webkit-keyframes -amp-start{from{visibility:hidden}to{visibility:visible}}@-moz-keyframes -amp-start{from{visibility:hidden}to{visibility:visible}}@-ms-keyframes -amp-start{from{visibility:hidden}to{visibility:visible}}@-o-keyframes -amp-start{from{visibility:hidden}to{visibility:visible}}@keyframes -amp-start{from{visibility:hidden}to{visibility:visible}}</style><noscript><style amp-boilerplate>body{-webkit-animation:none;-moz-animation:none;-ms-animation:none;animation:none}</style></noscript> >> ^~~~~~~~~ -feature_tests/multiple_body_tags_3.html:33:2 The parent tag of tag 'style amp-custom' is 'body', but it can only be 'head'. (see https://amp.dev/documentation/guides-and-tutorials/learn/spec/amphtml/#stylesheets) +feature_tests/multiple_body_tags_3.html:18:2 The parent tag of tag 'style amp-custom' is 'body', but it can only be 'head'. (see https://amp.dev/documentation/guides-and-tutorials/learn/spec/amphtml/#stylesheets) >> ^~~~~~~~~ -feature_tests/multiple_body_tags_3.html:33:641 The tag 'noscript > style[amp-boilerplate]' may only appear as a descendant of tag 'head'. (see https://amp.dev/documentation/guides-and-tutorials/learn/spec/amp-boilerplate/?format=websites) +feature_tests/multiple_body_tags_3.html:18:641 The tag 'noscript > style[amp-boilerplate]' may only appear as a descendant of tag 'head'. (see https://amp.dev/documentation/guides-and-tutorials/learn/spec/amp-boilerplate/?format=websites) | <script async src="https://cdn.ampproject.org/v0.js"></script> >> ^~~~~~~~~ -feature_tests/multiple_body_tags_3.html:34:2 The parent tag of tag 'amphtml engine script' is 'body', but it can only be 'head'. (see https://amp.dev/documentation/guides-and-tutorials/learn/spec/amphtml/#required-markup) +feature_tests/multiple_body_tags_3.html:19:2 The parent tag of tag 'amphtml engine script' is 'body', but it can only be 'head'. (see https://amp.dev/documentation/guides-and-tutorials/learn/spec/amphtml/#required-markup) | </head> | <body class="foo"> | <!-- You might think there's only one body in this doc, but this is @@ -49,6 +34,6 @@ feature_tests/multiple_body_tags_3.html:34:2 The parent tag of tag 'amphtml engi | </body> | </html> >> ^~~~~~~~~ -feature_tests/multiple_body_tags_3.html:41:6 The mandatory tag 'noscript enclosure for boilerplate' is missing or incorrect. (see https://amp.dev/documentation/guides-and-tutorials/learn/spec/amp-boilerplate/?format=websites) +feature_tests/multiple_body_tags_3.html:26:6 The mandatory tag 'noscript enclosure for boilerplate' is missing or incorrect. (see https://amp.dev/documentation/guides-and-tutorials/learn/spec/amp-boilerplate/?format=websites) >> ^~~~~~~~~ -feature_tests/multiple_body_tags_3.html:41:6 The mandatory tag 'head > style[amp-boilerplate]' is missing or incorrect. (see https://amp.dev/documentation/guides-and-tutorials/learn/spec/amp-boilerplate/?format=websites) +feature_tests/multiple_body_tags_3.html:26:6 The mandatory tag 'head > style[amp-boilerplate]' is missing or incorrect. (see https://amp.dev/documentation/guides-and-tutorials/learn/spec/amp-boilerplate/?format=websites) diff --git a/validator/testdata/feature_tests/new_and_old_boilerplate_mixed.html b/validator/testdata/feature_tests/new_and_old_boilerplate_mixed.html index 2076a1de9cf1..5ccb72f02ecd 100644 --- a/validator/testdata/feature_tests/new_and_old_boilerplate_mixed.html +++ b/validator/testdata/feature_tests/new_and_old_boilerplate_mixed.html @@ -1,18 +1,3 @@ -<!-- - Copyright 2015 The AMP HTML Authors. All Rights Reserved. - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS-IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the license. ---> <!-- Test Description: This test contains the new boilerplate in the javascript-enabled version diff --git a/validator/testdata/feature_tests/new_and_old_boilerplate_mixed.out b/validator/testdata/feature_tests/new_and_old_boilerplate_mixed.out index 6758497b68de..cabf1464b35c 100644 --- a/validator/testdata/feature_tests/new_and_old_boilerplate_mixed.out +++ b/validator/testdata/feature_tests/new_and_old_boilerplate_mixed.out @@ -1,20 +1,5 @@ FAIL | <!-- -| Copyright 2015 The AMP HTML Authors. All Rights Reserved. -| -| Licensed under the Apache License, Version 2.0 (the "License"); -| you may not use this file except in compliance with the License. -| You may obtain a copy of the License at -| -| http://www.apache.org/licenses/LICENSE-2.0 -| -| Unless required by applicable law or agreed to in writing, software -| distributed under the License is distributed on an "AS-IS" BASIS, -| WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -| See the License for the specific language governing permissions and -| limitations under the license. -| --> -| <!-- | Test Description: | This test contains the new boilerplate in the javascript-enabled version | but the old, opacity-based one inside noscript. This is not allowed. @@ -28,7 +13,7 @@ FAIL | <style amp-boilerplate>body{-webkit-animation:-amp-start 8s steps(1,end) 0s 1 normal both;-moz-animation:-amp-start 8s steps(1,end) 0s 1 normal both;-ms-animation:-amp-start 8s steps(1,end) 0s 1 normal both;animation:-amp-start 8s steps(1,end) 0s 1 normal both}@-webkit-keyframes -amp-start{from{visibility:hidden}to{visibility:visible}}@-moz-keyframes -amp-start{from{visibility:hidden}to{visibility:visible}}@-ms-keyframes -amp-start{from{visibility:hidden}to{visibility:visible}}@-o-keyframes -amp-start{from{visibility:hidden}to{visibility:visible}}@keyframes -amp-start{from{visibility:hidden}to{visibility:visible}}</style> | <noscript><style>body {opacity: 1}</style></noscript> >> ^~~~~~~~~ -feature_tests/new_and_old_boilerplate_mixed.html:28:12 The parent tag of tag 'style amp-custom' is 'noscript', but it can only be 'head'. (see https://amp.dev/documentation/guides-and-tutorials/learn/spec/amphtml/#stylesheets) +feature_tests/new_and_old_boilerplate_mixed.html:13:12 The parent tag of tag 'style amp-custom' is 'noscript', but it can only be 'head'. (see https://amp.dev/documentation/guides-and-tutorials/learn/spec/amphtml/#stylesheets) | <script async src="https://cdn.ampproject.org/v0.js"></script> | </head> | <body> @@ -36,4 +21,4 @@ feature_tests/new_and_old_boilerplate_mixed.html:28:12 The parent tag of tag 'st | </body> | </html> >> ^~~~~~~~~ -feature_tests/new_and_old_boilerplate_mixed.html:34:6 The mandatory tag 'noscript > style[amp-boilerplate]' is missing or incorrect. (see https://amp.dev/documentation/guides-and-tutorials/learn/spec/amp-boilerplate/?format=websites) +feature_tests/new_and_old_boilerplate_mixed.html:19:6 The mandatory tag 'noscript > style[amp-boilerplate]' is missing or incorrect. (see https://amp.dev/documentation/guides-and-tutorials/learn/spec/amp-boilerplate/?format=websites) diff --git a/validator/testdata/feature_tests/new_and_old_boilerplate_mixed2.html b/validator/testdata/feature_tests/new_and_old_boilerplate_mixed2.html index a950a26bdc11..8612f174c4bc 100644 --- a/validator/testdata/feature_tests/new_and_old_boilerplate_mixed2.html +++ b/validator/testdata/feature_tests/new_and_old_boilerplate_mixed2.html @@ -1,18 +1,3 @@ -<!-- - Copyright 2015 The AMP HTML Authors. All Rights Reserved. - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS-IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the license. ---> <!-- Test Description: This test contains the old, opacity-based boilerplate in the diff --git a/validator/testdata/feature_tests/new_and_old_boilerplate_mixed2.out b/validator/testdata/feature_tests/new_and_old_boilerplate_mixed2.out index f10debe6656f..d8567013e4fb 100644 --- a/validator/testdata/feature_tests/new_and_old_boilerplate_mixed2.out +++ b/validator/testdata/feature_tests/new_and_old_boilerplate_mixed2.out @@ -1,20 +1,5 @@ FAIL | <!-- -| Copyright 2015 The AMP HTML Authors. All Rights Reserved. -| -| Licensed under the Apache License, Version 2.0 (the "License"); -| you may not use this file except in compliance with the License. -| You may obtain a copy of the License at -| -| http://www.apache.org/licenses/LICENSE-2.0 -| -| Unless required by applicable law or agreed to in writing, software -| distributed under the License is distributed on an "AS-IS" BASIS, -| WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -| See the License for the specific language governing permissions and -| limitations under the license. -| --> -| <!-- | Test Description: | This test contains the old, opacity-based boilerplate in the | javascript-enabled version, but the new one inside noscript. This is @@ -28,7 +13,7 @@ FAIL | <meta name="viewport" content="width=device-width,minimum-scale=1"> | <style>body {opacity: 0}</style> >> ^~~~~~~~~ -feature_tests/new_and_old_boilerplate_mixed2.html:28:2 The mandatory attribute 'amp-custom' is missing in tag 'style amp-custom'. (see https://amp.dev/documentation/guides-and-tutorials/learn/spec/amphtml/#stylesheets) +feature_tests/new_and_old_boilerplate_mixed2.html:13:2 The mandatory attribute 'amp-custom' is missing in tag 'style amp-custom'. (see https://amp.dev/documentation/guides-and-tutorials/learn/spec/amphtml/#stylesheets) | <noscript><style amp-boilerplate>body{-webkit-animation:none;-moz-animation:none;-ms-animation:none;animation:none}</style></noscript> | <script async src="https://cdn.ampproject.org/v0.js"></script> | </head> @@ -37,4 +22,4 @@ feature_tests/new_and_old_boilerplate_mixed2.html:28:2 The mandatory attribute ' | </body> | </html> >> ^~~~~~~~~ -feature_tests/new_and_old_boilerplate_mixed2.html:35:6 The mandatory tag 'head > style[amp-boilerplate]' is missing or incorrect. (see https://amp.dev/documentation/guides-and-tutorials/learn/spec/amp-boilerplate/?format=websites) +feature_tests/new_and_old_boilerplate_mixed2.html:20:6 The mandatory tag 'head > style[amp-boilerplate]' is missing or incorrect. (see https://amp.dev/documentation/guides-and-tutorials/learn/spec/amp-boilerplate/?format=websites) diff --git a/validator/testdata/feature_tests/new_boilerplate.html b/validator/testdata/feature_tests/new_boilerplate.html index 6c6e1c0b0826..786ef7deab9e 100644 --- a/validator/testdata/feature_tests/new_boilerplate.html +++ b/validator/testdata/feature_tests/new_boilerplate.html @@ -1,18 +1,3 @@ -<!-- - Copyright 2015 The AMP HTML Authors. All Rights Reserved. - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS-IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the license. ---> <!-- Test Description: This is the minimum valid AMP document; it includes all of the required diff --git a/validator/testdata/feature_tests/new_boilerplate.out b/validator/testdata/feature_tests/new_boilerplate.out index 21b9a037d71e..35fa1c55ad1a 100644 --- a/validator/testdata/feature_tests/new_boilerplate.out +++ b/validator/testdata/feature_tests/new_boilerplate.out @@ -1,20 +1,5 @@ PASS | <!-- -| Copyright 2015 The AMP HTML Authors. All Rights Reserved. -| -| Licensed under the Apache License, Version 2.0 (the "License"); -| you may not use this file except in compliance with the License. -| You may obtain a copy of the License at -| -| http://www.apache.org/licenses/LICENSE-2.0 -| -| Unless required by applicable law or agreed to in writing, software -| distributed under the License is distributed on an "AS-IS" BASIS, -| WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -| See the License for the specific language governing permissions and -| limitations under the license. -| --> -| <!-- | Test Description: | This is the minimum valid AMP document; it includes all of the required | fields from the spec, but nothing else. This test exercises the new diff --git a/validator/testdata/feature_tests/new_multiline_boilerplate.html b/validator/testdata/feature_tests/new_multiline_boilerplate.html index ea117a34a72f..307a855cd645 100644 --- a/validator/testdata/feature_tests/new_multiline_boilerplate.html +++ b/validator/testdata/feature_tests/new_multiline_boilerplate.html @@ -1,18 +1,3 @@ -<!-- - Copyright 2015 The AMP HTML Authors. All Rights Reserved. - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS-IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the license. ---> <!-- Test Description: This is the minimum valid AMP document; it includes all of the required diff --git a/validator/testdata/feature_tests/new_multiline_boilerplate.out b/validator/testdata/feature_tests/new_multiline_boilerplate.out index d88e520398b5..e94e1228099c 100644 --- a/validator/testdata/feature_tests/new_multiline_boilerplate.out +++ b/validator/testdata/feature_tests/new_multiline_boilerplate.out @@ -1,20 +1,5 @@ PASS | <!-- -| Copyright 2015 The AMP HTML Authors. All Rights Reserved. -| -| Licensed under the Apache License, Version 2.0 (the "License"); -| you may not use this file except in compliance with the License. -| You may obtain a copy of the License at -| -| http://www.apache.org/licenses/LICENSE-2.0 -| -| Unless required by applicable law or agreed to in writing, software -| distributed under the License is distributed on an "AS-IS" BASIS, -| WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -| See the License for the specific language governing permissions and -| limitations under the license. -| --> -| <!-- | Test Description: | This is the minimum valid AMP document; it includes all of the required | fields from the spec, but nothing else. This test exercises the new diff --git a/validator/testdata/feature_tests/newline_attributes.html b/validator/testdata/feature_tests/newline_attributes.html index 0d7d477cf30c..22fcd592d4df 100644 --- a/validator/testdata/feature_tests/newline_attributes.html +++ b/validator/testdata/feature_tests/newline_attributes.html @@ -1,22 +1,7 @@ -<!-- - Copyright 2021 The AMP HTML Authors. All Rights Reserved. - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS-IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the license. ---> <!-- Test Description: Tests that multiline attribute values are parsed and validated correctly. - TODO(amaltas): Currenlty this is broken. The first span should not pass + TODO(amaltas): Currently this is broken. The first span should not pass validation. --> <!doctype html> diff --git a/validator/testdata/feature_tests/newline_attributes.out b/validator/testdata/feature_tests/newline_attributes.out index 9b715e300d1c..c470a50cb2cb 100644 --- a/validator/testdata/feature_tests/newline_attributes.out +++ b/validator/testdata/feature_tests/newline_attributes.out @@ -1,23 +1,8 @@ FAIL | <!-- -| Copyright 2021 The AMP HTML Authors. All Rights Reserved. -| -| Licensed under the Apache License, Version 2.0 (the "License"); -| you may not use this file except in compliance with the License. -| You may obtain a copy of the License at -| -| http://www.apache.org/licenses/LICENSE-2.0 -| -| Unless required by applicable law or agreed to in writing, software -| distributed under the License is distributed on an "AS-IS" BASIS, -| WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -| See the License for the specific language governing permissions and -| limitations under the license. -| --> -| <!-- | Test Description: | Tests that multiline attribute values are parsed and validated correctly. -| TODO(amaltas): Currenlty this is broken. The first span should not pass +| TODO(amaltas): Currently this is broken. The first span should not pass | validation. | --> | <!doctype html> @@ -40,9 +25,9 @@ FAIL | <!-- no newline, parsed and validated correctly.--> | <span on="tap:AMP.setState({foo: 'bar'})"> >> ^~~~~~~~~ -feature_tests/newline_attributes.html:40:2 The attribute 'role' in tag 'span' is missing or incorrect, but required by attribute 'on'. +feature_tests/newline_attributes.html:25:2 The attribute 'role' in tag 'span' is missing or incorrect, but required by attribute 'on'. >> ^~~~~~~~~ -feature_tests/newline_attributes.html:40:2 The attribute 'tabindex' in tag 'span' is missing or incorrect, but required by attribute 'on'. +feature_tests/newline_attributes.html:25:2 The attribute 'tabindex' in tag 'span' is missing or incorrect, but required by attribute 'on'. | Hello, World! | </span> | </body> diff --git a/validator/testdata/feature_tests/no_custom_js.html b/validator/testdata/feature_tests/no_custom_js.html index f5dc6161e1ec..4894b1f67704 100644 --- a/validator/testdata/feature_tests/no_custom_js.html +++ b/validator/testdata/feature_tests/no_custom_js.html @@ -1,18 +1,3 @@ -<!-- - Copyright 2015 The AMP HTML Authors. All Rights Reserved. - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS-IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the license. ---> <!-- Test Description: Custom Javascript (other than allowlisted script locations) is rejected. diff --git a/validator/testdata/feature_tests/no_custom_js.out b/validator/testdata/feature_tests/no_custom_js.out index 2651da0528bf..56f3d98054d4 100644 --- a/validator/testdata/feature_tests/no_custom_js.out +++ b/validator/testdata/feature_tests/no_custom_js.out @@ -1,20 +1,5 @@ FAIL | <!-- -| Copyright 2015 The AMP HTML Authors. All Rights Reserved. -| -| Licensed under the Apache License, Version 2.0 (the "License"); -| you may not use this file except in compliance with the License. -| You may obtain a copy of the License at -| -| http://www.apache.org/licenses/LICENSE-2.0 -| -| Unless required by applicable law or agreed to in writing, software -| distributed under the License is distributed on an "AS-IS" BASIS, -| WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -| See the License for the specific language governing permissions and -| limitations under the license. -| --> -| <!-- | Test Description: | Custom Javascript (other than allowlisted script locations) is rejected. | --> @@ -28,14 +13,14 @@ FAIL | <script async src="https://cdn.ampproject.org/v0.js"></script> | <script async src="https://example.com/v0-not-allowed.js"></script> >> ^~~~~~~~~ -feature_tests/no_custom_js.html:28:3 Custom JavaScript is not allowed. (see https://amp.dev/documentation/guides-and-tutorials/learn/validation-workflow/validation_errors/#custom-javascript-is-not-allowed) +feature_tests/no_custom_js.html:13:3 Custom JavaScript is not allowed. (see https://amp.dev/documentation/guides-and-tutorials/learn/validation-workflow/validation_errors/#custom-javascript-is-not-allowed) | <script async custom-element="amp-foo" src="https://example.com/v0/not-allowed.js"></script> >> ^~~~~~~~~ -feature_tests/no_custom_js.html:29:3 Custom JavaScript is not allowed. (see https://amp.dev/documentation/guides-and-tutorials/learn/validation-workflow/validation_errors/#custom-javascript-is-not-allowed) +feature_tests/no_custom_js.html:14:3 Custom JavaScript is not allowed. (see https://amp.dev/documentation/guides-and-tutorials/learn/validation-workflow/validation_errors/#custom-javascript-is-not-allowed) | </head> | <body> | <script>alert('Hello World!')</script> >> ^~~~~~~~~ -feature_tests/no_custom_js.html:32:2 Custom JavaScript is not allowed. (see https://amp.dev/documentation/guides-and-tutorials/learn/validation-workflow/validation_errors/#custom-javascript-is-not-allowed) +feature_tests/no_custom_js.html:17:2 Custom JavaScript is not allowed. (see https://amp.dev/documentation/guides-and-tutorials/learn/validation-workflow/validation_errors/#custom-javascript-is-not-allowed) | </body> | </html> diff --git a/validator/testdata/feature_tests/no_dev_mode.html b/validator/testdata/feature_tests/no_dev_mode.html index c80529e030c0..a55c8a3b18d2 100644 --- a/validator/testdata/feature_tests/no_dev_mode.html +++ b/validator/testdata/feature_tests/no_dev_mode.html @@ -1,18 +1,3 @@ -<!-- - Copyright 2019 The AMP HTML Authors. All Rights Reserved. - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS-IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the license. ---> <!-- Test Description: This tests the logic for data-ampdevmode attributes. diff --git a/validator/testdata/feature_tests/no_dev_mode.out b/validator/testdata/feature_tests/no_dev_mode.out index 3608899a2967..f8c6b244810f 100644 --- a/validator/testdata/feature_tests/no_dev_mode.out +++ b/validator/testdata/feature_tests/no_dev_mode.out @@ -1,20 +1,5 @@ FAIL | <!-- -| Copyright 2019 The AMP HTML Authors. All Rights Reserved. -| -| Licensed under the Apache License, Version 2.0 (the "License"); -| you may not use this file except in compliance with the License. -| You may obtain a copy of the License at -| -| http://www.apache.org/licenses/LICENSE-2.0 -| -| Unless required by applicable law or agreed to in writing, software -| distributed under the License is distributed on an "AS-IS" BASIS, -| WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -| See the License for the specific language governing permissions and -| limitations under the license. -| --> -| <!-- | Test Description: | This tests the logic for data-ampdevmode attributes. | See https://github.com/ampproject/amphtml/issues/20974 for the @@ -42,22 +27,22 @@ FAIL | <!-- Still produces an error --> | <faketag></faketag> >> ^~~~~~~~~ -feature_tests/no_dev_mode.html:42:2 The tag 'faketag' is disallowed. +feature_tests/no_dev_mode.html:27:2 The tag 'faketag' is disallowed. | <anotherfaketag></anotherfaketag> >> ^~~~~~~~~ -feature_tests/no_dev_mode.html:43:2 The tag 'anotherfaketag' is disallowed. +feature_tests/no_dev_mode.html:28:2 The tag 'anotherfaketag' is disallowed. | | <!-- Tagged with data-ampdevmode, but not dev mode in html tag. --> | <faketag data-ampdevmode></faketag> >> ^~~~~~~~~ -feature_tests/no_dev_mode.html:46:2 The tag 'faketag' is disallowed. +feature_tests/no_dev_mode.html:31:2 The tag 'faketag' is disallowed. | | <faketag data-ampdevmode> >> ^~~~~~~~~ -feature_tests/no_dev_mode.html:48:2 The tag 'faketag' is disallowed. +feature_tests/no_dev_mode.html:33:2 The tag 'faketag' is disallowed. | <anotherfaketag></anotherfaketag> >> ^~~~~~~~~ -feature_tests/no_dev_mode.html:49:4 The tag 'anotherfaketag' is disallowed. +feature_tests/no_dev_mode.html:34:4 The tag 'anotherfaketag' is disallowed. | </faketag> | | <amp-autocomplete filter="prefix" data-ampdevmode></amp-autocomplete> diff --git a/validator/testdata/feature_tests/noscript.html b/validator/testdata/feature_tests/noscript.html index 2dd793d030cc..9a16ad773e3a 100644 --- a/validator/testdata/feature_tests/noscript.html +++ b/validator/testdata/feature_tests/noscript.html @@ -1,18 +1,3 @@ -<!-- - Copyright 2015 The AMP HTML Authors. All Rights Reserved. - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS-IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the license. ---> <!-- Test Description: This tests the logic for <noscript> tags and it's child tags. diff --git a/validator/testdata/feature_tests/noscript.out b/validator/testdata/feature_tests/noscript.out index 1ead63b5edfd..323a04bd4627 100644 --- a/validator/testdata/feature_tests/noscript.out +++ b/validator/testdata/feature_tests/noscript.out @@ -1,20 +1,5 @@ FAIL | <!-- -| Copyright 2015 The AMP HTML Authors. All Rights Reserved. -| -| Licensed under the Apache License, Version 2.0 (the "License"); -| you may not use this file except in compliance with the License. -| You may obtain a copy of the License at -| -| http://www.apache.org/licenses/LICENSE-2.0 -| -| Unless required by applicable law or agreed to in writing, software -| distributed under the License is distributed on an "AS-IS" BASIS, -| WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -| See the License for the specific language governing permissions and -| limitations under the license. -| --> -| <!-- | Test Description: | This tests the logic for <noscript> tags and it's child tags. | --> @@ -51,36 +36,36 @@ FAIL | <audio> | <source> >> ^~~~~~~~~ -feature_tests/noscript.html:51:6 The mandatory attribute 'src' is missing in tag 'source'. (see https://amp.dev/documentation/components/amp-audio/) +feature_tests/noscript.html:36:6 The mandatory attribute 'src' is missing in tag 'source'. (see https://amp.dev/documentation/components/amp-audio/) >> ^~~~~~~~~ -feature_tests/noscript.html:51:6 The mandatory attribute 'type' is missing in tag 'source'. (see https://amp.dev/documentation/components/amp-audio/) +feature_tests/noscript.html:36:6 The mandatory attribute 'type' is missing in tag 'source'. (see https://amp.dev/documentation/components/amp-audio/) | </audio> | </noscript> | <!-- Invalid: img must have src; alt, height and width are optional --> | <noscript> | <img alt="Iconic Lemurs"> >> ^~~~~~~~~ -feature_tests/noscript.html:56:4 The mandatory attribute 'src' is missing in tag 'img'. (see https://amp.dev/documentation/components/amp-img/) +feature_tests/noscript.html:41:4 The mandatory attribute 'src' is missing in tag 'img'. (see https://amp.dev/documentation/components/amp-img/) | </noscript> | <!-- Invalid: audio must be in a noscript tag --> | <audio controls> >> ^~~~~~~~~ -feature_tests/noscript.html:59:2 The tag 'audio' may only appear as a descendant of tag 'noscript'. Did you mean 'amp-audio'? (see https://amp.dev/documentation/components/amp-audio/) +feature_tests/noscript.html:44:2 The tag 'audio' may only appear as a descendant of tag 'noscript'. Did you mean 'amp-audio'? (see https://amp.dev/documentation/components/amp-audio/) | <source src="https://example.com/howl-of-the-lemur.mp3" type="audio/mpeg"> | </audio> | <!-- Invalid: img must be in a noscript tag --> | <img alt="Iconic Lemurs" height="200" src="https://example.com/lemurs.png" width="80"> >> ^~~~~~~~~ -feature_tests/noscript.html:63:2 The tag 'img' may only appear as a descendant of tag 'noscript'. Did you mean 'amp-img'? (see https://amp.dev/documentation/components/amp-img/) +feature_tests/noscript.html:48:2 The tag 'img' may only appear as a descendant of tag 'noscript'. Did you mean 'amp-img'? (see https://amp.dev/documentation/components/amp-img/) | <!-- Invalid: video must be in a noscript tag --> | <video controls height="480" width="640"> >> ^~~~~~~~~ -feature_tests/noscript.html:65:2 The tag 'video' may only appear as a descendant of tag 'noscript'. Did you mean 'amp-video'? (see https://amp.dev/documentation/components/amp-video/) +feature_tests/noscript.html:50:2 The tag 'video' may only appear as a descendant of tag 'noscript'. Did you mean 'amp-video'? (see https://amp.dev/documentation/components/amp-video/) | <source src="https://example.com/island-of-lemurs.mp4" type="video/mp4"> | </video> | <!-- Invalid: nested noscript tags don't correctly parse. --> | <noscript> <noscript> </noscript> </noscript> >> ^~~~~~~~~ -feature_tests/noscript.html:69:13 The parent tag of tag 'noscript enclosure for boilerplate' is 'noscript', but it can only be 'head'. (see https://amp.dev/documentation/guides-and-tutorials/learn/spec/amp-boilerplate/?format=websites) +feature_tests/noscript.html:54:13 The parent tag of tag 'noscript enclosure for boilerplate' is 'noscript', but it can only be 'head'. (see https://amp.dev/documentation/guides-and-tutorials/learn/spec/amp-boilerplate/?format=websites) | </body> | </html> diff --git a/validator/testdata/feature_tests/not_amp.html b/validator/testdata/feature_tests/not_amp.html index 062b4e99d698..6923d098473d 100644 --- a/validator/testdata/feature_tests/not_amp.html +++ b/validator/testdata/feature_tests/not_amp.html @@ -1,18 +1,3 @@ -<!-- - Copyright 2019 The AMP HTML Authors. All Rights Reserved. - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS-IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the license. ---> <!-- Test Description: This is a basic non-amp document. diff --git a/validator/testdata/feature_tests/not_amp.out b/validator/testdata/feature_tests/not_amp.out index 51bac9b38c5c..9d57c73c6b18 100644 --- a/validator/testdata/feature_tests/not_amp.out +++ b/validator/testdata/feature_tests/not_amp.out @@ -1,27 +1,12 @@ FAIL | <!-- -| Copyright 2019 The AMP HTML Authors. All Rights Reserved. -| -| Licensed under the Apache License, Version 2.0 (the "License"); -| you may not use this file except in compliance with the License. -| You may obtain a copy of the License at -| -| http://www.apache.org/licenses/LICENSE-2.0 -| -| Unless required by applicable law or agreed to in writing, software -| distributed under the License is distributed on an "AS-IS" BASIS, -| WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -| See the License for the specific language governing permissions and -| limitations under the license. -| --> -| <!-- | Test Description: | This is a basic non-amp document. | --> | <!doctype html> | <html> >> ^~~~~~~~~ -feature_tests/not_amp.html:21:0 The mandatory attribute '⚡' is missing in tag 'html'. (see https://amp.dev/documentation/guides-and-tutorials/learn/spec/amphtml#required-markup) +feature_tests/not_amp.html:6:0 The mandatory attribute '⚡' is missing in tag 'html'. (see https://amp.dev/documentation/guides-and-tutorials/learn/spec/amphtml#required-markup) | <head> | <meta charset="utf-8"> | </head> @@ -30,14 +15,14 @@ feature_tests/not_amp.html:21:0 The mandatory attribute '⚡' is missing in tag | </body> | </html> >> ^~~~~~~~~ -feature_tests/not_amp.html:28:6 The mandatory tag 'link rel=canonical' is missing or incorrect. (see https://amp.dev/documentation/guides-and-tutorials/learn/spec/amphtml/#required-markup) +feature_tests/not_amp.html:13:6 The mandatory tag 'link rel=canonical' is missing or incorrect. (see https://amp.dev/documentation/guides-and-tutorials/learn/spec/amphtml/#required-markup) >> ^~~~~~~~~ -feature_tests/not_amp.html:28:6 The mandatory tag 'meta name=viewport' is missing or incorrect. (see https://amp.dev/documentation/guides-and-tutorials/learn/spec/amphtml/#required-markup) +feature_tests/not_amp.html:13:6 The mandatory tag 'meta name=viewport' is missing or incorrect. (see https://amp.dev/documentation/guides-and-tutorials/learn/spec/amphtml/#required-markup) >> ^~~~~~~~~ -feature_tests/not_amp.html:28:6 The mandatory tag 'noscript enclosure for boilerplate' is missing or incorrect. (see https://amp.dev/documentation/guides-and-tutorials/learn/spec/amp-boilerplate/?format=websites) +feature_tests/not_amp.html:13:6 The mandatory tag 'noscript enclosure for boilerplate' is missing or incorrect. (see https://amp.dev/documentation/guides-and-tutorials/learn/spec/amp-boilerplate/?format=websites) >> ^~~~~~~~~ -feature_tests/not_amp.html:28:6 The mandatory tag 'head > style[amp-boilerplate]' is missing or incorrect. (see https://amp.dev/documentation/guides-and-tutorials/learn/spec/amp-boilerplate/?format=websites) +feature_tests/not_amp.html:13:6 The mandatory tag 'head > style[amp-boilerplate]' is missing or incorrect. (see https://amp.dev/documentation/guides-and-tutorials/learn/spec/amp-boilerplate/?format=websites) >> ^~~~~~~~~ -feature_tests/not_amp.html:28:6 The mandatory tag 'noscript > style[amp-boilerplate]' is missing or incorrect. (see https://amp.dev/documentation/guides-and-tutorials/learn/spec/amp-boilerplate/?format=websites) +feature_tests/not_amp.html:13:6 The mandatory tag 'noscript > style[amp-boilerplate]' is missing or incorrect. (see https://amp.dev/documentation/guides-and-tutorials/learn/spec/amp-boilerplate/?format=websites) >> ^~~~~~~~~ -feature_tests/not_amp.html:28:6 The mandatory tag 'amphtml engine script' is missing or incorrect. (see https://amp.dev/documentation/guides-and-tutorials/learn/spec/amphtml/#required-markup) +feature_tests/not_amp.html:13:6 The mandatory tag 'amphtml engine script' is missing or incorrect. (see https://amp.dev/documentation/guides-and-tutorials/learn/spec/amphtml/#required-markup) diff --git a/validator/testdata/feature_tests/old-boilerplate.html b/validator/testdata/feature_tests/old-boilerplate.html index 53138aa47a6f..1ca3c5bfcd6a 100644 --- a/validator/testdata/feature_tests/old-boilerplate.html +++ b/validator/testdata/feature_tests/old-boilerplate.html @@ -1,18 +1,3 @@ -<!-- - Copyright 2017 The AMP HTML Authors. All Rights Reserved. - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS-IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the license. ---> <!doctype html> <html ⚡> <head> diff --git a/validator/testdata/feature_tests/old-boilerplate.out b/validator/testdata/feature_tests/old-boilerplate.out index 565309b60057..5ab4cfe57a3d 100644 --- a/validator/testdata/feature_tests/old-boilerplate.out +++ b/validator/testdata/feature_tests/old-boilerplate.out @@ -1,19 +1,4 @@ FAIL -| <!-- -| Copyright 2017 The AMP HTML Authors. All Rights Reserved. -| -| Licensed under the Apache License, Version 2.0 (the "License"); -| you may not use this file except in compliance with the License. -| You may obtain a copy of the License at -| -| http://www.apache.org/licenses/LICENSE-2.0 -| -| Unless required by applicable law or agreed to in writing, software -| distributed under the License is distributed on an "AS-IS" BASIS, -| WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -| See the License for the specific language governing permissions and -| limitations under the license. -| --> | <!doctype html> | <html ⚡> | <head> @@ -24,9 +9,9 @@ FAIL | <link href='https://fonts.googleapis.com/css?family=Questrial' rel='stylesheet' type='text/css'> | <style>body {opacity: 0}</style><noscript><style>body {opacity: 1}</style></noscript> >> ^~~~~~~~~ -feature_tests/old-boilerplate.html:24:2 The mandatory attribute 'amp-custom' is missing in tag 'style amp-custom'. (see https://amp.dev/documentation/guides-and-tutorials/learn/spec/amphtml/#stylesheets) +feature_tests/old-boilerplate.html:9:2 The mandatory attribute 'amp-custom' is missing in tag 'style amp-custom'. (see https://amp.dev/documentation/guides-and-tutorials/learn/spec/amphtml/#stylesheets) >> ^~~~~~~~~ -feature_tests/old-boilerplate.html:24:44 The parent tag of tag 'style amp-custom' is 'noscript', but it can only be 'head'. (see https://amp.dev/documentation/guides-and-tutorials/learn/spec/amphtml/#stylesheets) +feature_tests/old-boilerplate.html:9:44 The parent tag of tag 'style amp-custom' is 'noscript', but it can only be 'head'. (see https://amp.dev/documentation/guides-and-tutorials/learn/spec/amphtml/#stylesheets) | <script async src="https://cdn.ampproject.org/v0.js"></script> | </head> | <body> @@ -39,6 +24,6 @@ feature_tests/old-boilerplate.html:24:44 The parent tag of tag 'style amp-custom | </body> | </html> >> ^~~~~~~~~ -feature_tests/old-boilerplate.html:35:6 The mandatory tag 'head > style[amp-boilerplate]' is missing or incorrect. (see https://amp.dev/documentation/guides-and-tutorials/learn/spec/amp-boilerplate/?format=websites) +feature_tests/old-boilerplate.html:20:6 The mandatory tag 'head > style[amp-boilerplate]' is missing or incorrect. (see https://amp.dev/documentation/guides-and-tutorials/learn/spec/amp-boilerplate/?format=websites) >> ^~~~~~~~~ -feature_tests/old-boilerplate.html:35:6 The mandatory tag 'noscript > style[amp-boilerplate]' is missing or incorrect. (see https://amp.dev/documentation/guides-and-tutorials/learn/spec/amp-boilerplate/?format=websites) +feature_tests/old-boilerplate.html:20:6 The mandatory tag 'noscript > style[amp-boilerplate]' is missing or incorrect. (see https://amp.dev/documentation/guides-and-tutorials/learn/spec/amp-boilerplate/?format=websites) diff --git a/validator/testdata/feature_tests/parser.html b/validator/testdata/feature_tests/parser.html index cc4761423757..0e2fc147365b 100644 --- a/validator/testdata/feature_tests/parser.html +++ b/validator/testdata/feature_tests/parser.html @@ -1,18 +1,3 @@ -<!-- - Copyright 2015 The AMP HTML Authors. All Rights Reserved. - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS-IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the license. ---> <!-- Test Description: This runs some tests which exercise our HTML parser. diff --git a/validator/testdata/feature_tests/parser.out b/validator/testdata/feature_tests/parser.out index 437c9735f044..1057743162c4 100644 --- a/validator/testdata/feature_tests/parser.out +++ b/validator/testdata/feature_tests/parser.out @@ -1,20 +1,5 @@ FAIL | <!-- -| Copyright 2015 The AMP HTML Authors. All Rights Reserved. -| -| Licensed under the Apache License, Version 2.0 (the "License"); -| you may not use this file except in compliance with the License. -| You may obtain a copy of the License at -| -| http://www.apache.org/licenses/LICENSE-2.0 -| -| Unless required by applicable law or agreed to in writing, software -| distributed under the License is distributed on an "AS-IS" BASIS, -| WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -| See the License for the specific language governing permissions and -| limitations under the license. -| --> -| <!-- | Test Description: | This runs some tests which exercise our HTML parser. | --> @@ -32,52 +17,52 @@ FAIL | <!-- Strangely quoted attributes: --> | <a href="foo.html""></a> >> ^~~~~~~~~ -feature_tests/parser.html:32:2 The attribute '"' may not appear in tag 'a'. (see https://amp.dev/documentation/guides-and-tutorials/learn/spec/amphtml/#links) +feature_tests/parser.html:17:2 The attribute '"' may not appear in tag 'a'. (see https://amp.dev/documentation/guides-and-tutorials/learn/spec/amphtml/#links) | <a href='foo.html''></a> >> ^~~~~~~~~ -feature_tests/parser.html:33:2 The attribute ''' may not appear in tag 'a'. (see https://amp.dev/documentation/guides-and-tutorials/learn/spec/amphtml/#links) +feature_tests/parser.html:18:2 The attribute ''' may not appear in tag 'a'. (see https://amp.dev/documentation/guides-and-tutorials/learn/spec/amphtml/#links) | <a href=""foo.html"></a> >> ^~~~~~~~~ -feature_tests/parser.html:34:2 The attribute 'foo.html"' may not appear in tag 'a'. (see https://amp.dev/documentation/guides-and-tutorials/learn/spec/amphtml/#links) +feature_tests/parser.html:19:2 The attribute 'foo.html"' may not appear in tag 'a'. (see https://amp.dev/documentation/guides-and-tutorials/learn/spec/amphtml/#links) | <a href=''foo.html'></a> >> ^~~~~~~~~ -feature_tests/parser.html:35:2 The attribute 'foo.html'' may not appear in tag 'a'. (see https://amp.dev/documentation/guides-and-tutorials/learn/spec/amphtml/#links) +feature_tests/parser.html:20:2 The attribute 'foo.html'' may not appear in tag 'a'. (see https://amp.dev/documentation/guides-and-tutorials/learn/spec/amphtml/#links) | <a href=""foo.html""></a> >> ^~~~~~~~~ -feature_tests/parser.html:36:2 The attribute 'foo.html""' may not appear in tag 'a'. (see https://amp.dev/documentation/guides-and-tutorials/learn/spec/amphtml/#links) +feature_tests/parser.html:21:2 The attribute 'foo.html""' may not appear in tag 'a'. (see https://amp.dev/documentation/guides-and-tutorials/learn/spec/amphtml/#links) | <a href=''foo.html''></a> >> ^~~~~~~~~ -feature_tests/parser.html:37:2 The attribute 'foo.html''' may not appear in tag 'a'. (see https://amp.dev/documentation/guides-and-tutorials/learn/spec/amphtml/#links) +feature_tests/parser.html:22:2 The attribute 'foo.html''' may not appear in tag 'a'. (see https://amp.dev/documentation/guides-and-tutorials/learn/spec/amphtml/#links) | <a '></a> >> ^~~~~~~~~ -feature_tests/parser.html:38:2 The attribute ''' may not appear in tag 'a'. (see https://amp.dev/documentation/guides-and-tutorials/learn/spec/amphtml/#links) +feature_tests/parser.html:23:2 The attribute ''' may not appear in tag 'a'. (see https://amp.dev/documentation/guides-and-tutorials/learn/spec/amphtml/#links) | <a "></a> >> ^~~~~~~~~ -feature_tests/parser.html:39:2 The attribute '"' may not appear in tag 'a'. (see https://amp.dev/documentation/guides-and-tutorials/learn/spec/amphtml/#links) +feature_tests/parser.html:24:2 The attribute '"' may not appear in tag 'a'. (see https://amp.dev/documentation/guides-and-tutorials/learn/spec/amphtml/#links) | <a href"foo.html"></a> >> ^~~~~~~~~ -feature_tests/parser.html:40:2 The attribute 'href"foo.html"' may not appear in tag 'a'. (see https://amp.dev/documentation/guides-and-tutorials/learn/spec/amphtml/#links) +feature_tests/parser.html:25:2 The attribute 'href"foo.html"' may not appear in tag 'a'. (see https://amp.dev/documentation/guides-and-tutorials/learn/spec/amphtml/#links) | <a href'foo.html'></a> >> ^~~~~~~~~ -feature_tests/parser.html:41:2 The attribute 'href'foo.html'' may not appear in tag 'a'. (see https://amp.dev/documentation/guides-and-tutorials/learn/spec/amphtml/#links) +feature_tests/parser.html:26:2 The attribute 'href'foo.html'' may not appear in tag 'a'. (see https://amp.dev/documentation/guides-and-tutorials/learn/spec/amphtml/#links) | <a href"foo.html""></a> >> ^~~~~~~~~ -feature_tests/parser.html:42:2 The attribute 'href"foo.html""' may not appear in tag 'a'. (see https://amp.dev/documentation/guides-and-tutorials/learn/spec/amphtml/#links) +feature_tests/parser.html:27:2 The attribute 'href"foo.html""' may not appear in tag 'a'. (see https://amp.dev/documentation/guides-and-tutorials/learn/spec/amphtml/#links) | <a href'foo.html''></a> >> ^~~~~~~~~ -feature_tests/parser.html:43:2 The attribute 'href'foo.html''' may not appear in tag 'a'. (see https://amp.dev/documentation/guides-and-tutorials/learn/spec/amphtml/#links) +feature_tests/parser.html:28:2 The attribute 'href'foo.html''' may not appear in tag 'a'. (see https://amp.dev/documentation/guides-and-tutorials/learn/spec/amphtml/#links) | <a href""foo.html"></a> >> ^~~~~~~~~ -feature_tests/parser.html:44:2 The attribute 'href""foo.html"' may not appear in tag 'a'. (see https://amp.dev/documentation/guides-and-tutorials/learn/spec/amphtml/#links) +feature_tests/parser.html:29:2 The attribute 'href""foo.html"' may not appear in tag 'a'. (see https://amp.dev/documentation/guides-and-tutorials/learn/spec/amphtml/#links) | <a href''foo.html'></a> >> ^~~~~~~~~ -feature_tests/parser.html:45:2 The attribute 'href''foo.html'' may not appear in tag 'a'. (see https://amp.dev/documentation/guides-and-tutorials/learn/spec/amphtml/#links) +feature_tests/parser.html:30:2 The attribute 'href''foo.html'' may not appear in tag 'a'. (see https://amp.dev/documentation/guides-and-tutorials/learn/spec/amphtml/#links) | <a href""foo.html""></a> >> ^~~~~~~~~ -feature_tests/parser.html:46:2 The attribute 'href""foo.html""' may not appear in tag 'a'. (see https://amp.dev/documentation/guides-and-tutorials/learn/spec/amphtml/#links) +feature_tests/parser.html:31:2 The attribute 'href""foo.html""' may not appear in tag 'a'. (see https://amp.dev/documentation/guides-and-tutorials/learn/spec/amphtml/#links) | <a href''foo.html''></a> >> ^~~~~~~~~ -feature_tests/parser.html:47:2 The attribute 'href''foo.html''' may not appear in tag 'a'. (see https://amp.dev/documentation/guides-and-tutorials/learn/spec/amphtml/#links) +feature_tests/parser.html:32:2 The attribute 'href''foo.html''' may not appear in tag 'a'. (see https://amp.dev/documentation/guides-and-tutorials/learn/spec/amphtml/#links) | | <!-- Attributes in closing tags: --> | <a></a foo> @@ -88,32 +73,32 @@ feature_tests/parser.html:47:2 The attribute 'href''foo.html''' may not appear i | <!-- <, / as attributes: --> | <a < ></a> >> ^~~~~~~~~ -feature_tests/parser.html:56:2 The attribute '<' may not appear in tag 'a'. (see https://amp.dev/documentation/guides-and-tutorials/learn/spec/amphtml/#links) +feature_tests/parser.html:41:2 The attribute '<' may not appear in tag 'a'. (see https://amp.dev/documentation/guides-and-tutorials/learn/spec/amphtml/#links) | <a / ></a> >> ^~~~~~~~~ -feature_tests/parser.html:57:2 The attribute '/' may not appear in tag 'a'. (see https://amp.dev/documentation/guides-and-tutorials/learn/spec/amphtml/#links) +feature_tests/parser.html:42:2 The attribute '/' may not appear in tag 'a'. (see https://amp.dev/documentation/guides-and-tutorials/learn/spec/amphtml/#links) | <a /a></a> >> ^~~~~~~~~ -feature_tests/parser.html:58:2 The attribute '/a' may not appear in tag 'a'. (see https://amp.dev/documentation/guides-and-tutorials/learn/spec/amphtml/#links) +feature_tests/parser.html:43:2 The attribute '/a' may not appear in tag 'a'. (see https://amp.dev/documentation/guides-and-tutorials/learn/spec/amphtml/#links) | <a /a ></a> >> ^~~~~~~~~ -feature_tests/parser.html:59:2 The attribute '/a' may not appear in tag 'a'. (see https://amp.dev/documentation/guides-and-tutorials/learn/spec/amphtml/#links) +feature_tests/parser.html:44:2 The attribute '/a' may not appear in tag 'a'. (see https://amp.dev/documentation/guides-and-tutorials/learn/spec/amphtml/#links) | | <!-- Tags that may be processing instructions: --> | <?php ?> >> ^~~~~~~~~ -feature_tests/parser.html:62:2 The tag '?php' is disallowed. +feature_tests/parser.html:47:2 The tag '?php' is disallowed. | < ?php ?> | <?php echo 'Hello, World'; ?> >> ^~~~~~~~~ -feature_tests/parser.html:64:2 The tag '?php' is disallowed. +feature_tests/parser.html:49:2 The tag '?php' is disallowed. | <?php <span>Content</span> ?> >> ^~~~~~~~~ -feature_tests/parser.html:65:2 The tag '?php' is disallowed. +feature_tests/parser.html:50:2 The tag '?php' is disallowed. | <?xml:namespace prefix = o ns = "urn:schemas-microsoft-com:office:office" /> >> ^~~~~~~~~ -feature_tests/parser.html:66:2 The tag '?xml:namespace' is disallowed. +feature_tests/parser.html:51:2 The tag '?xml:namespace' is disallowed. | < ?xml:namespace ?> | | </body> -| </html> +| </html> \ No newline at end of file diff --git a/validator/testdata/feature_tests/parser.out.cpponly b/validator/testdata/feature_tests/parser.out.cpponly index 94677bf07a59..d318d2549df5 100644 --- a/validator/testdata/feature_tests/parser.out.cpponly +++ b/validator/testdata/feature_tests/parser.out.cpponly @@ -1,20 +1,5 @@ FAIL | <!-- -| Copyright 2015 The AMP HTML Authors. All Rights Reserved. -| -| Licensed under the Apache License, Version 2.0 (the "License"); -| you may not use this file except in compliance with the License. -| You may obtain a copy of the License at -| -| http://www.apache.org/licenses/LICENSE-2.0 -| -| Unless required by applicable law or agreed to in writing, software -| distributed under the License is distributed on an "AS-IS" BASIS, -| WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -| See the License for the specific language governing permissions and -| limitations under the license. -| --> -| <!-- | Test Description: | This runs some tests which exercise our HTML parser. | --> @@ -32,52 +17,52 @@ FAIL | <!-- Strangely quoted attributes: --> | <a href="foo.html""></a> >> ^~~~~~~~~ -feature_tests/parser.html:32:2 The attribute '"' may not appear in tag 'a'. (see https://amp.dev/documentation/guides-and-tutorials/learn/spec/amphtml/#links) +feature_tests/parser.html:17:2 The attribute '"' may not appear in tag 'a'. (see https://amp.dev/documentation/guides-and-tutorials/learn/spec/amphtml/#links) | <a href='foo.html''></a> >> ^~~~~~~~~ -feature_tests/parser.html:33:2 The attribute ''' may not appear in tag 'a'. (see https://amp.dev/documentation/guides-and-tutorials/learn/spec/amphtml/#links) +feature_tests/parser.html:18:2 The attribute ''' may not appear in tag 'a'. (see https://amp.dev/documentation/guides-and-tutorials/learn/spec/amphtml/#links) | <a href=""foo.html"></a> >> ^~~~~~~~~ -feature_tests/parser.html:34:2 The attribute 'foo.html"' may not appear in tag 'a'. (see https://amp.dev/documentation/guides-and-tutorials/learn/spec/amphtml/#links) +feature_tests/parser.html:19:2 The attribute 'foo.html"' may not appear in tag 'a'. (see https://amp.dev/documentation/guides-and-tutorials/learn/spec/amphtml/#links) | <a href=''foo.html'></a> >> ^~~~~~~~~ -feature_tests/parser.html:35:2 The attribute 'foo.html'' may not appear in tag 'a'. (see https://amp.dev/documentation/guides-and-tutorials/learn/spec/amphtml/#links) +feature_tests/parser.html:20:2 The attribute 'foo.html'' may not appear in tag 'a'. (see https://amp.dev/documentation/guides-and-tutorials/learn/spec/amphtml/#links) | <a href=""foo.html""></a> >> ^~~~~~~~~ -feature_tests/parser.html:36:2 The attribute 'foo.html""' may not appear in tag 'a'. (see https://amp.dev/documentation/guides-and-tutorials/learn/spec/amphtml/#links) +feature_tests/parser.html:21:2 The attribute 'foo.html""' may not appear in tag 'a'. (see https://amp.dev/documentation/guides-and-tutorials/learn/spec/amphtml/#links) | <a href=''foo.html''></a> >> ^~~~~~~~~ -feature_tests/parser.html:37:2 The attribute 'foo.html''' may not appear in tag 'a'. (see https://amp.dev/documentation/guides-and-tutorials/learn/spec/amphtml/#links) +feature_tests/parser.html:22:2 The attribute 'foo.html''' may not appear in tag 'a'. (see https://amp.dev/documentation/guides-and-tutorials/learn/spec/amphtml/#links) | <a '></a> >> ^~~~~~~~~ -feature_tests/parser.html:38:2 The attribute ''' may not appear in tag 'a'. (see https://amp.dev/documentation/guides-and-tutorials/learn/spec/amphtml/#links) +feature_tests/parser.html:23:2 The attribute ''' may not appear in tag 'a'. (see https://amp.dev/documentation/guides-and-tutorials/learn/spec/amphtml/#links) | <a "></a> >> ^~~~~~~~~ -feature_tests/parser.html:39:2 The attribute '"' may not appear in tag 'a'. (see https://amp.dev/documentation/guides-and-tutorials/learn/spec/amphtml/#links) +feature_tests/parser.html:24:2 The attribute '"' may not appear in tag 'a'. (see https://amp.dev/documentation/guides-and-tutorials/learn/spec/amphtml/#links) | <a href"foo.html"></a> >> ^~~~~~~~~ -feature_tests/parser.html:40:2 The attribute 'href"foo.html"' may not appear in tag 'a'. (see https://amp.dev/documentation/guides-and-tutorials/learn/spec/amphtml/#links) +feature_tests/parser.html:25:2 The attribute 'href"foo.html"' may not appear in tag 'a'. (see https://amp.dev/documentation/guides-and-tutorials/learn/spec/amphtml/#links) | <a href'foo.html'></a> >> ^~~~~~~~~ -feature_tests/parser.html:41:2 The attribute 'href'foo.html'' may not appear in tag 'a'. (see https://amp.dev/documentation/guides-and-tutorials/learn/spec/amphtml/#links) +feature_tests/parser.html:26:2 The attribute 'href'foo.html'' may not appear in tag 'a'. (see https://amp.dev/documentation/guides-and-tutorials/learn/spec/amphtml/#links) | <a href"foo.html""></a> >> ^~~~~~~~~ -feature_tests/parser.html:42:2 The attribute 'href"foo.html""' may not appear in tag 'a'. (see https://amp.dev/documentation/guides-and-tutorials/learn/spec/amphtml/#links) +feature_tests/parser.html:27:2 The attribute 'href"foo.html""' may not appear in tag 'a'. (see https://amp.dev/documentation/guides-and-tutorials/learn/spec/amphtml/#links) | <a href'foo.html''></a> >> ^~~~~~~~~ -feature_tests/parser.html:43:2 The attribute 'href'foo.html''' may not appear in tag 'a'. (see https://amp.dev/documentation/guides-and-tutorials/learn/spec/amphtml/#links) +feature_tests/parser.html:28:2 The attribute 'href'foo.html''' may not appear in tag 'a'. (see https://amp.dev/documentation/guides-and-tutorials/learn/spec/amphtml/#links) | <a href""foo.html"></a> >> ^~~~~~~~~ -feature_tests/parser.html:44:2 The attribute 'href""foo.html"' may not appear in tag 'a'. (see https://amp.dev/documentation/guides-and-tutorials/learn/spec/amphtml/#links) +feature_tests/parser.html:29:2 The attribute 'href""foo.html"' may not appear in tag 'a'. (see https://amp.dev/documentation/guides-and-tutorials/learn/spec/amphtml/#links) | <a href''foo.html'></a> >> ^~~~~~~~~ -feature_tests/parser.html:45:2 The attribute 'href''foo.html'' may not appear in tag 'a'. (see https://amp.dev/documentation/guides-and-tutorials/learn/spec/amphtml/#links) +feature_tests/parser.html:30:2 The attribute 'href''foo.html'' may not appear in tag 'a'. (see https://amp.dev/documentation/guides-and-tutorials/learn/spec/amphtml/#links) | <a href""foo.html""></a> >> ^~~~~~~~~ -feature_tests/parser.html:46:2 The attribute 'href""foo.html""' may not appear in tag 'a'. (see https://amp.dev/documentation/guides-and-tutorials/learn/spec/amphtml/#links) +feature_tests/parser.html:31:2 The attribute 'href""foo.html""' may not appear in tag 'a'. (see https://amp.dev/documentation/guides-and-tutorials/learn/spec/amphtml/#links) | <a href''foo.html''></a> >> ^~~~~~~~~ -feature_tests/parser.html:47:2 The attribute 'href''foo.html''' may not appear in tag 'a'. (see https://amp.dev/documentation/guides-and-tutorials/learn/spec/amphtml/#links) +feature_tests/parser.html:32:2 The attribute 'href''foo.html''' may not appear in tag 'a'. (see https://amp.dev/documentation/guides-and-tutorials/learn/spec/amphtml/#links) | | <!-- Attributes in closing tags: --> | <a></a foo> @@ -88,30 +73,30 @@ feature_tests/parser.html:47:2 The attribute 'href''foo.html''' may not appear i | <!-- <, / as attributes: --> | <a < ></a> >> ^~~~~~~~~ -feature_tests/parser.html:56:2 The attribute '<' may not appear in tag 'a'. (see https://amp.dev/documentation/guides-and-tutorials/learn/spec/amphtml/#links) +feature_tests/parser.html:41:2 The attribute '<' may not appear in tag 'a'. (see https://amp.dev/documentation/guides-and-tutorials/learn/spec/amphtml/#links) | <a / ></a> | <a /a></a> >> ^~~~~~~~~ -feature_tests/parser.html:58:2 The attribute 'a' may not appear in tag 'a'. (see https://amp.dev/documentation/guides-and-tutorials/learn/spec/amphtml/#links) +feature_tests/parser.html:43:2 The attribute 'a' may not appear in tag 'a'. (see https://amp.dev/documentation/guides-and-tutorials/learn/spec/amphtml/#links) | <a /a ></a> >> ^~~~~~~~~ -feature_tests/parser.html:59:2 The attribute 'a' may not appear in tag 'a'. (see https://amp.dev/documentation/guides-and-tutorials/learn/spec/amphtml/#links) +feature_tests/parser.html:44:2 The attribute 'a' may not appear in tag 'a'. (see https://amp.dev/documentation/guides-and-tutorials/learn/spec/amphtml/#links) | | <!-- Tags that may be processing instructions: --> | <?php ?> | < ?php ?> >> ^~~~~~~~~ -feature_tests/parser.html:63:4 The tag '<?' is disallowed. +feature_tests/parser.html:48:4 The tag '<?' is disallowed. | <?php echo 'Hello, World'; ?> | <?php <span>Content</span> ?> >> ^~~~~~~~~ -feature_tests/parser.html:65:4 The tag '<?' is disallowed. +feature_tests/parser.html:50:4 The tag '<?' is disallowed. | <?xml:namespace prefix = o ns = "urn:schemas-microsoft-com:office:office" /> >> ^~~~~~~~~ -feature_tests/parser.html:66:4 The tag '<?' is disallowed. +feature_tests/parser.html:51:4 The tag '<?' is disallowed. | < ?xml:namespace ?> >> ^~~~~~~~~ -feature_tests/parser.html:67:4 The tag '<?' is disallowed. +feature_tests/parser.html:52:4 The tag '<?' is disallowed. | | </body> | </html> diff --git a/validator/testdata/feature_tests/partial_comment.html b/validator/testdata/feature_tests/partial_comment.html index 4c714a9f1294..c72df0fc8fde 100644 --- a/validator/testdata/feature_tests/partial_comment.html +++ b/validator/testdata/feature_tests/partial_comment.html @@ -1,18 +1,3 @@ -<!-- - Copyright 2015 The AMP HTML Authors. All Rights Reserved. - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS-IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the license. ---> <!-- Test Description: This test is valid, but contains a corner-case of an HTML comment that diff --git a/validator/testdata/feature_tests/partial_comment.out b/validator/testdata/feature_tests/partial_comment.out index e327c4740f9b..5b8d5e1f87f7 100644 --- a/validator/testdata/feature_tests/partial_comment.out +++ b/validator/testdata/feature_tests/partial_comment.out @@ -1,20 +1,5 @@ PASS | <!-- -| Copyright 2015 The AMP HTML Authors. All Rights Reserved. -| -| Licensed under the Apache License, Version 2.0 (the "License"); -| you may not use this file except in compliance with the License. -| You may obtain a copy of the License at -| -| http://www.apache.org/licenses/LICENSE-2.0 -| -| Unless required by applicable law or agreed to in writing, software -| distributed under the License is distributed on an "AS-IS" BASIS, -| WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -| See the License for the specific language governing permissions and -| limitations under the license. -| --> -| <!-- | Test Description: | This test is valid, but contains a corner-case of an HTML comment that | ends at EOF. diff --git a/validator/testdata/feature_tests/property_parsing.html b/validator/testdata/feature_tests/property_parsing.html index ac2eabd5fa9f..ee7f16d3039d 100644 --- a/validator/testdata/feature_tests/property_parsing.html +++ b/validator/testdata/feature_tests/property_parsing.html @@ -1,18 +1,3 @@ -<!-- - Copyright 2015 The AMP HTML Authors. All Rights Reserved. - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS-IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the license. ---> <!-- Test Description: This tests that properties in meta viewport can be separated by a semicolon. diff --git a/validator/testdata/feature_tests/property_parsing.out b/validator/testdata/feature_tests/property_parsing.out index 752bfeb77233..6db2908d50ee 100644 --- a/validator/testdata/feature_tests/property_parsing.out +++ b/validator/testdata/feature_tests/property_parsing.out @@ -1,20 +1,5 @@ PASS | <!-- -| Copyright 2015 The AMP HTML Authors. All Rights Reserved. -| -| Licensed under the Apache License, Version 2.0 (the "License"); -| you may not use this file except in compliance with the License. -| You may obtain a copy of the License at -| -| http://www.apache.org/licenses/LICENSE-2.0 -| -| Unless required by applicable law or agreed to in writing, software -| distributed under the License is distributed on an "AS-IS" BASIS, -| WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -| See the License for the specific language governing permissions and -| limitations under the license. -| --> -| <!-- | Test Description: | This tests that properties in meta viewport can be separated by a semicolon. | See https://github.com/ampproject/amphtml/issues/4577 for history. diff --git a/validator/testdata/feature_tests/rdfa.html b/validator/testdata/feature_tests/rdfa.html index 3df4ffa57724..7171d1b7349b 100644 --- a/validator/testdata/feature_tests/rdfa.html +++ b/validator/testdata/feature_tests/rdfa.html @@ -1,18 +1,3 @@ -<!-- - Copyright 2015 The AMP HTML Authors. All Rights Reserved. - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS-IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the license. ---> <!doctype html> <!-- Test Description: diff --git a/validator/testdata/feature_tests/rdfa.out b/validator/testdata/feature_tests/rdfa.out index 3e81c3ec8c05..48560d8a27d4 100644 --- a/validator/testdata/feature_tests/rdfa.out +++ b/validator/testdata/feature_tests/rdfa.out @@ -1,19 +1,4 @@ PASS -| <!-- -| Copyright 2015 The AMP HTML Authors. All Rights Reserved. -| -| Licensed under the Apache License, Version 2.0 (the "License"); -| you may not use this file except in compliance with the License. -| You may obtain a copy of the License at -| -| http://www.apache.org/licenses/LICENSE-2.0 -| -| Unless required by applicable law or agreed to in writing, software -| distributed under the License is distributed on an "AS-IS" BASIS, -| WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -| See the License for the specific language governing permissions and -| limitations under the license. -| --> | <!doctype html> | <!-- | Test Description: diff --git a/validator/testdata/feature_tests/recipe-json-ld.html b/validator/testdata/feature_tests/recipe-json-ld.html index 19c16fff3b9f..5790db8ac894 100644 --- a/validator/testdata/feature_tests/recipe-json-ld.html +++ b/validator/testdata/feature_tests/recipe-json-ld.html @@ -1,18 +1,3 @@ -<!-- - Copyright 2017 The AMP HTML Authors. All Rights Reserved. - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS-IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the license. ---> <!doctype html> <!-- This sample AMP HTML file aims to be a minimalist document that diff --git a/validator/testdata/feature_tests/recipe-json-ld.out b/validator/testdata/feature_tests/recipe-json-ld.out index 02ed68a6599e..518e881264d5 100644 --- a/validator/testdata/feature_tests/recipe-json-ld.out +++ b/validator/testdata/feature_tests/recipe-json-ld.out @@ -1,19 +1,4 @@ PASS -| <!-- -| Copyright 2017 The AMP HTML Authors. All Rights Reserved. -| -| Licensed under the Apache License, Version 2.0 (the "License"); -| you may not use this file except in compliance with the License. -| You may obtain a copy of the License at -| -| http://www.apache.org/licenses/LICENSE-2.0 -| -| Unless required by applicable law or agreed to in writing, software -| distributed under the License is distributed on an "AS-IS" BASIS, -| WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -| See the License for the specific language governing permissions and -| limitations under the license. -| --> | <!doctype html> | <!-- | This sample AMP HTML file aims to be a minimalist document that diff --git a/validator/testdata/feature_tests/recipe-microdata.html b/validator/testdata/feature_tests/recipe-microdata.html index 2df0ef8e436f..524602ca2cc9 100644 --- a/validator/testdata/feature_tests/recipe-microdata.html +++ b/validator/testdata/feature_tests/recipe-microdata.html @@ -1,18 +1,3 @@ -<!-- - Copyright 2017 The AMP HTML Authors. All Rights Reserved. - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS-IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the license. ---> <!doctype html> <!-- This sample AMP HTML file aims to be a minimalist document that diff --git a/validator/testdata/feature_tests/recipe-microdata.out b/validator/testdata/feature_tests/recipe-microdata.out index 51cca0ae0d31..57880f6399c1 100644 --- a/validator/testdata/feature_tests/recipe-microdata.out +++ b/validator/testdata/feature_tests/recipe-microdata.out @@ -1,19 +1,4 @@ PASS -| <!-- -| Copyright 2017 The AMP HTML Authors. All Rights Reserved. -| -| Licensed under the Apache License, Version 2.0 (the "License"); -| you may not use this file except in compliance with the License. -| You may obtain a copy of the License at -| -| http://www.apache.org/licenses/LICENSE-2.0 -| -| Unless required by applicable law or agreed to in writing, software -| distributed under the License is distributed on an "AS-IS" BASIS, -| WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -| See the License for the specific language governing permissions and -| limitations under the license. -| --> | <!doctype html> | <!-- | This sample AMP HTML file aims to be a minimalist document that diff --git a/validator/testdata/feature_tests/regexps.html b/validator/testdata/feature_tests/regexps.html index e34ca29e38c9..b12aea6213ac 100644 --- a/validator/testdata/feature_tests/regexps.html +++ b/validator/testdata/feature_tests/regexps.html @@ -1,18 +1,3 @@ -<!-- - Copyright 2015 The AMP HTML Authors. All Rights Reserved. - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS-IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the license. ---> <!-- Test Description: This tests looks at specific errors related to positive and negative diff --git a/validator/testdata/feature_tests/regexps.out b/validator/testdata/feature_tests/regexps.out index fba62666c169..3804be3e7bd1 100644 --- a/validator/testdata/feature_tests/regexps.out +++ b/validator/testdata/feature_tests/regexps.out @@ -1,20 +1,5 @@ FAIL | <!-- -| Copyright 2015 The AMP HTML Authors. All Rights Reserved. -| -| Licensed under the Apache License, Version 2.0 (the "License"); -| you may not use this file except in compliance with the License. -| You may obtain a copy of the License at -| -| http://www.apache.org/licenses/LICENSE-2.0 -| -| Unless required by applicable law or agreed to in writing, software -| distributed under the License is distributed on an "AS-IS" BASIS, -| WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -| See the License for the specific language governing permissions and -| limitations under the license. -| --> -| <!-- | Test Description: | This tests looks at specific errors related to positive and negative | regexps used inside the validator. @@ -27,7 +12,7 @@ FAIL | <meta name="viewport" content="width=device-width,minimum-scale=1"> | <style>invalid body</style> >> ^~~~~~~~~ -feature_tests/regexps.html:27:2 The mandatory attribute 'amp-custom' is missing in tag 'style amp-custom'. (see https://amp.dev/documentation/guides-and-tutorials/learn/spec/amphtml/#stylesheets) +feature_tests/regexps.html:12:2 The mandatory attribute 'amp-custom' is missing in tag 'style amp-custom'. (see https://amp.dev/documentation/guides-and-tutorials/learn/spec/amphtml/#stylesheets) | <noscript><style amp-boilerplate>body{-webkit-animation:none;-moz-animation:none;-ms-animation:none;animation:none}</style></noscript> | <script async src="https://cdn.ampproject.org/v0.js"></script> | @@ -38,15 +23,15 @@ feature_tests/regexps.html:27:2 The mandatory attribute 'amp-custom' is missing | <script async custom-element="amp-vine" src="https://cdn.ampproject.org/v0/amp-vine-latest.js"> </script> | <script async custom-element="amp-vine" src="https://cdn.ampproject.org/v0/amp-vine-0.1.js?foobar"></script> >> ^~~~~~~~~ -feature_tests/regexps.html:36:2 The extension 'amp-vine' has a path 'v0/amp-vine-0.1.js?foobar' which is invalid. Please use a valid path for this extension. (see https://amp.dev/documentation/components/amp-vine) +feature_tests/regexps.html:21:2 The extension 'amp-vine' has a path 'v0/amp-vine-0.1.js?foobar' which is invalid. Please use a valid path for this extension. (see https://amp.dev/documentation/components/amp-vine) | <script async custom-element="amp-vine" src="http://xss.com/https://cdn.ampproject.org/v0/amp-vine-0.1.js?foobar"></script> >> ^~~~~~~~~ -feature_tests/regexps.html:37:2 The script tag includes an invalid AMP domain in the src attribute. +feature_tests/regexps.html:22:2 The script tag includes an invalid AMP domain in the src attribute. >> ^~~~~~~~~ -feature_tests/regexps.html:37:2 The attribute 'src' in tag 'amp-vine extension script' is set to the invalid value 'http://xss.com/https://cdn.ampproject.org/v0/amp-vine-0.1.js?foobar'. (see https://amp.dev/documentation/components/amp-vine) +feature_tests/regexps.html:22:2 The attribute 'src' in tag 'amp-vine extension script' is set to the invalid value 'http://xss.com/https://cdn.ampproject.org/v0/amp-vine-0.1.js?foobar'. (see https://amp.dev/documentation/components/amp-vine) | <script async custom-element="amp-hulu" src="https://cdn.ampproject.org/v0/amp-hulu-latest.js"> Only whitespace is allowed here. </script> >> ^~~~~~~~~ -feature_tests/regexps.html:38:2 The tag 'amp-hulu extension script' contains text, which is disallowed. (see https://amp.dev/documentation/components/amp-hulu) +feature_tests/regexps.html:23:2 The tag 'amp-hulu extension script' contains text, which is disallowed. (see https://amp.dev/documentation/components/amp-hulu) | | <!-- | href value_regex: "https://cdn\\.materialdesignicons\\.com/([0-9]+\\.?)+/css/materialdesignicons\\.min\\.css" @@ -56,7 +41,7 @@ feature_tests/regexps.html:38:2 The tag 'amp-hulu extension script' contains tex | href="https://cdn.materialdesignicons.com/2.0.46/css/materialdesignicons.min.css"> | <link rel="stylesheet" type="text/css" >> ^~~~~~~~~ -feature_tests/regexps.html:46:2 The attribute 'href' in tag 'link rel=stylesheet for fonts' is set to the invalid value 'https://cdn.materialdesignicons.com/2.0.46/css/.../materialdesignicons.min.css'. (see https://amp.dev/documentation/guides-and-tutorials/learn/spec/amphtml/#custom-fonts) +feature_tests/regexps.html:31:2 The attribute 'href' in tag 'link rel=stylesheet for fonts' is set to the invalid value 'https://cdn.materialdesignicons.com/2.0.46/css/.../materialdesignicons.min.css'. (see https://amp.dev/documentation/guides-and-tutorials/learn/spec/amphtml/#custom-fonts) | href="https://cdn.materialdesignicons.com/2.0.46/css/.../materialdesignicons.min.css"> | | <!-- @@ -71,7 +56,7 @@ feature_tests/regexps.html:46:2 The attribute 'href' in tag 'link rel=stylesheet | href="https://cloud.typography.com/6256354/724768/css/fonts.css"> | <link rel="stylesheet" type="text/css" >> ^~~~~~~~~ -feature_tests/regexps.html:59:2 The attribute 'href' in tag 'link rel=stylesheet for fonts' is set to the invalid value 'http://xss.com/https://fonts.googleapis.com/css?foobar'. (see https://amp.dev/documentation/guides-and-tutorials/learn/spec/amphtml/#custom-fonts) +feature_tests/regexps.html:44:2 The attribute 'href' in tag 'link rel=stylesheet for fonts' is set to the invalid value 'http://xss.com/https://fonts.googleapis.com/css?foobar'. (see https://amp.dev/documentation/guides-and-tutorials/learn/spec/amphtml/#custom-fonts) | href="http://xss.com/https://fonts.googleapis.com/css?foobar"> | | <!-- @@ -83,7 +68,7 @@ feature_tests/regexps.html:59:2 The attribute 'href' in tag 'link rel=stylesheet | href="https://use.typekit.net/oeg4hgb.css"> | <link rel="stylesheet" type="text/css" >> ^~~~~~~~~ -feature_tests/regexps.html:69:2 The attribute 'href' in tag 'link rel=stylesheet for fonts' is set to the invalid value 'https://use.typekit.net/css/oeg4hgb.css'. (see https://amp.dev/documentation/guides-and-tutorials/learn/spec/amphtml/#custom-fonts) +feature_tests/regexps.html:54:2 The attribute 'href' in tag 'link rel=stylesheet for fonts' is set to the invalid value 'https://use.typekit.net/css/oeg4hgb.css'. (see https://amp.dev/documentation/guides-and-tutorials/learn/spec/amphtml/#custom-fonts) | href="https://use.typekit.net/css/oeg4hgb.css"> | | <!-- @@ -94,7 +79,7 @@ feature_tests/regexps.html:69:2 The attribute 'href' in tag 'link rel=stylesheet | href="https://maxcdn.bootstrapcdn.com/font-awesome/4.7.0/css/font-awesome.min.css"> | <link rel="stylesheet" type="text/css" >> ^~~~~~~~~ -feature_tests/regexps.html:78:2 The attribute 'href' in tag 'link rel=stylesheet for fonts' is set to the invalid value 'https://maxcdn.bootstrapcdn.com/font-awesome/../bootstrap/3.3.7/css/bootstrap.min.class'. (see https://amp.dev/documentation/guides-and-tutorials/learn/spec/amphtml/#custom-fonts) +feature_tests/regexps.html:63:2 The attribute 'href' in tag 'link rel=stylesheet for fonts' is set to the invalid value 'https://maxcdn.bootstrapcdn.com/font-awesome/../bootstrap/3.3.7/css/bootstrap.min.class'. (see https://amp.dev/documentation/guides-and-tutorials/learn/spec/amphtml/#custom-fonts) | href="https://maxcdn.bootstrapcdn.com/font-awesome/../bootstrap/3.3.7/css/bootstrap.min.class"> | <!-- | New Font Awesome url format the first five are valid the last two are not. @@ -110,7 +95,7 @@ feature_tests/regexps.html:78:2 The attribute 'href' in tag 'link rel=stylesheet | <link href="https://use.fontawesome.com/releases/v5.0.8/css/other.css" rel="stylesheet"> | <link href="https://use.fontawesome.com/releases/v5.0.8/../css/solid.css" rel="stylesheet"> >> ^~~~~~~~~ -feature_tests/regexps.html:92:2 The attribute 'href' in tag 'link rel=stylesheet for fonts' is set to the invalid value 'https://use.fontawesome.com/releases/v5.0.8/../css/solid.css'. (see https://amp.dev/documentation/guides-and-tutorials/learn/spec/amphtml/#custom-fonts) +feature_tests/regexps.html:77:2 The attribute 'href' in tag 'link rel=stylesheet for fonts' is set to the invalid value 'https://use.fontawesome.com/releases/v5.0.8/../css/solid.css'. (see https://amp.dev/documentation/guides-and-tutorials/learn/spec/amphtml/#custom-fonts) | <!-- | Old Font Awesome url format. Valid. | --> @@ -125,13 +110,13 @@ feature_tests/regexps.html:92:2 The attribute 'href' in tag 'link rel=stylesheet | <link rel="accessibility alternate archives"> | <link rel="import"> >> ^~~~~~~~~ -feature_tests/regexps.html:105:2 The attribute 'rel' in tag 'link' is set to the invalid value 'import'. (see https://amp.dev/documentation/guides-and-tutorials/learn/spec/amphtml/#html-tags) +feature_tests/regexps.html:90:2 The attribute 'rel' in tag 'link' is set to the invalid value 'import'. (see https://amp.dev/documentation/guides-and-tutorials/learn/spec/amphtml/#html-tags) | <link rel="accessibility subresource"> >> ^~~~~~~~~ -feature_tests/regexps.html:106:2 The attribute 'rel' in tag 'link' is set to the invalid value 'accessibility subresource'. (see https://amp.dev/documentation/guides-and-tutorials/learn/spec/amphtml/#html-tags) +feature_tests/regexps.html:91:2 The attribute 'rel' in tag 'link' is set to the invalid value 'accessibility subresource'. (see https://amp.dev/documentation/guides-and-tutorials/learn/spec/amphtml/#html-tags) | <link rel="manifest accessibility"> >> ^~~~~~~~~ -feature_tests/regexps.html:107:2 The attribute 'rel' in tag 'link' is set to the invalid value 'manifest accessibility'. (see https://amp.dev/documentation/guides-and-tutorials/learn/spec/amphtml/#html-tags) +feature_tests/regexps.html:92:2 The attribute 'rel' in tag 'link' is set to the invalid value 'manifest accessibility'. (see https://amp.dev/documentation/guides-and-tutorials/learn/spec/amphtml/#html-tags) | | <!-- | name disallowed_value_regex: "(^|\\s)(viewport|content-disposition|revisit-after)($|\\s)" @@ -141,10 +126,10 @@ feature_tests/regexps.html:107:2 The attribute 'rel' in tag 'link' is set to the | <meta name="validcontent-disposition" content=""> | <meta name="content-disposition" content=""> >> ^~~~~~~~~ -feature_tests/regexps.html:115:2 The attribute 'name' in tag 'meta' is set to the invalid value 'content-disposition'. +feature_tests/regexps.html:100:2 The attribute 'name' in tag 'meta' is set to the invalid value 'content-disposition'. | <meta name="invalid content-disposition" content=""> >> ^~~~~~~~~ -feature_tests/regexps.html:116:2 The attribute 'name' in tag 'meta' is set to the invalid value 'invalid content-disposition'. +feature_tests/regexps.html:101:2 The attribute 'name' in tag 'meta' is set to the invalid value 'invalid content-disposition'. | | <!-- | css selector disallowed_value_regex: "(^|\\W)i-amphtml-" @@ -152,7 +137,7 @@ feature_tests/regexps.html:116:2 The attribute 'name' in tag 'meta' is set to th | --> | <style amp-custom> >> ^~~~~~~~~ -feature_tests/regexps.html:122:2 The text inside tag 'style amp-custom' contains 'CSS i-amphtml- name prefix', which is disallowed. (see https://amp.dev/documentation/guides-and-tutorials/learn/spec/amphtml/#stylesheets) +feature_tests/regexps.html:107:2 The text inside tag 'style amp-custom' contains 'CSS i-amphtml- name prefix', which is disallowed. (see https://amp.dev/documentation/guides-and-tutorials/learn/spec/amphtml/#stylesheets) | .comic-amp-font-loaded .comic-amp { | font-family: 'Comic AMP', serif, sans-serif; | } @@ -172,10 +157,10 @@ feature_tests/regexps.html:122:2 The text inside tag 'style amp-custom' contains | <div class="example-amp-font"></div> | <div class="example-amp-font i-amphtml-hidden"></div> >> ^~~~~~~~~ -feature_tests/regexps.html:140:2 The attribute 'class' in tag 'div' is set to the invalid value 'example-amp-font i-amphtml-hidden'. (see https://amp.dev/documentation/guides-and-tutorials/develop/style_and_layout/style_pages/#disallowed-styles) +feature_tests/regexps.html:125:2 The attribute 'class' in tag 'div' is set to the invalid value 'example-amp-font i-amphtml-hidden'. (see https://amp.dev/documentation/guides-and-tutorials/develop/style_and_layout/style_pages/#disallowed-styles) | <div class="i-amphtml-hidden example-amp-font"></div> >> ^~~~~~~~~ -feature_tests/regexps.html:141:2 The attribute 'class' in tag 'div' is set to the invalid value 'i-amphtml-hidden example-amp-font'. (see https://amp.dev/documentation/guides-and-tutorials/develop/style_and_layout/style_pages/#disallowed-styles) +feature_tests/regexps.html:126:2 The attribute 'class' in tag 'div' is set to the invalid value 'i-amphtml-hidden example-amp-font'. (see https://amp.dev/documentation/guides-and-tutorials/develop/style_and_layout/style_pages/#disallowed-styles) | | <!-- | id disallowed_value_regex: lengthy, see protoascii @@ -184,10 +169,10 @@ feature_tests/regexps.html:141:2 The attribute 'class' in tag 'div' is set to th | <div id="exampe-amp-font"></div> | <div id="i-amphtml-abc"></div> >> ^~~~~~~~~ -feature_tests/regexps.html:148:2 The attribute 'id' in tag 'div' is set to the invalid value 'i-amphtml-abc'. +feature_tests/regexps.html:133:2 The attribute 'id' in tag 'div' is set to the invalid value 'i-amphtml-abc'. | <div id="AMP"></div> >> ^~~~~~~~~ -feature_tests/regexps.html:149:2 The attribute 'id' in tag 'div' is set to the invalid value 'AMP'. +feature_tests/regexps.html:134:2 The attribute 'id' in tag 'div' is set to the invalid value 'AMP'. | | <!-- | name disallowed_value_regex: lengthy, see protoascii @@ -197,17 +182,17 @@ feature_tests/regexps.html:149:2 The attribute 'id' in tag 'div' is set to the i | <input name="email" /> | <input name="innerHTML" /> >> ^~~~~~~~~ -feature_tests/regexps.html:157:2 The attribute 'name' in tag 'input' is set to the invalid value 'innerHTML'. (see https://amp.dev/documentation/components/amp-form/) +feature_tests/regexps.html:142:2 The attribute 'name' in tag 'input' is set to the invalid value 'innerHTML'. (see https://amp.dev/documentation/components/amp-form/) | <input name="__amp_source_origin" /> >> ^~~~~~~~~ -feature_tests/regexps.html:158:2 The attribute 'name' in tag 'input' is set to the invalid value '__amp_source_origin'. (see https://amp.dev/documentation/components/amp-form/) +feature_tests/regexps.html:143:2 The attribute 'name' in tag 'input' is set to the invalid value '__amp_source_origin'. (see https://amp.dev/documentation/components/amp-form/) | <input name="webkitRequestFullscreen" /> >> ^~~~~~~~~ -feature_tests/regexps.html:159:2 The attribute 'name' in tag 'input' is set to the invalid value 'webkitRequestFullscreen'. (see https://amp.dev/documentation/components/amp-form/) +feature_tests/regexps.html:144:2 The attribute 'name' in tag 'input' is set to the invalid value 'webkitRequestFullscreen'. (see https://amp.dev/documentation/components/amp-form/) | | </body> | </html> >> ^~~~~~~~~ -feature_tests/regexps.html:162:6 The mandatory tag 'head > style[amp-boilerplate]' is missing or incorrect. (see https://amp.dev/documentation/guides-and-tutorials/learn/spec/amp-boilerplate/?format=websites) +feature_tests/regexps.html:147:6 The mandatory tag 'head > style[amp-boilerplate]' is missing or incorrect. (see https://amp.dev/documentation/guides-and-tutorials/learn/spec/amp-boilerplate/?format=websites) >> ^~~~~~~~~ -feature_tests/regexps.html:162:6 The extension 'amp-hulu' was found on this page, but is unused. Please remove this extension. +feature_tests/regexps.html:147:6 The extension 'amp-hulu' was found on this page, but is unused. Please remove this extension. diff --git a/validator/testdata/feature_tests/review-json-ld.html b/validator/testdata/feature_tests/review-json-ld.html index 961176385ca5..3cc002f68a79 100644 --- a/validator/testdata/feature_tests/review-json-ld.html +++ b/validator/testdata/feature_tests/review-json-ld.html @@ -1,18 +1,3 @@ -<!-- - Copyright 2017 The AMP HTML Authors. All Rights Reserved. - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS-IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the license. ---> <!doctype html> <!-- This sample AMP HTML file aims to be a minimalist document that diff --git a/validator/testdata/feature_tests/review-json-ld.out b/validator/testdata/feature_tests/review-json-ld.out index c0877f4c4f43..b4bdc14c43f9 100644 --- a/validator/testdata/feature_tests/review-json-ld.out +++ b/validator/testdata/feature_tests/review-json-ld.out @@ -1,19 +1,4 @@ PASS -| <!-- -| Copyright 2017 The AMP HTML Authors. All Rights Reserved. -| -| Licensed under the Apache License, Version 2.0 (the "License"); -| you may not use this file except in compliance with the License. -| You may obtain a copy of the License at -| -| http://www.apache.org/licenses/LICENSE-2.0 -| -| Unless required by applicable law or agreed to in writing, software -| distributed under the License is distributed on an "AS-IS" BASIS, -| WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -| See the License for the specific language governing permissions and -| limitations under the license. -| --> | <!doctype html> | <!-- | This sample AMP HTML file aims to be a minimalist document that diff --git a/validator/testdata/feature_tests/root_element_attributes.html b/validator/testdata/feature_tests/root_element_attributes.html index 07a130117c60..b9b00a4e26f5 100644 --- a/validator/testdata/feature_tests/root_element_attributes.html +++ b/validator/testdata/feature_tests/root_element_attributes.html @@ -1,15 +1,3 @@ -<!-- - Copyright 2017 The AMP HTML Authors. All Rights Reserved. - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - http://www.apache.org/licenses/LICENSE-2.0 - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS-IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the license. ---> <!-- Test Description: This demonstrates that certain attributes are not allowed on the root <html> element. diff --git a/validator/testdata/feature_tests/root_element_attributes.out b/validator/testdata/feature_tests/root_element_attributes.out index aae705ba4709..5428d1b31e26 100644 --- a/validator/testdata/feature_tests/root_element_attributes.out +++ b/validator/testdata/feature_tests/root_element_attributes.out @@ -1,28 +1,16 @@ FAIL | <!-- -| Copyright 2017 The AMP HTML Authors. All Rights Reserved. -| Licensed under the Apache License, Version 2.0 (the "License"); -| you may not use this file except in compliance with the License. -| You may obtain a copy of the License at -| http://www.apache.org/licenses/LICENSE-2.0 -| Unless required by applicable law or agreed to in writing, software -| distributed under the License is distributed on an "AS-IS" BASIS, -| WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -| See the License for the specific language governing permissions and -| limitations under the license. -| --> -| <!-- | Test Description: | This demonstrates that certain attributes are not allowed on the root <html> element. | --> | <!doctype html> | <html ⚡ allow-xhr-interception allow-viewer-render-template report-errors-to-viewer> >> ^~~~~~~~~ -feature_tests/root_element_attributes.html:18:0 The attribute 'allow-viewer-render-template' may not appear in tag 'html'. (see https://amp.dev/documentation/guides-and-tutorials/learn/spec/amphtml/#required-markup) +feature_tests/root_element_attributes.html:6:0 The attribute 'allow-viewer-render-template' may not appear in tag 'html'. (see https://amp.dev/documentation/guides-and-tutorials/learn/spec/amphtml/#required-markup) >> ^~~~~~~~~ -feature_tests/root_element_attributes.html:18:0 The attribute 'allow-xhr-interception' may not appear in tag 'html'. (see https://amp.dev/documentation/guides-and-tutorials/learn/spec/amphtml/#required-markup) +feature_tests/root_element_attributes.html:6:0 The attribute 'allow-xhr-interception' may not appear in tag 'html'. (see https://amp.dev/documentation/guides-and-tutorials/learn/spec/amphtml/#required-markup) >> ^~~~~~~~~ -feature_tests/root_element_attributes.html:18:0 The attribute 'report-errors-to-viewer' may not appear in tag 'html'. (see https://amp.dev/documentation/guides-and-tutorials/learn/spec/amphtml/#required-markup) +feature_tests/root_element_attributes.html:6:0 The attribute 'report-errors-to-viewer' may not appear in tag 'html'. (see https://amp.dev/documentation/guides-and-tutorials/learn/spec/amphtml/#required-markup) | <head> | <meta charset="utf-8"> | <link rel="canonical" href="./regular-html-version.html"> diff --git a/validator/testdata/feature_tests/runtime_in_body.html b/validator/testdata/feature_tests/runtime_in_body.html index 87cf5add4779..9fe3918fa203 100644 --- a/validator/testdata/feature_tests/runtime_in_body.html +++ b/validator/testdata/feature_tests/runtime_in_body.html @@ -1,18 +1,3 @@ -<!-- - Copyright 2015 The AMP HTML Authors. All Rights Reserved. - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS-IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the license. ---> <!-- Test Description: diff --git a/validator/testdata/feature_tests/runtime_in_body.out b/validator/testdata/feature_tests/runtime_in_body.out index 9b11a46c03ce..c390e846aafa 100644 --- a/validator/testdata/feature_tests/runtime_in_body.out +++ b/validator/testdata/feature_tests/runtime_in_body.out @@ -1,20 +1,5 @@ FAIL | <!-- -| Copyright 2015 The AMP HTML Authors. All Rights Reserved. -| -| Licensed under the Apache License, Version 2.0 (the "License"); -| you may not use this file except in compliance with the License. -| You may obtain a copy of the License at -| -| http://www.apache.org/licenses/LICENSE-2.0 -| -| Unless required by applicable law or agreed to in writing, software -| distributed under the License is distributed on an "AS-IS" BASIS, -| WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -| See the License for the specific language governing permissions and -| limitations under the license. -| --> -| <!-- | Test Description: | | This test demonstrates an error message selected via dispatch_key rules. @@ -40,7 +25,7 @@ FAIL | | <script async src="https://cdn.ampproject.org/v0.js"></script> >> ^~~~~~~~~ -feature_tests/runtime_in_body.html:40:2 The parent tag of tag 'amphtml engine script' is 'body', but it can only be 'head'. (see https://amp.dev/documentation/guides-and-tutorials/learn/spec/amphtml/#required-markup) +feature_tests/runtime_in_body.html:25:2 The parent tag of tag 'amphtml engine script' is 'body', but it can only be 'head'. (see https://amp.dev/documentation/guides-and-tutorials/learn/spec/amphtml/#required-markup) | | </body> | </html> diff --git a/validator/testdata/feature_tests/script_amp_onerror_js.html b/validator/testdata/feature_tests/script_amp_onerror_js.html index 832fd4a8826b..89c0427dba8a 100644 --- a/validator/testdata/feature_tests/script_amp_onerror_js.html +++ b/validator/testdata/feature_tests/script_amp_onerror_js.html @@ -1,18 +1,3 @@ -<!-- - Copyright 2021 The AMP HTML Authors. All Rights Reserved. - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS-IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the license. ---> <!-- Test Description: This tests the validity of the script tag for early styling on fast failure diff --git a/validator/testdata/feature_tests/script_amp_onerror_js.out b/validator/testdata/feature_tests/script_amp_onerror_js.out index 9610947237a8..0e02020f9991 100644 --- a/validator/testdata/feature_tests/script_amp_onerror_js.out +++ b/validator/testdata/feature_tests/script_amp_onerror_js.out @@ -1,20 +1,5 @@ PASS | <!-- -| Copyright 2021 The AMP HTML Authors. All Rights Reserved. -| -| Licensed under the Apache License, Version 2.0 (the "License"); -| you may not use this file except in compliance with the License. -| You may obtain a copy of the License at -| -| http://www.apache.org/licenses/LICENSE-2.0 -| -| Unless required by applicable law or agreed to in writing, software -| distributed under the License is distributed on an "AS-IS" BASIS, -| WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -| See the License for the specific language governing permissions and -| limitations under the license. -| --> -| <!-- | Test Description: | This tests the validity of the script tag for early styling on fast failure | to load v0.js. See GitHub #22543. diff --git a/validator/testdata/feature_tests/script_amp_onerror_js_fail.html b/validator/testdata/feature_tests/script_amp_onerror_js_fail.html index 4b95591f03c7..79ed58fb3b8c 100644 --- a/validator/testdata/feature_tests/script_amp_onerror_js_fail.html +++ b/validator/testdata/feature_tests/script_amp_onerror_js_fail.html @@ -1,18 +1,3 @@ -<!-- - Copyright 2021 The AMP HTML Authors. All Rights Reserved. - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS-IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the license. ---> <!-- Test Description: This tests the validity of the script tag for early styling on fast failure diff --git a/validator/testdata/feature_tests/script_amp_onerror_js_fail.out b/validator/testdata/feature_tests/script_amp_onerror_js_fail.out index f19f48b13ec5..602e8d948b7a 100644 --- a/validator/testdata/feature_tests/script_amp_onerror_js_fail.out +++ b/validator/testdata/feature_tests/script_amp_onerror_js_fail.out @@ -1,20 +1,5 @@ FAIL | <!-- -| Copyright 2021 The AMP HTML Authors. All Rights Reserved. -| -| Licensed under the Apache License, Version 2.0 (the "License"); -| you may not use this file except in compliance with the License. -| You may obtain a copy of the License at -| -| http://www.apache.org/licenses/LICENSE-2.0 -| -| Unless required by applicable law or agreed to in writing, software -| distributed under the License is distributed on an "AS-IS" BASIS, -| WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -| See the License for the specific language governing permissions and -| limitations under the license. -| --> -| <!-- | Test Description: | This tests the validity of the script tag for early styling on fast failure | to load v0.js. See GitHub #22543. @@ -30,7 +15,7 @@ FAIL | <!-- Invalid: cdata does not match exactly --> | <script amp-onerror>document.querySelector("script[src*='/v0.js']").onerror=function(){document.querySelector('style[amp-boilerplate]').textContent=' '}</script> >> ^~~~~~~~~ -feature_tests/script_amp_onerror_js_fail.html:30:2 The mandatory text inside tag 'script amp-onerror' is missing or incorrect. +feature_tests/script_amp_onerror_js_fail.html:15:2 The mandatory text inside tag 'script amp-onerror' is missing or incorrect. | </head> | <body> | Hello, world. diff --git a/validator/testdata/feature_tests/script_invalid_path.html b/validator/testdata/feature_tests/script_invalid_path.html index 399f1edd8590..3a736c942210 100644 --- a/validator/testdata/feature_tests/script_invalid_path.html +++ b/validator/testdata/feature_tests/script_invalid_path.html @@ -1,18 +1,3 @@ -<!-- - Copyright 2021 The AMP HTML Authors. All Rights Reserved. - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS-IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the license. ---> <!-- Test Description: Tests script tags src attribute for valid path. diff --git a/validator/testdata/feature_tests/script_invalid_path.out b/validator/testdata/feature_tests/script_invalid_path.out index 185f86ddd67b..f9b3a69f3020 100644 --- a/validator/testdata/feature_tests/script_invalid_path.out +++ b/validator/testdata/feature_tests/script_invalid_path.out @@ -1,20 +1,5 @@ FAIL | <!-- -| Copyright 2021 The AMP HTML Authors. All Rights Reserved. -| -| Licensed under the Apache License, Version 2.0 (the "License"); -| you may not use this file except in compliance with the License. -| You may obtain a copy of the License at -| -| http://www.apache.org/licenses/LICENSE-2.0 -| -| Unless required by applicable law or agreed to in writing, software -| distributed under the License is distributed on an "AS-IS" BASIS, -| WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -| See the License for the specific language governing permissions and -| limitations under the license. -| --> -| <!-- | Test Description: | Tests script tags src attribute for valid path. | --> @@ -33,7 +18,7 @@ FAIL | <!-- Invalid: the script src path is not valid for AMP --> | <script async custom-element=amp-ad src=https://cdn.ampproject.org/v0/0xff-amp-ad-0.1-foo.js-bar></script> >> ^~~~~~~~~ -feature_tests/script_invalid_path.html:33:2 The extension 'amp-ad' has a path 'v0/0xff-amp-ad-0.1-foo.js-bar' which is invalid. Please use a valid path for this extension. (see https://amp.dev/documentation/components/amp-ad) +feature_tests/script_invalid_path.html:18:2 The extension 'amp-ad' has a path 'v0/0xff-amp-ad-0.1-foo.js-bar' which is invalid. Please use a valid path for this extension. (see https://amp.dev/documentation/components/amp-ad) | </head> | <body> | Hello, world. diff --git a/validator/testdata/feature_tests/slash_attrs.html b/validator/testdata/feature_tests/slash_attrs.html index 86aebc9d452f..7d13ef014414 100644 --- a/validator/testdata/feature_tests/slash_attrs.html +++ b/validator/testdata/feature_tests/slash_attrs.html @@ -1,18 +1,3 @@ -<!-- - Copyright 2015 The AMP HTML Authors. All Rights Reserved. - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS-IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the license. ---> <!-- Test Description: This is the minimum valid AMP document; it includes all of the required diff --git a/validator/testdata/feature_tests/slash_attrs.out b/validator/testdata/feature_tests/slash_attrs.out index 764ad4302269..c7dc6c811709 100644 --- a/validator/testdata/feature_tests/slash_attrs.out +++ b/validator/testdata/feature_tests/slash_attrs.out @@ -1,20 +1,5 @@ FAIL | <!-- -| Copyright 2015 The AMP HTML Authors. All Rights Reserved. -| -| Licensed under the Apache License, Version 2.0 (the "License"); -| you may not use this file except in compliance with the License. -| You may obtain a copy of the License at -| -| http://www.apache.org/licenses/LICENSE-2.0 -| -| Unless required by applicable law or agreed to in writing, software -| distributed under the License is distributed on an "AS-IS" BASIS, -| WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -| See the License for the specific language governing permissions and -| limitations under the license. -| --> -| <!-- | Test Description: | This is the minimum valid AMP document; it includes all of the required | fields from the spec, but nothing else. @@ -33,16 +18,16 @@ FAIL | <p data-this-is-fine=""> | <p data-\this-is-not=""> >> ^~~~~~~~~ -feature_tests/slash_attrs.html:33:2 The attribute 'data-\this-is-not' may not appear in tag 'p'. +feature_tests/slash_attrs.html:18:2 The attribute 'data-\this-is-not' may not appear in tag 'p'. | <p data-/this-is-not=""> >> ^~~~~~~~~ -feature_tests/slash_attrs.html:34:2 The attribute 'data-/this-is-not' may not appear in tag 'p'. +feature_tests/slash_attrs.html:19:2 The attribute 'data-/this-is-not' may not appear in tag 'p'. | <p data-\this-is-not> >> ^~~~~~~~~ -feature_tests/slash_attrs.html:35:2 The attribute 'data-\this-is-not' may not appear in tag 'p'. +feature_tests/slash_attrs.html:20:2 The attribute 'data-\this-is-not' may not appear in tag 'p'. | <p data-/this-is-not> >> ^~~~~~~~~ -feature_tests/slash_attrs.html:36:2 The attribute 'data-/this-is-not' may not appear in tag 'p'. +feature_tests/slash_attrs.html:21:2 The attribute 'data-/this-is-not' may not appear in tag 'p'. | | </body> -| </html> +| </html> \ No newline at end of file diff --git a/validator/testdata/feature_tests/slash_attrs.out.cpponly b/validator/testdata/feature_tests/slash_attrs.out.cpponly index cf4727ea7b38..51860235433d 100644 --- a/validator/testdata/feature_tests/slash_attrs.out.cpponly +++ b/validator/testdata/feature_tests/slash_attrs.out.cpponly @@ -1,20 +1,5 @@ FAIL | <!-- -| Copyright 2015 The AMP HTML Authors. All Rights Reserved. -| -| Licensed under the Apache License, Version 2.0 (the "License"); -| you may not use this file except in compliance with the License. -| You may obtain a copy of the License at -| -| http://www.apache.org/licenses/LICENSE-2.0 -| -| Unless required by applicable law or agreed to in writing, software -| distributed under the License is distributed on an "AS-IS" BASIS, -| WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -| See the License for the specific language governing permissions and -| limitations under the license. -| --> -| <!-- | Test Description: | This is the minimum valid AMP document; it includes all of the required | fields from the spec, but nothing else. @@ -33,16 +18,16 @@ FAIL | <p data-this-is-fine=""> | <p data-\this-is-not=""> >> ^~~~~~~~~ -feature_tests/slash_attrs.html:33:2 The attribute 'data-\this-is-not' may not appear in tag 'p'. +feature_tests/slash_attrs.html:18:2 The attribute 'data-\this-is-not' may not appear in tag 'p'. | <p data-/this-is-not=""> >> ^~~~~~~~~ -feature_tests/slash_attrs.html:34:2 The attribute 'this-is-not' may not appear in tag 'p'. +feature_tests/slash_attrs.html:19:2 The attribute 'this-is-not' may not appear in tag 'p'. | <p data-\this-is-not> >> ^~~~~~~~~ -feature_tests/slash_attrs.html:35:2 The attribute 'data-\this-is-not' may not appear in tag 'p'. +feature_tests/slash_attrs.html:20:2 The attribute 'data-\this-is-not' may not appear in tag 'p'. | <p data-/this-is-not> >> ^~~~~~~~~ -feature_tests/slash_attrs.html:36:2 The attribute 'this-is-not' may not appear in tag 'p'. +feature_tests/slash_attrs.html:21:2 The attribute 'this-is-not' may not appear in tag 'p'. | | </body> | </html> diff --git a/validator/testdata/feature_tests/slot.html b/validator/testdata/feature_tests/slot.html index 41430c8dd56b..92c6ab47828a 100644 --- a/validator/testdata/feature_tests/slot.html +++ b/validator/testdata/feature_tests/slot.html @@ -1,18 +1,3 @@ -<!-- - Copyright 2015 The AMP HTML Authors. All Rights Reserved. - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS-IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the license. ---> <!-- Test Description: Tests the slot element. diff --git a/validator/testdata/feature_tests/slot.out b/validator/testdata/feature_tests/slot.out index 875cd8cf4c33..14818efb1bda 100644 --- a/validator/testdata/feature_tests/slot.out +++ b/validator/testdata/feature_tests/slot.out @@ -1,20 +1,5 @@ PASS | <!-- -| Copyright 2015 The AMP HTML Authors. All Rights Reserved. -| -| Licensed under the Apache License, Version 2.0 (the "License"); -| you may not use this file except in compliance with the License. -| You may obtain a copy of the License at -| -| http://www.apache.org/licenses/LICENSE-2.0 -| -| Unless required by applicable law or agreed to in writing, software -| distributed under the License is distributed on an "AS-IS" BASIS, -| WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -| See the License for the specific language governing permissions and -| limitations under the license. -| --> -| <!-- | Test Description: | Tests the slot element. | --> diff --git a/validator/testdata/feature_tests/spec_example.html b/validator/testdata/feature_tests/spec_example.html index 9f5fed6f5d6b..5a2c99d2ad34 100644 --- a/validator/testdata/feature_tests/spec_example.html +++ b/validator/testdata/feature_tests/spec_example.html @@ -1,18 +1,3 @@ -<!-- - Copyright 2015 The AMP HTML Authors. All Rights Reserved. - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS-IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the license. ---> <!-- Test Description: This is the sample document from the AMP spec. diff --git a/validator/testdata/feature_tests/spec_example.out b/validator/testdata/feature_tests/spec_example.out index 12b723a74464..68abc5146834 100644 --- a/validator/testdata/feature_tests/spec_example.out +++ b/validator/testdata/feature_tests/spec_example.out @@ -1,20 +1,5 @@ PASS | <!-- -| Copyright 2015 The AMP HTML Authors. All Rights Reserved. -| -| Licensed under the Apache License, Version 2.0 (the "License"); -| you may not use this file except in compliance with the License. -| You may obtain a copy of the License at -| -| http://www.apache.org/licenses/LICENSE-2.0 -| -| Unless required by applicable law or agreed to in writing, software -| distributed under the License is distributed on an "AS-IS" BASIS, -| WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -| See the License for the specific language governing permissions and -| limitations under the license. -| --> -| <!-- | Test Description: | This is the sample document from the AMP spec. | https://github.com/ampproject/amphtml/blob/main/docs/spec/amp-html-format.md @@ -59,4 +44,4 @@ PASS | </body> | </html> >> ^~~~~~~~~ -feature_tests/spec_example.html:59:6 The tag 'amp-ad extension script' is missing or incorrect, but required by 'amp-ad'. This will soon be an error. (see https://amp.dev/documentation/components/amp-ad/) +feature_tests/spec_example.html:44:6 The tag 'amp-ad extension script' is missing or incorrect, but required by 'amp-ad'. This will soon be an error. (see https://amp.dev/documentation/components/amp-ad/) diff --git a/validator/testdata/feature_tests/stamp-descendant.html b/validator/testdata/feature_tests/stamp-descendant.html index 77659a4d2d8c..00743eb5abb1 100644 --- a/validator/testdata/feature_tests/stamp-descendant.html +++ b/validator/testdata/feature_tests/stamp-descendant.html @@ -1,18 +1,3 @@ -<!-- - Copyright 2019 The AMP HTML Authors. All Rights Reserved. - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS-IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the license. ---> <!-- Test Description: This tests shows the error messages generated for a nonsense tag that is a diff --git a/validator/testdata/feature_tests/stamp-descendant.out b/validator/testdata/feature_tests/stamp-descendant.out index 83aa97cb5d00..931218fc8a51 100644 --- a/validator/testdata/feature_tests/stamp-descendant.out +++ b/validator/testdata/feature_tests/stamp-descendant.out @@ -1,20 +1,5 @@ FAIL | <!-- -| Copyright 2019 The AMP HTML Authors. All Rights Reserved. -| -| Licensed under the Apache License, Version 2.0 (the "License"); -| you may not use this file except in compliance with the License. -| You may obtain a copy of the License at -| -| http://www.apache.org/licenses/LICENSE-2.0 -| -| Unless required by applicable law or agreed to in writing, software -| distributed under the License is distributed on an "AS-IS" BASIS, -| WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -| See the License for the specific language governing permissions and -| limitations under the license. -| --> -| <!-- | Test Description: | This tests shows the error messages generated for a nonsense tag that is a | indirect descendant of an <amp-story-grid-layer>. @@ -40,7 +25,7 @@ FAIL | <amp-story-grid-layer template="vertical"> | <p><not-a-real-tag></p> >> ^~~~~~~~~ -feature_tests/stamp-descendant.html:40:9 The tag 'not-a-real-tag' is disallowed. +feature_tests/stamp-descendant.html:25:9 The tag 'not-a-real-tag' is disallowed. | </amp-story-grid-layer> | </amp-story-page> | </amp-story> diff --git a/validator/testdata/feature_tests/style_amp_keyframes_error.html b/validator/testdata/feature_tests/style_amp_keyframes_error.html index 633633bb9c6e..4674268696db 100644 --- a/validator/testdata/feature_tests/style_amp_keyframes_error.html +++ b/validator/testdata/feature_tests/style_amp_keyframes_error.html @@ -1,18 +1,3 @@ -<!-- - Copyright 2017 The AMP HTML Authors. All Rights Reserved. - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS-IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the license. ---> <!-- Test Description: This tests a <style> tag in body and should fail. diff --git a/validator/testdata/feature_tests/style_amp_keyframes_error.out b/validator/testdata/feature_tests/style_amp_keyframes_error.out index 19e14d053b43..5a677f11e239 100644 --- a/validator/testdata/feature_tests/style_amp_keyframes_error.out +++ b/validator/testdata/feature_tests/style_amp_keyframes_error.out @@ -1,20 +1,5 @@ FAIL | <!-- -| Copyright 2017 The AMP HTML Authors. All Rights Reserved. -| -| Licensed under the Apache License, Version 2.0 (the "License"); -| you may not use this file except in compliance with the License. -| You may obtain a copy of the License at -| -| http://www.apache.org/licenses/LICENSE-2.0 -| -| Unless required by applicable law or agreed to in writing, software -| distributed under the License is distributed on an "AS-IS" BASIS, -| WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -| See the License for the specific language governing permissions and -| limitations under the license. -| --> -| <!-- | Test Description: | This tests a <style> tag in body and should fail. | --> @@ -33,44 +18,44 @@ FAIL | <style amp-keyframes> | amp-img { opacity: 0 } /* this should fail because it's not an @rule */ >> ^~~~~~~~~ -feature_tests/style_amp_keyframes_error.html:33:4 CSS syntax error in tag 'style[amp-keyframes]' - qualified rule 'amp-img' must be located inside of a keyframe. +feature_tests/style_amp_keyframes_error.html:18:4 CSS syntax error in tag 'style[amp-keyframes]' - qualified rule 'amp-img' must be located inside of a keyframe. | a.underlined {} /* selector is not @rule and should fail */ >> ^~~~~~~~~ -feature_tests/style_amp_keyframes_error.html:34:4 CSS syntax error in tag 'style[amp-keyframes]' - qualified rule 'a.underlined' must be located inside of a keyframe. +feature_tests/style_amp_keyframes_error.html:19:4 CSS syntax error in tag 'style[amp-keyframes]' - qualified rule 'a.underlined' must be located inside of a keyframe. | @font-face {} /* this should fail because it's not an allowed @rule */ >> ^~~~~~~~~ -feature_tests/style_amp_keyframes_error.html:35:4 CSS syntax error in tag 'style[amp-keyframes]' - saw invalid at rule '@font-face'. +feature_tests/style_amp_keyframes_error.html:20:4 CSS syntax error in tag 'style[amp-keyframes]' - saw invalid at rule '@font-face'. | @supports (offset-distance: 0) { | amp-carousel {} /* this should fail because it's not allowed content inside the @supports */ >> ^~~~~~~~~ -feature_tests/style_amp_keyframes_error.html:37:6 CSS syntax error in tag 'style[amp-keyframes]' - qualified rule 'amp-carousel' must be located inside of a keyframe. +feature_tests/style_amp_keyframes_error.html:22:6 CSS syntax error in tag 'style[amp-keyframes]' - qualified rule 'amp-carousel' must be located inside of a keyframe. | } | @media (min-width: 300px) { | /* this should fail because css style rules are only allowed inside keyframes */ | from {transform: translateX(-100%);} >> ^~~~~~~~~ -feature_tests/style_amp_keyframes_error.html:41:6 CSS syntax error in tag 'style[amp-keyframes]' - qualified rule 'from' must be located inside of a keyframe. +feature_tests/style_amp_keyframes_error.html:26:6 CSS syntax error in tag 'style[amp-keyframes]' - qualified rule 'from' must be located inside of a keyframe. | to {transform: translateX(100%);} /* this should fail because it's a css style rule */ >> ^~~~~~~~~ -feature_tests/style_amp_keyframes_error.html:42:6 CSS syntax error in tag 'style[amp-keyframes]' - qualified rule 'to' must be located inside of a keyframe. +feature_tests/style_amp_keyframes_error.html:27:6 CSS syntax error in tag 'style[amp-keyframes]' - qualified rule 'to' must be located inside of a keyframe. | } | @media (min-width: 300px) { | /* this should fail because css style rules are only allowed inside keyframes */ | 100% {transform: translateX(-100%);} >> ^~~~~~~~~ -feature_tests/style_amp_keyframes_error.html:46:6 CSS syntax error in tag 'style[amp-keyframes]' - qualified rule '100' must be located inside of a keyframe. +feature_tests/style_amp_keyframes_error.html:31:6 CSS syntax error in tag 'style[amp-keyframes]' - qualified rule '100' must be located inside of a keyframe. | } | @keyframes anim1 { | /* this should fail because the only allowed properties are | * [opacity, transform, visibility, offset-distance] */ | 100% {thisshouldfail: translateX(100%);} >> ^~~~~~~~~ -feature_tests/style_amp_keyframes_error.html:51:12 CSS syntax error in tag 'style[amp-keyframes]' - invalid property 'thisshouldfail'. The only allowed properties are '['animation-timing-function', 'offset-distance', 'opacity', 'transform', 'visibility']'. +feature_tests/style_amp_keyframes_error.html:36:12 CSS syntax error in tag 'style[amp-keyframes]' - invalid property 'thisshouldfail'. The only allowed properties are '['animation-timing-function', 'offset-distance', 'opacity', 'transform', 'visibility']'. | } | @keyframes anim2 { | @keyframes anim1 { >> ^~~~~~~~~ -feature_tests/style_amp_keyframes_error.html:54:6 CSS syntax error in tag 'style[amp-keyframes]' - keyframe inside keyframe is not allowed. +feature_tests/style_amp_keyframes_error.html:39:6 CSS syntax error in tag 'style[amp-keyframes]' - keyframe inside keyframe is not allowed. | /* this should fail because you cannot have a keyframe inside of another keyframe */ | 100% {visibility: visible} | } @@ -78,12 +63,12 @@ feature_tests/style_amp_keyframes_error.html:54:6 CSS syntax error in tag 'style | @keyframes anim1 { | 100% {} /* this should fail because it makes no sense */ >> ^~~~~~~~~ -feature_tests/style_amp_keyframes_error.html:60:6 CSS syntax error in tag 'style[amp-keyframes]' - qualified rule '100' has no declarations. +feature_tests/style_amp_keyframes_error.html:45:6 CSS syntax error in tag 'style[amp-keyframes]' - qualified rule '100' has no declarations. | } | @keyframes anim1 { | a {} /* this should fail because it makes no sense */ >> ^~~~~~~~~ -feature_tests/style_amp_keyframes_error.html:63:6 CSS syntax error in tag 'style[amp-keyframes]' - qualified rule 'a' has no declarations. +feature_tests/style_amp_keyframes_error.html:48:6 CSS syntax error in tag 'style[amp-keyframes]' - qualified rule 'a' has no declarations. | } | </style> | </body> diff --git a/validator/testdata/feature_tests/style_amp_keyframes_passing.html b/validator/testdata/feature_tests/style_amp_keyframes_passing.html index fcb60c7411ac..09cf113063d0 100644 --- a/validator/testdata/feature_tests/style_amp_keyframes_passing.html +++ b/validator/testdata/feature_tests/style_amp_keyframes_passing.html @@ -1,18 +1,3 @@ -<!-- - Copyright 2017 The AMP HTML Authors. All Rights Reserved. - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS-IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the license. ---> <!-- Test Description: This tests a <style> tag in body and should pass. diff --git a/validator/testdata/feature_tests/style_amp_keyframes_passing.out b/validator/testdata/feature_tests/style_amp_keyframes_passing.out index ba4d4d7837dd..8a2308ddba64 100644 --- a/validator/testdata/feature_tests/style_amp_keyframes_passing.out +++ b/validator/testdata/feature_tests/style_amp_keyframes_passing.out @@ -1,20 +1,5 @@ PASS | <!-- -| Copyright 2017 The AMP HTML Authors. All Rights Reserved. -| -| Licensed under the Apache License, Version 2.0 (the "License"); -| you may not use this file except in compliance with the License. -| You may obtain a copy of the License at -| -| http://www.apache.org/licenses/LICENSE-2.0 -| -| Unless required by applicable law or agreed to in writing, software -| distributed under the License is distributed on an "AS-IS" BASIS, -| WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -| See the License for the specific language governing permissions and -| limitations under the license. -| --> -| <!-- | Test Description: | This tests a <style> tag in body and should pass. | --> diff --git a/validator/testdata/feature_tests/style_in_body_error.html b/validator/testdata/feature_tests/style_in_body_error.html index 3a4b2a24440b..092a0bb58061 100644 --- a/validator/testdata/feature_tests/style_in_body_error.html +++ b/validator/testdata/feature_tests/style_in_body_error.html @@ -1,18 +1,3 @@ -<!-- - Copyright 2017 The AMP HTML Authors. All Rights Reserved. - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS-IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the license. ---> <!-- Test Description: This tests a <style> tag in body and should fail. diff --git a/validator/testdata/feature_tests/style_in_body_error.out b/validator/testdata/feature_tests/style_in_body_error.out index 3a810690f86a..b40826a2e944 100644 --- a/validator/testdata/feature_tests/style_in_body_error.out +++ b/validator/testdata/feature_tests/style_in_body_error.out @@ -1,20 +1,5 @@ FAIL | <!-- -| Copyright 2017 The AMP HTML Authors. All Rights Reserved. -| -| Licensed under the Apache License, Version 2.0 (the "License"); -| you may not use this file except in compliance with the License. -| You may obtain a copy of the License at -| -| http://www.apache.org/licenses/LICENSE-2.0 -| -| Unless required by applicable law or agreed to in writing, software -| distributed under the License is distributed on an "AS-IS" BASIS, -| WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -| See the License for the specific language governing permissions and -| limitations under the license. -| --> -| <!-- | Test Description: | This tests a <style> tag in body and should fail. | --> @@ -31,7 +16,7 @@ FAIL | <body> | <style amp-keyframes></style> <!-- this should error because it isn't the last child of body --> >> ^~~~~~~~~ -feature_tests/style_in_body_error.html:31:2 Tag 'style[amp-keyframes]', if present, must be the last child of tag 'body'. +feature_tests/style_in_body_error.html:16:2 Tag 'style[amp-keyframes]', if present, must be the last child of tag 'body'. | <div></div> | </body> | </html> diff --git a/validator/testdata/feature_tests/style_in_body_passing.html b/validator/testdata/feature_tests/style_in_body_passing.html index 1c6ef786657f..8c145578d171 100644 --- a/validator/testdata/feature_tests/style_in_body_passing.html +++ b/validator/testdata/feature_tests/style_in_body_passing.html @@ -1,18 +1,3 @@ -<!-- - Copyright 2017 The AMP HTML Authors. All Rights Reserved. - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS-IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the license. ---> <!-- Test Description: This tests a <style> tag in body and should pass. diff --git a/validator/testdata/feature_tests/style_in_body_passing.out b/validator/testdata/feature_tests/style_in_body_passing.out index 7dd66c68f083..429d3f2ce609 100644 --- a/validator/testdata/feature_tests/style_in_body_passing.out +++ b/validator/testdata/feature_tests/style_in_body_passing.out @@ -1,20 +1,5 @@ PASS | <!-- -| Copyright 2017 The AMP HTML Authors. All Rights Reserved. -| -| Licensed under the Apache License, Version 2.0 (the "License"); -| you may not use this file except in compliance with the License. -| You may obtain a copy of the License at -| -| http://www.apache.org/licenses/LICENSE-2.0 -| -| Unless required by applicable law or agreed to in writing, software -| distributed under the License is distributed on an "AS-IS" BASIS, -| WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -| See the License for the specific language governing permissions and -| limitations under the license. -| --> -| <!-- | Test Description: | This tests a <style> tag in body and should pass. | --> diff --git a/validator/testdata/feature_tests/style_tag.html b/validator/testdata/feature_tests/style_tag.html index fbb3b2bef55d..794ff6571e65 100644 --- a/validator/testdata/feature_tests/style_tag.html +++ b/validator/testdata/feature_tests/style_tag.html @@ -1,18 +1,3 @@ -<!-- - Copyright 2018 The AMP HTML Authors. All Rights Reserved. - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS-IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the license. ---> <!-- Test Description: This tests the error message produced for style tags found inside the document diff --git a/validator/testdata/feature_tests/style_tag.out b/validator/testdata/feature_tests/style_tag.out index 6ebf93301e23..5ce656933310 100644 --- a/validator/testdata/feature_tests/style_tag.out +++ b/validator/testdata/feature_tests/style_tag.out @@ -1,20 +1,5 @@ FAIL | <!-- -| Copyright 2018 The AMP HTML Authors. All Rights Reserved. -| -| Licensed under the Apache License, Version 2.0 (the "License"); -| you may not use this file except in compliance with the License. -| You may obtain a copy of the License at -| -| http://www.apache.org/licenses/LICENSE-2.0 -| -| Unless required by applicable law or agreed to in writing, software -| distributed under the License is distributed on an "AS-IS" BASIS, -| WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -| See the License for the specific language governing permissions and -| limitations under the license. -| --> -| <!-- | Test Description: | This tests the error message produced for style tags found inside the document | which are not tagged with the amp-custom attribute. @@ -30,12 +15,12 @@ FAIL | | <style></style> >> ^~~~~~~~~ -feature_tests/style_tag.html:30:2 The mandatory attribute 'amp-custom' is missing in tag 'style amp-custom'. (see https://amp.dev/documentation/guides-and-tutorials/learn/spec/amphtml/#stylesheets) +feature_tests/style_tag.html:15:2 The mandatory attribute 'amp-custom' is missing in tag 'style amp-custom'. (see https://amp.dev/documentation/guides-and-tutorials/learn/spec/amphtml/#stylesheets) | | </head> | <body> | <style></style> >> ^~~~~~~~~ -feature_tests/style_tag.html:34:2 The parent tag of tag 'style amp-custom' is 'body', but it can only be 'head'. (see https://amp.dev/documentation/guides-and-tutorials/learn/spec/amphtml/#stylesheets) +feature_tests/style_tag.html:19:2 The parent tag of tag 'style amp-custom' is 'body', but it can only be 'head'. (see https://amp.dev/documentation/guides-and-tutorials/learn/spec/amphtml/#stylesheets) | </body> | </html> diff --git a/validator/testdata/feature_tests/stylesheet_in_body.html b/validator/testdata/feature_tests/stylesheet_in_body.html index 3aaf0dce7eb9..ab96c45597a7 100644 --- a/validator/testdata/feature_tests/stylesheet_in_body.html +++ b/validator/testdata/feature_tests/stylesheet_in_body.html @@ -1,18 +1,3 @@ -<!-- - Copyright 2015 The AMP HTML Authors. All Rights Reserved. - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS-IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the license. ---> <!-- Test Description: diff --git a/validator/testdata/feature_tests/stylesheet_in_body.out b/validator/testdata/feature_tests/stylesheet_in_body.out index f8b981c591ab..add90b6bb8bc 100644 --- a/validator/testdata/feature_tests/stylesheet_in_body.out +++ b/validator/testdata/feature_tests/stylesheet_in_body.out @@ -1,20 +1,5 @@ FAIL | <!-- -| Copyright 2015 The AMP HTML Authors. All Rights Reserved. -| -| Licensed under the Apache License, Version 2.0 (the "License"); -| you may not use this file except in compliance with the License. -| You may obtain a copy of the License at -| -| http://www.apache.org/licenses/LICENSE-2.0 -| -| Unless required by applicable law or agreed to in writing, software -| distributed under the License is distributed on an "AS-IS" BASIS, -| WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -| See the License for the specific language governing permissions and -| limitations under the license. -| --> -| <!-- | Test Description: | | This test demonstrates an error message selected via dispatch_key rules. @@ -41,7 +26,7 @@ FAIL | | <link href="https://fonts.googleapis.com/css?family=Lato" rel="stylesheet"> >> ^~~~~~~~~ -feature_tests/stylesheet_in_body.html:41:2 The parent tag of tag 'link rel=stylesheet for fonts' is 'body', but it can only be 'head'. (see https://amp.dev/documentation/guides-and-tutorials/learn/spec/amphtml/#custom-fonts) +feature_tests/stylesheet_in_body.html:26:2 The parent tag of tag 'link rel=stylesheet for fonts' is 'body', but it can only be 'head'. (see https://amp.dev/documentation/guides-and-tutorials/learn/spec/amphtml/#custom-fonts) | | </body> | </html> diff --git a/validator/testdata/feature_tests/svg-filter-primitive-elements.html b/validator/testdata/feature_tests/svg-filter-primitive-elements.html index 00b02178341d..6b7c47725249 100644 --- a/validator/testdata/feature_tests/svg-filter-primitive-elements.html +++ b/validator/testdata/feature_tests/svg-filter-primitive-elements.html @@ -1,18 +1,3 @@ -<!-- - Copyright 2021 The AMP HTML Authors. All Rights Reserved. - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS-IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the license. ---> <!-- Test Description: Tests SVG filter primitive elements. diff --git a/validator/testdata/feature_tests/svg-filter-primitive-elements.out b/validator/testdata/feature_tests/svg-filter-primitive-elements.out index ac5c999a87d9..6f5332cf302e 100644 --- a/validator/testdata/feature_tests/svg-filter-primitive-elements.out +++ b/validator/testdata/feature_tests/svg-filter-primitive-elements.out @@ -1,20 +1,5 @@ FAIL | <!-- -| Copyright 2021 The AMP HTML Authors. All Rights Reserved. -| -| Licensed under the Apache License, Version 2.0 (the "License"); -| you may not use this file except in compliance with the License. -| You may obtain a copy of the License at -| -| http://www.apache.org/licenses/LICENSE-2.0 -| -| Unless required by applicable law or agreed to in writing, software -| distributed under the License is distributed on an "AS-IS" BASIS, -| WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -| See the License for the specific language governing permissions and -| limitations under the license. -| --> -| <!-- | Test Description: | Tests SVG filter primitive elements. | --> @@ -209,7 +194,7 @@ FAIL | <filter id="image"> | <feImage xlink:href="/foo.png"/> >> ^~~~~~~~~ -feature_tests/svg-filter-primitive-elements.html:209:8 The tag 'feimage' is disallowed. +feature_tests/svg-filter-primitive-elements.html:194:8 The tag 'feimage' is disallowed. | </filter> | </defs> | <rect x="10%" y="10%" width="80%" height="80%" diff --git a/validator/testdata/feature_tests/svg.html b/validator/testdata/feature_tests/svg.html index 634af5da1770..301799b0a138 100644 --- a/validator/testdata/feature_tests/svg.html +++ b/validator/testdata/feature_tests/svg.html @@ -1,18 +1,3 @@ -<!-- - Copyright 2015 The AMP HTML Authors. All Rights Reserved. - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS-IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the license. ---> <!-- Test Description: Tests SVG tags and attrs. diff --git a/validator/testdata/feature_tests/svg.out b/validator/testdata/feature_tests/svg.out index 922237a401ae..89ee3649cda6 100644 --- a/validator/testdata/feature_tests/svg.out +++ b/validator/testdata/feature_tests/svg.out @@ -1,20 +1,5 @@ FAIL | <!-- -| Copyright 2015 The AMP HTML Authors. All Rights Reserved. -| -| Licensed under the Apache License, Version 2.0 (the "License"); -| you may not use this file except in compliance with the License. -| You may obtain a copy of the License at -| -| http://www.apache.org/licenses/LICENSE-2.0 -| -| Unless required by applicable law or agreed to in writing, software -| distributed under the License is distributed on an "AS-IS" BASIS, -| WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -| See the License for the specific language governing permissions and -| limitations under the license. -| --> -| <!-- | Test Description: | Tests SVG tags and attrs. | --> @@ -76,26 +61,26 @@ FAIL | <stop offset="0%" stop-color="#fff" offset="0%" /> | <stop offset="0%" stop-color="#aaa" offset="67.36%" /> >> ^~~~~~~~~ -feature_tests/svg.html:76:6 The tag 'stop' contains the attribute 'offset' repeated multiple times. +feature_tests/svg.html:61:6 The tag 'stop' contains the attribute 'offset' repeated multiple times. | <stop offset="0%" stop-color="#333" offset="100%" /> >> ^~~~~~~~~ -feature_tests/svg.html:77:6 The tag 'stop' contains the attribute 'offset' repeated multiple times. +feature_tests/svg.html:62:6 The tag 'stop' contains the attribute 'offset' repeated multiple times. | </lineargradient> | <radialgradient cx="50%" cy="50%" r="50%" fx="50%" fy="50%"> | <stop offset="0%" stop-color="#fff" offset="0%" /> | <stop offset="0%" stop-color="#aaa" offset="67.36%" /> >> ^~~~~~~~~ -feature_tests/svg.html:81:6 The tag 'stop' contains the attribute 'offset' repeated multiple times. +feature_tests/svg.html:66:6 The tag 'stop' contains the attribute 'offset' repeated multiple times. | <stop offset="0%" stop-color="#333" offset="100%" /> >> ^~~~~~~~~ -feature_tests/svg.html:82:6 The tag 'stop' contains the attribute 'offset' repeated multiple times. +feature_tests/svg.html:67:6 The tag 'stop' contains the attribute 'offset' repeated multiple times. | </radialgradient> | </svg> | | <!-- Invalid: xml:base present --> | <svg xml:base="javascript:alert('hello world')"> >> ^~~~~~~~~ -feature_tests/svg.html:87:2 The attribute 'xml:base' may not appear in tag 'svg'. (see https://amp.dev/documentation/guides-and-tutorials/learn/spec/amphtml/#svg) +feature_tests/svg.html:72:2 The attribute 'xml:base' may not appear in tag 'svg'. (see https://amp.dev/documentation/guides-and-tutorials/learn/spec/amphtml/#svg) | <a href="#"><circle r="10"></a> | </svg> | @@ -115,7 +100,7 @@ feature_tests/svg.html:87:2 The attribute 'xml:base' may not appear in tag 'svg' | <svg> | <g style="@media only screen and (max-width: 600px)"/> >> ^~~~~~~~~ -feature_tests/svg.html:105:4 CSS syntax error in tag 'g' - saw invalid at rule '@media'. +feature_tests/svg.html:90:4 CSS syntax error in tag 'g' - saw invalid at rule '@media'. | </svg> | | <!-- Invalid: style tag isn't allowed. Note this is really testing the @@ -123,7 +108,7 @@ feature_tests/svg.html:105:4 CSS syntax error in tag 'g' - saw invalid at rule ' | <svg> | <style/> >> ^~~~~~~~~ -feature_tests/svg.html:111:4 The parent tag of tag 'style amp-custom' is 'svg', but it can only be 'head'. (see https://amp.dev/documentation/guides-and-tutorials/learn/spec/amphtml/#stylesheets) +feature_tests/svg.html:96:4 The parent tag of tag 'style amp-custom' is 'svg', but it can only be 'head'. (see https://amp.dev/documentation/guides-and-tutorials/learn/spec/amphtml/#stylesheets) | </svg> | </body> | </html> diff --git a/validator/testdata/feature_tests/three_second_boilerplate.html b/validator/testdata/feature_tests/three_second_boilerplate.html index c8fb0dcc1ede..79bcd06b92b5 100644 --- a/validator/testdata/feature_tests/three_second_boilerplate.html +++ b/validator/testdata/feature_tests/three_second_boilerplate.html @@ -1,18 +1,3 @@ -<!-- - Copyright 2015 The AMP HTML Authors. All Rights Reserved. - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS-IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the license. ---> <!-- Test Description: This test demonstrates that the boilerplate may be set with a 3s timeout diff --git a/validator/testdata/feature_tests/three_second_boilerplate.out b/validator/testdata/feature_tests/three_second_boilerplate.out index b0424250f957..1c7257d156da 100644 --- a/validator/testdata/feature_tests/three_second_boilerplate.out +++ b/validator/testdata/feature_tests/three_second_boilerplate.out @@ -1,20 +1,5 @@ FAIL | <!-- -| Copyright 2015 The AMP HTML Authors. All Rights Reserved. -| -| Licensed under the Apache License, Version 2.0 (the "License"); -| you may not use this file except in compliance with the License. -| You may obtain a copy of the License at -| -| http://www.apache.org/licenses/LICENSE-2.0 -| -| Unless required by applicable law or agreed to in writing, software -| distributed under the License is distributed on an "AS-IS" BASIS, -| WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -| See the License for the specific language governing permissions and -| limitations under the license. -| --> -| <!-- | Test Description: | This test demonstrates that the boilerplate may be set with a 3s timeout | instead of an 8s timeout. @@ -27,7 +12,7 @@ FAIL | <meta name="viewport" content="width=device-width,minimum-scale=1"> | <style amp-boilerplate>body{-webkit-animation:-amp-start 3s steps(1,end) 0s 1 normal both;-moz-animation:-amp-start 3s steps(1,end) 0s 1 normal both;-ms-animation:-amp-start 3s steps(1,end) 0s 1 normal both;animation:-amp-start 3s steps(1,end) 0s 1 normal both}@-webkit-keyframes -amp-start{from{visibility:hidden}to{visibility:visible}}@-moz-keyframes -amp-start{from{visibility:hidden}to{visibility:visible}}@-ms-keyframes -amp-start{from{visibility:hidden}to{visibility:visible}}@-o-keyframes -amp-start{from{visibility:hidden}to{visibility:visible}}@keyframes -amp-start{from{visibility:hidden}to{visibility:visible}}</style><noscript><style amp-boilerplate>body{-webkit-animation:none;-moz-animation:none;-ms-animation:none;animation:none}</style></noscript> >> ^~~~~~~~~ -feature_tests/three_second_boilerplate.html:27:2 The mandatory text inside tag 'head > style[amp-boilerplate]' is missing or incorrect. (see https://amp.dev/documentation/guides-and-tutorials/learn/spec/amp-boilerplate/?format=websites) +feature_tests/three_second_boilerplate.html:12:2 The mandatory text inside tag 'head > style[amp-boilerplate]' is missing or incorrect. (see https://amp.dev/documentation/guides-and-tutorials/learn/spec/amp-boilerplate/?format=websites) | <script async src="https://cdn.ampproject.org/v0.js"></script> | </head> | <body> diff --git a/validator/testdata/feature_tests/track_tag.html b/validator/testdata/feature_tests/track_tag.html index bc7444947600..f0115c7b0104 100644 --- a/validator/testdata/feature_tests/track_tag.html +++ b/validator/testdata/feature_tests/track_tag.html @@ -1,18 +1,3 @@ -<!-- - Copyright 2015 The AMP HTML Authors. All Rights Reserved. - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS-IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the license. ---> <!-- Test Description: This is a test for the rules surrounding the <track> tag: diff --git a/validator/testdata/feature_tests/track_tag.out b/validator/testdata/feature_tests/track_tag.out index 6cb60dacb107..d9b9db562888 100644 --- a/validator/testdata/feature_tests/track_tag.out +++ b/validator/testdata/feature_tests/track_tag.out @@ -1,20 +1,5 @@ FAIL | <!-- -| Copyright 2015 The AMP HTML Authors. All Rights Reserved. -| -| Licensed under the Apache License, Version 2.0 (the "License"); -| you may not use this file except in compliance with the License. -| You may obtain a copy of the License at -| -| http://www.apache.org/licenses/LICENSE-2.0 -| -| Unless required by applicable law or agreed to in writing, software -| distributed under the License is distributed on an "AS-IS" BASIS, -| WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -| See the License for the specific language governing permissions and -| limitations under the license. -| --> -| <!-- | Test Description: | This is a test for the rules surrounding the <track> tag: | - Must be a child of <audio>, <video>, <amp-audio>, or <amp-video> @@ -49,26 +34,26 @@ FAIL | <!-- Invalid: http URL --> | <track src="http://example.com/track"></track> >> ^~~~~~~~~ -feature_tests/track_tag.html:49:4 Invalid URL protocol 'http:' for attribute 'src' in tag 'track'. +feature_tests/track_tag.html:34:4 Invalid URL protocol 'http:' for attribute 'src' in tag 'track'. | <!-- Invalid: subtitles but no srclang --> | <track src="https://example.com/track" kind="subtitles"></track> >> ^~~~~~~~~ -feature_tests/track_tag.html:51:4 The mandatory attribute 'srclang' is missing in tag 'track'. +feature_tests/track_tag.html:36:4 The mandatory attribute 'srclang' is missing in tag 'track'. | </amp-audio> | | <!-- Invalid examples to make sure the error messages look right --> | <noscript> | <audio><track src="https://a.com/" kind="subtitles"></track></audio> >> ^~~~~~~~~ -feature_tests/track_tag.html:56:11 The mandatory attribute 'srclang' is missing in tag 'track'. +feature_tests/track_tag.html:41:11 The mandatory attribute 'srclang' is missing in tag 'track'. | <video><track src="https://a.com/" kind="subtitles"></track></video> >> ^~~~~~~~~ -feature_tests/track_tag.html:57:11 The mandatory attribute 'srclang' is missing in tag 'track'. +feature_tests/track_tag.html:42:11 The mandatory attribute 'srclang' is missing in tag 'track'. | </noscript> | <amp-video src="https://example.com/audio" layout="fixed" height=42 width=42> | <track src="https://a.com/" kind="subtitles"></track> >> ^~~~~~~~~ -feature_tests/track_tag.html:60:4 The mandatory attribute 'srclang' is missing in tag 'track'. +feature_tests/track_tag.html:45:4 The mandatory attribute 'srclang' is missing in tag 'track'. | </amp-video> | | </body> diff --git a/validator/testdata/feature_tests/unprintable_chars.html b/validator/testdata/feature_tests/unprintable_chars.html index 9eff44b2c151..56e79249795b 100644 --- a/validator/testdata/feature_tests/unprintable_chars.html +++ b/validator/testdata/feature_tests/unprintable_chars.html @@ -1,19 +1,4 @@ <!-- - Copyright 2015 The AMP HTML Authors. All Rights Reserved. - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS-IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the license. ---> -<!-- Test Description: The first few bytes in this document are \xef\xbb\xbf\xef\xbb\xbf, which is also known as a byte-order-mark (BOM). These are not renderable bytes and diff --git a/validator/testdata/feature_tests/unprintable_chars.out b/validator/testdata/feature_tests/unprintable_chars.out index c9654ddef35c..7d7ed6295a1c 100644 --- a/validator/testdata/feature_tests/unprintable_chars.out +++ b/validator/testdata/feature_tests/unprintable_chars.out @@ -8,21 +8,6 @@ feature_tests/unprintable_chars.html:1:0 The parent tag of tag 'html' is '$root' feature_tests/unprintable_chars.html:1:0 Tag or text which is only allowed inside the body section found outside of the body section. >> ^~~~~~~~~ feature_tests/unprintable_chars.html:1:0 The tag 'BODY' appears more than once in the document. -| Copyright 2015 The AMP HTML Authors. All Rights Reserved. -| -| Licensed under the Apache License, Version 2.0 (the "License"); -| you may not use this file except in compliance with the License. -| You may obtain a copy of the License at -| -| http://www.apache.org/licenses/LICENSE-2.0 -| -| Unless required by applicable law or agreed to in writing, software -| distributed under the License is distributed on an "AS-IS" BASIS, -| WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -| See the License for the specific language governing permissions and -| limitations under the license. -| --> -| <!-- | Test Description: | The first few bytes in this document are \xef\xbb\xbf\xef\xbb\xbf, which is | also known as a byte-order-mark (BOM). These are not renderable bytes and @@ -40,29 +25,29 @@ feature_tests/unprintable_chars.html:1:0 The tag 'BODY' appears more than once i | <head> | <meta charset="utf-8"> >> ^~~~~~~~~ -feature_tests/unprintable_chars.html:32:2 The parent tag of tag 'meta charset=utf-8' is 'body', but it can only be 'head'. (see https://amp.dev/documentation/guides-and-tutorials/learn/spec/amphtml/#required-markup) +feature_tests/unprintable_chars.html:17:2 The parent tag of tag 'meta charset=utf-8' is 'body', but it can only be 'head'. (see https://amp.dev/documentation/guides-and-tutorials/learn/spec/amphtml/#required-markup) | <link rel="canonical" href="./regular-html-version.html"> >> ^~~~~~~~~ -feature_tests/unprintable_chars.html:33:2 The parent tag of tag 'link rel=canonical' is 'body', but it can only be 'head'. (see https://amp.dev/documentation/guides-and-tutorials/learn/spec/amphtml/#required-markup) +feature_tests/unprintable_chars.html:18:2 The parent tag of tag 'link rel=canonical' is 'body', but it can only be 'head'. (see https://amp.dev/documentation/guides-and-tutorials/learn/spec/amphtml/#required-markup) | <meta name="viewport" content="width=device-width,minimum-scale=1"> >> ^~~~~~~~~ -feature_tests/unprintable_chars.html:34:2 The parent tag of tag 'meta name=viewport' is 'body', but it can only be 'head'. (see https://amp.dev/documentation/guides-and-tutorials/learn/spec/amphtml/#required-markup) +feature_tests/unprintable_chars.html:19:2 The parent tag of tag 'meta name=viewport' is 'body', but it can only be 'head'. (see https://amp.dev/documentation/guides-and-tutorials/learn/spec/amphtml/#required-markup) | <style amp-boilerplate>body{-webkit-animation:-amp-start 8s steps(1,end) 0s 1 normal both;-moz-animation:-amp-start 8s steps(1,end) 0s 1 normal both;-ms-animation:-amp-start 8s steps(1,end) 0s 1 normal both;animation:-amp-start 8s steps(1,end) 0s 1 normal both}@-webkit-keyframes -amp-start{from{visibility:hidden}to{visibility:visible}}@-moz-keyframes -amp-start{from{visibility:hidden}to{visibility:visible}}@-ms-keyframes -amp-start{from{visibility:hidden}to{visibility:visible}}@-o-keyframes -amp-start{from{visibility:hidden}to{visibility:visible}}@keyframes -amp-start{from{visibility:hidden}to{visibility:visible}}</style><noscript><style amp-boilerplate>body{-webkit-animation:none;-moz-animation:none;-ms-animation:none;animation:none}</style></noscript> >> ^~~~~~~~~ -feature_tests/unprintable_chars.html:35:2 The parent tag of tag 'style amp-custom' is 'body', but it can only be 'head'. (see https://amp.dev/documentation/guides-and-tutorials/learn/spec/amphtml/#stylesheets) +feature_tests/unprintable_chars.html:20:2 The parent tag of tag 'style amp-custom' is 'body', but it can only be 'head'. (see https://amp.dev/documentation/guides-and-tutorials/learn/spec/amphtml/#stylesheets) >> ^~~~~~~~~ -feature_tests/unprintable_chars.html:35:641 The tag 'noscript > style[amp-boilerplate]' may only appear as a descendant of tag 'head'. (see https://amp.dev/documentation/guides-and-tutorials/learn/spec/amp-boilerplate/?format=websites) +feature_tests/unprintable_chars.html:20:641 The tag 'noscript > style[amp-boilerplate]' may only appear as a descendant of tag 'head'. (see https://amp.dev/documentation/guides-and-tutorials/learn/spec/amp-boilerplate/?format=websites) | <script async src="https://cdn.ampproject.org/v0.js"></script> >> ^~~~~~~~~ -feature_tests/unprintable_chars.html:36:2 The parent tag of tag 'amphtml engine script' is 'body', but it can only be 'head'. (see https://amp.dev/documentation/guides-and-tutorials/learn/spec/amphtml/#required-markup) +feature_tests/unprintable_chars.html:21:2 The parent tag of tag 'amphtml engine script' is 'body', but it can only be 'head'. (see https://amp.dev/documentation/guides-and-tutorials/learn/spec/amphtml/#required-markup) | </head> | <body data-foo> | Hello, world. | </body> | </html> >> ^~~~~~~~~ -feature_tests/unprintable_chars.html:41:6 The mandatory tag 'html !doctype' is missing or incorrect. (see https://amp.dev/documentation/guides-and-tutorials/learn/spec/amphtml/#required-markup) +feature_tests/unprintable_chars.html:26:6 The mandatory tag 'html !doctype' is missing or incorrect. (see https://amp.dev/documentation/guides-and-tutorials/learn/spec/amphtml/#required-markup) >> ^~~~~~~~~ -feature_tests/unprintable_chars.html:41:6 The mandatory tag 'noscript enclosure for boilerplate' is missing or incorrect. (see https://amp.dev/documentation/guides-and-tutorials/learn/spec/amp-boilerplate/?format=websites) +feature_tests/unprintable_chars.html:26:6 The mandatory tag 'noscript enclosure for boilerplate' is missing or incorrect. (see https://amp.dev/documentation/guides-and-tutorials/learn/spec/amp-boilerplate/?format=websites) >> ^~~~~~~~~ -feature_tests/unprintable_chars.html:41:6 The mandatory tag 'head > style[amp-boilerplate]' is missing or incorrect. (see https://amp.dev/documentation/guides-and-tutorials/learn/spec/amp-boilerplate/?format=websites) +feature_tests/unprintable_chars.html:26:6 The mandatory tag 'head > style[amp-boilerplate]' is missing or incorrect. (see https://amp.dev/documentation/guides-and-tutorials/learn/spec/amp-boilerplate/?format=websites) \ No newline at end of file diff --git a/validator/testdata/feature_tests/unprintable_chars.out.cpponly b/validator/testdata/feature_tests/unprintable_chars.out.cpponly index 759e836330ed..ae0363b5d8a1 100644 --- a/validator/testdata/feature_tests/unprintable_chars.out.cpponly +++ b/validator/testdata/feature_tests/unprintable_chars.out.cpponly @@ -4,21 +4,6 @@ FAIL feature_tests/unprintable_chars.html:1:0 The parent tag of tag 'html' is '$root', but it can only be '!doctype'. (see https://amp.dev/documentation/guides-and-tutorials/learn/spec/amphtml/#required-markup) >> ^~~~~~~~~ feature_tests/unprintable_chars.html:1:0 Tag or text which is only allowed inside the body section found outside of the body section. -| Copyright 2015 The AMP HTML Authors. All Rights Reserved. -| -| Licensed under the Apache License, Version 2.0 (the "License"); -| you may not use this file except in compliance with the License. -| You may obtain a copy of the License at -| -| http://www.apache.org/licenses/LICENSE-2.0 -| -| Unless required by applicable law or agreed to in writing, software -| distributed under the License is distributed on an "AS-IS" BASIS, -| WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -| See the License for the specific language governing permissions and -| limitations under the license. -| --> -| <!-- | Test Description: | The first few bytes in this document are \xef\xbb\xbf\xef\xbb\xbf, which is | also known as a byte-order-mark (BOM). These are not renderable bytes and @@ -36,29 +21,29 @@ feature_tests/unprintable_chars.html:1:0 Tag or text which is only allowed insid | <head> | <meta charset="utf-8"> >> ^~~~~~~~~ -feature_tests/unprintable_chars.html:32:2 The parent tag of tag 'meta charset=utf-8' is 'body', but it can only be 'head'. (see https://amp.dev/documentation/guides-and-tutorials/learn/spec/amphtml/#required-markup) +feature_tests/unprintable_chars.html:17:2 The parent tag of tag 'meta charset=utf-8' is 'body', but it can only be 'head'. (see https://amp.dev/documentation/guides-and-tutorials/learn/spec/amphtml/#required-markup) | <link rel="canonical" href="./regular-html-version.html"> >> ^~~~~~~~~ -feature_tests/unprintable_chars.html:33:2 The parent tag of tag 'link rel=canonical' is 'body', but it can only be 'head'. (see https://amp.dev/documentation/guides-and-tutorials/learn/spec/amphtml/#required-markup) +feature_tests/unprintable_chars.html:18:2 The parent tag of tag 'link rel=canonical' is 'body', but it can only be 'head'. (see https://amp.dev/documentation/guides-and-tutorials/learn/spec/amphtml/#required-markup) | <meta name="viewport" content="width=device-width,minimum-scale=1"> >> ^~~~~~~~~ -feature_tests/unprintable_chars.html:34:2 The parent tag of tag 'meta name=viewport' is 'body', but it can only be 'head'. (see https://amp.dev/documentation/guides-and-tutorials/learn/spec/amphtml/#required-markup) +feature_tests/unprintable_chars.html:19:2 The parent tag of tag 'meta name=viewport' is 'body', but it can only be 'head'. (see https://amp.dev/documentation/guides-and-tutorials/learn/spec/amphtml/#required-markup) | <style amp-boilerplate>body{-webkit-animation:-amp-start 8s steps(1,end) 0s 1 normal both;-moz-animation:-amp-start 8s steps(1,end) 0s 1 normal both;-ms-animation:-amp-start 8s steps(1,end) 0s 1 normal both;animation:-amp-start 8s steps(1,end) 0s 1 normal both}@-webkit-keyframes -amp-start{from{visibility:hidden}to{visibility:visible}}@-moz-keyframes -amp-start{from{visibility:hidden}to{visibility:visible}}@-ms-keyframes -amp-start{from{visibility:hidden}to{visibility:visible}}@-o-keyframes -amp-start{from{visibility:hidden}to{visibility:visible}}@keyframes -amp-start{from{visibility:hidden}to{visibility:visible}}</style><noscript><style amp-boilerplate>body{-webkit-animation:none;-moz-animation:none;-ms-animation:none;animation:none}</style></noscript> >> ^~~~~~~~~ -feature_tests/unprintable_chars.html:35:2 The parent tag of tag 'style amp-custom' is 'body', but it can only be 'head'. (see https://amp.dev/documentation/guides-and-tutorials/learn/spec/amphtml/#stylesheets) +feature_tests/unprintable_chars.html:20:2 The parent tag of tag 'style amp-custom' is 'body', but it can only be 'head'. (see https://amp.dev/documentation/guides-and-tutorials/learn/spec/amphtml/#stylesheets) >> ^~~~~~~~~ -feature_tests/unprintable_chars.html:35:641 The tag 'noscript > style[amp-boilerplate]' may only appear as a descendant of tag 'head'. (see https://amp.dev/documentation/guides-and-tutorials/learn/spec/amp-boilerplate/?format=websites) +feature_tests/unprintable_chars.html:20:641 The tag 'noscript > style[amp-boilerplate]' may only appear as a descendant of tag 'head'. (see https://amp.dev/documentation/guides-and-tutorials/learn/spec/amp-boilerplate/?format=websites) | <script async src="https://cdn.ampproject.org/v0.js"></script> >> ^~~~~~~~~ -feature_tests/unprintable_chars.html:36:2 The parent tag of tag 'amphtml engine script' is 'body', but it can only be 'head'. (see https://amp.dev/documentation/guides-and-tutorials/learn/spec/amphtml/#required-markup) +feature_tests/unprintable_chars.html:21:2 The parent tag of tag 'amphtml engine script' is 'body', but it can only be 'head'. (see https://amp.dev/documentation/guides-and-tutorials/learn/spec/amphtml/#required-markup) | </head> | <body data-foo> | Hello, world. | </body> | </html> >> ^~~~~~~~~ -feature_tests/unprintable_chars.html:41:6 The mandatory tag 'html !doctype' is missing or incorrect. (see https://amp.dev/documentation/guides-and-tutorials/learn/spec/amphtml/#required-markup) +feature_tests/unprintable_chars.html:26:6 The mandatory tag 'html !doctype' is missing or incorrect. (see https://amp.dev/documentation/guides-and-tutorials/learn/spec/amphtml/#required-markup) >> ^~~~~~~~~ -feature_tests/unprintable_chars.html:41:6 The mandatory tag 'noscript enclosure for boilerplate' is missing or incorrect. (see https://amp.dev/documentation/guides-and-tutorials/learn/spec/amp-boilerplate/?format=websites) +feature_tests/unprintable_chars.html:26:6 The mandatory tag 'noscript enclosure for boilerplate' is missing or incorrect. (see https://amp.dev/documentation/guides-and-tutorials/learn/spec/amp-boilerplate/?format=websites) >> ^~~~~~~~~ -feature_tests/unprintable_chars.html:41:6 The mandatory tag 'head > style[amp-boilerplate]' is missing or incorrect. (see https://amp.dev/documentation/guides-and-tutorials/learn/spec/amp-boilerplate/?format=websites) +feature_tests/unprintable_chars.html:26:6 The mandatory tag 'head > style[amp-boilerplate]' is missing or incorrect. (see https://amp.dev/documentation/guides-and-tutorials/learn/spec/amp-boilerplate/?format=websites) diff --git a/validator/testdata/feature_tests/urls.html b/validator/testdata/feature_tests/urls.html index fe818e57678b..eaffdbeb2788 100644 --- a/validator/testdata/feature_tests/urls.html +++ b/validator/testdata/feature_tests/urls.html @@ -1,18 +1,3 @@ -<!-- - Copyright 2015 The AMP HTML Authors. All Rights Reserved. - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS-IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the license. ---> <!-- Test Description: This tests looks at specific errors related to URLs in href and src diff --git a/validator/testdata/feature_tests/urls.out b/validator/testdata/feature_tests/urls.out index b2f0fa53065a..36c9978e4ffb 100644 --- a/validator/testdata/feature_tests/urls.out +++ b/validator/testdata/feature_tests/urls.out @@ -1,20 +1,5 @@ FAIL | <!-- -| Copyright 2015 The AMP HTML Authors. All Rights Reserved. -| -| Licensed under the Apache License, Version 2.0 (the "License"); -| you may not use this file except in compliance with the License. -| You may obtain a copy of the License at -| -| http://www.apache.org/licenses/LICENSE-2.0 -| -| Unless required by applicable law or agreed to in writing, software -| distributed under the License is distributed on an "AS-IS" BASIS, -| WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -| See the License for the specific language governing permissions and -| limitations under the license. -| --> -| <!-- | Test Description: | This tests looks at specific errors related to URLs in href and src | attributes. @@ -25,7 +10,7 @@ FAIL | <meta charset="utf-8"> | <link rel="canonical" href="javascript://llamas"> >> ^~~~~~~~~ -feature_tests/urls.html:25:2 Invalid URL protocol 'javascript:' for attribute 'href' in tag 'link rel=canonical'. (see https://amp.dev/documentation/guides-and-tutorials/learn/spec/amphtml/#required-markup) +feature_tests/urls.html:10:2 Invalid URL protocol 'javascript:' for attribute 'href' in tag 'link rel=canonical'. (see https://amp.dev/documentation/guides-and-tutorials/learn/spec/amphtml/#required-markup) | <meta name="viewport" content="width=device-width,initial-scale=1,minimum-scale=1,maximum-scale=1,user-scalable=no,minimal-ui"> | <style amp-boilerplate>body{-webkit-animation:-amp-start 8s steps(1,end) 0s 1 normal both;-moz-animation:-amp-start 8s steps(1,end) 0s 1 normal both;-ms-animation:-amp-start 8s steps(1,end) 0s 1 normal both;animation:-amp-start 8s steps(1,end) 0s 1 normal both}@-webkit-keyframes -amp-start{from{visibility:hidden}to{visibility:visible}}@-moz-keyframes -amp-start{from{visibility:hidden}to{visibility:visible}}@-ms-keyframes -amp-start{from{visibility:hidden}to{visibility:visible}}@-o-keyframes -amp-start{from{visibility:hidden}to{visibility:visible}}@keyframes -amp-start{from{visibility:hidden}to{visibility:visible}}</style><noscript><style amp-boilerplate>body{-webkit-animation:none;-moz-animation:none;-ms-animation:none;animation:none}</style></noscript> | <script src="https://cdn.ampproject.org/v0.js" async></script> @@ -41,32 +26,32 @@ feature_tests/urls.html:25:2 Invalid URL protocol 'javascript:' for attribute 'h | <a href="https://⚡">Valid URL</a> | <a href="https://">Valid URL</a> >> ^~~~~~~~~ -feature_tests/urls.html:39:2 Malformed URL 'https://' for attribute 'href' in tag 'a'. (see https://amp.dev/documentation/guides-and-tutorials/learn/spec/amphtml/#links) +feature_tests/urls.html:24:2 Malformed URL 'https://' for attribute 'href' in tag 'a'. (see https://amp.dev/documentation/guides-and-tutorials/learn/spec/amphtml/#links) | <a href="HtTpS://Google.com/">Valid URL</a> | <a href="javascript:alert('boo')">Invalid protocol</a> >> ^~~~~~~~~ -feature_tests/urls.html:41:2 Invalid URL protocol 'javascript:' for attribute 'href' in tag 'a'. (see https://amp.dev/documentation/guides-and-tutorials/learn/spec/amphtml/#links) +feature_tests/urls.html:26:2 Invalid URL protocol 'javascript:' for attribute 'href' in tag 'a'. (see https://amp.dev/documentation/guides-and-tutorials/learn/spec/amphtml/#links) | <a href="JavaScript:alert('boo')">Invalid protocol</a> >> ^~~~~~~~~ -feature_tests/urls.html:42:2 Invalid URL protocol 'javascript:' for attribute 'href' in tag 'a'. (see https://amp.dev/documentation/guides-and-tutorials/learn/spec/amphtml/#links) +feature_tests/urls.html:27:2 Invalid URL protocol 'javascript:' for attribute 'href' in tag 'a'. (see https://amp.dev/documentation/guides-and-tutorials/learn/spec/amphtml/#links) | <a href="javascript:alert(1)">Invalid protocol</a> >> ^~~~~~~~~ -feature_tests/urls.html:43:2 Invalid URL protocol 'javascript:' for attribute 'href' in tag 'a'. (see https://amp.dev/documentation/guides-and-tutorials/learn/spec/amphtml/#links) +feature_tests/urls.html:28:2 Invalid URL protocol 'javascript:' for attribute 'href' in tag 'a'. (see https://amp.dev/documentation/guides-and-tutorials/learn/spec/amphtml/#links) | <a href="vbscript:bar">Invalid protocol</a> >> ^~~~~~~~~ -feature_tests/urls.html:44:2 Invalid URL protocol 'vbscript:' for attribute 'href' in tag 'a'. (see https://amp.dev/documentation/guides-and-tutorials/learn/spec/amphtml/#links) +feature_tests/urls.html:29:2 Invalid URL protocol 'vbscript:' for attribute 'href' in tag 'a'. (see https://amp.dev/documentation/guides-and-tutorials/learn/spec/amphtml/#links) | <a href="data:baz">Invalid protocol</a> >> ^~~~~~~~~ -feature_tests/urls.html:45:2 Invalid URL protocol 'data:' for attribute 'href' in tag 'a'. (see https://amp.dev/documentation/guides-and-tutorials/learn/spec/amphtml/#links) +feature_tests/urls.html:30:2 Invalid URL protocol 'data:' for attribute 'href' in tag 'a'. (see https://amp.dev/documentation/guides-and-tutorials/learn/spec/amphtml/#links) | <a href="ftp://google.com/">Valid protocol</a> | <!-- invalid (javascript is not an allowed protocol: singluar src element) --> | <amp-img srcset="javascript:alert(1)" layout="fill"></amp-img> >> ^~~~~~~~~ -feature_tests/urls.html:48:2 Invalid URL protocol 'javascript:' for attribute 'srcset' in tag 'amp-img'. (see https://amp.dev/documentation/components/amp-img/) +feature_tests/urls.html:33:2 Invalid URL protocol 'javascript:' for attribute 'srcset' in tag 'amp-img'. (see https://amp.dev/documentation/components/amp-img/) | <!-- invalid (javascript is not an allwoed protocol: second src element) --> | <amp-img srcset="image-1.png 1x, javascript:alert(1)" layout="fill"></amp-img> >> ^~~~~~~~~ -feature_tests/urls.html:50:2 Multiple image candidates with the same width or pixel density found in attribute 'srcset' in tag 'amp-img'. (see https://amp.dev/documentation/components/amp-img/) +feature_tests/urls.html:35:2 Multiple image candidates with the same width or pixel density found in attribute 'srcset' in tag 'amp-img'. (see https://amp.dev/documentation/components/amp-img/) | <!-- valid --> | <amp-img srcset="image-1x.png 1x, image-2x.png 2x" layout="fill"></amp-img> | <!-- valid --> @@ -76,23 +61,23 @@ feature_tests/urls.html:50:2 Multiple image candidates with the same width or pi | <!-- invalid (javascript is not an allowed protocol: multi src element) --> | <amp-img srcset="javascript:alert('boo') 1x, foo 2x" layout="fill"></amp-img> >> ^~~~~~~~~ -feature_tests/urls.html:58:2 Invalid URL protocol 'javascript:' for attribute 'srcset' in tag 'amp-img'. (see https://amp.dev/documentation/components/amp-img/) +feature_tests/urls.html:43:2 Invalid URL protocol 'javascript:' for attribute 'srcset' in tag 'amp-img'. (see https://amp.dev/documentation/components/amp-img/) | <!-- invalid (javascript is not an allowed protocol: case insensitive) --> | <amp-img srcset="image-1x.png 1x, JavaScript:baz 2x" layout="fill"></amp-img> >> ^~~~~~~~~ -feature_tests/urls.html:60:2 Invalid URL protocol 'javascript:' for attribute 'srcset' in tag 'amp-img'. (see https://amp.dev/documentation/components/amp-img/) +feature_tests/urls.html:45:2 Invalid URL protocol 'javascript:' for attribute 'srcset' in tag 'amp-img'. (see https://amp.dev/documentation/components/amp-img/) | <!-- invalid (empty) --> | <amp-img srcset="" layout="fill"></amp-img> >> ^~~~~~~~~ -feature_tests/urls.html:62:2 Missing URL for attribute 'srcset' in tag 'amp-img'. (see https://amp.dev/documentation/components/amp-img/) +feature_tests/urls.html:47:2 Missing URL for attribute 'srcset' in tag 'amp-img'. (see https://amp.dev/documentation/components/amp-img/) | <!-- invalid (duplicate pixel density) --> | <amp-img srcset="image-1x.png 1x, image-2x.png 1x" layout="fill"></amp-img> >> ^~~~~~~~~ -feature_tests/urls.html:64:2 Multiple image candidates with the same width or pixel density found in attribute 'srcset' in tag 'amp-img'. (see https://amp.dev/documentation/components/amp-img/) +feature_tests/urls.html:49:2 Multiple image candidates with the same width or pixel density found in attribute 'srcset' in tag 'amp-img'. (see https://amp.dev/documentation/components/amp-img/) | <!-- invalid (URL has spaces that are not encoded) --> | <amp-img srcset="image 1x.png 1x, image 2x.png 2x" layout="fill"></amp-img> >> ^~~~~~~~~ -feature_tests/urls.html:66:2 The attribute 'srcset' in tag 'amp-img' is set to the invalid value 'image 1x.png 1x, image 2x.png 2x'. (see https://amp.dev/documentation/components/amp-img/) +feature_tests/urls.html:51:2 The attribute 'srcset' in tag 'amp-img' is set to the invalid value 'image 1x.png 1x, image 2x.png 2x'. (see https://amp.dev/documentation/components/amp-img/) | <!-- valid (URL has encoded spaces) --> | <amp-img srcset=", image%201x.png 1x, image%202x.png 2x" layout="fill"></amp-img> | <a href="http://foobarbazexample.com\x10.com/">Interesting Case</a> @@ -100,52 +85,52 @@ feature_tests/urls.html:66:2 The attribute 'srcset' in tag 'amp-img' is set to t | <!-- Missing src --> | <amp-ad src="" width="42" height="42" type=""></amp-ad> >> ^~~~~~~~~ -feature_tests/urls.html:72:2 Missing URL for attribute 'src' in tag 'amp-ad'. (see https://amp.dev/documentation/components/amp-ad/) +feature_tests/urls.html:57:2 Missing URL for attribute 'src' in tag 'amp-ad'. (see https://amp.dev/documentation/components/amp-ad/) | <amp-anim src="" width="42" height="42"></amp-anim> >> ^~~~~~~~~ -feature_tests/urls.html:73:2 Missing URL for attribute 'src' in tag 'amp-anim'. (see https://amp.dev/documentation/components/amp-anim/) +feature_tests/urls.html:58:2 Missing URL for attribute 'src' in tag 'amp-anim'. (see https://amp.dev/documentation/components/amp-anim/) >> ^~~~~~~~~ -feature_tests/urls.html:73:2 The tag 'amp-anim' requires including the 'amp-anim' extension JavaScript. (see https://amp.dev/documentation/components/amp-anim/) +feature_tests/urls.html:58:2 The tag 'amp-anim' requires including the 'amp-anim' extension JavaScript. (see https://amp.dev/documentation/components/amp-anim/) | <amp-audio src="" layout="fixed" width="42"></amp-audio> >> ^~~~~~~~~ -feature_tests/urls.html:74:2 Missing URL for attribute 'src' in tag 'amp-audio'. (see https://amp.dev/documentation/components/amp-audio/) +feature_tests/urls.html:59:2 Missing URL for attribute 'src' in tag 'amp-audio'. (see https://amp.dev/documentation/components/amp-audio/) >> ^~~~~~~~~ -feature_tests/urls.html:74:2 The tag 'amp-audio' requires including the 'amp-audio' extension JavaScript. (see https://amp.dev/documentation/components/amp-audio/) +feature_tests/urls.html:59:2 The tag 'amp-audio' requires including the 'amp-audio' extension JavaScript. (see https://amp.dev/documentation/components/amp-audio/) | <amp-iframe src="" width="42" height="42"></amp-iframe> >> ^~~~~~~~~ -feature_tests/urls.html:75:2 Missing URL for attribute 'src' in tag 'amp-iframe'. (see https://amp.dev/documentation/components/amp-iframe) +feature_tests/urls.html:60:2 Missing URL for attribute 'src' in tag 'amp-iframe'. (see https://amp.dev/documentation/components/amp-iframe) >> ^~~~~~~~~ -feature_tests/urls.html:75:2 The tag 'amp-iframe' requires including the 'amp-iframe' extension JavaScript. (see https://amp.dev/documentation/components/amp-iframe) +feature_tests/urls.html:60:2 The tag 'amp-iframe' requires including the 'amp-iframe' extension JavaScript. (see https://amp.dev/documentation/components/amp-iframe) | <amp-img src="" layout="responsive" width="42" height="42"></amp-img> >> ^~~~~~~~~ -feature_tests/urls.html:76:2 Missing URL for attribute 'src' in tag 'amp-img'. (see https://amp.dev/documentation/components/amp-img/) +feature_tests/urls.html:61:2 Missing URL for attribute 'src' in tag 'amp-img'. (see https://amp.dev/documentation/components/amp-img/) | <amp-pixel src="" layout="fixed" width="42"></amp-pixel> | <amp-video src="" width="42" height="42"></amp-video> >> ^~~~~~~~~ -feature_tests/urls.html:78:2 Missing URL for attribute 'src' in tag 'amp-video'. (see https://amp.dev/documentation/components/amp-video/) +feature_tests/urls.html:63:2 Missing URL for attribute 'src' in tag 'amp-video'. (see https://amp.dev/documentation/components/amp-video/) | <!-- src contains only whitespace: regular space followed by non-breaking | space followed by tab. --> | <amp-ad src=" " width="42" height="42" type=""></amp-ad> >> ^~~~~~~~~ -feature_tests/urls.html:81:2 Missing URL for attribute 'src' in tag 'amp-ad'. (see https://amp.dev/documentation/components/amp-ad/) +feature_tests/urls.html:66:2 Missing URL for attribute 'src' in tag 'amp-ad'. (see https://amp.dev/documentation/components/amp-ad/) | <!-- Invalid protocol --> | <amp-ad src="http://amp-ad" width="42" height="42" type=""></amp-ad> >> ^~~~~~~~~ -feature_tests/urls.html:83:2 Invalid URL protocol 'http:' for attribute 'src' in tag 'amp-ad'. (see https://amp.dev/documentation/components/amp-ad/) +feature_tests/urls.html:68:2 Invalid URL protocol 'http:' for attribute 'src' in tag 'amp-ad'. (see https://amp.dev/documentation/components/amp-ad/) | <amp-iframe src="http://amp-iframe" width="42" height="42"></amp-iframe> >> ^~~~~~~~~ -feature_tests/urls.html:84:2 Invalid URL protocol 'http:' for attribute 'src' in tag 'amp-iframe'. (see https://amp.dev/documentation/components/amp-iframe) +feature_tests/urls.html:69:2 Invalid URL protocol 'http:' for attribute 'src' in tag 'amp-iframe'. (see https://amp.dev/documentation/components/amp-iframe) >> ^~~~~~~~~ -feature_tests/urls.html:84:2 The tag 'amp-iframe' requires including the 'amp-iframe' extension JavaScript. (see https://amp.dev/documentation/components/amp-iframe) +feature_tests/urls.html:69:2 The tag 'amp-iframe' requires including the 'amp-iframe' extension JavaScript. (see https://amp.dev/documentation/components/amp-iframe) | <amp-pixel src="http://amp-pixel" layout="fixed" width="42"></amp-pixel> >> ^~~~~~~~~ -feature_tests/urls.html:85:2 Invalid URL protocol 'http:' for attribute 'src' in tag 'amp-pixel'. (see https://amp.dev/documentation/components/amp-pixel/) +feature_tests/urls.html:70:2 Invalid URL protocol 'http:' for attribute 'src' in tag 'amp-pixel'. (see https://amp.dev/documentation/components/amp-pixel/) | <amp-video src="http://amp-video" width="42" height="42"></amp-video> >> ^~~~~~~~~ -feature_tests/urls.html:86:2 Invalid URL protocol 'http:' for attribute 'src' in tag 'amp-video'. (see https://amp.dev/documentation/components/amp-video/) +feature_tests/urls.html:71:2 Invalid URL protocol 'http:' for attribute 'src' in tag 'amp-video'. (see https://amp.dev/documentation/components/amp-video/) | <a href=" j a v a s c r i p t :alert(1)">Invalid protocol</a> >> ^~~~~~~~~ -feature_tests/urls.html:87:2 Invalid URL protocol 'j a v a s c r i p t :' for attribute 'href' in tag 'a'. (see https://amp.dev/documentation/guides-and-tutorials/learn/spec/amphtml/#links) +feature_tests/urls.html:72:2 Invalid URL protocol 'j a v a s c r i p t :' for attribute 'href' in tag 'a'. (see https://amp.dev/documentation/guides-and-tutorials/learn/spec/amphtml/#links) | | <!-- Valid ipv6 addresses --> | <a href="https://[2001:0db8::85a3]/">Valid</a> @@ -158,63 +143,63 @@ feature_tests/urls.html:87:2 Invalid URL protocol 'j a v a s c r i p t :' for at | <!-- Invalid ipv6 addresses --> | <a href="https://[2001:0db8:85a3]/">Invalid</a> >> ^~~~~~~~~ -feature_tests/urls.html:98:2 Malformed URL 'https://[2001:0db8:85a3]/' for attribute 'href' in tag 'a'. (see https://amp.dev/documentation/guides-and-tutorials/learn/spec/amphtml/#links) +feature_tests/urls.html:83:2 Malformed URL 'https://[2001:0db8:85a3]/' for attribute 'href' in tag 'a'. (see https://amp.dev/documentation/guides-and-tutorials/learn/spec/amphtml/#links) | <a href="https://[20012:0db8::85a3]/">Invalid</a> >> ^~~~~~~~~ -feature_tests/urls.html:99:2 Malformed URL 'https://[20012:0db8::85a3]/' for attribute 'href' in tag 'a'. (see https://amp.dev/documentation/guides-and-tutorials/learn/spec/amphtml/#links) +feature_tests/urls.html:84:2 Malformed URL 'https://[20012:0db8::85a3]/' for attribute 'href' in tag 'a'. (see https://amp.dev/documentation/guides-and-tutorials/learn/spec/amphtml/#links) | <a href="https://[200g:0db8:85a3]/">Invalid</a> >> ^~~~~~~~~ -feature_tests/urls.html:100:2 Malformed URL 'https://[200g:0db8:85a3]/' for attribute 'href' in tag 'a'. (see https://amp.dev/documentation/guides-and-tutorials/learn/spec/amphtml/#links) +feature_tests/urls.html:85:2 Malformed URL 'https://[200g:0db8:85a3]/' for attribute 'href' in tag 'a'. (see https://amp.dev/documentation/guides-and-tutorials/learn/spec/amphtml/#links) | <a href="https://[:::1]/">Invalid</a> >> ^~~~~~~~~ -feature_tests/urls.html:101:2 Malformed URL 'https://[:::1]/' for attribute 'href' in tag 'a'. (see https://amp.dev/documentation/guides-and-tutorials/learn/spec/amphtml/#links) +feature_tests/urls.html:86:2 Malformed URL 'https://[:::1]/' for attribute 'href' in tag 'a'. (see https://amp.dev/documentation/guides-and-tutorials/learn/spec/amphtml/#links) | <a href="https://[0:0:0:0:0:0:1]/">Invalid</a> >> ^~~~~~~~~ -feature_tests/urls.html:102:2 Malformed URL 'https://[0:0:0:0:0:0:1]/' for attribute 'href' in tag 'a'. (see https://amp.dev/documentation/guides-and-tutorials/learn/spec/amphtml/#links) +feature_tests/urls.html:87:2 Malformed URL 'https://[0:0:0:0:0:0:1]/' for attribute 'href' in tag 'a'. (see https://amp.dev/documentation/guides-and-tutorials/learn/spec/amphtml/#links) | <a href="https://[0:0:0:0:0:0:0:0:1]/">Invalid</a> >> ^~~~~~~~~ -feature_tests/urls.html:103:2 Malformed URL 'https://[0:0:0:0:0:0:0:0:1]/' for attribute 'href' in tag 'a'. (see https://amp.dev/documentation/guides-and-tutorials/learn/spec/amphtml/#links) +feature_tests/urls.html:88:2 Malformed URL 'https://[0:0:0:0:0:0:0:0:1]/' for attribute 'href' in tag 'a'. (see https://amp.dev/documentation/guides-and-tutorials/learn/spec/amphtml/#links) | <a href="https://[0:0:0:0:0:0:0:8.8.8.8]/">Invalid</a> >> ^~~~~~~~~ -feature_tests/urls.html:104:2 Malformed URL 'https://[0:0:0:0:0:0:0:8.8.8.8]/' for attribute 'href' in tag 'a'. (see https://amp.dev/documentation/guides-and-tutorials/learn/spec/amphtml/#links) +feature_tests/urls.html:89:2 Malformed URL 'https://[0:0:0:0:0:0:0:8.8.8.8]/' for attribute 'href' in tag 'a'. (see https://amp.dev/documentation/guides-and-tutorials/learn/spec/amphtml/#links) | <a href="https://[0:0:0:0:0:8.8.8.8]/">Invalid</a> >> ^~~~~~~~~ -feature_tests/urls.html:105:2 Malformed URL 'https://[0:0:0:0:0:8.8.8.8]/' for attribute 'href' in tag 'a'. (see https://amp.dev/documentation/guides-and-tutorials/learn/spec/amphtml/#links) +feature_tests/urls.html:90:2 Malformed URL 'https://[0:0:0:0:0:8.8.8.8]/' for attribute 'href' in tag 'a'. (see https://amp.dev/documentation/guides-and-tutorials/learn/spec/amphtml/#links) | <a href="https://[0:0:0:0:0:8.8.8.8:1]/">Invalid</a> >> ^~~~~~~~~ -feature_tests/urls.html:106:2 Malformed URL 'https://[0:0:0:0:0:8.8.8.8:1]/' for attribute 'href' in tag 'a'. (see https://amp.dev/documentation/guides-and-tutorials/learn/spec/amphtml/#links) +feature_tests/urls.html:91:2 Malformed URL 'https://[0:0:0:0:0:8.8.8.8:1]/' for attribute 'href' in tag 'a'. (see https://amp.dev/documentation/guides-and-tutorials/learn/spec/amphtml/#links) | | <!-- __amp_source_origin is not an allowed value for URLs. --> | <a href="__amp_source_origin">uhm, no</a> >> ^~~~~~~~~ -feature_tests/urls.html:109:2 The attribute 'href' in tag 'a' is set to the invalid value '__amp_source_origin'. (see https://amp.dev/documentation/guides-and-tutorials/learn/spec/amphtml/#links) +feature_tests/urls.html:94:2 The attribute 'href' in tag 'a' is set to the invalid value '__amp_source_origin'. (see https://amp.dev/documentation/guides-and-tutorials/learn/spec/amphtml/#links) | <amp-ad src="__amp_source_origin" width="42" height="42" type=""></amp-ad> >> ^~~~~~~~~ -feature_tests/urls.html:110:2 The attribute 'src' in tag 'amp-ad' is set to the invalid value '__amp_source_origin'. (see https://amp.dev/documentation/components/amp-ad/) +feature_tests/urls.html:95:2 The attribute 'src' in tag 'amp-ad' is set to the invalid value '__amp_source_origin'. (see https://amp.dev/documentation/components/amp-ad/) | <amp-anim src="__amp_source_origin" width="42" height="42"></amp-anim> >> ^~~~~~~~~ -feature_tests/urls.html:111:2 The attribute 'src' in tag 'amp-anim' is set to the invalid value '__amp_source_origin'. (see https://amp.dev/documentation/components/amp-anim/) +feature_tests/urls.html:96:2 The attribute 'src' in tag 'amp-anim' is set to the invalid value '__amp_source_origin'. (see https://amp.dev/documentation/components/amp-anim/) >> ^~~~~~~~~ -feature_tests/urls.html:111:2 The tag 'amp-anim' requires including the 'amp-anim' extension JavaScript. (see https://amp.dev/documentation/components/amp-anim/) +feature_tests/urls.html:96:2 The tag 'amp-anim' requires including the 'amp-anim' extension JavaScript. (see https://amp.dev/documentation/components/amp-anim/) | <amp-audio src="__amp_source_origin" layout="fixed" width="42"></amp-audio> >> ^~~~~~~~~ -feature_tests/urls.html:112:2 The attribute 'src' in tag 'amp-audio' is set to the invalid value '__amp_source_origin'. (see https://amp.dev/documentation/components/amp-audio/) +feature_tests/urls.html:97:2 The attribute 'src' in tag 'amp-audio' is set to the invalid value '__amp_source_origin'. (see https://amp.dev/documentation/components/amp-audio/) >> ^~~~~~~~~ -feature_tests/urls.html:112:2 The tag 'amp-audio' requires including the 'amp-audio' extension JavaScript. (see https://amp.dev/documentation/components/amp-audio/) +feature_tests/urls.html:97:2 The tag 'amp-audio' requires including the 'amp-audio' extension JavaScript. (see https://amp.dev/documentation/components/amp-audio/) | <amp-iframe src="__amp_source_origin" width="42" height="42"></amp-iframe> >> ^~~~~~~~~ -feature_tests/urls.html:113:2 The attribute 'src' in tag 'amp-iframe' is set to the invalid value '__amp_source_origin'. (see https://amp.dev/documentation/components/amp-iframe) +feature_tests/urls.html:98:2 The attribute 'src' in tag 'amp-iframe' is set to the invalid value '__amp_source_origin'. (see https://amp.dev/documentation/components/amp-iframe) >> ^~~~~~~~~ -feature_tests/urls.html:113:2 The tag 'amp-iframe' requires including the 'amp-iframe' extension JavaScript. (see https://amp.dev/documentation/components/amp-iframe) +feature_tests/urls.html:98:2 The tag 'amp-iframe' requires including the 'amp-iframe' extension JavaScript. (see https://amp.dev/documentation/components/amp-iframe) | <amp-img src="__amp_source_origin" layout="responsive" width="42" height="42"></amp-img> >> ^~~~~~~~~ -feature_tests/urls.html:114:2 The attribute 'src' in tag 'amp-img' is set to the invalid value '__amp_source_origin'. (see https://amp.dev/documentation/components/amp-img/) +feature_tests/urls.html:99:2 The attribute 'src' in tag 'amp-img' is set to the invalid value '__amp_source_origin'. (see https://amp.dev/documentation/components/amp-img/) | <amp-pixel src="__amp_source_origin" layout="fixed" width="42"></amp-pixel> >> ^~~~~~~~~ -feature_tests/urls.html:115:2 The attribute 'src' in tag 'amp-pixel' is set to the invalid value '__amp_source_origin'. (see https://amp.dev/documentation/components/amp-pixel/) +feature_tests/urls.html:100:2 The attribute 'src' in tag 'amp-pixel' is set to the invalid value '__amp_source_origin'. (see https://amp.dev/documentation/components/amp-pixel/) | <amp-video src="__amp_source_origin" width="42" height="42"></amp-video> >> ^~~~~~~~~ -feature_tests/urls.html:116:2 The attribute 'src' in tag 'amp-video' is set to the invalid value '__amp_source_origin'. (see https://amp.dev/documentation/components/amp-video/) +feature_tests/urls.html:101:2 The attribute 'src' in tag 'amp-video' is set to the invalid value '__amp_source_origin'. (see https://amp.dev/documentation/components/amp-video/) | <amp-video src="%5f_amp_source%5forigin" width="42" height="42"></amp-video> | </body> | </html> diff --git a/validator/testdata/feature_tests/urls_in_css.html b/validator/testdata/feature_tests/urls_in_css.html index 6aed13b972b6..a1b7067c5a75 100644 --- a/validator/testdata/feature_tests/urls_in_css.html +++ b/validator/testdata/feature_tests/urls_in_css.html @@ -1,18 +1,3 @@ -<!-- - Copyright 2015 The AMP HTML Authors. All Rights Reserved. - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS-IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the license. ---> <!-- Test Description: Shows an example of a url(...) function within a stylesheet which diff --git a/validator/testdata/feature_tests/urls_in_css.out b/validator/testdata/feature_tests/urls_in_css.out index e8e3aa54a96c..3db03616a2ad 100644 --- a/validator/testdata/feature_tests/urls_in_css.out +++ b/validator/testdata/feature_tests/urls_in_css.out @@ -1,20 +1,5 @@ FAIL | <!-- -| Copyright 2015 The AMP HTML Authors. All Rights Reserved. -| -| Licensed under the Apache License, Version 2.0 (the "License"); -| you may not use this file except in compliance with the License. -| You may obtain a copy of the License at -| -| http://www.apache.org/licenses/LICENSE-2.0 -| -| Unless required by applicable law or agreed to in writing, software -| distributed under the License is distributed on an "AS-IS" BASIS, -| WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -| See the License for the specific language governing permissions and -| limitations under the license. -| --> -| <!-- | Test Description: | Shows an example of a url(...) function within a stylesheet which | has invalid paramters. @@ -32,7 +17,7 @@ FAIL | font-family: 'Roboto', sans-serif; | src: url('<link href='https://fonts.googleapis.com/css?family=Roboto:300,400,500,700' rel='stylesheet' type='text/css'>'); >> ^~~~~~~~~ -feature_tests/urls_in_css.html:32:11 CSS syntax error in tag 'style amp-custom' - bad url. +feature_tests/urls_in_css.html:17:11 CSS syntax error in tag 'style amp-custom' - bad url. | } | </style> | </head> diff --git a/validator/testdata/feature_tests/valid_css_at_rules_amp.html b/validator/testdata/feature_tests/valid_css_at_rules_amp.html index 766c4998840d..1bafabfd9a93 100644 --- a/validator/testdata/feature_tests/valid_css_at_rules_amp.html +++ b/validator/testdata/feature_tests/valid_css_at_rules_amp.html @@ -1,18 +1,3 @@ -<!-- - Copyright 2016 The AMP HTML Authors. All Rights Reserved. - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS-IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the license. ---> <!-- Test Description: This is the minimum valid AMP document; it includes all of the required diff --git a/validator/testdata/feature_tests/valid_css_at_rules_amp.out b/validator/testdata/feature_tests/valid_css_at_rules_amp.out index 246d3413d57d..dfd9e9df44ee 100644 --- a/validator/testdata/feature_tests/valid_css_at_rules_amp.out +++ b/validator/testdata/feature_tests/valid_css_at_rules_amp.out @@ -1,20 +1,5 @@ PASS | <!-- -| Copyright 2016 The AMP HTML Authors. All Rights Reserved. -| -| Licensed under the Apache License, Version 2.0 (the "License"); -| you may not use this file except in compliance with the License. -| You may obtain a copy of the License at -| -| http://www.apache.org/licenses/LICENSE-2.0 -| -| Unless required by applicable law or agreed to in writing, software -| distributed under the License is distributed on an "AS-IS" BASIS, -| WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -| See the License for the specific language governing permissions and -| limitations under the license. -| --> -| <!-- | Test Description: | This is the minimum valid AMP document; it includes all of the required | fields from the spec, but nothing else. diff --git a/validator/testdata/feature_tests/video-json-ld.html b/validator/testdata/feature_tests/video-json-ld.html index 75cd9ad44119..7b509edda7e4 100644 --- a/validator/testdata/feature_tests/video-json-ld.html +++ b/validator/testdata/feature_tests/video-json-ld.html @@ -1,18 +1,3 @@ -<!-- - Copyright 2017 The AMP HTML Authors. All Rights Reserved. - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS-IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the license. ---> <!doctype html> <!-- This sample AMP HTML file aims to be a minimalist document that diff --git a/validator/testdata/feature_tests/video-json-ld.out b/validator/testdata/feature_tests/video-json-ld.out index b983ac35f70c..e0e4081a36a3 100644 --- a/validator/testdata/feature_tests/video-json-ld.out +++ b/validator/testdata/feature_tests/video-json-ld.out @@ -1,19 +1,4 @@ PASS -| <!-- -| Copyright 2017 The AMP HTML Authors. All Rights Reserved. -| -| Licensed under the Apache License, Version 2.0 (the "License"); -| you may not use this file except in compliance with the License. -| You may obtain a copy of the License at -| -| http://www.apache.org/licenses/LICENSE-2.0 -| -| Unless required by applicable law or agreed to in writing, software -| distributed under the License is distributed on an "AS-IS" BASIS, -| WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -| See the License for the specific language governing permissions and -| limitations under the license. -| --> | <!doctype html> | <!-- | This sample AMP HTML file aims to be a minimalist document that diff --git a/validator/testdata/feature_tests/video-microdata.html b/validator/testdata/feature_tests/video-microdata.html index a870f570a4a1..3a0babf6ec85 100644 --- a/validator/testdata/feature_tests/video-microdata.html +++ b/validator/testdata/feature_tests/video-microdata.html @@ -1,18 +1,3 @@ -<!-- - Copyright 2017 The AMP HTML Authors. All Rights Reserved. - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS-IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the license. ---> <!doctype html> <!-- This sample AMP HTML file aims to be a minimalist document that diff --git a/validator/testdata/feature_tests/video-microdata.out b/validator/testdata/feature_tests/video-microdata.out index 744e03e5075c..f7d56a3a632e 100644 --- a/validator/testdata/feature_tests/video-microdata.out +++ b/validator/testdata/feature_tests/video-microdata.out @@ -1,19 +1,4 @@ PASS -| <!-- -| Copyright 2017 The AMP HTML Authors. All Rights Reserved. -| -| Licensed under the Apache License, Version 2.0 (the "License"); -| you may not use this file except in compliance with the License. -| You may obtain a copy of the License at -| -| http://www.apache.org/licenses/LICENSE-2.0 -| -| Unless required by applicable law or agreed to in writing, software -| distributed under the License is distributed on an "AS-IS" BASIS, -| WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -| See the License for the specific language governing permissions and -| limitations under the license. -| --> | <!doctype html> | <!-- | This sample AMP HTML file aims to be a minimalist document that diff --git a/validator/testdata/feature_tests/xlinkhref.html b/validator/testdata/feature_tests/xlinkhref.html index 548446a080fe..3d77a1edfb24 100644 --- a/validator/testdata/feature_tests/xlinkhref.html +++ b/validator/testdata/feature_tests/xlinkhref.html @@ -1,18 +1,3 @@ -<!-- - Copyright 2015 The AMP HTML Authors. All Rights Reserved. - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS-IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the license. ---> <!-- Test Description: Tests xlink:href attributes in SVG tags. diff --git a/validator/testdata/feature_tests/xlinkhref.out b/validator/testdata/feature_tests/xlinkhref.out index d032c23de556..832f307b4868 100644 --- a/validator/testdata/feature_tests/xlinkhref.out +++ b/validator/testdata/feature_tests/xlinkhref.out @@ -1,20 +1,5 @@ FAIL | <!-- -| Copyright 2015 The AMP HTML Authors. All Rights Reserved. -| -| Licensed under the Apache License, Version 2.0 (the "License"); -| you may not use this file except in compliance with the License. -| You may obtain a copy of the License at -| -| http://www.apache.org/licenses/LICENSE-2.0 -| -| Unless required by applicable law or agreed to in writing, software -| distributed under the License is distributed on an "AS-IS" BASIS, -| WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -| See the License for the specific language governing permissions and -| limitations under the license. -| --> -| <!-- | Test Description: | Tests xlink:href attributes in SVG tags. | --> @@ -35,7 +20,7 @@ FAIL | <svg version="1.0" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" width="640" height="480"> | <image x=0 y=0 width=14 height=10 xlink:href="data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiIHN0YW5kYWxvbmU9Im5vIj8+Cjxzdmcgd2lkdGg9IjE0cHgiIGhlaWdodD0iMTRweCIgdmlld0JveD0iMCAwIDE0IDE0IiB2ZXJzaW9uPSIxLjEiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiPgogICAgPCEtLSBHZW5lcmF0b3I6IFNrZXRjaCAzLjYuMSAoMjYzMTMpIC0gaHR0cDovL3d3dy5ib2hlbWlhbmNvZGluZy5jb20vc2tldGNoIC0tPgogICAgPHRpdGxlPkFNUCBMb2dvPC90aXRsZT4KICAgIDxkZXNjPkNyZWF0ZWQgd2l0aCBTa2V0Y2guPC9kZXNjPgogICAgPGRlZnM+PC9kZWZzPgogICAgPGcgaWQ9IlBhZ2UtMSIgc3Ryb2tlPSJub25lIiBzdHJva2Utd2lkdGg9IjEiIGZpbGw9Im5vbmUiIGZpbGwtcnVsZT0iZXZlbm9kZCI+CiAgICAgICAgPGcgaWQ9IkFNUC1Mb2dvIiBmaWxsPSIjMDM3OUM0Ij4KICAgICAgICAgICAgPHBhdGggZD0iTTguNjU3ODE3LDAuMjE2MDYyIEw3LjY0NzI5Nyw1LjU4OTk2MiBMMTAuMDg1MzI3LDUuNTg5OTYyIEMxMC4xODg3ODcsNS41ODk5NjIgMTAuMjU2NDc3LDUuNjk4MzIyIDEwLjIxMTExNyw1Ljc5MTI4MiBMNi4yMzAyMTcsMTMuOTU4NTMyIEM2LjQ4MDQ2NywxMy45ODU2MjIgNi43MzQ1NjcsMTMuOTk5OTcyIDYuOTkyMDk3LDEzLjk5OTk3MiBDMTAuODUzNzE3LDEzLjk5OTk3MiAxMy45ODQxMTcsMTAuODY5NTcyIDEzLjk4NDExNyw3LjAwNzk1MiBDMTMuOTg0MTE3LDMuNzIwNDAyIDExLjcxNTA2NywwLjk2MzMxMiA4LjY1NzgxNywwLjIxNjA2MiIgaWQ9IkZpbGwtNCI+PC9wYXRoPgogICAgICAgICAgICA8cGF0aCBkPSJNNi40MjUzOTgsOC41Mjk5NDggTDMuOTg3MTU4LDguNTI5OTQ4IEMzLjg4MzY5OCw4LjUyOTk0OCAzLjgxNTkzOCw4LjQyMTU4OCAzLjg2MTI5OCw4LjMyODYyOCBMNy44ODU4MDgsMC4wNzI0NzggQzcuNTkxODA4LDAuMDM0OTU4IDcuMjkyMTM4LDAuMDE1NzA4IDYuOTg3ODQ4LDAuMDE1ODQ4IEMzLjE2ODIyOCwwLjAxODA4OCAwLjAyODAyOCwzLjEzNjMwOCAwLjAwMDE2OCw2Ljk1NTg1OCBDLTAuMDI0MTkyLDEwLjMwMzMyOCAyLjMwNDA3OCwxMy4xMTExNjggNS40Mjk3MTgsMTMuODI0NjA4IEw2LjQyNTM5OCw4LjUyOTk0OCBaIiBpZD0iRmlsbC0xIj48L3BhdGg+CiAgICAgICAgPC9nPgogICAgPC9nPgo8L3N2Zz4K"/> >> ^~~~~~~~~ -feature_tests/xlinkhref.html:35:2 The attribute 'xlink:href' in tag 'image' is set to the invalid value 'data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiIHN0YW5kYWxvbmU9Im5vIj8+Cjxzdmcgd2lkdGg9IjE0cHgiIGhlaWdodD0iMTRweCIgdmlld0JveD0iMCAwIDE0IDE0IiB2ZXJzaW9uPSIxLjEiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiPgogICAgPCEtLSBHZW5lcmF0b3I6IFNrZXRjaCAzLjYuMSAoMjYzMTMpIC0gaHR0cDovL3d3dy5ib2hlbWlhbmNvZGluZy5jb20vc2tldGNoIC0tPgogICAgPHRpdGxlPkFNUCBMb2dvPC90aXRsZT4KICAgIDxkZXNjPkNyZWF0ZWQgd2l0aCBTa2V0Y2guPC9kZXNjPgogICAgPGRlZnM+PC9kZWZzPgogICAgPGcgaWQ9IlBhZ2UtMSIgc3Ryb2tlPSJub25lIiBzdHJva2Utd2lkdGg9IjEiIGZpbGw9Im5vbmUiIGZpbGwtcnVsZT0iZXZlbm9kZCI+CiAgICAgICAgPGcgaWQ9IkFNUC1Mb2dvIiBmaWxsPSIjMDM3OUM0Ij4KICAgICAgICAgICAgPHBhdGggZD0iTTguNjU3ODE3LDAuMjE2MDYyIEw3LjY0NzI5Nyw1LjU4OTk2MiBMMTAuMDg1MzI3LDUuNTg5OTYyIEMxMC4xODg3ODcsNS41ODk5NjIgMTAuMjU2NDc3LDUuNjk4MzIyIDEwLjIxMTExNyw1Ljc5MTI4MiBMNi4yMzAyMTcsMTMuOTU4NTMyIEM2LjQ4MDQ2NywxMy45ODU2MjIgNi43MzQ1NjcsMTMuOTk5OTcyIDYuOTkyMDk3LDEzLjk5OTk3MiBDMTAuODUzNzE3LDEzLjk5OTk3MiAxMy45ODQxMTcsMTAuODY5NTcyIDEzLjk4NDExNyw3LjAwNzk1MiBDMTMuOTg0MTE3LDMuNzIwNDAyIDExLjcxNTA2NywwLjk2MzMxMiA4LjY1NzgxNywwLjIxNjA2MiIgaWQ9IkZpbGwtNCI+PC9wYXRoPgogICAgICAgICAgICA8cGF0aCBkPSJNNi40MjUzOTgsOC41Mjk5NDggTDMuOTg3MTU4LDguNTI5OTQ4IEMzLjg4MzY5OCw4LjUyOTk0OCAzLjgxNTkzOCw4LjQyMTU4OCAzLjg2MTI5OCw4LjMyODYyOCBMNy44ODU4MDgsMC4wNzI0NzggQzcuNTkxODA4LDAuMDM0OTU4IDcuMjkyMTM4LDAuMDE1NzA4IDYuOTg3ODQ4LDAuMDE1ODQ4IEMzLjE2ODIyOCwwLjAxODA4OCAwLjAyODAyOCwzLjEzNjMwOCAwLjAwMDE2OCw2Ljk1NTg1OCBDLTAuMDI0MTkyLDEwLjMwMzMyOCAyLjMwNDA3OCwxMy4xMTExNjggNS40Mjk3MTgsMTMuODI0NjA4IEw2LjQyNTM5OCw4LjUyOTk0OCBaIiBpZD0iRmlsbC0xIj48L3BhdGg+CiAgICAgICAgPC9nPgogICAgPC9nPgo8L3N2Zz4K'. (see https://amp.dev/documentation/guides-and-tutorials/learn/spec/amphtml/#svg) +feature_tests/xlinkhref.html:20:2 The attribute 'xlink:href' in tag 'image' is set to the invalid value 'data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiIHN0YW5kYWxvbmU9Im5vIj8+Cjxzdmcgd2lkdGg9IjE0cHgiIGhlaWdodD0iMTRweCIgdmlld0JveD0iMCAwIDE0IDE0IiB2ZXJzaW9uPSIxLjEiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiPgogICAgPCEtLSBHZW5lcmF0b3I6IFNrZXRjaCAzLjYuMSAoMjYzMTMpIC0gaHR0cDovL3d3dy5ib2hlbWlhbmNvZGluZy5jb20vc2tldGNoIC0tPgogICAgPHRpdGxlPkFNUCBMb2dvPC90aXRsZT4KICAgIDxkZXNjPkNyZWF0ZWQgd2l0aCBTa2V0Y2guPC9kZXNjPgogICAgPGRlZnM+PC9kZWZzPgogICAgPGcgaWQ9IlBhZ2UtMSIgc3Ryb2tlPSJub25lIiBzdHJva2Utd2lkdGg9IjEiIGZpbGw9Im5vbmUiIGZpbGwtcnVsZT0iZXZlbm9kZCI+CiAgICAgICAgPGcgaWQ9IkFNUC1Mb2dvIiBmaWxsPSIjMDM3OUM0Ij4KICAgICAgICAgICAgPHBhdGggZD0iTTguNjU3ODE3LDAuMjE2MDYyIEw3LjY0NzI5Nyw1LjU4OTk2MiBMMTAuMDg1MzI3LDUuNTg5OTYyIEMxMC4xODg3ODcsNS41ODk5NjIgMTAuMjU2NDc3LDUuNjk4MzIyIDEwLjIxMTExNyw1Ljc5MTI4MiBMNi4yMzAyMTcsMTMuOTU4NTMyIEM2LjQ4MDQ2NywxMy45ODU2MjIgNi43MzQ1NjcsMTMuOTk5OTcyIDYuOTkyMDk3LDEzLjk5OTk3MiBDMTAuODUzNzE3LDEzLjk5OTk3MiAxMy45ODQxMTcsMTAuODY5NTcyIDEzLjk4NDExNyw3LjAwNzk1MiBDMTMuOTg0MTE3LDMuNzIwNDAyIDExLjcxNTA2NywwLjk2MzMxMiA4LjY1NzgxNywwLjIxNjA2MiIgaWQ9IkZpbGwtNCI+PC9wYXRoPgogICAgICAgICAgICA8cGF0aCBkPSJNNi40MjUzOTgsOC41Mjk5NDggTDMuOTg3MTU4LDguNTI5OTQ4IEMzLjg4MzY5OCw4LjUyOTk0OCAzLjgxNTkzOCw4LjQyMTU4OCAzLjg2MTI5OCw4LjMyODYyOCBMNy44ODU4MDgsMC4wNzI0NzggQzcuNTkxODA4LDAuMDM0OTU4IDcuMjkyMTM4LDAuMDE1NzA4IDYuOTg3ODQ4LDAuMDE1ODQ4IEMzLjE2ODIyOCwwLjAxODA4OCAwLjAyODAyOCwzLjEzNjMwOCAwLjAwMDE2OCw2Ljk1NTg1OCBDLTAuMDI0MTkyLDEwLjMwMzMyOCAyLjMwNDA3OCwxMy4xMTExNjggNS40Mjk3MTgsMTMuODI0NjA4IEw2LjQyNTM5OCw4LjUyOTk0OCBaIiBpZD0iRmlsbC0xIj48L3BhdGg+CiAgICAgICAgPC9nPgogICAgPC9nPgo8L3N2Zz4K'. (see https://amp.dev/documentation/guides-and-tutorials/learn/spec/amphtml/#svg) | </svg> | | <!-- Valid image/png in a data: url inside an svg image tag. diff --git a/validator/testdata/transformed_feature_tests/amp-img.html b/validator/testdata/transformed_feature_tests/amp-img.html index 5f4578586681..c3af0af74cc3 100644 --- a/validator/testdata/transformed_feature_tests/amp-img.html +++ b/validator/testdata/transformed_feature_tests/amp-img.html @@ -1,18 +1,3 @@ -<!-- - Copyright 2020 The AMP HTML Authors. All Rights Reserved. - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS-IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the license. ---> <!-- Test Description: This tests that <img> is allowed as child tag for <amp-img>. diff --git a/validator/testdata/transformed_feature_tests/amp-img.out b/validator/testdata/transformed_feature_tests/amp-img.out index aeac2dd15baf..bccb5261cff7 100644 --- a/validator/testdata/transformed_feature_tests/amp-img.out +++ b/validator/testdata/transformed_feature_tests/amp-img.out @@ -1,20 +1,5 @@ FAIL | <!-- -| Copyright 2020 The AMP HTML Authors. All Rights Reserved. -| -| Licensed under the Apache License, Version 2.0 (the "License"); -| you may not use this file except in compliance with the License. -| You may obtain a copy of the License at -| -| http://www.apache.org/licenses/LICENSE-2.0 -| -| Unless required by applicable law or agreed to in writing, software -| distributed under the License is distributed on an "AS-IS" BASIS, -| WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -| See the License for the specific language governing permissions and -| limitations under the license. -| --> -| <!-- | Test Description: | This tests that <img> is allowed as child tag for <amp-img>. | --> @@ -50,21 +35,21 @@ FAIL | <amp-img src="/img/canoe_900x600.jpg" alt="An image about canoeing" layout="responsive" width="900" height="600"> | <img src="/img/canoe_900x600.jpg" alt="An image about canoeing" class="i-amphtml-fill-content i-amphtml-replaced-content" decoding="async"> >> ^~~~~~~~~ -transformed_feature_tests/amp-img.html:50:4 The parent tag of tag 'img' is 'amp-img', but it can only be 'i-amphtml-sizer-intrinsic'. +transformed_feature_tests/amp-img.html:35:4 The parent tag of tag 'img' is 'amp-img', but it can only be 'i-amphtml-sizer-intrinsic'. | </amp-img> | | <!-- Invalid: amp-img > img, missing decoding attr --> | <amp-img src="/img/canoe_900x600.jpg" alt="An image about canoeing" layout="responsive" width="900" height="600" i-amphtml-ssr> | <img src="/img/canoe_900x600.jpg" alt="An image about canoeing" class="i-amphtml-fill-content i-amphtml-replaced-content"> >> ^~~~~~~~~ -transformed_feature_tests/amp-img.html:55:4 The mandatory attribute 'decoding' is missing in tag 'img'. +transformed_feature_tests/amp-img.html:40:4 The mandatory attribute 'decoding' is missing in tag 'img'. | </amp-img> | | <!-- Invalid: amp-img > img, missing class attr --> | <amp-img src="/img/canoe_900x600.jpg" alt="An image about canoeing" layout="responsive" width="900" height="600" i-amphtml-ssr> | <img src="/img/canoe_900x600.jpg" alt="An image about canoeing" decoding="async"> >> ^~~~~~~~~ -transformed_feature_tests/amp-img.html:60:4 The mandatory attribute 'class' is missing in tag 'img'. +transformed_feature_tests/amp-img.html:45:4 The mandatory attribute 'class' is missing in tag 'img'. | </amp-img> | | <!-- Valid: amp-img > img, blurry image placeholder --> @@ -91,7 +76,7 @@ transformed_feature_tests/amp-img.html:60:4 The mandatory attribute 'class' is m | <amp-img src="/img/canoe_900x600.jpg" alt="An image about canoeing" layout="intrinsic" width="900" height="600" i-amphtml-layout="intrinsic" i-amphtml-ssr> | <i-amphtml-sizer slot="asd" class="i-amphtml-sizer"> >> ^~~~~~~~~ -transformed_feature_tests/amp-img.html:85:4 The attribute 'slot' in tag 'i-amphtml-sizer' is set to the invalid value 'asd'. +transformed_feature_tests/amp-img.html:70:4 The attribute 'slot' in tag 'i-amphtml-sizer' is set to the invalid value 'asd'. | <img alt aria-hidden="true" class="i-amphtml-intrinsic-sizer" role="presentation" src="data:image/svg+xml;charset=utf-8,<svg height="600" width="900" xmlns="http://www.w3.org/2000/svg" version="1.1"/>"> | </i-amphtml-sizer> | <img src="/img/canoe_900x600.jpg" alt="An image about canoeing" class="i-amphtml-fill-content i-amphtml-replaced-content" decoding="async"> @@ -101,7 +86,7 @@ transformed_feature_tests/amp-img.html:85:4 The attribute 'slot' in tag 'i-ampht | <amp-img src="/img/canoe_900x600.jpg" alt="An image about canoeing" layout="responsive" width="900" height="600" i-amphtml-ssr> | <i-amphtml-sizer slot="asd" style=display:block;padding-top:58.6667%;></i-amphtml-sizer> >> ^~~~~~~~~ -transformed_feature_tests/amp-img.html:93:4 The attribute 'slot' in tag 'i-amphtml-sizer' is set to the invalid value 'asd'. +transformed_feature_tests/amp-img.html:78:4 The attribute 'slot' in tag 'i-amphtml-sizer' is set to the invalid value 'asd'. | <img loading="lazy" src="/img/canoe_900x600.jpg" alt="An image about canoeing" class="i-amphtml-fill-content i-amphtml-replaced-content" decoding="async"> | </amp-img> | @@ -109,7 +94,7 @@ transformed_feature_tests/amp-img.html:93:4 The attribute 'slot' in tag 'i-ampht | <amp-img src="/img/canoe_900x600.jpg" alt="An image about canoeing" layout="intrinsic" width="900" height="600" i-amphtml-layout="intrinsic" i-amphtml-ssr> | <i-amphtml-sizer slot class="i-amphtml-sizer"> >> ^~~~~~~~~ -transformed_feature_tests/amp-img.html:99:4 The attribute 'slot' in tag 'i-amphtml-sizer' is set to the invalid value ''. +transformed_feature_tests/amp-img.html:84:4 The attribute 'slot' in tag 'i-amphtml-sizer' is set to the invalid value ''. | <img alt aria-hidden="true" class="i-amphtml-intrinsic-sizer" role="presentation" src="data:image/svg+xml;charset=utf-8,<svg height="600" width="900" xmlns="http://www.w3.org/2000/svg" version="1.1"/>"> | </i-amphtml-sizer> | <img src="/img/canoe_900x600.jpg" alt="An image about canoeing" class="i-amphtml-fill-content i-amphtml-replaced-content" decoding="async"> @@ -119,7 +104,7 @@ transformed_feature_tests/amp-img.html:99:4 The attribute 'slot' in tag 'i-ampht | <amp-img src="/img/canoe_900x600.jpg" alt="An image about canoeing" layout="responsive" width="900" height="600" i-amphtml-ssr> | <i-amphtml-sizer slot style=display:block;padding-top:58.6667%;></i-amphtml-sizer> >> ^~~~~~~~~ -transformed_feature_tests/amp-img.html:107:4 The attribute 'slot' in tag 'i-amphtml-sizer' is set to the invalid value ''. +transformed_feature_tests/amp-img.html:92:4 The attribute 'slot' in tag 'i-amphtml-sizer' is set to the invalid value ''. | <img loading="lazy" src="/img/canoe_900x600.jpg" alt="An image about canoeing" class="i-amphtml-fill-content i-amphtml-replaced-content" decoding="async"> | </amp-img> | </body> diff --git a/validator/testdata/transformed_feature_tests/amp-video-cached-source.html b/validator/testdata/transformed_feature_tests/amp-video-cached-source.html index e9d5894697f9..00ef4971bbe3 100644 --- a/validator/testdata/transformed_feature_tests/amp-video-cached-source.html +++ b/validator/testdata/transformed_feature_tests/amp-video-cached-source.html @@ -1,15 +1,3 @@ -<!-- - Copyright 2021 The AMP HTML Authors. All Rights Reserved. - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - http://www.apache.org/licenses/LICENSE-2.0 - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS-IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the license. ---> <!-- Test Description: Tests to verify the i-amphtml-video-cached-source attribute is forbidden in diff --git a/validator/testdata/transformed_feature_tests/amp-video-cached-source.out b/validator/testdata/transformed_feature_tests/amp-video-cached-source.out index eda07d058b30..f45029b30cd7 100644 --- a/validator/testdata/transformed_feature_tests/amp-video-cached-source.out +++ b/validator/testdata/transformed_feature_tests/amp-video-cached-source.out @@ -1,17 +1,5 @@ FAIL | <!-- -| Copyright 2021 The AMP HTML Authors. All Rights Reserved. -| Licensed under the Apache License, Version 2.0 (the "License"); -| you may not use this file except in compliance with the License. -| You may obtain a copy of the License at -| http://www.apache.org/licenses/LICENSE-2.0 -| Unless required by applicable law or agreed to in writing, software -| distributed under the License is distributed on an "AS-IS" BASIS, -| WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -| See the License for the specific language governing permissions and -| limitations under the license. -| --> -| <!-- | Test Description: | Tests to verify the i-amphtml-video-cached-source attribute is forbidden in | transformed AMP. @@ -33,6 +21,6 @@ FAIL | <!-- Invalid: i-amphtml-video-cached-source is not allowed on amp-video or source --> | <amp-video autoplay width="720" height="405" layout="responsive" class="i-amphtml-layout-responsive i-amphtml-layout-size-defined" i-amphtml-layout="responsive"><i-amphtml-sizer style="display:block;padding-top:56.25%"></i-amphtml-sizer> <source src="https://commondatastorage.googleapis.com/gtv-videos-bucket/sample/ForBiggerJoyrides.mp4" type="video/mp4" i-amphtml-video-cached-source> </amp-video> >> ^~~~~~~~~ -transformed_feature_tests/amp-video-cached-source.html:33:240 The attribute 'i-amphtml-video-cached-source' may not appear in tag 'source'. (see https://amp.dev/documentation/components/amp-video/) +transformed_feature_tests/amp-video-cached-source.html:21:240 The attribute 'i-amphtml-video-cached-source' may not appear in tag 'source'. (see https://amp.dev/documentation/components/amp-video/) | </body> | </html> \ No newline at end of file diff --git a/validator/testdata/transformed_feature_tests/amp_boilerplate_missing.html b/validator/testdata/transformed_feature_tests/amp_boilerplate_missing.html index 1c975d4fe8b8..1051b4085823 100644 --- a/validator/testdata/transformed_feature_tests/amp_boilerplate_missing.html +++ b/validator/testdata/transformed_feature_tests/amp_boilerplate_missing.html @@ -1,18 +1,3 @@ -<!-- - Copyright 2019 The AMP HTML Authors. All Rights Reserved. - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS-IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the license. ---> <!-- Test Description: Test for server side rendering transformer: diff --git a/validator/testdata/transformed_feature_tests/amp_boilerplate_missing.out b/validator/testdata/transformed_feature_tests/amp_boilerplate_missing.out index e12021b4e78a..6dd60d560d6b 100644 --- a/validator/testdata/transformed_feature_tests/amp_boilerplate_missing.out +++ b/validator/testdata/transformed_feature_tests/amp_boilerplate_missing.out @@ -1,20 +1,5 @@ PASS | <!-- -| Copyright 2019 The AMP HTML Authors. All Rights Reserved. -| -| Licensed under the Apache License, Version 2.0 (the "License"); -| you may not use this file except in compliance with the License. -| You may obtain a copy of the License at -| -| http://www.apache.org/licenses/LICENSE-2.0 -| -| Unless required by applicable law or agreed to in writing, software -| distributed under the License is distributed on an "AS-IS" BASIS, -| WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -| See the License for the specific language governing permissions and -| limitations under the license. -| --> -| <!-- | Test Description: | Test for server side rendering transformer: | - boilerplate is not required. diff --git a/validator/testdata/transformed_feature_tests/amp_boilerplate_present.html b/validator/testdata/transformed_feature_tests/amp_boilerplate_present.html index 042b7782d4eb..0cc71808f1da 100644 --- a/validator/testdata/transformed_feature_tests/amp_boilerplate_present.html +++ b/validator/testdata/transformed_feature_tests/amp_boilerplate_present.html @@ -1,18 +1,3 @@ -<!-- - Copyright 2019 The AMP HTML Authors. All Rights Reserved. - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS-IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the license. ---> <!-- Test Description: Test for server side rendering transformer: diff --git a/validator/testdata/transformed_feature_tests/amp_boilerplate_present.out b/validator/testdata/transformed_feature_tests/amp_boilerplate_present.out index 44f4ddcb7ed4..b589f06effb1 100644 --- a/validator/testdata/transformed_feature_tests/amp_boilerplate_present.out +++ b/validator/testdata/transformed_feature_tests/amp_boilerplate_present.out @@ -1,20 +1,5 @@ PASS | <!-- -| Copyright 2019 The AMP HTML Authors. All Rights Reserved. -| -| Licensed under the Apache License, Version 2.0 (the "License"); -| you may not use this file except in compliance with the License. -| You may obtain a copy of the License at -| -| http://www.apache.org/licenses/LICENSE-2.0 -| -| Unless required by applicable law or agreed to in writing, software -| distributed under the License is distributed on an "AS-IS" BASIS, -| WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -| See the License for the specific language governing permissions and -| limitations under the license. -| --> -| <!-- | Test Description: | Test for server side rendering transformer: | - boilerplate is not required but can be present. diff --git a/validator/testdata/transformed_feature_tests/blurry_image_placeholder.html b/validator/testdata/transformed_feature_tests/blurry_image_placeholder.html index 22657a6f95d1..e330d2e19a75 100644 --- a/validator/testdata/transformed_feature_tests/blurry_image_placeholder.html +++ b/validator/testdata/transformed_feature_tests/blurry_image_placeholder.html @@ -1,18 +1,3 @@ -<!-- - Copyright 2020 The AMP HTML Authors. All Rights Reserved. - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS-IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the license. ---> <!-- Test Description: Test for blurry image transformer: diff --git a/validator/testdata/transformed_feature_tests/blurry_image_placeholder.out b/validator/testdata/transformed_feature_tests/blurry_image_placeholder.out index e53223807a36..466a49adc3bc 100644 --- a/validator/testdata/transformed_feature_tests/blurry_image_placeholder.out +++ b/validator/testdata/transformed_feature_tests/blurry_image_placeholder.out @@ -1,20 +1,5 @@ FAIL | <!-- -| Copyright 2020 The AMP HTML Authors. All Rights Reserved. -| -| Licensed under the Apache License, Version 2.0 (the "License"); -| you may not use this file except in compliance with the License. -| You may obtain a copy of the License at -| -| http://www.apache.org/licenses/LICENSE-2.0 -| -| Unless required by applicable law or agreed to in writing, software -| distributed under the License is distributed on an "AS-IS" BASIS, -| WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -| See the License for the specific language governing permissions and -| limitations under the license. -| --> -| <!-- | Test Description: | Test for blurry image transformer: | - <img> tag allowed as direct child of <amp-img> @@ -43,42 +28,42 @@ FAIL | <amp-img class="i-amphtml-layout-fixed i-amphtml-layout-size-defined" height=30 i-amphtml-layout=fixed src=https://example-com.cdn.ampproject.org/i/s/example.com/lemur-narrow.jpg width=40 i-amphtml-ssr> | <img placeholder src="data:..."> >> ^~~~~~~~~ -transformed_feature_tests/blurry_image_placeholder.html:43:4 The mandatory attribute 'class' is missing in tag 'img'. +transformed_feature_tests/blurry_image_placeholder.html:28:4 The mandatory attribute 'class' is missing in tag 'img'. | </amp-img> | | <!-- Invalid: class attribute with invalid value as direct child of <amp-img> --> | <amp-img class="i-amphtml-layout-fixed i-amphtml-layout-size-defined" height=30 i-amphtml-layout=fixed src=https://example-com.cdn.ampproject.org/i/s/example.com/lemur-narrow.jpg width=40 i-amphtml-ssr> | <img class=blurry-placeholder placeholder src="data:..."> >> ^~~~~~~~~ -transformed_feature_tests/blurry_image_placeholder.html:48:4 The attribute 'class' in tag 'img' is set to the invalid value 'blurry-placeholder'. +transformed_feature_tests/blurry_image_placeholder.html:33:4 The attribute 'class' in tag 'img' is set to the invalid value 'blurry-placeholder'. | </amp-img> | | <!-- Invalid: missing placeholder attribute as direct child of <amp-img> --> | <amp-img class="i-amphtml-layout-fixed i-amphtml-layout-size-defined" height=30 i-amphtml-layout=fixed src=https://example-com.cdn.ampproject.org/i/s/example.com/lemur-narrow.jpg width=40 i-amphtml-ssr> | <img class=i-amphtml-blurry-placeholder src="data:..."> >> ^~~~~~~~~ -transformed_feature_tests/blurry_image_placeholder.html:53:4 The attribute 'class' in tag 'img' is set to the invalid value 'i-amphtml-blurry-placeholder'. +transformed_feature_tests/blurry_image_placeholder.html:38:4 The attribute 'class' in tag 'img' is set to the invalid value 'i-amphtml-blurry-placeholder'. | </amp-img> | | <!-- Invalid: placeholder attribute with invalid value as direct child of <amp-img> --> | <amp-img class="i-amphtml-layout-fixed i-amphtml-layout-size-defined" height=30 i-amphtml-layout=fixed src=https://example-com.cdn.ampproject.org/i/s/example.com/lemur-narrow.jpg width=40 i-amphtml-ssr> | <img class=i-amphtml-blurry-placeholder placeholder="blurry" src="data:..."> >> ^~~~~~~~~ -transformed_feature_tests/blurry_image_placeholder.html:58:4 The attribute 'placeholder' in tag 'img' is set to the invalid value 'blurry'. +transformed_feature_tests/blurry_image_placeholder.html:43:4 The attribute 'placeholder' in tag 'img' is set to the invalid value 'blurry'. | </amp-img> | | <!-- Invalid: missing src attribute as direct child of <amp-img> --> | <amp-img class="i-amphtml-layout-fixed i-amphtml-layout-size-defined" height=30 i-amphtml-layout=fixed src=https://example-com.cdn.ampproject.org/i/s/example.com/lemur-narrow.jpg width=40 i-amphtml-ssr> | <img class=i-amphtml-blurry-placeholder placeholder> >> ^~~~~~~~~ -transformed_feature_tests/blurry_image_placeholder.html:63:4 The mandatory attribute 'src' is missing in tag 'img'. +transformed_feature_tests/blurry_image_placeholder.html:48:4 The mandatory attribute 'src' is missing in tag 'img'. | </amp-img> | | <!-- Invalid: src attribute with invalid protocol as direct child of <amp-img> --> | <amp-img class="i-amphtml-layout-fixed i-amphtml-layout-size-defined" height=30 i-amphtml-layout=fixed src=https://example-com.cdn.ampproject.org/i/s/example.com/lemur-narrow.jpg width=40 i-amphtml-ssr> | <img class=i-amphtml-blurry-placeholder placeholder src="ftp:..."> >> ^~~~~~~~~ -transformed_feature_tests/blurry_image_placeholder.html:68:4 Invalid URL protocol 'ftp:' for attribute 'src' in tag 'img'. +transformed_feature_tests/blurry_image_placeholder.html:53:4 Invalid URL protocol 'ftp:' for attribute 'src' in tag 'img'. | </amp-img> | </body> | </html> diff --git a/validator/testdata/transformed_feature_tests/first_script_lts.html b/validator/testdata/transformed_feature_tests/first_script_lts.html index e09d74592a6f..c18a16861796 100644 --- a/validator/testdata/transformed_feature_tests/first_script_lts.html +++ b/validator/testdata/transformed_feature_tests/first_script_lts.html @@ -1,18 +1,3 @@ -<!-- - Copyright 2020 The AMP HTML Authors. All Rights Reserved. - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS-IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the license. ---> <!-- Test Description: This test demonstrates that if the first script is a LTS version, all diff --git a/validator/testdata/transformed_feature_tests/first_script_lts.out b/validator/testdata/transformed_feature_tests/first_script_lts.out index d6b28db4c1a7..169448877144 100644 --- a/validator/testdata/transformed_feature_tests/first_script_lts.out +++ b/validator/testdata/transformed_feature_tests/first_script_lts.out @@ -1,20 +1,5 @@ FAIL | <!-- -| Copyright 2020 The AMP HTML Authors. All Rights Reserved. -| -| Licensed under the Apache License, Version 2.0 (the "License"); -| you may not use this file except in compliance with the License. -| You may obtain a copy of the License at -| -| http://www.apache.org/licenses/LICENSE-2.0 -| -| Unless required by applicable law or agreed to in writing, software -| distributed under the License is distributed on an "AS-IS" BASIS, -| WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -| See the License for the specific language governing permissions and -| limitations under the license. -| --> -| <!-- | Test Description: | This test demonstrates that if the first script is a LTS version, all | following scripts must also be a LTS version. @@ -35,27 +20,27 @@ FAIL | <!-- Invalid: standard version --> | <script async custom-element=amp-analytics src=https://cdn.ampproject.org/v0/amp-analytics-0.1.js></script> >> ^~~~~~~~~ -transformed_feature_tests/first_script_lts.html:35:2 The script version for 'amp-analytics' is a standard version which mismatches with the first script on the page using the LTS version. (see https://amp.dev/documentation/guides-and-tutorials/learn/spec/amphtml#required-markup) +transformed_feature_tests/first_script_lts.html:20:2 The script version for 'amp-analytics' is a standard version which mismatches with the first script on the page using the LTS version. (see https://amp.dev/documentation/guides-and-tutorials/learn/spec/amphtml#required-markup) | | <!-- Invalid: module version --> | <script async crossorigin=anonymous custom-element=amp-anim src=https://cdn.ampproject.org/v0/amp-anim-0.1.mjs type=module></script> >> ^~~~~~~~~ -transformed_feature_tests/first_script_lts.html:38:2 The script version for 'amp-anim' is a module/nomodule version which mismatches with the first script on the page using the LTS version. (see https://amp.dev/documentation/guides-and-tutorials/learn/spec/amphtml#required-markup) +transformed_feature_tests/first_script_lts.html:23:2 The script version for 'amp-anim' is a module/nomodule version which mismatches with the first script on the page using the LTS version. (see https://amp.dev/documentation/guides-and-tutorials/learn/spec/amphtml#required-markup) | | <!-- Invalid: nomodule version --> | <script async custom-element=amp-anim nomodule src=https://cdn.ampproject.org/v0/amp-anim-0.1.js></script> >> ^~~~~~~~~ -transformed_feature_tests/first_script_lts.html:41:2 The script version for 'amp-anim' is a module/nomodule version which mismatches with the first script on the page using the LTS version. (see https://amp.dev/documentation/guides-and-tutorials/learn/spec/amphtml#required-markup) +transformed_feature_tests/first_script_lts.html:26:2 The script version for 'amp-anim' is a module/nomodule version which mismatches with the first script on the page using the LTS version. (see https://amp.dev/documentation/guides-and-tutorials/learn/spec/amphtml#required-markup) | | <!-- Invalid: module LTS version --> | <script async crossorigin=anonymous custom-element=amp-audio src=https://cdn.ampproject.org/lts/v0/amp-audio-0.1.mjs type=module></script> >> ^~~~~~~~~ -transformed_feature_tests/first_script_lts.html:44:2 The script version for 'amp-audio' is a module/nomodule LTS version which mismatches with the first script on the page using the LTS version. (see https://amp.dev/documentation/guides-and-tutorials/learn/spec/amphtml#required-markup) +transformed_feature_tests/first_script_lts.html:29:2 The script version for 'amp-audio' is a module/nomodule LTS version which mismatches with the first script on the page using the LTS version. (see https://amp.dev/documentation/guides-and-tutorials/learn/spec/amphtml#required-markup) | | <!-- Invalid: nomodule LTS version --> | <script async custom-element=amp-audio nomodule src=https://cdn.ampproject.org/lts/v0/amp-audio-0.1.js></script> >> ^~~~~~~~~ -transformed_feature_tests/first_script_lts.html:47:2 The script version for 'amp-audio' is a module/nomodule LTS version which mismatches with the first script on the page using the LTS version. (see https://amp.dev/documentation/guides-and-tutorials/learn/spec/amphtml#required-markup) +transformed_feature_tests/first_script_lts.html:32:2 The script version for 'amp-audio' is a module/nomodule LTS version which mismatches with the first script on the page using the LTS version. (see https://amp.dev/documentation/guides-and-tutorials/learn/spec/amphtml#required-markup) | | <link rel="canonical" href="./regular-html-version.html"> | </head> diff --git a/validator/testdata/transformed_feature_tests/first_script_module.html b/validator/testdata/transformed_feature_tests/first_script_module.html index c40bcbb943eb..abf284510b7a 100644 --- a/validator/testdata/transformed_feature_tests/first_script_module.html +++ b/validator/testdata/transformed_feature_tests/first_script_module.html @@ -1,18 +1,3 @@ -<!-- - Copyright 2020 The AMP HTML Authors. All Rights Reserved. - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS-IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the license. ---> <!-- Test Description: This test demonstrates that if the first script is a module version, all diff --git a/validator/testdata/transformed_feature_tests/first_script_module.out b/validator/testdata/transformed_feature_tests/first_script_module.out index 440b4335f73e..575b82464fa6 100644 --- a/validator/testdata/transformed_feature_tests/first_script_module.out +++ b/validator/testdata/transformed_feature_tests/first_script_module.out @@ -1,20 +1,5 @@ FAIL | <!-- -| Copyright 2020 The AMP HTML Authors. All Rights Reserved. -| -| Licensed under the Apache License, Version 2.0 (the "License"); -| you may not use this file except in compliance with the License. -| You may obtain a copy of the License at -| -| http://www.apache.org/licenses/LICENSE-2.0 -| -| Unless required by applicable law or agreed to in writing, software -| distributed under the License is distributed on an "AS-IS" BASIS, -| WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -| See the License for the specific language governing permissions and -| limitations under the license. -| --> -| <!-- | Test Description: | This test demonstrates that if the first script is a module version, all | following scripts must also be a module/nomodule version pair. @@ -41,22 +26,22 @@ FAIL | <!-- Invalid: standard version --> | <script async custom-element=amp-analytics src=https://cdn.ampproject.org/v0/amp-analytics-0.1.js></script> >> ^~~~~~~~~ -transformed_feature_tests/first_script_module.html:41:2 The script version for 'amp-analytics' is a standard version which mismatches with the first script on the page using the module/nomodule version. (see https://amp.dev/documentation/guides-and-tutorials/learn/spec/amphtml#required-markup) +transformed_feature_tests/first_script_module.html:26:2 The script version for 'amp-analytics' is a standard version which mismatches with the first script on the page using the module/nomodule version. (see https://amp.dev/documentation/guides-and-tutorials/learn/spec/amphtml#required-markup) | | <!-- Invalid: LTS version --> | <script async custom-element=amp-anim src=https://cdn.ampproject.org/lts/v0/amp-anim-0.1.js></script> >> ^~~~~~~~~ -transformed_feature_tests/first_script_module.html:44:2 The script version for 'amp-anim' is a LTS version which mismatches with the first script on the page using the module/nomodule version. (see https://amp.dev/documentation/guides-and-tutorials/learn/spec/amphtml#required-markup) +transformed_feature_tests/first_script_module.html:29:2 The script version for 'amp-anim' is a LTS version which mismatches with the first script on the page using the module/nomodule version. (see https://amp.dev/documentation/guides-and-tutorials/learn/spec/amphtml#required-markup) | | <!-- Invalid: module LTS version --> | <script async crossorigin=anonymous custom-element=amp-audio src=https://cdn.ampproject.org/lts/v0/amp-audio-0.1.mjs type=module></script> >> ^~~~~~~~~ -transformed_feature_tests/first_script_module.html:47:2 The script version for 'amp-audio' is a module/nomodule LTS version which mismatches with the first script on the page using the module/nomodule version. (see https://amp.dev/documentation/guides-and-tutorials/learn/spec/amphtml#required-markup) +transformed_feature_tests/first_script_module.html:32:2 The script version for 'amp-audio' is a module/nomodule LTS version which mismatches with the first script on the page using the module/nomodule version. (see https://amp.dev/documentation/guides-and-tutorials/learn/spec/amphtml#required-markup) | | <!-- Invalid: nomodule LTS version --> | <script async custom-element=amp-audio nomodule src=https://cdn.ampproject.org/lts/v0/amp-audio-0.1.js></script> >> ^~~~~~~~~ -transformed_feature_tests/first_script_module.html:50:2 The script version for 'amp-audio' is a module/nomodule LTS version which mismatches with the first script on the page using the module/nomodule version. (see https://amp.dev/documentation/guides-and-tutorials/learn/spec/amphtml#required-markup) +transformed_feature_tests/first_script_module.html:35:2 The script version for 'amp-audio' is a module/nomodule LTS version which mismatches with the first script on the page using the module/nomodule version. (see https://amp.dev/documentation/guides-and-tutorials/learn/spec/amphtml#required-markup) | | <link rel="canonical" href="./regular-html-version.html"> | </head> diff --git a/validator/testdata/transformed_feature_tests/first_script_module_lts.html b/validator/testdata/transformed_feature_tests/first_script_module_lts.html index 69e890ef5706..b7d440705252 100644 --- a/validator/testdata/transformed_feature_tests/first_script_module_lts.html +++ b/validator/testdata/transformed_feature_tests/first_script_module_lts.html @@ -1,18 +1,3 @@ -<!-- - Copyright 2020 The AMP HTML Authors. All Rights Reserved. - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS-IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the license. ---> <!-- Test Description: This test demonstrates that if the first script is a module LTS version, all diff --git a/validator/testdata/transformed_feature_tests/first_script_module_lts.out b/validator/testdata/transformed_feature_tests/first_script_module_lts.out index e4b2642e1b86..dab48a643435 100644 --- a/validator/testdata/transformed_feature_tests/first_script_module_lts.out +++ b/validator/testdata/transformed_feature_tests/first_script_module_lts.out @@ -1,20 +1,5 @@ FAIL | <!-- -| Copyright 2020 The AMP HTML Authors. All Rights Reserved. -| -| Licensed under the Apache License, Version 2.0 (the "License"); -| you may not use this file except in compliance with the License. -| You may obtain a copy of the License at -| -| http://www.apache.org/licenses/LICENSE-2.0 -| -| Unless required by applicable law or agreed to in writing, software -| distributed under the License is distributed on an "AS-IS" BASIS, -| WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -| See the License for the specific language governing permissions and -| limitations under the license. -| --> -| <!-- | Test Description: | This test demonstrates that if the first script is a module LTS version, all | following scripts must also be a module/nomodule LTS version pair. @@ -41,22 +26,22 @@ FAIL | <!-- Invalid: standard version --> | <script async custom-element=amp-analytics src=https://cdn.ampproject.org/v0/amp-analytics-0.1.js></script> >> ^~~~~~~~~ -transformed_feature_tests/first_script_module_lts.html:41:2 The script version for 'amp-analytics' is a standard version which mismatches with the first script on the page using the module/nomodule LTS version. (see https://amp.dev/documentation/guides-and-tutorials/learn/spec/amphtml#required-markup) +transformed_feature_tests/first_script_module_lts.html:26:2 The script version for 'amp-analytics' is a standard version which mismatches with the first script on the page using the module/nomodule LTS version. (see https://amp.dev/documentation/guides-and-tutorials/learn/spec/amphtml#required-markup) | | <!-- Invalid: LTS version --> | <script async custom-element=amp-anim src=https://cdn.ampproject.org/lts/v0/amp-anim-0.1.js></script> >> ^~~~~~~~~ -transformed_feature_tests/first_script_module_lts.html:44:2 The script version for 'amp-anim' is a LTS version which mismatches with the first script on the page using the module/nomodule LTS version. (see https://amp.dev/documentation/guides-and-tutorials/learn/spec/amphtml#required-markup) +transformed_feature_tests/first_script_module_lts.html:29:2 The script version for 'amp-anim' is a LTS version which mismatches with the first script on the page using the module/nomodule LTS version. (see https://amp.dev/documentation/guides-and-tutorials/learn/spec/amphtml#required-markup) | | <!-- Invalid: module version --> | <script async crossorigin=anonymous custom-element=amp-audio src=https://cdn.ampproject.org/v0/amp-audio-0.1.mjs type=module></script> >> ^~~~~~~~~ -transformed_feature_tests/first_script_module_lts.html:47:2 The script version for 'amp-audio' is a module/nomodule version which mismatches with the first script on the page using the module/nomodule LTS version. (see https://amp.dev/documentation/guides-and-tutorials/learn/spec/amphtml#required-markup) +transformed_feature_tests/first_script_module_lts.html:32:2 The script version for 'amp-audio' is a module/nomodule version which mismatches with the first script on the page using the module/nomodule LTS version. (see https://amp.dev/documentation/guides-and-tutorials/learn/spec/amphtml#required-markup) | | <!-- Invalid: nomodule version --> | <script async custom-element=amp-audio nomodule src=https://cdn.ampproject.org/v0/amp-audio-0.1.js></script> >> ^~~~~~~~~ -transformed_feature_tests/first_script_module_lts.html:50:2 The script version for 'amp-audio' is a module/nomodule version which mismatches with the first script on the page using the module/nomodule LTS version. (see https://amp.dev/documentation/guides-and-tutorials/learn/spec/amphtml#required-markup) +transformed_feature_tests/first_script_module_lts.html:35:2 The script version for 'amp-audio' is a module/nomodule version which mismatches with the first script on the page using the module/nomodule LTS version. (see https://amp.dev/documentation/guides-and-tutorials/learn/spec/amphtml#required-markup) | | <link rel="canonical" href="./regular-html-version.html"> | </head> diff --git a/validator/testdata/transformed_feature_tests/first_script_nomodule.html b/validator/testdata/transformed_feature_tests/first_script_nomodule.html index e7e9bc5f814d..6bcca8a2e8ed 100644 --- a/validator/testdata/transformed_feature_tests/first_script_nomodule.html +++ b/validator/testdata/transformed_feature_tests/first_script_nomodule.html @@ -1,18 +1,3 @@ -<!-- - Copyright 2020 The AMP HTML Authors. All Rights Reserved. - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS-IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the license. ---> <!-- Test Description: This test demonstrates that if the first script is a nomodule version, all diff --git a/validator/testdata/transformed_feature_tests/first_script_nomodule.out b/validator/testdata/transformed_feature_tests/first_script_nomodule.out index 38ba62b9058b..12b20100d3e9 100644 --- a/validator/testdata/transformed_feature_tests/first_script_nomodule.out +++ b/validator/testdata/transformed_feature_tests/first_script_nomodule.out @@ -1,20 +1,5 @@ FAIL | <!-- -| Copyright 2020 The AMP HTML Authors. All Rights Reserved. -| -| Licensed under the Apache License, Version 2.0 (the "License"); -| you may not use this file except in compliance with the License. -| You may obtain a copy of the License at -| -| http://www.apache.org/licenses/LICENSE-2.0 -| -| Unless required by applicable law or agreed to in writing, software -| distributed under the License is distributed on an "AS-IS" BASIS, -| WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -| See the License for the specific language governing permissions and -| limitations under the license. -| --> -| <!-- | Test Description: | This test demonstrates that if the first script is a nomodule version, all | following scripts must also be a module/nomodule version pair. @@ -41,22 +26,22 @@ FAIL | <!-- Invalid: standard version --> | <script async custom-element=amp-analytics src=https://cdn.ampproject.org/v0/amp-analytics-0.1.js></script> >> ^~~~~~~~~ -transformed_feature_tests/first_script_nomodule.html:41:2 The script version for 'amp-analytics' is a standard version which mismatches with the first script on the page using the module/nomodule version. (see https://amp.dev/documentation/guides-and-tutorials/learn/spec/amphtml#required-markup) +transformed_feature_tests/first_script_nomodule.html:26:2 The script version for 'amp-analytics' is a standard version which mismatches with the first script on the page using the module/nomodule version. (see https://amp.dev/documentation/guides-and-tutorials/learn/spec/amphtml#required-markup) | | <!-- Invalid: LTS version --> | <script async custom-element=amp-anim src=https://cdn.ampproject.org/lts/v0/amp-anim-0.1.js></script> >> ^~~~~~~~~ -transformed_feature_tests/first_script_nomodule.html:44:2 The script version for 'amp-anim' is a LTS version which mismatches with the first script on the page using the module/nomodule version. (see https://amp.dev/documentation/guides-and-tutorials/learn/spec/amphtml#required-markup) +transformed_feature_tests/first_script_nomodule.html:29:2 The script version for 'amp-anim' is a LTS version which mismatches with the first script on the page using the module/nomodule version. (see https://amp.dev/documentation/guides-and-tutorials/learn/spec/amphtml#required-markup) | | <!-- Invalid: module LTS version --> | <script async crossorigin=anonymous custom-element=amp-audio src=https://cdn.ampproject.org/lts/v0/amp-audio-0.1.mjs type=module></script> >> ^~~~~~~~~ -transformed_feature_tests/first_script_nomodule.html:47:2 The script version for 'amp-audio' is a module/nomodule LTS version which mismatches with the first script on the page using the module/nomodule version. (see https://amp.dev/documentation/guides-and-tutorials/learn/spec/amphtml#required-markup) +transformed_feature_tests/first_script_nomodule.html:32:2 The script version for 'amp-audio' is a module/nomodule LTS version which mismatches with the first script on the page using the module/nomodule version. (see https://amp.dev/documentation/guides-and-tutorials/learn/spec/amphtml#required-markup) | | <!-- Invalid: nomodule LTS version --> | <script async custom-element=amp-audio nomodule src=https://cdn.ampproject.org/lts/v0/amp-audio-0.1.js></script> >> ^~~~~~~~~ -transformed_feature_tests/first_script_nomodule.html:50:2 The script version for 'amp-audio' is a module/nomodule LTS version which mismatches with the first script on the page using the module/nomodule version. (see https://amp.dev/documentation/guides-and-tutorials/learn/spec/amphtml#required-markup) +transformed_feature_tests/first_script_nomodule.html:35:2 The script version for 'amp-audio' is a module/nomodule LTS version which mismatches with the first script on the page using the module/nomodule version. (see https://amp.dev/documentation/guides-and-tutorials/learn/spec/amphtml#required-markup) | | <link rel="canonical" href="./regular-html-version.html"> | </head> diff --git a/validator/testdata/transformed_feature_tests/first_script_nomodule_lts.html b/validator/testdata/transformed_feature_tests/first_script_nomodule_lts.html index 947c8c147f7b..5338c9c8f698 100644 --- a/validator/testdata/transformed_feature_tests/first_script_nomodule_lts.html +++ b/validator/testdata/transformed_feature_tests/first_script_nomodule_lts.html @@ -1,18 +1,3 @@ -<!-- - Copyright 2020 The AMP HTML Authors. All Rights Reserved. - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS-IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the license. ---> <!-- Test Description: This test demonstrates that if the first script is a nomodule LTS version, all diff --git a/validator/testdata/transformed_feature_tests/first_script_nomodule_lts.out b/validator/testdata/transformed_feature_tests/first_script_nomodule_lts.out index 61dcfcc93cf7..327d69530418 100644 --- a/validator/testdata/transformed_feature_tests/first_script_nomodule_lts.out +++ b/validator/testdata/transformed_feature_tests/first_script_nomodule_lts.out @@ -1,20 +1,5 @@ FAIL | <!-- -| Copyright 2020 The AMP HTML Authors. All Rights Reserved. -| -| Licensed under the Apache License, Version 2.0 (the "License"); -| you may not use this file except in compliance with the License. -| You may obtain a copy of the License at -| -| http://www.apache.org/licenses/LICENSE-2.0 -| -| Unless required by applicable law or agreed to in writing, software -| distributed under the License is distributed on an "AS-IS" BASIS, -| WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -| See the License for the specific language governing permissions and -| limitations under the license. -| --> -| <!-- | Test Description: | This test demonstrates that if the first script is a nomodule LTS version, all | following scripts must also be a module/nomodule LTS version pair. @@ -41,22 +26,22 @@ FAIL | <!-- Invalid: standard version --> | <script async custom-element=amp-analytics src=https://cdn.ampproject.org/v0/amp-analytics-0.1.js></script> >> ^~~~~~~~~ -transformed_feature_tests/first_script_nomodule_lts.html:41:2 The script version for 'amp-analytics' is a standard version which mismatches with the first script on the page using the module/nomodule LTS version. (see https://amp.dev/documentation/guides-and-tutorials/learn/spec/amphtml#required-markup) +transformed_feature_tests/first_script_nomodule_lts.html:26:2 The script version for 'amp-analytics' is a standard version which mismatches with the first script on the page using the module/nomodule LTS version. (see https://amp.dev/documentation/guides-and-tutorials/learn/spec/amphtml#required-markup) | | <!-- Invalid: LTS version --> | <script async custom-element=amp-anim src=https://cdn.ampproject.org/lts/v0/amp-anim-0.1.js></script> >> ^~~~~~~~~ -transformed_feature_tests/first_script_nomodule_lts.html:44:2 The script version for 'amp-anim' is a LTS version which mismatches with the first script on the page using the module/nomodule LTS version. (see https://amp.dev/documentation/guides-and-tutorials/learn/spec/amphtml#required-markup) +transformed_feature_tests/first_script_nomodule_lts.html:29:2 The script version for 'amp-anim' is a LTS version which mismatches with the first script on the page using the module/nomodule LTS version. (see https://amp.dev/documentation/guides-and-tutorials/learn/spec/amphtml#required-markup) | | <!-- Invalid: module version --> | <script async crossorigin=anonymous custom-element=amp-audio src=https://cdn.ampproject.org/v0/amp-audio-0.1.mjs type=module></script> >> ^~~~~~~~~ -transformed_feature_tests/first_script_nomodule_lts.html:47:2 The script version for 'amp-audio' is a module/nomodule version which mismatches with the first script on the page using the module/nomodule LTS version. (see https://amp.dev/documentation/guides-and-tutorials/learn/spec/amphtml#required-markup) +transformed_feature_tests/first_script_nomodule_lts.html:32:2 The script version for 'amp-audio' is a module/nomodule version which mismatches with the first script on the page using the module/nomodule LTS version. (see https://amp.dev/documentation/guides-and-tutorials/learn/spec/amphtml#required-markup) | | <!-- Invalid: nomodule version --> | <script async custom-element=amp-audio nomodule src=https://cdn.ampproject.org/v0/amp-audio-0.1.js></script> >> ^~~~~~~~~ -transformed_feature_tests/first_script_nomodule_lts.html:50:2 The script version for 'amp-audio' is a module/nomodule version which mismatches with the first script on the page using the module/nomodule LTS version. (see https://amp.dev/documentation/guides-and-tutorials/learn/spec/amphtml#required-markup) +transformed_feature_tests/first_script_nomodule_lts.html:35:2 The script version for 'amp-audio' is a module/nomodule version which mismatches with the first script on the page using the module/nomodule LTS version. (see https://amp.dev/documentation/guides-and-tutorials/learn/spec/amphtml#required-markup) | | <link rel="canonical" href="./regular-html-version.html"> | </head> diff --git a/validator/testdata/transformed_feature_tests/first_script_standard.html b/validator/testdata/transformed_feature_tests/first_script_standard.html index f622fa497de6..a0859e65fdd8 100644 --- a/validator/testdata/transformed_feature_tests/first_script_standard.html +++ b/validator/testdata/transformed_feature_tests/first_script_standard.html @@ -1,18 +1,3 @@ -<!-- - Copyright 2020 The AMP HTML Authors. All Rights Reserved. - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS-IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the license. ---> <!-- Test Description: This test demonstrates that if the first script is a standard version, all diff --git a/validator/testdata/transformed_feature_tests/first_script_standard.out b/validator/testdata/transformed_feature_tests/first_script_standard.out index 0efa6922674f..0e538adf138b 100644 --- a/validator/testdata/transformed_feature_tests/first_script_standard.out +++ b/validator/testdata/transformed_feature_tests/first_script_standard.out @@ -1,20 +1,5 @@ FAIL | <!-- -| Copyright 2020 The AMP HTML Authors. All Rights Reserved. -| -| Licensed under the Apache License, Version 2.0 (the "License"); -| you may not use this file except in compliance with the License. -| You may obtain a copy of the License at -| -| http://www.apache.org/licenses/LICENSE-2.0 -| -| Unless required by applicable law or agreed to in writing, software -| distributed under the License is distributed on an "AS-IS" BASIS, -| WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -| See the License for the specific language governing permissions and -| limitations under the license. -| --> -| <!-- | Test Description: | This test demonstrates that if the first script is a standard version, all | following scripts must also be a standard version. @@ -35,27 +20,27 @@ FAIL | <!-- Invalid: LTS version --> | <script async custom-element=amp-analytics src=https://cdn.ampproject.org/lts/v0/amp-analytics-0.1.js></script> >> ^~~~~~~~~ -transformed_feature_tests/first_script_standard.html:35:2 The script version for 'amp-analytics' is a LTS version which mismatches with the first script on the page using the standard version. (see https://amp.dev/documentation/guides-and-tutorials/learn/spec/amphtml#required-markup) +transformed_feature_tests/first_script_standard.html:20:2 The script version for 'amp-analytics' is a LTS version which mismatches with the first script on the page using the standard version. (see https://amp.dev/documentation/guides-and-tutorials/learn/spec/amphtml#required-markup) | | <!-- Invalid: module version --> | <script async crossorigin=anonymous custom-element=amp-anim src=https://cdn.ampproject.org/v0/amp-anim-0.1.mjs type=module></script> >> ^~~~~~~~~ -transformed_feature_tests/first_script_standard.html:38:2 The script version for 'amp-anim' is a module/nomodule version which mismatches with the first script on the page using the standard version. (see https://amp.dev/documentation/guides-and-tutorials/learn/spec/amphtml#required-markup) +transformed_feature_tests/first_script_standard.html:23:2 The script version for 'amp-anim' is a module/nomodule version which mismatches with the first script on the page using the standard version. (see https://amp.dev/documentation/guides-and-tutorials/learn/spec/amphtml#required-markup) | | <!-- Invalid: nomodule version --> | <script async custom-element=amp-anim nomodule src=https://cdn.ampproject.org/v0/amp-anim-0.1.js></script> >> ^~~~~~~~~ -transformed_feature_tests/first_script_standard.html:41:2 The script version for 'amp-anim' is a module/nomodule version which mismatches with the first script on the page using the standard version. (see https://amp.dev/documentation/guides-and-tutorials/learn/spec/amphtml#required-markup) +transformed_feature_tests/first_script_standard.html:26:2 The script version for 'amp-anim' is a module/nomodule version which mismatches with the first script on the page using the standard version. (see https://amp.dev/documentation/guides-and-tutorials/learn/spec/amphtml#required-markup) | | <!-- Invalid: module LTS version --> | <script async crossorigin=anonymous custom-element=amp-audio src=https://cdn.ampproject.org/lts/v0/amp-audio-0.1.mjs type=module></script> >> ^~~~~~~~~ -transformed_feature_tests/first_script_standard.html:44:2 The script version for 'amp-audio' is a module/nomodule LTS version which mismatches with the first script on the page using the standard version. (see https://amp.dev/documentation/guides-and-tutorials/learn/spec/amphtml#required-markup) +transformed_feature_tests/first_script_standard.html:29:2 The script version for 'amp-audio' is a module/nomodule LTS version which mismatches with the first script on the page using the standard version. (see https://amp.dev/documentation/guides-and-tutorials/learn/spec/amphtml#required-markup) | | <!-- Invalid: nomodule LTS version --> | <script async custom-element=amp-audio nomodule src=https://cdn.ampproject.org/lts/v0/amp-audio-0.1.js></script> >> ^~~~~~~~~ -transformed_feature_tests/first_script_standard.html:47:2 The script version for 'amp-audio' is a module/nomodule LTS version which mismatches with the first script on the page using the standard version. (see https://amp.dev/documentation/guides-and-tutorials/learn/spec/amphtml#required-markup) +transformed_feature_tests/first_script_standard.html:32:2 The script version for 'amp-audio' is a module/nomodule LTS version which mismatches with the first script on the page using the standard version. (see https://amp.dev/documentation/guides-and-tutorials/learn/spec/amphtml#required-markup) | | <link rel="canonical" href="./regular-html-version.html"> | </head> diff --git a/validator/testdata/transformed_feature_tests/i_amphtml_sizer_child.html b/validator/testdata/transformed_feature_tests/i_amphtml_sizer_child.html index 5148d77d8740..5123e0a78d3d 100644 --- a/validator/testdata/transformed_feature_tests/i_amphtml_sizer_child.html +++ b/validator/testdata/transformed_feature_tests/i_amphtml_sizer_child.html @@ -1,18 +1,3 @@ -<!-- - Copyright 2019 The AMP HTML Authors. All Rights Reserved. - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS-IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the license. ---> <!-- Test Description: This tests that <i-amphtml-sizer> is allowed as child tag for tags that diff --git a/validator/testdata/transformed_feature_tests/i_amphtml_sizer_child.out b/validator/testdata/transformed_feature_tests/i_amphtml_sizer_child.out index cb91c16fb66c..571041b7de16 100644 --- a/validator/testdata/transformed_feature_tests/i_amphtml_sizer_child.out +++ b/validator/testdata/transformed_feature_tests/i_amphtml_sizer_child.out @@ -1,20 +1,5 @@ FAIL | <!-- -| Copyright 2019 The AMP HTML Authors. All Rights Reserved. -| -| Licensed under the Apache License, Version 2.0 (the "License"); -| you may not use this file except in compliance with the License. -| You may obtain a copy of the License at -| -| http://www.apache.org/licenses/LICENSE-2.0 -| -| Unless required by applicable law or agreed to in writing, software -| distributed under the License is distributed on an "AS-IS" BASIS, -| WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -| See the License for the specific language governing permissions and -| limitations under the license. -| --> -| <!-- | Test Description: | This tests that <i-amphtml-sizer> is allowed as child tag for tags that | restrict their children but still allow layout=responsive. @@ -75,7 +60,7 @@ FAIL | <amp-image-slider width="300" height="200" layout="responsive" class="i-amphtml-layout-responsive i-amphtml-layout-size-defined" i-amphtml-layout="responsive"> | <i-amphtml-sizer slot="foo" style="display:block;padding-top:66.6667%;"></i-amphtml-sizer> >> ^~~~~~~~~ -transformed_feature_tests/i_amphtml_sizer_child.html:75:4 The attribute 'slot' in tag 'i-amphtml-sizer' is set to the invalid value 'foo'. +transformed_feature_tests/i_amphtml_sizer_child.html:60:4 The attribute 'slot' in tag 'i-amphtml-sizer' is set to the invalid value 'foo'. | <amp-img src="/img/canoe_900x600_blur.jpg" alt="A blurry image about canoeing" layout="fill" class="i-amphtml-layout-fill i-amphtml-layout-size-defined" i-amphtml-layout="fill"></amp-img> | <amp-img src="/img/canoe_900x600.jpg" alt="An image about canoeing" layout="fill" class="i-amphtml-layout-fill i-amphtml-layout-size-defined" i-amphtml-layout="fill"></amp-img> | </amp-image-slider> @@ -84,7 +69,7 @@ transformed_feature_tests/i_amphtml_sizer_child.html:75:4 The attribute 'slot' i | <amp-video-iframe id="myVideo" src="/amp-video-iframe-videojs.html" width="720" height="405" layout="responsive" autoplay="" class="i-amphtml-layout-responsive i-amphtml-layout-size-defined" i-amphtml-layout="responsive"> | <i-amphtml-sizer slot="foo" style="display:block;padding-top:56.2500%;"></i-amphtml-sizer> >> ^~~~~~~~~ -transformed_feature_tests/i_amphtml_sizer_child.html:82:4 The attribute 'slot' in tag 'i-amphtml-sizer' is set to the invalid value 'foo'. +transformed_feature_tests/i_amphtml_sizer_child.html:67:4 The attribute 'slot' in tag 'i-amphtml-sizer' is set to the invalid value 'foo'. | <amp-img placeholder="" src="/img/amp-video-iframe-sample-placeholder.jpg" layout="fill" class="i-amphtml-layout-fill i-amphtml-layout-size-defined" i-amphtml-layout="fill"></amp-img> | </amp-video-iframe> | @@ -93,7 +78,7 @@ transformed_feature_tests/i_amphtml_sizer_child.html:82:4 The attribute 'slot' i | <amp-image-slider width="300" height="200" layout="responsive" class="i-amphtml-layout-responsive i-amphtml-layout-size-defined" i-amphtml-layout="responsive"> | <i-amphtml-sizer slot style="display:block;padding-top:66.6667%;"></i-amphtml-sizer> >> ^~~~~~~~~ -transformed_feature_tests/i_amphtml_sizer_child.html:89:4 The attribute 'slot' in tag 'i-amphtml-sizer' is set to the invalid value ''. +transformed_feature_tests/i_amphtml_sizer_child.html:74:4 The attribute 'slot' in tag 'i-amphtml-sizer' is set to the invalid value ''. | <amp-img src="/img/canoe_900x600_blur.jpg" alt="A blurry image about canoeing" layout="fill" class="i-amphtml-layout-fill i-amphtml-layout-size-defined" i-amphtml-layout="fill"></amp-img> | <amp-img src="/img/canoe_900x600.jpg" alt="An image about canoeing" layout="fill" class="i-amphtml-layout-fill i-amphtml-layout-size-defined" i-amphtml-layout="fill"></amp-img> | </amp-image-slider> @@ -102,7 +87,7 @@ transformed_feature_tests/i_amphtml_sizer_child.html:89:4 The attribute 'slot' i | <amp-video-iframe id="myVideo" src="/amp-video-iframe-videojs.html" width="720" height="405" layout="responsive" autoplay="" class="i-amphtml-layout-responsive i-amphtml-layout-size-defined" i-amphtml-layout="responsive"> | <i-amphtml-sizer slot style="display:block;padding-top:56.2500%;"></i-amphtml-sizer> >> ^~~~~~~~~ -transformed_feature_tests/i_amphtml_sizer_child.html:96:4 The attribute 'slot' in tag 'i-amphtml-sizer' is set to the invalid value ''. +transformed_feature_tests/i_amphtml_sizer_child.html:81:4 The attribute 'slot' in tag 'i-amphtml-sizer' is set to the invalid value ''. | <amp-img placeholder="" src="/img/amp-video-iframe-sample-placeholder.jpg" layout="fill" class="i-amphtml-layout-fill i-amphtml-layout-size-defined" i-amphtml-layout="fill"></amp-img> | </amp-video-iframe> | </body> diff --git a/validator/testdata/transformed_feature_tests/minimum_valid_amp.html b/validator/testdata/transformed_feature_tests/minimum_valid_amp.html index ce5842b40575..a1603b0de76a 100644 --- a/validator/testdata/transformed_feature_tests/minimum_valid_amp.html +++ b/validator/testdata/transformed_feature_tests/minimum_valid_amp.html @@ -1,18 +1,3 @@ -<!-- - Copyright 2019 The AMP HTML Authors. All Rights Reserved. - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS-IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the license. ---> <!-- Test Description: This is the minimum valid tranformed AMP document; it includes all of the diff --git a/validator/testdata/transformed_feature_tests/minimum_valid_amp.out b/validator/testdata/transformed_feature_tests/minimum_valid_amp.out index f1bcd9eb2578..85397a8849fc 100644 --- a/validator/testdata/transformed_feature_tests/minimum_valid_amp.out +++ b/validator/testdata/transformed_feature_tests/minimum_valid_amp.out @@ -1,20 +1,5 @@ PASS | <!-- -| Copyright 2019 The AMP HTML Authors. All Rights Reserved. -| -| Licensed under the Apache License, Version 2.0 (the "License"); -| you may not use this file except in compliance with the License. -| You may obtain a copy of the License at -| -| http://www.apache.org/licenses/LICENSE-2.0 -| -| Unless required by applicable law or agreed to in writing, software -| distributed under the License is distributed on an "AS-IS" BASIS, -| WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -| See the License for the specific language governing permissions and -| limitations under the license. -| --> -| <!-- | Test Description: | This is the minimum valid tranformed AMP document; it includes all of the | required fields from the spec, but nothing else. diff --git a/validator/testdata/transformed_feature_tests/module_nomodule.html b/validator/testdata/transformed_feature_tests/module_nomodule.html index f508f16ab583..73f8949c5ddc 100644 --- a/validator/testdata/transformed_feature_tests/module_nomodule.html +++ b/validator/testdata/transformed_feature_tests/module_nomodule.html @@ -1,18 +1,3 @@ -<!-- - Copyright 2020 The AMP HTML Authors. All Rights Reserved. - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS-IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the license. ---> <!-- Test Description: This test demonstrates that all scripts having a module and nomodule pairing diff --git a/validator/testdata/transformed_feature_tests/module_nomodule.out b/validator/testdata/transformed_feature_tests/module_nomodule.out index e4a67dbb62a2..26981d2f76ea 100644 --- a/validator/testdata/transformed_feature_tests/module_nomodule.out +++ b/validator/testdata/transformed_feature_tests/module_nomodule.out @@ -1,20 +1,5 @@ PASS | <!-- -| Copyright 2020 The AMP HTML Authors. All Rights Reserved. -| -| Licensed under the Apache License, Version 2.0 (the "License"); -| you may not use this file except in compliance with the License. -| You may obtain a copy of the License at -| -| http://www.apache.org/licenses/LICENSE-2.0 -| -| Unless required by applicable law or agreed to in writing, software -| distributed under the License is distributed on an "AS-IS" BASIS, -| WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -| See the License for the specific language governing permissions and -| limitations under the license. -| --> -| <!-- | Test Description: | This test demonstrates that all scripts having a module and nomodule pairing | are considered valid. diff --git a/validator/testdata/transformed_feature_tests/module_nomodule_lts.html b/validator/testdata/transformed_feature_tests/module_nomodule_lts.html index 85cb08379a37..2cc18b67bdf2 100644 --- a/validator/testdata/transformed_feature_tests/module_nomodule_lts.html +++ b/validator/testdata/transformed_feature_tests/module_nomodule_lts.html @@ -1,18 +1,3 @@ -<!-- - Copyright 2020 The AMP HTML Authors. All Rights Reserved. - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS-IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the license. ---> <!-- Test Description: This test demonstrates that all LTS scripts having a module and nomodule diff --git a/validator/testdata/transformed_feature_tests/module_nomodule_lts.out b/validator/testdata/transformed_feature_tests/module_nomodule_lts.out index 0acd67132f7c..05d3c6103945 100644 --- a/validator/testdata/transformed_feature_tests/module_nomodule_lts.out +++ b/validator/testdata/transformed_feature_tests/module_nomodule_lts.out @@ -1,20 +1,5 @@ PASS | <!-- -| Copyright 2020 The AMP HTML Authors. All Rights Reserved. -| -| Licensed under the Apache License, Version 2.0 (the "License"); -| you may not use this file except in compliance with the License. -| You may obtain a copy of the License at -| -| http://www.apache.org/licenses/LICENSE-2.0 -| -| Unless required by applicable law or agreed to in writing, software -| distributed under the License is distributed on an "AS-IS" BASIS, -| WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -| See the License for the specific language governing permissions and -| limitations under the license. -| --> -| <!-- | Test Description: | This test demonstrates that all LTS scripts having a module and nomodule | pairing are considered valid. diff --git a/validator/testdata/transformed_feature_tests/module_nomodule_lts_no_paired_module.html b/validator/testdata/transformed_feature_tests/module_nomodule_lts_no_paired_module.html index d26131c5c28f..6a92ebed29a4 100644 --- a/validator/testdata/transformed_feature_tests/module_nomodule_lts_no_paired_module.html +++ b/validator/testdata/transformed_feature_tests/module_nomodule_lts_no_paired_module.html @@ -1,18 +1,3 @@ -<!-- - Copyright 2020 The AMP HTML Authors. All Rights Reserved. - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS-IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the license. ---> <!-- Test Description: This test demonstrates that all LTS scripts must have a module and nomodule diff --git a/validator/testdata/transformed_feature_tests/module_nomodule_lts_no_paired_module.out b/validator/testdata/transformed_feature_tests/module_nomodule_lts_no_paired_module.out index b9e08e25f9f6..9276a959d473 100644 --- a/validator/testdata/transformed_feature_tests/module_nomodule_lts_no_paired_module.out +++ b/validator/testdata/transformed_feature_tests/module_nomodule_lts_no_paired_module.out @@ -1,20 +1,5 @@ FAIL | <!-- -| Copyright 2020 The AMP HTML Authors. All Rights Reserved. -| -| Licensed under the Apache License, Version 2.0 (the "License"); -| you may not use this file except in compliance with the License. -| You may obtain a copy of the License at -| -| http://www.apache.org/licenses/LICENSE-2.0 -| -| Unless required by applicable law or agreed to in writing, software -| distributed under the License is distributed on an "AS-IS" BASIS, -| WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -| See the License for the specific language governing permissions and -| limitations under the license. -| --> -| <!-- | Test Description: | This test demonstrates that all LTS scripts must have a module and nomodule | pairing when the first script is nomodule. @@ -40,6 +25,6 @@ FAIL | </body> | </html> >> ^~~~~~~~~ -transformed_feature_tests/module_nomodule_lts_no_paired_module.html:40:6 The tag 'amphtml module LTS engine script' is missing or incorrect, but required by 'amphtml nomdule LTS engine script'. (see https://amp.dev/documentation/guides-and-tutorials/learn/spec/amphtml/#required-markup) +transformed_feature_tests/module_nomodule_lts_no_paired_module.html:25:6 The tag 'amphtml module LTS engine script' is missing or incorrect, but required by 'amphtml nomdule LTS engine script'. (see https://amp.dev/documentation/guides-and-tutorials/learn/spec/amphtml/#required-markup) >> ^~~~~~~~~ -transformed_feature_tests/module_nomodule_lts_no_paired_module.html:40:6 The tag 'amp-ad module extension script' is missing or incorrect, but required by 'amp-ad nomodule extension script'. (see https://amp.dev/documentation/components/amp-ad) +transformed_feature_tests/module_nomodule_lts_no_paired_module.html:25:6 The tag 'amp-ad module extension script' is missing or incorrect, but required by 'amp-ad nomodule extension script'. (see https://amp.dev/documentation/components/amp-ad) diff --git a/validator/testdata/transformed_feature_tests/module_nomodule_lts_no_paired_nomodule.html b/validator/testdata/transformed_feature_tests/module_nomodule_lts_no_paired_nomodule.html index 7ee63eae8907..8b4d4495f556 100644 --- a/validator/testdata/transformed_feature_tests/module_nomodule_lts_no_paired_nomodule.html +++ b/validator/testdata/transformed_feature_tests/module_nomodule_lts_no_paired_nomodule.html @@ -1,18 +1,3 @@ -<!-- - Copyright 2020 The AMP HTML Authors. All Rights Reserved. - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS-IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the license. ---> <!-- Test Description: This test demonstrates that all LTS scripts must have a module and nomodule diff --git a/validator/testdata/transformed_feature_tests/module_nomodule_lts_no_paired_nomodule.out b/validator/testdata/transformed_feature_tests/module_nomodule_lts_no_paired_nomodule.out index 3b17a2c67512..b2a1ce5ae031 100644 --- a/validator/testdata/transformed_feature_tests/module_nomodule_lts_no_paired_nomodule.out +++ b/validator/testdata/transformed_feature_tests/module_nomodule_lts_no_paired_nomodule.out @@ -1,20 +1,5 @@ FAIL | <!-- -| Copyright 2020 The AMP HTML Authors. All Rights Reserved. -| -| Licensed under the Apache License, Version 2.0 (the "License"); -| you may not use this file except in compliance with the License. -| You may obtain a copy of the License at -| -| http://www.apache.org/licenses/LICENSE-2.0 -| -| Unless required by applicable law or agreed to in writing, software -| distributed under the License is distributed on an "AS-IS" BASIS, -| WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -| See the License for the specific language governing permissions and -| limitations under the license. -| --> -| <!-- | Test Description: | This test demonstrates that all LTS scripts must have a module and nomodule | pairing when the first script is module. @@ -40,6 +25,6 @@ FAIL | </body> | </html> >> ^~~~~~~~~ -transformed_feature_tests/module_nomodule_lts_no_paired_nomodule.html:40:6 The tag 'amphtml nomodule LTS engine script' is missing or incorrect, but required by 'amphtml module LTS engine script'. (see https://amp.dev/documentation/guides-and-tutorials/learn/spec/amphtml/#required-markup) +transformed_feature_tests/module_nomodule_lts_no_paired_nomodule.html:25:6 The tag 'amphtml nomodule LTS engine script' is missing or incorrect, but required by 'amphtml module LTS engine script'. (see https://amp.dev/documentation/guides-and-tutorials/learn/spec/amphtml/#required-markup) >> ^~~~~~~~~ -transformed_feature_tests/module_nomodule_lts_no_paired_nomodule.html:40:6 The tag 'amp-ad nomodule extension script' is missing or incorrect, but required by 'amp-ad module extension script'. (see https://amp.dev/documentation/components/amp-ad) +transformed_feature_tests/module_nomodule_lts_no_paired_nomodule.html:25:6 The tag 'amp-ad nomodule extension script' is missing or incorrect, but required by 'amp-ad module extension script'. (see https://amp.dev/documentation/components/amp-ad) diff --git a/validator/testdata/transformed_feature_tests/module_nomodule_no_paired_module.html b/validator/testdata/transformed_feature_tests/module_nomodule_no_paired_module.html index 857afc2c453a..88c99cd734cb 100644 --- a/validator/testdata/transformed_feature_tests/module_nomodule_no_paired_module.html +++ b/validator/testdata/transformed_feature_tests/module_nomodule_no_paired_module.html @@ -1,18 +1,3 @@ -<!-- - Copyright 2020 The AMP HTML Authors. All Rights Reserved. - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS-IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the license. ---> <!-- Test Description: This test demonstrates that all scripts must have a module and nomodule diff --git a/validator/testdata/transformed_feature_tests/module_nomodule_no_paired_module.out b/validator/testdata/transformed_feature_tests/module_nomodule_no_paired_module.out index 28126c475971..6949ff644aa7 100644 --- a/validator/testdata/transformed_feature_tests/module_nomodule_no_paired_module.out +++ b/validator/testdata/transformed_feature_tests/module_nomodule_no_paired_module.out @@ -1,20 +1,5 @@ FAIL | <!-- -| Copyright 2020 The AMP HTML Authors. All Rights Reserved. -| -| Licensed under the Apache License, Version 2.0 (the "License"); -| you may not use this file except in compliance with the License. -| You may obtain a copy of the License at -| -| http://www.apache.org/licenses/LICENSE-2.0 -| -| Unless required by applicable law or agreed to in writing, software -| distributed under the License is distributed on an "AS-IS" BASIS, -| WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -| See the License for the specific language governing permissions and -| limitations under the license. -| --> -| <!-- | Test Description: | This test demonstrates that all scripts must have a module and nomodule | pairing when the first script is nomodule. @@ -40,6 +25,6 @@ FAIL | </body> | </html> >> ^~~~~~~~~ -transformed_feature_tests/module_nomodule_no_paired_module.html:40:6 The tag 'amphtml module engine script' is missing or incorrect, but required by 'amphtml nomodule engine script'. (see https://amp.dev/documentation/guides-and-tutorials/learn/spec/amphtml/#required-markup) +transformed_feature_tests/module_nomodule_no_paired_module.html:25:6 The tag 'amphtml module engine script' is missing or incorrect, but required by 'amphtml nomodule engine script'. (see https://amp.dev/documentation/guides-and-tutorials/learn/spec/amphtml/#required-markup) >> ^~~~~~~~~ -transformed_feature_tests/module_nomodule_no_paired_module.html:40:6 The tag 'amp-ad module extension script' is missing or incorrect, but required by 'amp-ad nomodule extension script'. (see https://amp.dev/documentation/components/amp-ad) +transformed_feature_tests/module_nomodule_no_paired_module.html:25:6 The tag 'amp-ad module extension script' is missing or incorrect, but required by 'amp-ad nomodule extension script'. (see https://amp.dev/documentation/components/amp-ad) diff --git a/validator/testdata/transformed_feature_tests/module_nomodule_no_paired_nomodule.html b/validator/testdata/transformed_feature_tests/module_nomodule_no_paired_nomodule.html index ff24c6677bb2..1ae5f4002121 100644 --- a/validator/testdata/transformed_feature_tests/module_nomodule_no_paired_nomodule.html +++ b/validator/testdata/transformed_feature_tests/module_nomodule_no_paired_nomodule.html @@ -1,18 +1,3 @@ -<!-- - Copyright 2020 The AMP HTML Authors. All Rights Reserved. - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS-IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the license. ---> <!-- Test Description: This test demonstrates that all scripts must have a module and nomodule diff --git a/validator/testdata/transformed_feature_tests/module_nomodule_no_paired_nomodule.out b/validator/testdata/transformed_feature_tests/module_nomodule_no_paired_nomodule.out index 9b41a9dcb635..f9f5ff17167e 100644 --- a/validator/testdata/transformed_feature_tests/module_nomodule_no_paired_nomodule.out +++ b/validator/testdata/transformed_feature_tests/module_nomodule_no_paired_nomodule.out @@ -1,20 +1,5 @@ FAIL | <!-- -| Copyright 2020 The AMP HTML Authors. All Rights Reserved. -| -| Licensed under the Apache License, Version 2.0 (the "License"); -| you may not use this file except in compliance with the License. -| You may obtain a copy of the License at -| -| http://www.apache.org/licenses/LICENSE-2.0 -| -| Unless required by applicable law or agreed to in writing, software -| distributed under the License is distributed on an "AS-IS" BASIS, -| WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -| See the License for the specific language governing permissions and -| limitations under the license. -| --> -| <!-- | Test Description: | This test demonstrates that all scripts must have a module and nomodule | pairing when the first script is module. @@ -40,6 +25,6 @@ FAIL | </body> | </html> >> ^~~~~~~~~ -transformed_feature_tests/module_nomodule_no_paired_nomodule.html:40:6 The tag 'amphtml nomodule engine script' is missing or incorrect, but required by 'amphtml module engine script'. (see https://amp.dev/documentation/guides-and-tutorials/learn/spec/amphtml/#required-markup) +transformed_feature_tests/module_nomodule_no_paired_nomodule.html:25:6 The tag 'amphtml nomodule engine script' is missing or incorrect, but required by 'amphtml module engine script'. (see https://amp.dev/documentation/guides-and-tutorials/learn/spec/amphtml/#required-markup) >> ^~~~~~~~~ -transformed_feature_tests/module_nomodule_no_paired_nomodule.html:40:6 The tag 'amp-ad nomodule extension script' is missing or incorrect, but required by 'amp-ad module extension script'. (see https://amp.dev/documentation/components/amp-ad) +transformed_feature_tests/module_nomodule_no_paired_nomodule.html:25:6 The tag 'amp-ad nomodule extension script' is missing or incorrect, but required by 'amp-ad module extension script'. (see https://amp.dev/documentation/components/amp-ad) diff --git a/validator/testdata/transformed_feature_tests/nonce_attribute.html b/validator/testdata/transformed_feature_tests/nonce_attribute.html index a6a224223092..7446fa932e3a 100644 --- a/validator/testdata/transformed_feature_tests/nonce_attribute.html +++ b/validator/testdata/transformed_feature_tests/nonce_attribute.html @@ -1,18 +1,3 @@ -<!-- - Copyright 2019 The AMP HTML Authors. All Rights Reserved. - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS-IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the license. ---> <!-- Test Description: Tests for the presence of allowed nonce attribute in transformed AMP. diff --git a/validator/testdata/transformed_feature_tests/nonce_attribute.out b/validator/testdata/transformed_feature_tests/nonce_attribute.out index 1e6224b02b10..57af17e584be 100644 --- a/validator/testdata/transformed_feature_tests/nonce_attribute.out +++ b/validator/testdata/transformed_feature_tests/nonce_attribute.out @@ -1,20 +1,5 @@ PASS | <!-- -| Copyright 2019 The AMP HTML Authors. All Rights Reserved. -| -| Licensed under the Apache License, Version 2.0 (the "License"); -| you may not use this file except in compliance with the License. -| You may obtain a copy of the License at -| -| http://www.apache.org/licenses/LICENSE-2.0 -| -| Unless required by applicable law or agreed to in writing, software -| distributed under the License is distributed on an "AS-IS" BASIS, -| WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -| See the License for the specific language governing permissions and -| limitations under the license. -| --> -| <!-- | Test Description: | Tests for the presence of allowed nonce attribute in transformed AMP. | --> diff --git a/validator/testdata/transformed_feature_tests/script_amp_onerror_js.html b/validator/testdata/transformed_feature_tests/script_amp_onerror_js.html index a99a4908cd19..bf9be2cbd315 100644 --- a/validator/testdata/transformed_feature_tests/script_amp_onerror_js.html +++ b/validator/testdata/transformed_feature_tests/script_amp_onerror_js.html @@ -1,18 +1,3 @@ -<!-- - Copyright 2021 The AMP HTML Authors. All Rights Reserved. - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS-IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the license. ---> <!-- Test Description: This tests the validity of the script tag for early styling on fast failure diff --git a/validator/testdata/transformed_feature_tests/script_amp_onerror_js.out b/validator/testdata/transformed_feature_tests/script_amp_onerror_js.out index 70a964a7489c..92cd054dd3e3 100644 --- a/validator/testdata/transformed_feature_tests/script_amp_onerror_js.out +++ b/validator/testdata/transformed_feature_tests/script_amp_onerror_js.out @@ -1,20 +1,5 @@ PASS | <!-- -| Copyright 2021 The AMP HTML Authors. All Rights Reserved. -| -| Licensed under the Apache License, Version 2.0 (the "License"); -| you may not use this file except in compliance with the License. -| You may obtain a copy of the License at -| -| http://www.apache.org/licenses/LICENSE-2.0 -| -| Unless required by applicable law or agreed to in writing, software -| distributed under the License is distributed on an "AS-IS" BASIS, -| WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -| See the License for the specific language governing permissions and -| limitations under the license. -| --> -| <!-- | Test Description: | This tests the validity of the script tag for early styling on fast failure | to load v0.js. See GitHub #22543. diff --git a/validator/testdata/transformed_feature_tests/script_amp_onerror_js_fail.html b/validator/testdata/transformed_feature_tests/script_amp_onerror_js_fail.html index 2e91d2a84355..790e5809023a 100644 --- a/validator/testdata/transformed_feature_tests/script_amp_onerror_js_fail.html +++ b/validator/testdata/transformed_feature_tests/script_amp_onerror_js_fail.html @@ -1,18 +1,3 @@ -<!-- - Copyright 2021 The AMP HTML Authors. All Rights Reserved. - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS-IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the license. ---> <!-- Test Description: This tests the validity of the script tag for early styling on fast failure diff --git a/validator/testdata/transformed_feature_tests/script_amp_onerror_js_fail.out b/validator/testdata/transformed_feature_tests/script_amp_onerror_js_fail.out index 6beb8447db8c..837a88a89871 100644 --- a/validator/testdata/transformed_feature_tests/script_amp_onerror_js_fail.out +++ b/validator/testdata/transformed_feature_tests/script_amp_onerror_js_fail.out @@ -1,20 +1,5 @@ FAIL | <!-- -| Copyright 2021 The AMP HTML Authors. All Rights Reserved. -| -| Licensed under the Apache License, Version 2.0 (the "License"); -| you may not use this file except in compliance with the License. -| You may obtain a copy of the License at -| -| http://www.apache.org/licenses/LICENSE-2.0 -| -| Unless required by applicable law or agreed to in writing, software -| distributed under the License is distributed on an "AS-IS" BASIS, -| WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -| See the License for the specific language governing permissions and -| limitations under the license. -| --> -| <!-- | Test Description: | This tests the validity of the script tag for early styling on fast failure | to load v0.js. See GitHub #22543. @@ -30,7 +15,7 @@ FAIL | <!-- Invalid: cdata does not match exactly --> | <script amp-onerror>document.querySelector("script[src*='/v0.js']").onerror=function(){document.querySelector('style[amp-boilerplate]').textContent=' '}</script> >> ^~~~~~~~~ -transformed_feature_tests/script_amp_onerror_js_fail.html:30:2 The mandatory text inside tag 'script amp-onerror' is missing or incorrect. +transformed_feature_tests/script_amp_onerror_js_fail.html:15:2 The mandatory text inside tag 'script amp-onerror' is missing or incorrect. | | <link rel="canonical" href="./regular-html-version.html"> | </head> diff --git a/validator/testdata/transformed_feature_tests/script_amp_onerror_js_mjs.html b/validator/testdata/transformed_feature_tests/script_amp_onerror_js_mjs.html index a59f03a01177..96d466472f06 100644 --- a/validator/testdata/transformed_feature_tests/script_amp_onerror_js_mjs.html +++ b/validator/testdata/transformed_feature_tests/script_amp_onerror_js_mjs.html @@ -1,18 +1,3 @@ -<!-- - Copyright 2021 The AMP HTML Authors. All Rights Reserved. - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS-IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the license. ---> <!-- Test Description: This tests the validity of the script tag for early styling on fast failure diff --git a/validator/testdata/transformed_feature_tests/script_amp_onerror_js_mjs.out b/validator/testdata/transformed_feature_tests/script_amp_onerror_js_mjs.out index baed3d97a974..2f759fd43840 100644 --- a/validator/testdata/transformed_feature_tests/script_amp_onerror_js_mjs.out +++ b/validator/testdata/transformed_feature_tests/script_amp_onerror_js_mjs.out @@ -1,20 +1,5 @@ PASS | <!-- -| Copyright 2021 The AMP HTML Authors. All Rights Reserved. -| -| Licensed under the Apache License, Version 2.0 (the "License"); -| you may not use this file except in compliance with the License. -| You may obtain a copy of the License at -| -| http://www.apache.org/licenses/LICENSE-2.0 -| -| Unless required by applicable law or agreed to in writing, software -| distributed under the License is distributed on an "AS-IS" BASIS, -| WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -| See the License for the specific language governing permissions and -| limitations under the license. -| --> -| <!-- | Test Description: | This tests the validity of the script tag for early styling on fast failure | to load v0.js or v0.mjs. See GitHub #22543. diff --git a/validator/testdata/transformed_feature_tests/script_amp_onerror_js_mjs_fail.html b/validator/testdata/transformed_feature_tests/script_amp_onerror_js_mjs_fail.html index 7b0e22e8f3a4..99b9785ff584 100644 --- a/validator/testdata/transformed_feature_tests/script_amp_onerror_js_mjs_fail.html +++ b/validator/testdata/transformed_feature_tests/script_amp_onerror_js_mjs_fail.html @@ -1,18 +1,3 @@ -<!-- - Copyright 2021 The AMP HTML Authors. All Rights Reserved. - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS-IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the license. ---> <!-- Test Description: This tests the validity of the script tag for early styling on fast failure diff --git a/validator/testdata/transformed_feature_tests/script_amp_onerror_js_mjs_fail.out b/validator/testdata/transformed_feature_tests/script_amp_onerror_js_mjs_fail.out index f59cebdc9856..69a0531b4d16 100644 --- a/validator/testdata/transformed_feature_tests/script_amp_onerror_js_mjs_fail.out +++ b/validator/testdata/transformed_feature_tests/script_amp_onerror_js_mjs_fail.out @@ -1,20 +1,5 @@ FAIL | <!-- -| Copyright 2021 The AMP HTML Authors. All Rights Reserved. -| -| Licensed under the Apache License, Version 2.0 (the "License"); -| you may not use this file except in compliance with the License. -| You may obtain a copy of the License at -| -| http://www.apache.org/licenses/LICENSE-2.0 -| -| Unless required by applicable law or agreed to in writing, software -| distributed under the License is distributed on an "AS-IS" BASIS, -| WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -| See the License for the specific language governing permissions and -| limitations under the license. -| --> -| <!-- | Test Description: | This tests the validity of the script tag for early styling on fast failure | to load v0.js or v0.mjs. See GitHub #22543. @@ -31,7 +16,7 @@ FAIL | <!-- Invalid: cdata does not match exactly --> | <script amp-onerror>[].slice.call(document.querySelectorAll("script[src*='/v0.js'],script[src*='/v0.mjs']")).forEach(function(s){s.onerror=function(){document.querySelector('style[amp-boilerplate]').textContent=' '}})</script> >> ^~~~~~~~~ -transformed_feature_tests/script_amp_onerror_js_mjs_fail.html:31:2 The mandatory text inside tag 'script amp-onerror' is missing or incorrect. +transformed_feature_tests/script_amp_onerror_js_mjs_fail.html:16:2 The mandatory text inside tag 'script amp-onerror' is missing or incorrect. | | <link rel="canonical" href="./regular-html-version.html"> | </head> diff --git a/validator/testdata/transformed_feature_tests/server_side_rendering.html b/validator/testdata/transformed_feature_tests/server_side_rendering.html index c1270d7e50ef..d7b765afb887 100644 --- a/validator/testdata/transformed_feature_tests/server_side_rendering.html +++ b/validator/testdata/transformed_feature_tests/server_side_rendering.html @@ -1,18 +1,3 @@ -<!-- - Copyright 2019 The AMP HTML Authors. All Rights Reserved. - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS-IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the license. ---> <!-- Test Description: Test for server side rendering transformer: diff --git a/validator/testdata/transformed_feature_tests/server_side_rendering.out b/validator/testdata/transformed_feature_tests/server_side_rendering.out index 93d8e5cdc64e..eec540e9271f 100644 --- a/validator/testdata/transformed_feature_tests/server_side_rendering.out +++ b/validator/testdata/transformed_feature_tests/server_side_rendering.out @@ -1,20 +1,5 @@ FAIL | <!-- -| Copyright 2019 The AMP HTML Authors. All Rights Reserved. -| -| Licensed under the Apache License, Version 2.0 (the "License"); -| you may not use this file except in compliance with the License. -| You may obtain a copy of the License at -| -| http://www.apache.org/licenses/LICENSE-2.0 -| -| Unless required by applicable law or agreed to in writing, software -| distributed under the License is distributed on an "AS-IS" BASIS, -| WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -| See the License for the specific language governing permissions and -| limitations under the license. -| --> -| <!-- | Test Description: | Test for server side rendering transformer: | - html tag attributes i-amphtml-layout and i-amphtml-no-boilerplate present @@ -61,21 +46,21 @@ FAIL | <amp-img src="image.png" height="100" width="300" layout="intrinsic" class="i-amphtml-layout-intrinsic i-amphtml-layout-size-defined" i-amphtml-layout="intrinsic"> | <i-amphtml-sizer class="i-amphtml-sizer"><img alt="" aria-hidden="true" class="i-amphtml-intrinsic-sizer" role="presentation" src="image.png"></i-amphtml-sizer> >> ^~~~~~~~~ -transformed_feature_tests/server_side_rendering.html:61:45 The attribute 'src' in tag 'img' is set to the invalid value 'image.png'. +transformed_feature_tests/server_side_rendering.html:46:45 The attribute 'src' in tag 'img' is set to the invalid value 'image.png'. | </amp-img> | <!-- Invalid intrinsic i-amphtml-sizer inside responsive sizer --> | <amp-img src="image.png" height="100" width="300" layout="intrinsic" class="i-amphtml-layout-intrinsic i-amphtml-layout-size-defined" i-amphtml-layout="intrinsic"> | <i-amphtml-sizer style=display:block;padding-top:171.4370%;> | <img alt="" aria-hidden="true" class="i-amphtml-intrinsic-sizer" role="presentation" src="data:image/svg+xml;charset=utf-8,<svg height='100' width='300' xmlns='http://www.w3.org/2000/svg' version='1.1'/>"> >> ^~~~~~~~~ -transformed_feature_tests/server_side_rendering.html:66:4 The parent tag of tag 'img' is 'i-amphtml-sizer', but it can only be 'i-amphtml-sizer-intrinsic'. +transformed_feature_tests/server_side_rendering.html:51:4 The parent tag of tag 'img' is 'i-amphtml-sizer', but it can only be 'i-amphtml-sizer-intrinsic'. | </i-amphtml-sizer> | </amp-img> | <!-- Invalid i-amphtml-sizer > img does not specify class --> | <amp-img src="image.png" height="100" width="300" layout="intrinsic" class="i-amphtml-layout-intrinsic i-amphtml-layout-size-defined" i-amphtml-layout="intrinsic"> | <i-amphtml-sizer class="i-amphtml-sizer"><img alt="" aria-hidden="true" role="presentation" src="data:image/svg+xml;base64,PHN2ZyBoZWlnaHQ9Ijc1IiB3aWR0aD0iNzUiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgdmVyc2lvbj0iMS4xIi8+"></i-amphtml-sizer> >> ^~~~~~~~~ -transformed_feature_tests/server_side_rendering.html:71:45 The mandatory attribute 'class' is missing in tag 'img'. +transformed_feature_tests/server_side_rendering.html:56:45 The mandatory attribute 'class' is missing in tag 'img'. | </amp-img> | <!-- Valid --> | <amp-social-share class="i-amphtml-layout-fixed i-amphtml-layout-size-defined" i-amphtml-layout=fixed style=width:60px;height:44px; type=test></amp-social-share> @@ -90,30 +75,30 @@ transformed_feature_tests/server_side_rendering.html:71:45 The mandatory attribu | <!-- Invalid i-amphtml-layout attribute value does not match layout value --> | <amp-img class="i-amphtml-layout-responsive i-amphtml-layout-size-defined" height=2911 i-amphtml-layout=nodisplay layout=responsive src=https://example-com.cdn.ampproject.org/i/s/example.com/lemur-narrow.jpg srcset="https://example-com.cdn.ampproject.org/i/s/example.com/lemur-wide.jpg 640w, https://example-com.cdn.ampproject.org/i/s/example.com/lemur-narrow.jpg 320w" width=1698> >> ^~~~~~~~~ -transformed_feature_tests/server_side_rendering.html:84:2 Invalid value 'nodisplay' for attribute 'i-amphtml-layout' in tag 'amp-img' - for layout 'RESPONSIVE', set the attribute 'i-amphtml-layout' to value 'responsive'. (see https://amp.dev/documentation/components/amp-img/) +transformed_feature_tests/server_side_rendering.html:69:2 Invalid value 'nodisplay' for attribute 'i-amphtml-layout' in tag 'amp-img' - for layout 'RESPONSIVE', set the attribute 'i-amphtml-layout' to value 'responsive'. (see https://amp.dev/documentation/components/amp-img/) | <i-amphtml-sizer style=display:block;padding-top:171.4370%;></i-amphtml-sizer> | </amp-img> | <!-- Invalid class attribute value due to not matching layout value --> | <amp-img class="i-amphtml-layout-nodisplay i-amphtml-layout-size-defined" height=2911 i-amphtml-layout=responsive layout=responsive src=https://example-com.cdn.ampproject.org/i/s/example.com/lemur-narrow.jpg srcset="https://example-com.cdn.ampproject.org/i/s/example.com/lemur-wide.jpg 640w, https://example-com.cdn.ampproject.org/i/s/example.com/lemur-narrow.jpg 320w" width=1698> >> ^~~~~~~~~ -transformed_feature_tests/server_side_rendering.html:88:2 The attribute 'class' in tag 'amp-img' is set to the invalid value 'i-amphtml-layout-nodisplay i-amphtml-layout-size-defined'. (see https://amp.dev/documentation/components/amp-img/) +transformed_feature_tests/server_side_rendering.html:73:2 The attribute 'class' in tag 'amp-img' is set to the invalid value 'i-amphtml-layout-nodisplay i-amphtml-layout-size-defined'. (see https://amp.dev/documentation/components/amp-img/) | <i-amphtml-sizer style=display:block;padding-top:171.4370%;></i-amphtml-sizer> | </amp-img> | <!-- Invalid class attribute value due to layout not being size defined (spaces) --> | <amp-img class="i-amphtml-layout-nodisplay i-amphtml-layout-size-defined" i-amphtml-layout=nodisplay layout=nodisplay></amp-img> >> ^~~~~~~~~ -transformed_feature_tests/server_side_rendering.html:92:2 The attribute 'class' in tag 'amp-img' is set to the invalid value 'i-amphtml-layout-nodisplay i-amphtml-layout-size-defined'. (see https://amp.dev/documentation/components/amp-img/) +transformed_feature_tests/server_side_rendering.html:77:2 The attribute 'class' in tag 'amp-img' is set to the invalid value 'i-amphtml-layout-nodisplay i-amphtml-layout-size-defined'. (see https://amp.dev/documentation/components/amp-img/) | <!-- Invalid class attribute value due to layout not being size defined (tabs) --> | <amp-img class="i-amphtml-layout-nodisplay i-amphtml-layout-size-defined" i-amphtml-layout=nodisplay layout=nodisplay></amp-img> >> ^~~~~~~~~ -transformed_feature_tests/server_side_rendering.html:94:2 The attribute 'class' in tag 'amp-img' is set to the invalid value 'i-amphtml-layout-nodisplay i-amphtml-layout-size-defined'. (see https://amp.dev/documentation/components/amp-img/) +transformed_feature_tests/server_side_rendering.html:79:2 The attribute 'class' in tag 'amp-img' is set to the invalid value 'i-amphtml-layout-nodisplay i-amphtml-layout-size-defined'. (see https://amp.dev/documentation/components/amp-img/) | <!-- Invalid i-amphtml-sizer due to css declarations --> | <amp-img class="i-amphtml-layout-responsive i-amphtml-layout-size-defined" height=2911 i-amphtml-layout=responsive layout=responsive src=https://example-com.cdn.ampproject.org/i/s/example.com/lemur-narrow.jpg srcset="https://example-com.cdn.ampproject.org/i/s/example.com/lemur-wide.jpg 640w, https://example-com.cdn.ampproject.org/i/s/example.com/lemur-narrow.jpg 320w" width=1698> | <i-amphtml-sizer style=display:none;padding-bottom:171.4370%;></i-amphtml-sizer> >> ^~~~~~~~~ -transformed_feature_tests/server_side_rendering.html:97:4 CSS syntax error in tag 'i-amphtml-sizer' - the property 'display' is set to the disallowed value 'none'. (see https://amp.dev/documentation/guides-and-tutorials/develop/style_and_layout/style_pages/) +transformed_feature_tests/server_side_rendering.html:82:4 CSS syntax error in tag 'i-amphtml-sizer' - the property 'display' is set to the disallowed value 'none'. (see https://amp.dev/documentation/guides-and-tutorials/develop/style_and_layout/style_pages/) >> ^~~~~~~~~ -transformed_feature_tests/server_side_rendering.html:97:4 The property 'padding-bottom' in attribute 'style' in tag 'i-amphtml-sizer' is disallowed. (see https://amp.dev/documentation/guides-and-tutorials/develop/style_and_layout/style_pages/) +transformed_feature_tests/server_side_rendering.html:82:4 The property 'padding-bottom' in attribute 'style' in tag 'i-amphtml-sizer' is disallowed. (see https://amp.dev/documentation/guides-and-tutorials/develop/style_and_layout/style_pages/) | </amp-img> | | </body> diff --git a/validator/testdata/transformed_feature_tests/style_amp_runtime_css.html b/validator/testdata/transformed_feature_tests/style_amp_runtime_css.html index ad131cde7ed0..6c217cdc38c0 100644 --- a/validator/testdata/transformed_feature_tests/style_amp_runtime_css.html +++ b/validator/testdata/transformed_feature_tests/style_amp_runtime_css.html @@ -1,18 +1,3 @@ -<!-- - Copyright 2019 The AMP HTML Authors. All Rights Reserved. - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS-IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the license. ---> <!-- Test Description: Test for amp runtime css transformer: diff --git a/validator/testdata/transformed_feature_tests/style_amp_runtime_css.out b/validator/testdata/transformed_feature_tests/style_amp_runtime_css.out index 10017e0006ab..4d54f74197ff 100644 --- a/validator/testdata/transformed_feature_tests/style_amp_runtime_css.out +++ b/validator/testdata/transformed_feature_tests/style_amp_runtime_css.out @@ -1,20 +1,5 @@ PASS | <!-- -| Copyright 2019 The AMP HTML Authors. All Rights Reserved. -| -| Licensed under the Apache License, Version 2.0 (the "License"); -| you may not use this file except in compliance with the License. -| You may obtain a copy of the License at -| -| http://www.apache.org/licenses/LICENSE-2.0 -| -| Unless required by applicable law or agreed to in writing, software -| distributed under the License is distributed on an "AS-IS" BASIS, -| WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -| See the License for the specific language governing permissions and -| limitations under the license. -| --> -| <!-- | Test Description: | Test for amp runtime css transformer: | - <style amp-runtime i-amphtml-version=#>CSS{}</style> where: diff --git a/validator/testdata/transformed_feature_tests/transformed_attribute_value_malformed.html b/validator/testdata/transformed_feature_tests/transformed_attribute_value_malformed.html index 5c904bf555fb..5f902b537d7a 100644 --- a/validator/testdata/transformed_feature_tests/transformed_attribute_value_malformed.html +++ b/validator/testdata/transformed_feature_tests/transformed_attribute_value_malformed.html @@ -1,18 +1,3 @@ -<!-- - Copyright 2020 The AMP HTML Authors. All Rights Reserved. - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS-IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the license. ---> <!-- Test Description: This tests that the value of the transformed attribute catches malformed name. Only diff --git a/validator/testdata/transformed_feature_tests/transformed_attribute_value_malformed.out b/validator/testdata/transformed_feature_tests/transformed_attribute_value_malformed.out index 21f2fa76125e..4422b4b251b2 100644 --- a/validator/testdata/transformed_feature_tests/transformed_attribute_value_malformed.out +++ b/validator/testdata/transformed_feature_tests/transformed_attribute_value_malformed.out @@ -1,20 +1,5 @@ FAIL | <!-- -| Copyright 2020 The AMP HTML Authors. All Rights Reserved. -| -| Licensed under the Apache License, Version 2.0 (the "License"); -| you may not use this file except in compliance with the License. -| You may obtain a copy of the License at -| -| http://www.apache.org/licenses/LICENSE-2.0 -| -| Unless required by applicable law or agreed to in writing, software -| distributed under the License is distributed on an "AS-IS" BASIS, -| WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -| See the License for the specific language governing permissions and -| limitations under the license. -| --> -| <!-- | Test Description: | This tests that the value of the transformed attribute catches malformed name. Only | `self` or AMP caches listed at https://cdn.ampproject.org/caches.json are valid. @@ -22,7 +7,7 @@ FAIL | <!doctype html> | <html ⚡ transformed="foobar;v=1"> >> ^~~~~~~~~ -transformed_feature_tests/transformed_attribute_value_malformed.html:22:0 The attribute 'transformed' in tag 'html' is set to the invalid value 'foobar;v=1'. (see https://amp.dev/documentation/guides-and-tutorials/learn/spec/amphtml#required-markup) +transformed_feature_tests/transformed_attribute_value_malformed.html:7:0 The attribute 'transformed' in tag 'html' is set to the invalid value 'foobar;v=1'. (see https://amp.dev/documentation/guides-and-tutorials/learn/spec/amphtml#required-markup) | <head> | <meta charset="utf-8"> | <style amp-runtime i-amphtml-version=123456789012345>.omitted-for-brevity{}</style> diff --git a/validator/testdata/transformed_feature_tests/transformed_attribute_value_version_malformed.html b/validator/testdata/transformed_feature_tests/transformed_attribute_value_version_malformed.html index 01e046750c90..8b925b432cf1 100644 --- a/validator/testdata/transformed_feature_tests/transformed_attribute_value_version_malformed.html +++ b/validator/testdata/transformed_feature_tests/transformed_attribute_value_version_malformed.html @@ -1,18 +1,3 @@ -<!-- - Copyright 2019 The AMP HTML Authors. All Rights Reserved. - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS-IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the license. ---> <!-- Test Description: This tests that the value of the transformed attribute catches malformed version numbers. diff --git a/validator/testdata/transformed_feature_tests/transformed_attribute_value_version_malformed.out b/validator/testdata/transformed_feature_tests/transformed_attribute_value_version_malformed.out index 3d429ff0c7ec..8e2640c6ed19 100644 --- a/validator/testdata/transformed_feature_tests/transformed_attribute_value_version_malformed.out +++ b/validator/testdata/transformed_feature_tests/transformed_attribute_value_version_malformed.out @@ -1,27 +1,12 @@ FAIL | <!-- -| Copyright 2019 The AMP HTML Authors. All Rights Reserved. -| -| Licensed under the Apache License, Version 2.0 (the "License"); -| you may not use this file except in compliance with the License. -| You may obtain a copy of the License at -| -| http://www.apache.org/licenses/LICENSE-2.0 -| -| Unless required by applicable law or agreed to in writing, software -| distributed under the License is distributed on an "AS-IS" BASIS, -| WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -| See the License for the specific language governing permissions and -| limitations under the license. -| --> -| <!-- | Test Description: | This tests that the value of the transformed attribute catches malformed version numbers. | --> | <!doctype html> | <html ⚡ transformed="google;v=1..3"> >> ^~~~~~~~~ -transformed_feature_tests/transformed_attribute_value_version_malformed.html:21:0 The attribute 'transformed' in tag 'html' is set to the invalid value 'google;v=1..3'. (see https://amp.dev/documentation/guides-and-tutorials/learn/spec/amphtml#required-markup) +transformed_feature_tests/transformed_attribute_value_version_malformed.html:6:0 The attribute 'transformed' in tag 'html' is set to the invalid value 'google;v=1..3'. (see https://amp.dev/documentation/guides-and-tutorials/learn/spec/amphtml#required-markup) | <head> | <meta charset="utf-8"> | <style amp-runtime i-amphtml-version=123456789012345>.omitted-for-brevity{}</style> diff --git a/validator/testdata/transformed_feature_tests/transformed_but_not_identified_transformed.html b/validator/testdata/transformed_feature_tests/transformed_but_not_identified_transformed.html index 543077b7cd0b..7d788ff406cc 100644 --- a/validator/testdata/transformed_feature_tests/transformed_but_not_identified_transformed.html +++ b/validator/testdata/transformed_feature_tests/transformed_but_not_identified_transformed.html @@ -1,18 +1,3 @@ -<!-- - Copyright 2019 The AMP HTML Authors. All Rights Reserved. - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS-IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the license. ---> <!-- Test Description: This tests a transformed AMP document that is not identified as transformed. diff --git a/validator/testdata/transformed_feature_tests/transformed_but_not_identified_transformed.out b/validator/testdata/transformed_feature_tests/transformed_but_not_identified_transformed.out index f72908d70346..52fa6ee6238e 100644 --- a/validator/testdata/transformed_feature_tests/transformed_but_not_identified_transformed.out +++ b/validator/testdata/transformed_feature_tests/transformed_but_not_identified_transformed.out @@ -1,36 +1,21 @@ FAIL | <!-- -| Copyright 2019 The AMP HTML Authors. All Rights Reserved. -| -| Licensed under the Apache License, Version 2.0 (the "License"); -| you may not use this file except in compliance with the License. -| You may obtain a copy of the License at -| -| http://www.apache.org/licenses/LICENSE-2.0 -| -| Unless required by applicable law or agreed to in writing, software -| distributed under the License is distributed on an "AS-IS" BASIS, -| WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -| See the License for the specific language governing permissions and -| limitations under the license. -| --> -| <!-- | Test Description: | This tests a transformed AMP document that is not identified as transformed. | --> | <!doctype html> | <html ⚡ i-amphtml-layout i-amphtml-no-boilerplate> >> ^~~~~~~~~ -transformed_feature_tests/transformed_but_not_identified_transformed.html:21:0 The attribute 'i-amphtml-layout' may not appear in tag 'html'. (see https://amp.dev/documentation/guides-and-tutorials/learn/spec/amphtml/#required-markup) +transformed_feature_tests/transformed_but_not_identified_transformed.html:6:0 The attribute 'i-amphtml-layout' may not appear in tag 'html'. (see https://amp.dev/documentation/guides-and-tutorials/learn/spec/amphtml/#required-markup) >> ^~~~~~~~~ -transformed_feature_tests/transformed_but_not_identified_transformed.html:21:0 The attribute 'i-amphtml-no-boilerplate' may not appear in tag 'html'. (see https://amp.dev/documentation/guides-and-tutorials/learn/spec/amphtml/#required-markup) +transformed_feature_tests/transformed_but_not_identified_transformed.html:6:0 The attribute 'i-amphtml-no-boilerplate' may not appear in tag 'html'. (see https://amp.dev/documentation/guides-and-tutorials/learn/spec/amphtml/#required-markup) | <head> | <meta charset="utf-8"> | <style amp-runtime i-amphtml-version=123456789012345>html{overflow-x:hidden!important}body,html{height:auto!important}html.i-amphtml-fie{height:100%!important;width:100%!important}body{margin:0!important;-webkit-text-size-adjust:100%;-moz-text-size-adjust:100%;-ms-text-size-adjust:100%;text-size-adjust:100%}[hidden]{display:none!important}html.i-amphtml-singledoc.i-amphtml-embedded{-ms-touch-action:pan-y;touch-action:pan-y}html.i-amphtml-fie>body,html.i-amphtml-singledoc>body{overflow:visible!important}html.i-amphtml-fie:not(.i-amphtml-inabox)>body,html.i-amphtml-singledoc:not(.i-amphtml-inabox)>body{position:relative!important}html.i-amphtml-webview>body{overflow-x:hidden!important;overflow-y:visible!important;min-height:100vh!important}html.i-amphtml-ios-embed-legacy>body{overflow-x:hidden!important;overflow-y:auto!important;position:absolute!important}html.i-amphtml-ios-embed{overflow-y:auto!important;position:static}#i-amphtml-wrapper{overflow-x:hidden!important;overflow-y:auto!important;position:absolute!important;top:0!important;left:0!important;right:0!important;bottom:0!important;margin:0!important;display:block!important}html.i-amphtml-ios-embed.i-amphtml-ios-overscroll,html.i-amphtml-ios-embed.i-amphtml-ios-overscroll>#i-amphtml-wrapper{-webkit-overflow-scrolling:touch!important}#i-amphtml-wrapper>body{position:relative!important;border-top:1px solid transparent!important}html.i-amphtml-ios-embed-sd{overflow:hidden!important;position:static!important}html.i-amphtml-ios-embed-sd>body,html.i-amphtml-singledoc.i-amphtml-ios-embed-sd>body{position:absolute!important;top:0!important;left:0!important;right:0!important;bottom:0!important;overflow:hidden!important}.i-amphtml-body-minheight>body{min-height:calc(100vh + 1px)}.i-amphtml-element{display:inline-block}.i-amphtml-blurry-placeholder{-webkit-transition:opacity 0.3s cubic-bezier(0.0,0.0,0.2,1)!important;transition:opacity 0.3s cubic-bezier(0.0,0.0,0.2,1)!important}[layout=nodisplay]:not(.i-amphtml-element){display:none!important}.i-amphtml-layout-fixed,[layout=fixed][width][height]:not(.i-amphtml-layout-fixed){display:inline-block;position:relative}.i-amphtml-layout-responsive,[layout=responsive][width][height]:not(.i-amphtml-layout-responsive),[width][height][sizes]:not(.i-amphtml-layout-responsive){display:block;position:relative}.i-amphtml-layout-intrinsic{display:inline-block;position:relative;max-width:100%}.i-amphtml-intrinsic-sizer{max-width:100%;display:block!important}.i-amphtml-layout-container,.i-amphtml-layout-fixed-height,[layout=container],[layout=fixed-height][height]{display:block;position:relative}.i-amphtml-layout-fill,[layout=fill]:not(.i-amphtml-layout-fill){display:block;overflow:hidden!important;position:absolute;top:0;left:0;bottom:0;right:0}.i-amphtml-layout-flex-item,[layout=flex-item]:not(.i-amphtml-layout-flex-item){display:block;position:relative;-webkit-box-flex:1;-ms-flex:1 1 auto;flex:1 1 auto}.i-amphtml-layout-fluid{position:relative}.i-amphtml-layout-size-defined{overflow:hidden!important}.i-amphtml-layout-awaiting-size{position:absolute!important;top:auto!important;bottom:auto!important}i-amphtml-sizer{display:block!important}.i-amphtml-blurry-placeholder,.i-amphtml-fill-content{display:block;height:0;max-height:100%;max-width:100%;min-height:100%;min-width:100%;width:0;margin:auto}.i-amphtml-layout-size-defined .i-amphtml-fill-content{position:absolute;top:0;left:0;bottom:0;right:0}.i-amphtml-layout-intrinsic .i-amphtml-sizer{max-width:100%}.i-amphtml-replaced-content,.i-amphtml-screen-reader{padding:0!important;border:none!important}.i-amphtml-screen-reader{position:fixed!important;top:0px!important;left:0px!important;width:4px!important;height:4px!important;opacity:0!important;overflow:hidden!important;margin:0!important;display:block!important;visibility:visible!important}.i-amphtml-screen-reader~.i-amphtml-screen-reader{left:8px!important}.i-amphtml-screen-reader~.i-amphtml-screen-reader~.i-amphtml-screen-reader{left:12px!important}.i-amphtml-screen-reader~.i-amphtml-screen-reader~.i-amphtml-screen-reader~.i-amphtml-screen-reader{left:16px!important}.i-amphtml-unresolved{position:relative;overflow:hidden!important}#i-amphtml-wrapper.i-amphtml-scroll-disabled,.i-amphtml-scroll-disabled{overflow-x:hidden!important;overflow-y:hidden!important}.i-amphtml-select-disabled{-webkit-user-select:none!important;-moz-user-select:none!important;-ms-user-select:none!important;user-select:none!important}.i-amphtml-notbuilt,[layout]:not(.i-amphtml-element){position:relative;overflow:hidden!important;color:transparent!important}.i-amphtml-notbuilt:not(.i-amphtml-layout-container)>*,[layout]:not([layout=container]):not(.i-amphtml-element)>*{display:none}.i-amphtml-ghost{visibility:hidden!important}.i-amphtml-element>[placeholder],[layout]:not(.i-amphtml-element)>[placeholder]{display:block}.i-amphtml-element>[placeholder].amp-hidden,.i-amphtml-element>[placeholder].hidden{visibility:hidden}.i-amphtml-element:not(.amp-notsupported)>[fallback],.i-amphtml-layout-container>[placeholder].amp-hidden,.i-amphtml-layout-container>[placeholder].hidden{display:none}.i-amphtml-layout-size-defined>[fallback],.i-amphtml-layout-size-defined>[placeholder]{position:absolute!important;top:0!important;left:0!important;right:0!important;bottom:0!important;z-index:1}.i-amphtml-notbuilt>[placeholder]{display:block!important}.i-amphtml-hidden-by-media-query{display:none!important}.i-amphtml-element-error{background:red!important;color:#fff!important;position:relative!important}.i-amphtml-element-error:before{content:attr(error-message)}i-amp-scroll-container,i-amphtml-scroll-container{position:absolute;top:0;left:0;right:0;bottom:0;display:block}i-amp-scroll-container.amp-active,i-amphtml-scroll-container.amp-active{overflow:auto;-webkit-overflow-scrolling:touch}.i-amphtml-loading-container{display:block!important;pointer-events:none;z-index:1}.i-amphtml-notbuilt>.i-amphtml-loading-container{display:block!important}.i-amphtml-loading-container.amp-hidden{visibility:hidden}.i-amphtml-loader-line{position:absolute;top:0;left:0;right:0;height:1px;overflow:hidden!important;background-color:hsla(0,0%,59.2%,0.2);display:block}.i-amphtml-loader-moving-line{display:block;position:absolute;width:100%;height:100%!important;background-color:hsla(0,0%,59.2%,0.65);z-index:2}@-webkit-keyframes i-amphtml-loader-line-moving{0%{-webkit-transform:translateX(-100%);transform:translateX(-100%)}to{-webkit-transform:translateX(100%);transform:translateX(100%)}}@keyframes i-amphtml-loader-line-moving{0%{-webkit-transform:translateX(-100%);transform:translateX(-100%)}to{-webkit-transform:translateX(100%);transform:translateX(100%)}}.i-amphtml-loader-line.amp-active .i-amphtml-loader-moving-line{-webkit-animation:i-amphtml-loader-line-moving 4s ease infinite;animation:i-amphtml-loader-line-moving 4s ease infinite}.i-amphtml-loader{position:absolute;display:block;height:10px;top:50%;left:50%;-webkit-transform:translateX(-50%) translateY(-50%);transform:translateX(-50%) translateY(-50%);-webkit-transform-origin:50% 50%;transform-origin:50% 50%;white-space:nowrap}.i-amphtml-loader.amp-active .i-amphtml-loader-dot{-webkit-animation:i-amphtml-loader-dots 2s infinite;animation:i-amphtml-loader-dots 2s infinite}.i-amphtml-loader-dot{position:relative;display:inline-block;height:10px;width:10px;margin:2px;border-radius:100%;background-color:rgba(0,0,0,0.3);box-shadow:2px 2px 2px 1px rgba(0,0,0,0.2);will-change:transform}.i-amphtml-loader .i-amphtml-loader-dot:first-child{-webkit-animation-delay:0s;animation-delay:0s}.i-amphtml-loader .i-amphtml-loader-dot:nth-child(2){-webkit-animation-delay:.1s;animation-delay:.1s}.i-amphtml-loader .i-amphtml-loader-dot:nth-child(3){-webkit-animation-delay:.2s;animation-delay:.2s}@-webkit-keyframes i-amphtml-loader-dots{0%,to{-webkit-transform:scale(.7);transform:scale(.7);background-color:rgba(0,0,0,0.3)}50%{-webkit-transform:scale(.8);transform:scale(.8);background-color:rgba(0,0,0,0.5)}}@keyframes i-amphtml-loader-dots{0%,to{-webkit-transform:scale(.7);transform:scale(.7);background-color:rgba(0,0,0,0.3)}50%{-webkit-transform:scale(.8);transform:scale(.8);background-color:rgba(0,0,0,0.5)}}.i-amphtml-element>[overflow]{cursor:pointer;position:relative;z-index:2;visibility:hidden}.i-amphtml-element>[overflow].amp-visible{visibility:visible}template{display:none!important}.amp-border-box,.amp-border-box *,.amp-border-box :after,.amp-border-box :before{box-sizing:border-box}amp-pixel{display:none!important}amp-instagram{padding:64px 0px 0px!important;background-color:#fff}amp-analytics,amp-story-auto-ads{position:fixed!important;top:0!important;width:1px!important;height:1px!important;overflow:hidden!important;visibility:hidden}html.i-amphtml-fie>amp-analytics{position:initial!important}amp-iframe iframe{box-sizing:border-box!important}[amp-access][amp-access-hide]{display:none}[subscriptions-dialog],body:not(.i-amphtml-subs-ready) [subscriptions-action],body:not(.i-amphtml-subs-ready) [subscriptions-section]{display:none!important}[visible-when-invalid]:not(.visible),amp-experiment,amp-live-list>[update],form [submit-error],form [submit-success],form [submitting]{display:none}.i-amphtml-jank-meter{position:fixed;background-color:rgba(232,72,95,0.5);bottom:0;right:0;color:#fff;font-size:16px;z-index:1000;padding:5px}amp-accordion{display:block!important}amp-accordion>section{float:none!important}amp-accordion>section>*{float:none!important;display:block!important;overflow:hidden!important;position:relative!important}.i-amphtml-accordion-content,.i-amphtml-accordion-header,amp-accordion,amp-accordion>section{margin:0}.i-amphtml-accordion-header{cursor:pointer;background-color:#efefef;padding-right:20px;border:1px solid #dfdfdf}amp-accordion>section>:last-child{display:none!important}amp-accordion>section[expanded]>:last-child{display:block!important}amp-list[resizable-children]>.i-amphtml-loading-container.amp-hidden{display:none!important}amp-list[load-more] [load-more-button],amp-list[load-more] [load-more-end],amp-list[load-more] [load-more-failed],amp-list[load-more] [load-more-loading]{display:none}amp-story-page,amp-story[standalone]{display:block!important;height:100%!important;margin:0!important;padding:0!important;overflow:hidden!important;width:100%!important}amp-story[standalone]{background-color:#fff!important;position:relative!important}amp-story-page{background-color:#757575}amp-story .i-amphtml-loader{display:none!important}[amp-fx^=fly-in]{visibility:hidden}amp-addthis[data-widget-type=floating]{position:fixed!important;width:100%!important;height:50px;bottom:0} >> ^~~~~~~~~ -transformed_feature_tests/transformed_but_not_identified_transformed.html:24:2 The attribute 'amp-runtime' may not appear in tag 'style amp-custom'. (see https://amp.dev/documentation/guides-and-tutorials/learn/spec/amphtml/#stylesheets) +transformed_feature_tests/transformed_but_not_identified_transformed.html:9:2 The attribute 'amp-runtime' may not appear in tag 'style amp-custom'. (see https://amp.dev/documentation/guides-and-tutorials/learn/spec/amphtml/#stylesheets) >> ^~~~~~~~~ -transformed_feature_tests/transformed_but_not_identified_transformed.html:24:2 The attribute 'i-amphtml-version' may not appear in tag 'style amp-custom'. (see https://amp.dev/documentation/guides-and-tutorials/learn/spec/amphtml/#stylesheets) +transformed_feature_tests/transformed_but_not_identified_transformed.html:9:2 The attribute 'i-amphtml-version' may not appear in tag 'style amp-custom'. (see https://amp.dev/documentation/guides-and-tutorials/learn/spec/amphtml/#stylesheets) | /*# sourceURL=/css/amp.css*/</style> | <meta name="viewport" content="width=device-width"> | <script async src="https://cdn.ampproject.org/v0.js"></script> @@ -39,18 +24,18 @@ transformed_feature_tests/transformed_but_not_identified_transformed.html:24:2 T | <body> | <amp-img class="i-amphtml-layout-responsive i-amphtml-layout-size-defined" height=2911 i-amphtml-layout=responsive layout=responsive src=https://example-com.cdn.ampproject.org/i/s/example.com/lemur-narrow.jpg srcset="https://example-com.cdn.ampproject.org/i/s/example.com/lemur-wide.jpg 640w, https://example-com.cdn.ampproject.org/i/s/example.com/lemur-narrow.jpg 320w" width=1698> >> ^~~~~~~~~ -transformed_feature_tests/transformed_but_not_identified_transformed.html:31:2 The attribute 'class' in tag 'amp-img' is set to the invalid value 'i-amphtml-layout-responsive i-amphtml-layout-size-defined'. (see https://amp.dev/documentation/guides-and-tutorials/develop/style_and_layout/style_pages/#disallowed-styles) +transformed_feature_tests/transformed_but_not_identified_transformed.html:16:2 The attribute 'class' in tag 'amp-img' is set to the invalid value 'i-amphtml-layout-responsive i-amphtml-layout-size-defined'. (see https://amp.dev/documentation/guides-and-tutorials/develop/style_and_layout/style_pages/#disallowed-styles) >> ^~~~~~~~~ -transformed_feature_tests/transformed_but_not_identified_transformed.html:31:2 The attribute 'i-amphtml-layout' may not appear in tag 'amp-img'. (see https://amp.dev/documentation/components/amp-img/) +transformed_feature_tests/transformed_but_not_identified_transformed.html:16:2 The attribute 'i-amphtml-layout' may not appear in tag 'amp-img'. (see https://amp.dev/documentation/components/amp-img/) | <i-amphtml-sizer style=display:block;padding-top:171.4370%;></i-amphtml-sizer> >> ^~~~~~~~~ -transformed_feature_tests/transformed_but_not_identified_transformed.html:32:4 The tag 'i-amphtml-sizer' is disallowed except in specific forms. +transformed_feature_tests/transformed_but_not_identified_transformed.html:17:4 The tag 'i-amphtml-sizer' is disallowed except in specific forms. | </amp-img> | </body> | </html> >> ^~~~~~~~~ -transformed_feature_tests/transformed_but_not_identified_transformed.html:35:6 The mandatory tag 'noscript enclosure for boilerplate' is missing or incorrect. (see https://amp.dev/documentation/guides-and-tutorials/learn/spec/amp-boilerplate/?format=websites) +transformed_feature_tests/transformed_but_not_identified_transformed.html:20:6 The mandatory tag 'noscript enclosure for boilerplate' is missing or incorrect. (see https://amp.dev/documentation/guides-and-tutorials/learn/spec/amp-boilerplate/?format=websites) >> ^~~~~~~~~ -transformed_feature_tests/transformed_but_not_identified_transformed.html:35:6 The mandatory tag 'head > style[amp-boilerplate]' is missing or incorrect. (see https://amp.dev/documentation/guides-and-tutorials/learn/spec/amp-boilerplate/?format=websites) +transformed_feature_tests/transformed_but_not_identified_transformed.html:20:6 The mandatory tag 'head > style[amp-boilerplate]' is missing or incorrect. (see https://amp.dev/documentation/guides-and-tutorials/learn/spec/amp-boilerplate/?format=websites) >> ^~~~~~~~~ -transformed_feature_tests/transformed_but_not_identified_transformed.html:35:6 The mandatory tag 'noscript > style[amp-boilerplate]' is missing or incorrect. (see https://amp.dev/documentation/guides-and-tutorials/learn/spec/amp-boilerplate/?format=websites) +transformed_feature_tests/transformed_but_not_identified_transformed.html:20:6 The mandatory tag 'noscript > style[amp-boilerplate]' is missing or incorrect. (see https://amp.dev/documentation/guides-and-tutorials/learn/spec/amp-boilerplate/?format=websites) diff --git a/validator/validator.pb.go b/validator/validator.pb.go index 385813896d3b..976c8c6a265b 100644 --- a/validator/validator.pb.go +++ b/validator/validator.pb.go @@ -1,22 +1,6 @@ -// -// Copyright 2015 The AMP HTML Authors. All Rights Reserved. -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS-IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the license. -// - // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.25.0-devel +// protoc-gen-go v1.27.1 // protoc v3.12.4 // source: validator.proto @@ -29,7 +13,6 @@ package amp_validator import ( - proto "github.com/golang/protobuf/proto" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" reflect "reflect" @@ -43,10 +26,6 @@ const ( _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) ) -// This is a compile-time assertion that a sufficiently up-to-date version -// of the legacy proto package is being used. -const _ = proto.ProtoPackageIsVersion4 - // These two fields specify that values from one AttrSpec refer to values from // another AttrSpec elsewhere on the page; validator will verify the // references are not "dangling". These references may appear before or after diff --git a/validator/validator.proto b/validator/validator.proto index 9b67bc83ca43..fa03f0b03641 100644 --- a/validator/validator.proto +++ b/validator/validator.proto @@ -1,18 +1,3 @@ -// -// Copyright 2015 The AMP HTML Authors. All Rights Reserved. -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS-IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the license. -// syntax = "proto2"; // TODO(b/188065554) Deprecate automatic generation of validator.pb.go. diff --git a/validator/validator_gen_js.py b/validator/validator_gen_js.py index 2c6153ef1a83..839ca9c6d804 100644 --- a/validator/validator_gen_js.py +++ b/validator/validator_gen_js.py @@ -1,18 +1,3 @@ -# -# Copyright 2015 The AMP HTML Authors. All Rights Reserved. -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS-IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the license. -# """Generates validator-generated.js. This script reads validator.protoascii and reflects over its contents