Extra whitespace in form of multiple spaces, tabs, line feeds, carriage returns and form feeds within CSS selectors and in queries might not be a beauty. But as I understand the spec, multiple elements within a selector should be "whitespace-separated", and it includes all those kinds of whitespaces. ¹
This topic branched pull request adds tests and support for both selectors and queries with extra whitespace by normalizing it.
Extra whitespace in form of multiple spaces, tabs, line feeds, carriage returns and form feeds within CSS selectors and in queries might not be a beauty. But as I understand the spec, multiple elements within a selector should be "whitespace-separated", and it includes all those kinds of whitespaces. ¹
This topic branched pull request adds tests and support for both selectors and queries with extra whitespace by normalizing it.
[1]: https://www.w3.org/TR/css3-selectors/#selector-syntax