-
Notifications
You must be signed in to change notification settings - Fork 381
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Update AMP spec to 757 (v1811091519050) #1588
Conversation
Bumps $spec_file_revision from 734 to 751 Adds support for <amp-script> and <picture>, and more attributes for existing elements.
…html> In the ammphtml repo's validator-main.protoascii, the attrs object for html was removed. @see ampproject/amphtml@ee9ef44#diff-695a0119f06368dee3ab53e1395ef725L77 It looks like the amphtml repo's validator has a different way of validating the <html> tag now: ampproject/amphtml@ee9ef44#diff-52a1cb778626c52da13d91b4849462d6R4746 So this adds an exclusion for <html amp> or <html ⚡> in is_amp_allowed_attribute(). Before, this had returned false for those attributes, and this resulted in the' am'pan ⚡' being removed.
When running the AMP_Tag_And_Attribute_Sanitizer, it should accept the <amp-script>
This isn't accurate anymore, as the generated Tag_And_Attribute_Sanitizer doesn't have require <html> to have amp. This is probably from changes in the amphtml repo's validator: ampproject/amphtml@ee9ef44#diff-52a1cb778626c52da13d91b4849462d6R4746 @see commit b420a90 in this repo.
I suppose it depends on the release date for the next version. If it goes live tomorrow then I'd say wait. Otherwise we'll go ahead with this now and update again. |
Thanks, @westonruter. Still planning on releasing |
AMP has been updated in production to support |
$spec_file_revision
from734
to757
<amp-script>
and<amp-powr-player>
,<amp-skimlinks>
, and more attributes for existing elements.amp-inputmask
.focusable
attribute: ✨ Allow SVG 'focusable' attribute from SVG Tiny 1.2 amphtml#19128width=device-width
: ✨ Remove minimum-scale from required meta viewport properties amphtml#19129@page
to whitelist of CSS at-rules: 🖍 Allow @page CSS at-rule amphtml#17481