CSS selector parser without any relationship to the DOM