/
githubmirror
/
amphtml
Обзор
Документация
Войти
/
githubmirror
/
amphtml
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
main
validator/testdata/transformed_feature_tests/module_nomodule.html
28 строк
1 KB
honeybadgerdontcare
Validator rollup 20210819 (#35748)
20 авг 2021, 21:08
Не верифицирован
20 авг 2021, 21:08
15f658d
Код
Авторство
О чём код?
<!-- Test Description: This test demonstrates that all scripts having a module and nomodule pairing are considered valid. --> <!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"> <link as=script crossorigin=anonymous href=https://cdn.ampproject.org/rtv/123456789012345/v0.mjs rel=modulepreload> <!-- Valid: module/nomodule pair for AMP runtime script --> <script async crossorigin=anonymous src=https://cdn.ampproject.org/v0.mjs type=module></script> <script async nomodule src=https://cdn.ampproject.org/v0.js></script> <!-- Valid: module/nomodule pair for AMP extension script --> <script async crossorigin=anonymous custom-element=amp-ad src=https://cdn.ampproject.org/v0/amp-ad-0.1.mjs type=module></script> <script async custom-element=amp-ad nomodule src=https://cdn.ampproject.org/v0/amp-ad-0.1.js></script> <link rel=canonical href="./regular-html-version.html"> </head> <body> Hello, world. <amp-ad layout=nodisplay type></amp-ad> </body> </html>