Bug 116481

Summary: Unifying error processing in CSS functions
Product: WebKit Reporter: Ryosuke Niwa <rniwa>
Component: CSSAssignee: Nobody <webkit-unassigned>
Status: NEW    
Severity: Normal CC: glenn, kling, koivisto
Priority: P2 Keywords: BlinkMergeCandidate
Version: 528+ (Nightly build)   
Hardware: Unspecified   
OS: Unspecified   

Ryosuke Niwa
Reported 2013-05-20 18:05:34 PDT
Attachments
Ryosuke Niwa
Comment 1 2013-05-20 18:05:41 PDT
calc and min/max function use YYERROR when error occurs. But FUNCTION dont. I think pushing an error has the fololowing advantage: if parer found syntax error inside a function it doesn't make sense to waste processor cycles on parsing following CSS code. It better to fall into error_recovery mode.
Note You need to log in before you can comment on or make changes to this bug.