CSSParsers: move id and styleName parsers to local variables
fix style parser
add tests for CSSParsers