ampproject / ampproject/amp.dev

Pixi: for transformed doucments check that all amp-element layouts are ssr'd

Open
#5,468 3 comments 0 reactions 0 assignees View on GitHub
Category: Pixi P2: Medium Type: Feature
Dominant language
HTML
Stars
600
Forks
675
PR merge metrics
No merged PRs in 30d

Description

We should show an error for the following doc:

```

 
```

as the amp-ad is missing:

```
class="i-amphtml-layout-fixed i-amphtml-layout-size-defined"
```

I think checking if each AMP element with a layout contains `layout="$LAYOUT" class="i-amphtml-layout-$LAYOUT`.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.