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-state
andtemplate
inamp-story-grid-layer
.show-tooltip
attribute toa
elements (only relevant to stories apparently).[data-tweetid]
AMP-bind attribute onamp-twitter
.src
onamp-ad-custom
elements.amp-story-page-attachment[href]
spec.blacklisted_value_regex
fromstyle
attributes. This is not because!important
is now allowed, but because the validator is now doing CSS parsing. This meansfont_url_spec
andimage_url_spec
are removed from the CSS validator spec; a newdoc_css_bytes
property is added which apparently refers to gathering the byte length ofstyle
attributes to add tostyle[amp-custom]
, which isn't relevant for the plugin since all inline styles are transformed to style rules.enterkeyhint
attribute toinput
(and other input-like AMP components).Details
2004142326360...2005050322002