/
githubmirror
/
amphtml
Обзор
Документация
Войти
/
githubmirror
/
amphtml
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
main
extensions/amp-subscriptions/0.1/test/validator-amp-subscriptions-errors.html
58 строк
3 KB
honeybadgerdontcare
Validator rollup 20210819 (#35748)
20 авг 2021, 21:08
Не верифицирован
20 авг 2021, 21:08
15f658d
Код
Авторство
О чём код?
<!-- Test Description: Tests for the amp-subscriptions extension. --> <!doctype html> <html ⚡ lang="en"> <head> <meta charset="utf-8"> <link rel="canonical" href="./regular-html-version.html"> <meta name="viewport" content="width=device-width,minimum-scale=1,initial-scale=1"> <style amp-boilerplate>body{-webkit-animation:-amp-start 8s steps(1,end) 0s 1 normal both;-moz-animation:-amp-start 8s steps(1,end) 0s 1 normal both;-ms-animation:-amp-start 8s steps(1,end) 0s 1 normal both;animation:-amp-start 8s steps(1,end) 0s 1 normal both}@-webkit-keyframes -amp-start{from{visibility:hidden}to{visibility:visible}}@-moz-keyframes -amp-start{from{visibility:hidden}to{visibility:visible}}@-ms-keyframes -amp-start{from{visibility:hidden}to{visibility:visible}}@-o-keyframes -amp-start{from{visibility:hidden}to{visibility:visible}}@keyframes -amp-start{from{visibility:hidden}to{visibility:visible}}</style><noscript><style amp-boilerplate>body{-webkit-animation:none;-moz-animation:none;-ms-animation:none;animation:none}</style></noscript> <script async src="https://cdn.ampproject.org/v0.js"></script> <script async custom-element="amp-subscriptions" src="https://cdn.ampproject.org/v0/amp-subscriptions-0.1.js"></script> <script async custom-element="amp-subscriptions-google" src="https://cdn.ampproject.org/v0/amp-subscriptions-google-0.1.js"></script> <script async custom-template="amp-mustache" src="https://cdn.ampproject.org/v0/amp-mustache-0.2.js"></script> <script async custom-element="amp-access" src="https://cdn.ampproject.org/v0/amp-access-0.1.js"></script> <script async custom-element="amp-analytics" src="https://cdn.ampproject.org/v0/amp-analytics-0.1.js"></script> <script type="application/json" id="amp-access">{"property": "value"}</script> <script type="application/json" id="amp-subscriptions"> { "services": [ { "authorizationUrl": "//localhost:8000/subscription/2/entitlements", "actions":{ "login": "//lipsum.com/login", "subscribe": "//lipsum.com/subscribe" } }, { "serviceId": "subscribe.google.com" } ] } </script> </head> <body> <header> <h1 itemprop="headline">Lorem Ipsum</h1> <time class="header-time" itemprop="datePublished" datetime="2015-09-14 13:00">September 14, 2015</time> <p class="standfirst">Lorem ipsum.</p> </header> <section subscriptions-section="actions" class="login-section"> <div subscriptions-action="login" subscriptions-display="NOT loggedIn">Login</div> </section> <section subscriptions-section="content-not-granted"> Login or subscribe to read more. </section> <div subscriptions-section="content" class="article-body" itemprop="articleBody"> <p>Lorem ipsum.</p> </div> <template type="amp-mustache" subscriptions-dialog subscriptions-display="loggedIn"> Dialog for logged in users </template> <template type="amp-mustache" subscriptions-dialog subscriptions-display="NOT loggedIn"> Dialog for non logged in users </template> </body> </html>