/
githubmirror
/
amphtml
Обзор
Документация
Войти
/
githubmirror
/
amphtml
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
main
validator/testdata/feature_tests/css_i_amphtml.out
32 строки
2 KB
honeybadgerdontcare
Validator rollup 20210819 (#35748)
20 авг 2021, 21:08
Не верифицирован
20 авг 2021, 21:08
15f658d
Код
Авторство
О чём код?
FAIL | <!-- | Test Description: | Tests for excluded `i-amphtml` in the author stylesheet and inline style. | --> | <!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> | <style amp-custom> >> ^~~~~~~~~ feature_tests/css_i_amphtml.html:13:2 The text inside tag 'style amp-custom' contains 'CSS i-amphtml- name prefix', which is disallowed. (see https://amp.dev/documentation/guides-and-tutorials/learn/spec/amphtml/#stylesheets) | i-amphtml-sizer {} | .i-amphtml-hidden {} | #i-amphtml-wrapper {} | .foo-i-amphtml { color: var(--i-amphtml-clr); } | </style> | </head> | <body> | Hello, world. | <div style="i-amphtml-hidden: none;"></div> >> ^~~~~~~~~ feature_tests/css_i_amphtml.html:22:2 The property 'i-amphtml-hidden' in attribute 'style' in tag 'div' is disallowed. (see https://amp.dev/documentation/guides-and-tutorials/develop/style_and_layout/style_pages/) | <div style="--i-amphtml-clr: #ccc;"></div> >> ^~~~~~~~~ feature_tests/css_i_amphtml.html:23:2 The property '--i-amphtml-clr' in attribute 'style' in tag 'div' is disallowed. (see https://amp.dev/documentation/guides-and-tutorials/develop/style_and_layout/style_pages/) | </body> | </html>