fichiers de test + correctifs
correctifs de styles (polices)
This commit is contained in:
34
tests/css.css
Normal file
34
tests/css.css
Normal file
@ -0,0 +1,34 @@
|
||||
@media screen and (-webkit-min-device-pixel-ratio: 0) {
|
||||
body:first-of-type pre::after {
|
||||
content: 'highlight: ' attr(class);
|
||||
}
|
||||
body {
|
||||
background: linear-gradient(45deg, blue, red);
|
||||
}
|
||||
}
|
||||
|
||||
@import url('print.css');
|
||||
@page:right {
|
||||
margin: 1cm 2cm 1.3cm 4cm;
|
||||
}
|
||||
|
||||
@font-face {
|
||||
font-family: Chunkfive; src: url('Chunkfive.otf');
|
||||
}
|
||||
|
||||
div.text,
|
||||
#content,
|
||||
li[lang=ru] {
|
||||
font: Tahoma, Chunkfive, sans-serif;
|
||||
background: url('hatch.png') /* wtf? */;
|
||||
color: #F0F0F0 !important;
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
|
||||
/* Tests */
|
||||
|
||||
.support-test {
|
||||
background: blue; /* <- valid properties/values should be highlighted more */
|
||||
invalid-property: invalid-color; /* <- invalid should be toned down */
|
||||
}
|
Reference in New Issue
Block a user