/
githubmirror
/
webpack
Обзор
Документация
Войти
/
githubmirror
/
webpack
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
main
test/configCases/css/case-insensitive/style.modules.css
38 строк
601 B
Alexander Akait
Add case-insensitivity integration tests for CSS and HTML parsing (#21507)
25 июл 2026, 22:07
Не верифицирован
25 июл 2026, 22:07
d6afbe0
Код
Авторство
О чём код?
/* At-rules, properties, functions and keywords are ASCII case-insensitive; written upper/mixed-case here so the parser must lower-case before matching. */ @KEYFRAMES Spin { FROM { transform: rotate(0); } TO { transform: rotate(360deg); } } .base { color: red !IMPORTANT; } .box { COMPOSES: base; Animation-Name: Spin; background: URL(./img.png); } @MEDIA (min-width: 100px) { .box { background-image: IMAGE-SET(URL(./img.png) 1x); } } @SUPPORTS (DISPLAY: grid) { .grid { display: grid; } } @FONT-FACE { font-family: "My Font"; src: URL(./font.woff2) format("woff2"); }