/
githubmirror
/
amphtml
Обзор
Документация
Войти
/
githubmirror
/
amphtml
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
main
validator/testdata/transformed_feature_tests/nonce_attribute.html
24 строки
2 KB
honeybadgerdontcare
Validator rollup 20210819 (#35748)
20 авг 2021, 21:08
Не верифицирован
20 авг 2021, 21:08
15f658d
Код
Авторство
О чём код?
<!-- Test Description: Tests for the presence of allowed nonce attribute in transformed AMP. --> <!doctype html> <html ⚡ transformed="google;v=1"> <head> <meta charset="utf-8"> <style amp-runtime i-amphtml-version=123456789012345>.omitted-for-brevity{}</style> <meta name="viewport" content="width=device-width"> <script async nonce src="https://cdn.ampproject.org/v0.js"></script> <script async custom-element="amp-bind" nonce src="https://cdn.ampproject.org/v0/amp-bind-0.1.js"></script> <style nonce 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> <link rel="canonical" href="./regular-html-version.html"> <script nonce type=application/ld+json>{}</script> <script id=amp-rtc nonce type=application/json>{}</script> </head> <body> Hello, world. <amp-state id=nonce> <script nonce type=application/json>{}</script> </amp-state> </body> </html>