The example page for amp-html, as well as the few amp-html sites available right now, contain the following code:
<style>body {opacity: 0}</style><noscript><style>body {opacity: 1}</style></noscript>
Why is this? Setting the opacity to 0 for Javascript-capable clients seems like a bad idea if time is of the essence. The JavaScript that takes care of setting the opacity to 1 may not be cached and download slowly, or may not load at all (China tends to block Google servers, for example, so Google CDN may be problematic).
Wouldn't it be better to simply not change the opacity at all, and only use JavaScript operations for improving the page? What is the improvement of using amp-html over simply not using Javascript at all?
` that could be rendered in an un-rendered custom tag.
– Paleo Oct 08 '15 at 09:55