What steps will reproduce the problem? Open attachment document in Webkit What is the expected result? First line should have white text on gray background. Second line should have gray text. What happens instead? Two lines of text have gray text color There's mistyped @keyframes rule and it should be ignored. All rules after this @keyframes rule are ignored. It looks like a bug, because in other browsers (Firefox, Chrome) it works as expected.
Created attachment 272556 [details] Keyframes
Yeah, our error handling on keyframe parsing seems wrong.
It looks like bug has been fixed in latest production Safari 10.1 (12603.1.30.0.34)
Fix by landing the new CSS parser.