pieces
pieces copied to clipboard
Some syntax errors are not being reported
The following syntax errors are not being reported:
Unclosed block (when the next rule's selectors contain colons):
body {
color: #000;
p:first-child {
color: #111;
}
Unclosed bracket:
a[href {
color: #111;
}
Unclosed parenthesis:
li:nth-child(even {
color: #111;
}
p::before {
content: attr(data-test;
}
p {
background: url(images/bg.jpg;
}
div {
width: calc(10% + 20px;
}
@import url(main.css;
Unclosed string:
p::before {
content: "test;
}
p {
background: url("images/bg.jpg);
}
p {
font-family: "Test;
}
a[href="index.php] {
color: #111;
}
@import "main.css;
Unclosed comment:
/* Lorem ipsum *
Double colon:
p {
color:: #111;
}
Selector format error:
p; {
color:: #111;
}
@font-face at-rule missing name:
@ {
font-style: normal;
font-weight: 400;
font-family: "Font Awesome";
src: url(fonts/fa-regular-400.woff2) format("woff2"),
url(fonts/fa-regular-400.woff) format("woff");
}