amphtml
amphtml copied to clipboard
The AMP web component framework.
### Description The AMP website (https://amp.dev) does not support Dark Mode. Many modern websites provide dark mode for better accessibility and user experience. ### Alternatives Considered - A dark mode...
Adds a new AMP component that renders BlurHash-encoded image placeholders using an HTML canvas. This is useful for displaying lightweight, visually coherent previews before the actual image loads, improving perceived...
### Description I am in the process of converting some pages to AMP. The non-AMP existing version of the page that has worked for a long time correctly displays auto...
Originally reported as: https://github.com/ampproject/amp-by-example/issues/1454 When you apply any CSS to `` that affects the size (e.g. padding, border), the sizing is done without taking any of those properties into consideration....
## Describe the new feature or change to an existing feature you'd like to see I would like [`amp-timeago`'s `locale` attribute](https://amp.dev/documentation/components/amp-timeago/?format=websites#locale-(optional)) to use some standardized format, such as [IETF language...
For a long time, we've wanted to be able to write end-to-end performance tests for AMP page rendering and interaction. This issue is meant to track the investigation of what...
Failure links: [Travis](https://travis-ci.com/github/ampproject/amphtml/jobs/473957046), [CircleCI](https://app.circleci.com/pipelines/github/ampproject/amphtml/189/workflows/0b9bc954-c5f1-42f2-b77d-72b188bbb362/jobs/1134/parallel-runs/0/steps/0-110) ```sh IT => "after each" hook for "should set sentinel on postMessage data" ✗ Error: Blocked a frame with origin "http://localhost:9876" from accessing a cross-origin frame....
## Summary AdSense [allows](http://go/adsense-help/answer/9139818) a per publisher server side setting for changing the ad size to responsive on mobile. We'd like to support this on AMP too. ## Design ###...
(## High-level requirements | Consideration | Ready when | Status | | ------------- | ------------- | ------- | | Component compatibility | [Conformance with 0.1 (see below)](https://amp.dev/documentation/components/amp-truncate-text/) | ✖️ |...
The spec doesn't allow non-HTTPS image URLs, but currently we don't have any code in the AMP runtime sanitizer that enforces this. Email clients sanitize this on the server-side anyway,...