Fix two CSS parsing bugs