ericfs
ericfs
It always sets currentElement = element.parentNode instead of currentElement.parentNode https://github.com/ampproject/amphtml/blob/master/src/dom.js#L402
E.g. a viewer might show the origin of the doc and may want to hide that as the user scrolls down, but show it again when they scroll up. Event...
Example page with issue: https://www.google.com/amp/mashable-amphtml.googleusercontent.com/amphtml/pages/CAIiEAkT4PrPGjd0a1zZrN_xpVQqIggEKhoIACIQd3d3Lm1hc2hhYmxlLmNvbSoECAowCDCBmB4# Tap the image to open the lightbox ## What browsers are affected? iOS Safari ## Which AMP version is affected? 1463506087793 Is this a new...
Some pages have a small amount of horizontal scrolling. For example: https://amp.businessinsider.com/obama-game-7-air-force-one-nba-finals-2016-6 It happens with some other publishers too. This does not happen when the document is loaded in a...
## Short description of your issue: Send canonical url in `documentLoaded` [message](https://github.com/ampproject/amphtml/blob/93b67b07731f4176bef1350ef1d041644dceac15/src/service/resources-impl.js#L801). This is to support Viewers so they can providing links, sharing, etc. to the canonical. ## What browsers...
It's possible for the cache to redirect. If that happens, an AMP Viewer won't know what target origin to send messages to. The `channelOpen` request should include the origin so...
Check is here: https://github.com/ampproject/amphtml/blob/012b8ea65b5bccf26b3f8ed146a1ac3d6fea734e/src/url.js#L361 Internally tracked: b/38323512
The URLs for the AMP Cache may have extra query parameters like amp_js_v that is not part of the original URL and are not needed for analytics. Related internal issue:...
`replaceUrl` is currently read from the init parameters passed from the viewer: https://github.com/ampproject/amphtml/blob/2f7a6d10aab4c7e6d964bcac5994c9a72ec5b62c/src/service/viewer-impl.js#L375 The runtime should instead send the viewer a message to get the replaceUrl. tracked internally: b/66926951
## What's the issue? Extra history state is pushed on page load. This happens for the standalone page and in the Google Search Viewer. ## How do we reproduce the...