/
githubmirror
/
amphtml
Обзор
Документация
Войти
/
githubmirror
/
amphtml
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
main
validator/testdata/feature_tests/duplicate_attribute.out.cpponly
49 строк
3 KB
Allan Banaag
Validator rollup (#40223)
09 янв 2025, 22:38
Не верифицирован
09 янв 2025, 22:38
e6555ee
Код
Авторство
О чём код?
FAIL | <!-- | Test Description: | This is the minimum valid AMP document; it includes all of the required | fields from the spec, but nothing else. | --> | <!doctype html> | <html ⚡> | <head> | <meta charset="utf-8"> | <link rel="canonical" href="./regular-html-version.html"> | <meta name="viewport" content="width=device-width,minimum-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> | <!-- These two duplicate a custom-element attribute used as a dispatch key --> | <script async custom-element="amp-image-lightbox" custom-element="duplicate" src="https://cdn.ampproject.org/v0/amp-image-lightbox-0.1.js"></script> >> ^~~~~~~~~ feature_tests/duplicate_attribute.html:15:2 The tag 'script' contains the attribute 'custom-element' repeated multiple times. | <script async custom-element="duplicate" custom-element="amp-youtube" src="https://cdn.ampproject.org/v0/amp-youtube-0.1.js"></script> >> ^~~~~~~~~ feature_tests/duplicate_attribute.html:16:2 The tag 'script' contains the attribute 'custom-element' repeated multiple times. >> ^~~~~~~~~ feature_tests/duplicate_attribute.html:16:2 The attribute 'custom-element' may not appear in tag 'amp-youtube v0.1 extension script'. (see https://amp.dev/documentation/components/amp-youtube) | | </head> | <body> | | <!-- 600 width is legal given the implied layout, but 100% is not --> | <amp-img src="a.png" width='100%' width=600 height=800></amp-img> >> ^~~~~~~~~ feature_tests/duplicate_attribute.html:22:3 The tag 'amp-img' contains the attribute 'width' repeated multiple times. >> ^~~~~~~~~ feature_tests/duplicate_attribute.html:22:3 The attribute 'width' in tag 'amp-img' is set to the invalid value '100%'. (see https://amp.dev/documentation/components/amp-img/) | <amp-img src="a.png" width=600 width='100%' height=800></amp-img> >> ^~~~~~~~~ feature_tests/duplicate_attribute.html:23:3 The tag 'amp-img' contains the attribute 'width' repeated multiple times. | | <!-- Let's make sure the script type can't be overridden --> | <script type="application/ld+json" type="text/javascript">{}</script> >> ^~~~~~~~~ feature_tests/duplicate_attribute.html:26:3 The tag 'script' contains the attribute 'type' repeated multiple times. | <script type="text/javascript" type="application/ld+json">{}</script> >> ^~~~~~~~~ feature_tests/duplicate_attribute.html:27:3 The tag 'script' contains the attribute 'type' repeated multiple times. >> ^~~~~~~~~ feature_tests/duplicate_attribute.html:27:3 The attribute 'type' in tag 'script type=application/ld+json' is set to the invalid value 'text/javascript'. | | </body> | </html>