CSS parsing method