/
githubmirror
/
amphtml
Обзор
Документация
Войти
/
githubmirror
/
amphtml
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
main
validator/testdata/feature_tests/data_attrs.out
45 строк
2 KB
honeybadgerdontcare
Validator rollup 20210819 (#35748)
20 авг 2021, 21:08
Не верифицирован
20 авг 2021, 21:08
15f658d
Код
Авторство
О чём код?
FAIL | <!-- | Test Description: | This demonstrates the allowed set of data-* attributes. | --> | <!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> | </head> | <body> | <div data->allowed</div> | <div data>not allowed</div> >> ^~~~~~~~~ feature_tests/data_attrs.html:16:2 The attribute 'data' may not appear in tag 'div'. | <div data-foo>allowed</div> | <div data_foo>not allowed</div> >> ^~~~~~~~~ feature_tests/data_attrs.html:18:2 The attribute 'data_foo' may not appear in tag 'div'. | <div data-foo_bar>allowed</div> | <div data-foo:bar>allowed</div> | <div data-foo.bar>allowed</div> | <div data-123>allowed</div> | <div data-UPPER>allowed</div> | <div data-foo&bar>not allowed</div> >> ^~~~~~~~~ feature_tests/data_attrs.html:24:2 The attribute 'data-foo&bar' may not appear in tag 'div'. | <div data-foo?bar>not allowed</div> >> ^~~~~~~~~ feature_tests/data_attrs.html:25:2 The attribute 'data-foo?bar' may not appear in tag 'div'. | <div data-foo;bar>not allowed</div> >> ^~~~~~~~~ feature_tests/data_attrs.html:26:2 The attribute 'data-foo;bar' may not appear in tag 'div'. | <div data-foo"bar>not allowed</div> >> ^~~~~~~~~ feature_tests/data_attrs.html:27:2 The attribute 'data-foo"bar' may not appear in tag 'div'. | <div data-foo<bar>not allowed</div> >> ^~~~~~~~~ feature_tests/data_attrs.html:28:2 The attribute 'data-foo<bar' may not appear in tag 'div'. | </body> | </html>