[css-syntax] Make several parsing algorithms slightly more precise, as requested by dbaron.