Why one can use // in Gtkinspector but not in a CSS file.
One can’t in the GTK inspector either, at best it’s slightly more tolerant and does not fail the whole parsing, but it doesn’t actually work:
label {
color: red;
// not a comment
border: 1px solid red;
background: blue;
}
What I get is red color and blue background for labels, but no red borders. If you remove the “comment” line (which is not actually one), the border starts working because it’s not seen as a buggy declaration anymore.