/
githubmirror
/
amphtml
Обзор
Документация
Войти
/
githubmirror
/
amphtml
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
main
validator/testdata/feature_tests/link_meta_values.out
52 строки
3 KB
Allan Banaag
Validator rollup (#39427)
01 сен 2023, 21:27
Не верифицирован
01 сен 2023, 21:27
49ee0db
Код
Авторство
О чём код?
FAIL | <!doctype html> | <html ⚡> | <head> | <meta charset="utf-8"> | <link rel="canonical" href="./regular-html-version.html"> | <meta name="viewport" content="width=device-width,initial-scale=1,minimum-scale=1,maximum-scale=1,user-scalable=no,minimal-ui"> | <!-- | Test Description: | Tests that various link and meta tags are denylisted/allowlisted as expected. | --> | <meta name="foo" content="bar"> | <meta property="foo" content="bar"> | <meta name="amp-experiment-token" content="HfmyLgNLmblRg3Alqy164Vywr"> | <link rel="manifest" href="foo"> | <link rel="manifest foo" href="foo"> >> ^~~~~~~~~ feature_tests/link_meta_values.html:15:2 The attribute 'rel' in tag 'link' is set to the invalid value 'manifest foo'. (see https://amp.dev/documentation/guides-and-tutorials/learn/spec/amphtml/#html-tags) | <link rel="preload" as="script" href="https://cdn.ampproject.org/v0.js"> | <link rel="shortcut icon" type="a" href="b" sizes="c"> | <link rel="author" href="me" fetchpriority="blah"> >> ^~~~~~~~~ feature_tests/link_meta_values.html:18:2 The attribute 'fetchpriority' in tag 'link' is set to the invalid value 'blah'. (see https://amp.dev/documentation/guides-and-tutorials/learn/spec/amphtml/#html-tags) | <link rel="DCTERMS.any" href="foo"> | | <meta name="content-disposition" content="any"> >> ^~~~~~~~~ feature_tests/link_meta_values.html:21:2 The attribute 'name' in tag 'meta' is set to the invalid value 'content-disposition'. | <meta name=viewport content=invalid> >> ^~~~~~~~~ feature_tests/link_meta_values.html:22: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) | <link rel="unknown" href="foo"> | | <link rel="comment cite map" href="foo"> | | <link itemprop="foo" href="bar"> | | <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> | | <!-- Invalid as we need some additional attributes e.g. "rel=canonical" --> | <link href="foo"> >> ^~~~~~~~~ feature_tests/link_meta_values.html:33:2 The mandatory attribute 'rel' is missing in tag 'link'. (see https://amp.dev/documentation/guides-and-tutorials/learn/spec/amphtml/#html-tags) | </head> | <body> | Hello, world. | | <a href="http://example.com/" rel="canonical">OK</a> | | </body> | </html>