/
githubmirror
/
amphtml
Обзор
Документация
Войти
/
githubmirror
/
amphtml
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
main
validator/testdata/feature_tests/bad_viewport.out
22 строки
2 KB
honeybadgerdontcare
Validator rollup 20210819 (#35748)
20 авг 2021, 21:08
Не верифицирован
20 авг 2021, 21:08
15f658d
Код
Авторство
О чём код?
FAIL | <!doctype html> | <html ⚡> | <head> | <meta charset="utf-8"> | <link rel="canonical" href="./regular-html-version.html"> | <!-- | Test Description: | Tests what happens when bad viewport properties are specified. | --> | <meta name="viewport" content="foo=bar"> >> ^~~~~~~~~ feature_tests/bad_viewport.html:10:2 The property 'foo' in attribute 'content' in tag 'meta name=viewport' is disallowed. (see https://amp.dev/documentation/guides-and-tutorials/learn/spec/amphtml/#required-markup) >> ^~~~~~~~~ feature_tests/bad_viewport.html:10:2 The property 'width' is missing from attribute 'content' in tag 'meta name=viewport'. (see https://amp.dev/documentation/guides-and-tutorials/learn/spec/amphtml/#required-markup) | <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> | </head> | <body> | Hello, world. | </body> | </html>