Update allowed tags/attributes from spec in amphtml to 2005050322002 #4701
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Previously #4548.
./bin/amphtml-update.sh(lando ssh -c 'bash ./bin/amphtml-update.sh vendor/amphtml').Update spec generator as needed based on spec format changes.Modify validating sanitizer based on changes to spec, if needed.Changelog
amp-stateandtemplateinamp-story-grid-layer.show-tooltipattribute toaelements (only relevant to stories apparently).[data-tweetid]AMP-bind attribute onamp-twitter.srconamp-ad-customelements.amp-story-page-attachment[href]spec.blacklisted_value_regexfromstyleattributes. This is not because!importantis now allowed, but because the validator is now doing CSS parsing. This meansfont_url_specandimage_url_specare removed from the CSS validator spec; a newdoc_css_bytesproperty is added which apparently refers to gathering the byte length ofstyleattributes to add tostyle[amp-custom], which isn't relevant for the plugin since all inline styles are transformed to style rules.enterkeyhintattribute toinput(and other input-like AMP components).Details
( PREV_VERSION=2004142326360; THIS_VERSION=2005050322002; git checkout $THIS_VERSION; git diff $PREV_VERSION...$THIS_VERSION -w -- $( git ls-files | grep '.protoascii' ); git checkout - > /dev/null )2004142326360...2005050322002