Bug 150041
Summary: | CSS parsing break with missformed @keyframe | ||
---|---|---|---|
Product: | WebKit | Reporter: | Jeremie Patonnier <jeremie.patonnier> |
Component: | CSS | Assignee: | 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
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 | ||
---|---|---|
Add attachment proposed patch, testcase, etc. |
Brent Fulgham
Safari, Chrome, and Firefox all agree on rendering for this test case. I don't believe there is any remaining compatibility issue.