Improve the output of pseudo selectors.

Specifically, if a pseudo selector takes arguments and those arguments
had trailing whitespace in the source document, they no longer have
trailing whitespace in the output.
This commit is contained in:
Natalie Weizenbaum 2017-05-28 16:21:58 -07:00
parent 0ae7372d75
commit f8f90dc1e3

View File

@ -290,7 +290,7 @@ class SelectorParser extends Parser {
selector = _selectorList();
}
} else {
argument = declarationValue();
argument = declarationValue().trimRight();
}
scanner.expectChar($rparen);