ericfs

Results comments of ericfs

It's to ensure that the `replaceUrl` is correctly generated when there are cache redirects. Full details in b/66926951

I think @dvoytenko's history is correct. #3712 was filed because pages with horizontal scrolling caused problems for swiping between documents.

Thanks for the detailed browser analysis. This only happens in the viewer? It looks like the page is no longer shown in the viewer because it is not valid. https://www-notrayspizza-com.cdn.ampproject.org/c/s/www.notrayspizza.com/...

Seems like a Safari rendering bug of some sort, but not sure exactly what. Poking the styles in the doc temporarily fixes the issue. I don't see a viewer side...

It's only used for viewer->document initialization. After that it should be safe to change.

@brandondiamond is going to take a look at this. https://github.com/ampproject/amphtml/blob/faf9c14977d7e0a367c577ef0936c16133a69bd5/src/service/url-replacements-impl.js#L239 https://github.com/ampproject/amphtml/blob/faf9c14977d7e0a367c577ef0936c16133a69bd5/src/service/url-replacements-impl.js#L246