mozilla/slowparse — pull request #63 by Pomax (2014-11-28 20:27:56+00:00)
Title: comments and @rule { {} {} {} } nesting fixes

fixes #62 by removing comments before parsing the CSS selector, trimming the found selector, and making sure that for keyframes/media queries we note that we're in a nested block context, so that `} }` at the end doesn't throw an `UNFINISHED_CSS_SELECTOR` error.

Three unit tests have been added to cover the parsing problems originally signalled.