Skip to content

Commit

Permalink
Validator rollup (ampproject#29698)
Browse files Browse the repository at this point in the history
* cl/323700659 Revision bump for ampproject#29329
* cl/323797874 Revision bump for ampproject#29542
* cl/323858009 Revision bump for ampproject#29409
* cl/323889989 n/a
* cl/324641097 Implements document level byte count limitation.
* cl/324911894 Remove AMP Actions from Validator
* cl/324915915 Revision bump for ampproject#29642

Co-authored-by: Greg Grothaus <[email protected]>
Co-authored-by: Amaltas Bohra <[email protected]>
Co-authored-by: honeybadgerdontcare <[email protected]>
  • Loading branch information
4 people authored Aug 5, 2020
1 parent bcac0dc commit d53c7be
Show file tree
Hide file tree
Showing 75 changed files with 1,671 additions and 2,826 deletions.
3 changes: 0 additions & 3 deletions extensions/amp-accordion/validator-amp-accordion.protoascii
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@
tags: { # amp-accordion
html_format: AMP
html_format: AMP4ADS
html_format: ACTIONS
tag_name: "SCRIPT"
extension_spec: {
name: "amp-accordion"
Expand All @@ -42,7 +41,6 @@ tags: { # <amp-accordion>
html_format: AMP
html_format: AMP4ADS
html_format: AMP4EMAIL
html_format: ACTIONS
tag_name: "AMP-ACCORDION"
requires_extension: "amp-accordion"
attrs: { name: "animate" value: "" }
Expand All @@ -66,7 +64,6 @@ tags: { # <amp-accordion> > <section>
html_format: AMP
html_format: AMP4ADS
html_format: AMP4EMAIL
html_format: ACTIONS
tag_name: "SECTION"
spec_name: "amp-accordion > section"
descriptive_name: "amp-accordion > section"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@
#
tags: { # amp-action-macro
html_format: AMP
html_format: ACTIONS
tag_name: "SCRIPT"
extension_spec: {
name: "amp-action-macro"
Expand All @@ -26,7 +25,6 @@ tags: { # amp-action-macro
}
tags: { # <amp-action-macro>
html_format: AMP
html_format: ACTIONS
tag_name: "AMP-ACTION-MACRO"
requires_extension: "amp-action-macro"
attrs: {
Expand Down
3 changes: 0 additions & 3 deletions extensions/amp-analytics/validator-amp-analytics.protoascii
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@
tags: { # amp-analytics
html_format: AMP
html_format: AMP4ADS
html_format: ACTIONS
tag_name: "SCRIPT"
extension_spec: {
name: "amp-analytics"
Expand All @@ -32,7 +31,6 @@ tags: { # amp-analytics
tags: { # amp-analytics (json)
html_format: AMP
html_format: AMP4ADS
html_format: ACTIONS
tag_name: "SCRIPT"
spec_name: "amp-analytics extension .json script"
descriptive_name: "amp-analytics extension .json script"
Expand All @@ -56,7 +54,6 @@ tags: { # amp-analytics (json)
tags: { # <amp-analytics>
html_format: AMP
html_format: AMP4ADS
html_format: ACTIONS
tag_name: "AMP-ANALYTICS"
requires_extension: "amp-analytics"
attrs: {
Expand Down
2 changes: 0 additions & 2 deletions extensions/amp-anim/validator-amp-anim.protoascii
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@
tags: { # amp-anim
html_format: AMP
html_format: AMP4ADS
html_format: ACTIONS
tag_name: "SCRIPT"
extension_spec: {
name: "amp-anim"
Expand All @@ -42,7 +41,6 @@ tags: { # amp-anim
tags: { # <amp-anim>
html_format: AMP
html_format: AMP4ADS
html_format: ACTIONS
tag_name: "AMP-ANIM"
requires_extension: "amp-anim"
attrs: { name: "alt" }
Expand Down
3 changes: 0 additions & 3 deletions extensions/amp-animation/validator-amp-animation.protoascii
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@
tags: { # amp-animation
html_format: AMP
html_format: AMP4ADS
html_format: ACTIONS
tag_name: "SCRIPT"
extension_spec: {
name: "amp-animation"
Expand All @@ -29,7 +28,6 @@ tags: { # amp-animation
tags: { # <amp-animation> (json)
html_format: AMP
html_format: AMP4ADS
html_format: ACTIONS
tag_name: "SCRIPT"
spec_name: "amp-animation extension .json script"
mandatory_parent: "AMP-ANIMATION"
Expand All @@ -52,7 +50,6 @@ tags: { # <amp-animation> (json)
tags: { # <amp-animation>
html_format: AMP
html_format: AMP4ADS
html_format: ACTIONS
tag_name: "AMP-ANIMATION"
requires_extension: "amp-animation"
requires: "amp-animation extension .json script"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@

tags: { # amp-base-carousel
html_format: AMP
html_format: ACTIONS
tag_name: "SCRIPT"
extension_spec: {
name: "amp-base-carousel"
Expand Down Expand Up @@ -116,7 +115,6 @@ attr_lists: {

tags: { # <amp-base-carousel>
html_format: AMP
html_format: ACTIONS
tag_name: "AMP-BASE-CAROUSEL"
requires_extension: "amp-base-carousel"
attr_lists: "amp-base-carousel-common"
Expand All @@ -135,7 +133,6 @@ tags: { # <amp-base-carousel>

tags: { # <amp-base-carousel lightbox>
html_format: AMP
html_format: ACTIONS
tag_name: "AMP-BASE-CAROUSEL"
spec_name: "AMP-BASE-CAROUSEL [lightbox]"
requires_extension: "amp-base-carousel"
Expand Down Expand Up @@ -166,7 +163,6 @@ tags: { # <amp-base-carousel lightbox>

tags: {
html_format: AMP
html_format: ACTIONS
tag_name: "$REFERENCE_POINT"
spec_name: "AMP-BASE-CAROUSEL lightbox [lightbox-exclude]"
attrs: {
Expand All @@ -176,7 +172,6 @@ tags: {
}
tags: {
html_format: AMP
html_format: ACTIONS
tag_name: "$REFERENCE_POINT"
spec_name: "AMP-BASE-CAROUSEL lightbox [child]"
attrs: {
Expand Down
35 changes: 0 additions & 35 deletions extensions/amp-bind/validator-amp-bind.protoascii
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@
tags: { # amp-bind
html_format: AMP
html_format: AMP4ADS
html_format: ACTIONS
tag_name: "SCRIPT"
extension_spec: {
name: "amp-bind"
Expand Down Expand Up @@ -48,7 +47,6 @@ tags: { # <amp-state> (json)
html_format: AMP
html_format: AMP4ADS
html_format: AMP4EMAIL
html_format: ACTIONS
tag_name: "SCRIPT"
spec_name: "amp-bind extension .json script"
requires_extension: "amp-bind"
Expand Down Expand Up @@ -115,41 +113,8 @@ tags: { # <amp-state>
}
spec_url: "https://amp.dev/documentation/components/amp-bind/"
}
# ACTIONS <amp-state> with POST identity
tags: { # <amp-state>
html_format: ACTIONS
tag_name: "AMP-STATE"
spec_name: "AMP-STATE (ACTIONS)"
requires_extension: "amp-bind"
attrs: {
name: "credentials"
}
attrs: {
name: "crossorigin"
value: "amp-viewer-auth-token-via-post"
}
attrs: {
name: "overridable"
}
attrs: {
name: "src"
value_url: {
protocol: "https"
allow_relative: true # Will be set to false at a future date.
}
disallowed_value_regex: "__amp_source_origin"
}
attr_lists: "mandatory-id-attr"
# <amp-bind>
attrs: { name: "[src]" }
child_tags: {
first_child_tag_name_oneof: "SCRIPT"
}
spec_url: "https://amp.dev/documentation/components/amp-bind/"
}
tags: { # <amp-bind-macro>
html_format: AMP
html_format: ACTIONS
html_format: AMP4EMAIL
tag_name: "AMP-BIND-MACRO"
requires_extension: "amp-bind"
Expand Down
2 changes: 0 additions & 2 deletions extensions/amp-carousel/validator-amp-carousel.protoascii
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@
tags: { # amp-carousel
html_format: AMP
html_format: AMP4ADS
html_format: ACTIONS
tag_name: "SCRIPT"
extension_spec: {
name: "amp-carousel"
Expand Down Expand Up @@ -86,7 +85,6 @@ tags: { # <amp-carousel>
html_format: AMP
html_format: AMP4ADS
html_format: AMP4EMAIL
html_format: ACTIONS
tag_name: "AMP-CAROUSEL"
spec_name: "AMP-CAROUSEL"
requires_extension: "amp-carousel"
Expand Down
3 changes: 0 additions & 3 deletions extensions/amp-experiment/validator-amp-experiment.protoascii
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@
# Specific script tags for custom elements and runtime imports.
tags: { # amp-experiment
html_format: AMP
html_format: ACTIONS
tag_name: "SCRIPT"
extension_spec: {
name: "amp-experiment"
Expand All @@ -31,7 +30,6 @@ tags: { # amp-experiment
}
tags: { # amp-experiment (json)
html_format: AMP
html_format: ACTIONS
tag_name: "SCRIPT"
spec_name: "amp-experiment extension .json script"
mandatory_parent: "AMP-EXPERIMENT"
Expand All @@ -54,7 +52,6 @@ tags: { # amp-experiment (json)
}
tags: { # <amp-experiment>
html_format: AMP
html_format: ACTIONS
tag_name: "AMP-EXPERIMENT"
requires_extension: "amp-experiment"
unique: true
Expand Down
2 changes: 0 additions & 2 deletions extensions/amp-fit-text/validator-amp-fit-text.protoascii
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@
tags: { # amp-fit-text
html_format: AMP
html_format: AMP4ADS
html_format: ACTIONS
tag_name: "SCRIPT"
extension_spec: {
name: "amp-fit-text"
Expand All @@ -43,7 +42,6 @@ tags: { # <amp-fit-text>
html_format: AMP
html_format: AMP4ADS
html_format: AMP4EMAIL
html_format: ACTIONS
tag_name: "AMP-FIT-TEXT"
requires_extension: "amp-fit-text"
attrs: { name: "max-font-size" }
Expand Down
2 changes: 0 additions & 2 deletions extensions/amp-font/validator-amp-font.protoascii
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@
tags: { # amp-font
html_format: AMP
html_format: AMP4ADS
html_format: ACTIONS
tag_name: "SCRIPT"
extension_spec: {
name: "amp-font"
Expand All @@ -31,7 +30,6 @@ tags: { # amp-font
tags: { # <amp-font>
html_format: AMP
html_format: AMP4ADS
html_format: ACTIONS
tag_name: "AMP-FONT"
requires_extension: "amp-font"
attrs: {
Expand Down
1 change: 0 additions & 1 deletion extensions/amp-form/validator-amp-form.protoascii
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@ tags: { # amp-form
# under section "4.10 Forms"
html_format: AMP
html_format: AMP4ADS
html_format: ACTIONS
tag_name: "SCRIPT"
extension_spec: {
name: "amp-form"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@ tags: { # amp-fx-collection
# Accepted amp-fx-collection attributes can be found in
# validator-main.protoascii
html_format: AMP
html_format: ACTIONS
tag_name: "SCRIPT"
extension_spec: {
name: "amp-fx-collection"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@
#
tags: { # amp-image-lightbox
html_format: AMP
html_format: ACTIONS
tag_name: "SCRIPT"
extension_spec: {
name: "amp-image-lightbox"
Expand Down
2 changes: 0 additions & 2 deletions extensions/amp-lightbox/validator-amp-lightbox.protoascii
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@

tags: { # amp-lightbox
html_format: AMP
html_format: ACTIONS
tag_name: "SCRIPT"
extension_spec: {
name: "amp-lightbox"
Expand Down Expand Up @@ -54,7 +53,6 @@ tags: { # amp-lightbox
tags: { # <amp-lightbox>
html_format: AMP
html_format: AMP4EMAIL
html_format: ACTIONS
tag_name: "AMP-LIGHTBOX"
requires_extension: "amp-lightbox"
attrs: {
Expand Down
Loading

0 comments on commit d53c7be

Please sign in to comment.