From 02de5e4f7307f92c8f862e2ddb4dae7ad47d8758 Mon Sep 17 00:00:00 2001 From: honeybadgerdontcare Date: Tue, 30 May 2017 15:20:00 -0700 Subject: [PATCH 1/2] Revision bump. --- validator/validator-main.protoascii | 17 +++++++++++++---- 1 file changed, 13 insertions(+), 4 deletions(-) diff --git a/validator/validator-main.protoascii b/validator/validator-main.protoascii index 3c8df91a2bdc..ee26eb605e0c 100644 --- a/validator/validator-main.protoascii +++ b/validator/validator-main.protoascii @@ -25,7 +25,7 @@ min_validator_revision_required: 232 # newer versions of the spec file. This is currently a Google internal # mechanism, validator.js does not use this facility. However, any # change to this file (validator-main.js) requires updating this revision id. -spec_file_revision: 422 +spec_file_revision: 424 styles_spec_url: "https://www.ampproject.org/docs/guides/author-develop/responsive/style_pages" @@ -2582,8 +2582,11 @@ tags { tag_name: "DIV" spec_name: "FORM > DIV [submitting]" mandatory_parent: "FORM" - attrs: { name: "submitting" mandatory: true } attrs: { name: "align" } + attrs: { + name: "submitting" + mandatory: true + } child_tags: { mandatory_num_child_tags: 1 first_child_tag_name_oneof: "TEMPLATE" @@ -2593,8 +2596,11 @@ tags { tag_name: "DIV" spec_name: "FORM > DIV [submit-success]" mandatory_parent: "FORM" - attrs: { name: "submit-success" mandatory: true } attrs: { name: "align" } + attrs: { + name: "submit-success" + mandatory: true + } child_tags: { mandatory_num_child_tags: 1 first_child_tag_name_oneof: "TEMPLATE" @@ -2604,8 +2610,11 @@ tags { tag_name: "DIV" spec_name: "FORM > DIV [submit-error]" mandatory_parent: "FORM" - attrs: { name: "submit-error" mandatory: true } attrs: { name: "align" } + attrs: { + name: "submit-error" + mandatory: true + } child_tags: { mandatory_num_child_tags: 1 first_child_tag_name_oneof: "TEMPLATE" From 716d047e9c3fae48da41c01d4b85070083a1288c Mon Sep 17 00:00:00 2001 From: Greg Grothaus Date: Tue, 30 May 2017 15:20:06 -0700 Subject: [PATCH 2/2] Allow style attributes on `` elements, an oversight. --- validator/validator-main.protoascii | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/validator/validator-main.protoascii b/validator/validator-main.protoascii index ee26eb605e0c..ecaea292fda0 100644 --- a/validator/validator-main.protoascii +++ b/validator/validator-main.protoascii @@ -25,7 +25,7 @@ min_validator_revision_required: 232 # newer versions of the spec file. This is currently a Google internal # mechanism, validator.js does not use this facility. However, any # change to this file (validator-main.js) requires updating this revision id. -spec_file_revision: 424 +spec_file_revision: 425 styles_spec_url: "https://www.ampproject.org/docs/guides/author-develop/responsive/style_pages" @@ -2224,6 +2224,7 @@ tags: { attrs: { name: "offset" } attrs: { name: "stop-color" } attrs: { name: "stop-opacity" } + attr_lists: "svg-style-attr" spec_url: "https://www.ampproject.org/docs/reference/spec#svg" } tags: { @@ -2233,6 +2234,7 @@ tags: { attrs: { name: "offset" } attrs: { name: "stop-color" } attrs: { name: "stop-opacity" } + attr_lists: "svg-style-attr" spec_url: "https://www.ampproject.org/docs/reference/spec#svg" } tags: {