Bug 150041

Summary: CSS parsing break with missformed @keyframe
Product: WebKit Reporter: Jeremie Patonnier <jeremie.patonnier>
Component: CSSAssignee: Nobody <webkit-unassigned>
Status: RESOLVED CONFIGURATION CHANGED    
Severity: Normal CC: bfulgham, dino, rik
Priority: P2    
Version: Safari 9   
Hardware: Mac   
OS: OS X 10.11   

Jeremie Patonnier
Reported 2015-10-12 11:22:35 PDT
When a @keyframe declaration is badly formed with a semicolon between the last two brackets, Safari 9 (and Webkit nightly r190851 from Oct, 12th) stop parsing the stylesheet. At worst it should be either fine and ignored, or an invalid third keyframe and ignored. In any case the parser should not stop parsing the stylesheet. Reduce test case: http://codepen.io/JeremiePat/pen/gaReEr?editors=110 For what it worth, test with Firefox and Chrome provide a coherent behavior that do not break parsing.
Attachments
Brent Fulgham
Comment 1 2022-07-14 15:08:14 PDT
Safari, Chrome, and Firefox all agree on rendering for this test case. I don't believe there is any remaining compatibility issue.
Note You need to log in before you can comment on or make changes to this bug.