css_lexer: changes done for compatibility with inputstream