-
Notifications
You must be signed in to change notification settings - Fork 384
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
Add support for reference points and update spec to file revision 720 (v1534879991178) #1386
Conversation
* Add components for amp-image-slider, amp-viqeo-player, * Add when-ended=continue to amp-date-countdown. * Add [open] to amp-lightbox. * Add disable-double-tap to amp-pan-zoom.
} | ||
} | ||
} | ||
return $rule_spec; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Most of this code is refactored into a separate method from below. See 002bda3 for the actual changes introduced.
} | ||
return $rule_spec; | ||
} | ||
|
||
/** | ||
* Process a node by sanitizing and/or validating it per. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Not related to this change, but this comment may need improvement: validating it per
?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM. Ship it.
amp-next-page
,amp-story
,amp-lightbox-gallery
, andamp-live-list
. This removes hard-coded list of whitelisted attribute pattern which were erroneously being allowed on every element, not just the descendants of elements with reference points.amp-selector
since its attributes can be added to any descendant not just direct children.amp-image-slider
andamp-viqeo-player
.when-ended=continue
toamp-date-countdown
.[open]
toamp-lightbox
.disable-double-tap
toamp-pan-zoom
.