stylus icon indicating copy to clipboard operation
stylus copied to clipboard

Unquoted domains produce invalid CSS

Open Aran-Fey opened this issue 4 years ago • 0 comments

Omitting the quotes inside the domain() selector successfully compiles to invalid CSS instead of showing an error message:

Input:

@-moz-document domain(example.com){}

Compilation:

aran-fey@Starlight ~/D/temp {e}> stylus test.styl -o test.css
  compiled test.css

Output:

@-moz-document domain((example.com)) {}

Aran-Fey avatar Oct 29 '19 08:10 Aran-Fey